{
  "id": "game-world",
  "revision": "ece94168bc9d90e637feb129a3664e527792b19d2c30cef5f09737c4a7111c2b",
  "regions": [
    {
      "id": "client",
      "label": "Game clients"
    },
    {
      "id": "server",
      "label": "Authoritative game host"
    }
  ],
  "nodes": [
    {
      "id": "session",
      "label": "Player session router",
      "kind": "N22",
      "region": "server",
      "ports": [
        {
          "id": "a",
          "profile": "P02",
          "contract": "WorldSessionV1",
          "polarity": "Require"
        },
        {
          "id": "b",
          "profile": "P02",
          "contract": "WorldSessionV1",
          "polarity": "Require"
        },
        {
          "id": "session",
          "profile": "P07",
          "contract": "PlayerSessionV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "a",
      "label": "World cell A",
      "kind": "N05",
      "region": "server",
      "ports": [
        {
          "id": "session",
          "profile": "P02",
          "contract": "WorldSessionV1",
          "polarity": "Offer"
        },
        {
          "id": "authority",
          "profile": "P02",
          "contract": "EntityLeaseV1",
          "polarity": "Require"
        },
        {
          "id": "entity",
          "profile": "P24",
          "contract": "EntityEpochV1",
          "polarity": "Neutral"
        },
        {
          "id": "rules",
          "profile": "P24",
          "contract": "ActivationRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "b",
      "label": "World cell B",
      "kind": "N05",
      "region": "server",
      "ports": [
        {
          "id": "session",
          "profile": "P02",
          "contract": "WorldSessionV1",
          "polarity": "Offer"
        },
        {
          "id": "authority",
          "profile": "P02",
          "contract": "EntityLeaseV1",
          "polarity": "Require"
        },
        {
          "id": "entity",
          "profile": "P24",
          "contract": "EntityEpochV1",
          "polarity": "Neutral"
        },
        {
          "id": "rules",
          "profile": "P24",
          "contract": "ActivationRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "authority",
      "label": "Entity lease authority",
      "kind": "N21",
      "region": "server",
      "ports": [
        {
          "id": "leaseA",
          "profile": "P02",
          "contract": "EntityLeaseV1",
          "polarity": "Offer"
        },
        {
          "id": "leaseB",
          "profile": "P02",
          "contract": "EntityLeaseV1",
          "polarity": "Offer"
        },
        {
          "id": "fence",
          "profile": "P24",
          "contract": "FenceRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "client",
      "label": "Player Surface",
      "kind": "N11",
      "region": "client",
      "ports": [
        {
          "id": "session",
          "profile": "P07",
          "contract": "PlayerSessionV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "build",
      "label": "World rules bundle",
      "kind": "N35",
      "region": "server",
      "ports": [
        {
          "id": "revision",
          "profile": "P24",
          "contract": "RevisionRefV1",
          "polarity": "Neutral"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "a",
      "kind": "H05",
      "incidences": [
        {
          "node": "a",
          "port": "session",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "session",
          "port": "a",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "b",
      "kind": "H05",
      "incidences": [
        {
          "node": "b",
          "port": "session",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "session",
          "port": "b",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "leaseA",
      "kind": "H05",
      "incidences": [
        {
          "node": "authority",
          "port": "leaseA",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "a",
          "port": "authority",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "leaseB",
      "kind": "H05",
      "incidences": [
        {
          "node": "authority",
          "port": "leaseB",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "b",
          "port": "authority",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "session",
      "kind": "H06",
      "incidences": [
        {
          "node": "session",
          "port": "session",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "client",
          "port": "session",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "handoff",
      "kind": "H35",
      "incidences": [
        {
          "node": "a",
          "port": "entity",
          "role": "old",
          "ordinal": 0
        },
        {
          "node": "b",
          "port": "entity",
          "role": "new",
          "ordinal": 1
        },
        {
          "node": "authority",
          "port": "fence",
          "role": "fence",
          "ordinal": 2
        }
      ]
    },
    {
      "id": "rules",
      "kind": "H29",
      "incidences": [
        {
          "node": "build",
          "port": "revision",
          "role": "bundle",
          "ordinal": 0
        },
        {
          "node": "a",
          "port": "rules",
          "role": "cell",
          "ordinal": 1
        },
        {
          "node": "b",
          "port": "rules",
          "role": "cell",
          "ordinal": 2
        }
      ]
    }
  ]
}
