{
  "id": "distributed-hybrid",
  "revision": "32911535d1e802871c9e87232134d28060f0619f3c2f6d59e15517810ee6325d",
  "regions": [
    {
      "id": "control",
      "label": "Control plane"
    },
    {
      "id": "data",
      "label": "Data plane"
    }
  ],
  "nodes": [
    {
      "id": "edge",
      "label": "Edge admission",
      "kind": "N27",
      "region": "control",
      "ports": [
        {
          "id": "authority",
          "profile": "P20",
          "contract": "WorkloadGrantV1",
          "polarity": "Require"
        },
        {
          "id": "scheduler",
          "profile": "P02",
          "contract": "AllocateV1",
          "polarity": "Require"
        },
        {
          "id": "workload",
          "profile": "P24",
          "contract": "WorkloadRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "policy",
      "label": "Workload policy",
      "kind": "N33",
      "region": "control",
      "ports": [
        {
          "id": "grant",
          "profile": "P20",
          "contract": "WorkloadGrantV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "scheduler",
      "label": "Regional scheduler",
      "kind": "N28",
      "region": "control",
      "ports": [
        {
          "id": "allocate",
          "profile": "P02",
          "contract": "AllocateV1",
          "polarity": "Offer"
        },
        {
          "id": "region",
          "profile": "P24",
          "contract": "RegionRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "native",
      "label": "Native compute host",
      "kind": "N16",
      "region": "data",
      "ports": [
        {
          "id": "input",
          "profile": "P02",
          "contract": "ArtifactReadV1",
          "polarity": "Require"
        },
        {
          "id": "output",
          "profile": "P02",
          "contract": "ArtifactWriteV1",
          "polarity": "Require"
        },
        {
          "id": "receipt",
          "profile": "P03",
          "contract": "ComputeReceiptV1",
          "polarity": "Offer"
        },
        {
          "id": "host",
          "profile": "P24",
          "contract": "HostProfileV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "artifact",
      "label": "Input / result artifacts",
      "kind": "N26",
      "region": "data",
      "ports": [
        {
          "id": "read",
          "profile": "P02",
          "contract": "ArtifactReadV1",
          "polarity": "Offer"
        },
        {
          "id": "write",
          "profile": "P02",
          "contract": "ArtifactWriteV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "result",
      "label": "Result service",
      "kind": "N19",
      "region": "control",
      "ports": [
        {
          "id": "receipt",
          "profile": "P03",
          "contract": "ComputeReceiptV1",
          "polarity": "Require"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "authorize",
      "kind": "H23",
      "incidences": [
        {
          "node": "policy",
          "port": "grant",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "edge",
          "port": "authority",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "place",
      "kind": "H05",
      "incidences": [
        {
          "node": "scheduler",
          "port": "allocate",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "edge",
          "port": "scheduler",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "input",
      "kind": "H05",
      "incidences": [
        {
          "node": "artifact",
          "port": "read",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "native",
          "port": "input",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "output",
      "kind": "H05",
      "incidences": [
        {
          "node": "artifact",
          "port": "write",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "native",
          "port": "output",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "receipt",
      "kind": "H02",
      "incidences": [
        {
          "node": "native",
          "port": "receipt",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "result",
          "port": "receipt",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "placement",
      "kind": "H21",
      "incidences": [
        {
          "node": "scheduler",
          "port": "region",
          "role": "region",
          "ordinal": 0
        },
        {
          "node": "native",
          "port": "host",
          "role": "host",
          "ordinal": 1
        },
        {
          "node": "edge",
          "port": "workload",
          "role": "workload",
          "ordinal": 2
        }
      ]
    }
  ]
}
