{
  "id": "capability-partitioning",
  "revision": "53f07b6718ea84a95590b67dfd3164965b70738f10ef7d536d2aef6470bd4210",
  "regions": [
    {
      "id": "system",
      "label": "System"
    },
    {
      "id": "edge",
      "label": "Edge partition",
      "parent": "system"
    },
    {
      "id": "native",
      "label": "Native partition",
      "parent": "system"
    }
  ],
  "nodes": [
    {
      "id": "planner",
      "label": "Placement planner",
      "kind": "N28",
      "region": "system",
      "ports": [
        {
          "id": "plan",
          "profile": "P24",
          "contract": "PlacementPlanV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "edge",
      "label": "Edge host",
      "kind": "N27",
      "region": "edge",
      "ports": [
        {
          "id": "profile",
          "profile": "P24",
          "contract": "HostProfileV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "service",
      "label": "Service export",
      "kind": "N19",
      "region": "edge",
      "ports": [
        {
          "id": "compute",
          "profile": "P02",
          "contract": "ComputeV1",
          "polarity": "Require"
        },
        {
          "id": "export",
          "profile": "P24",
          "contract": "ContractRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "native",
      "label": "Native host",
      "kind": "N27",
      "region": "native",
      "ports": [
        {
          "id": "profile",
          "profile": "P24",
          "contract": "HostProfileV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "kernel",
      "label": "Native algorithm",
      "kind": "N16",
      "region": "native",
      "ports": [
        {
          "id": "compute",
          "profile": "P02",
          "contract": "ComputeV1",
          "polarity": "Offer"
        },
        {
          "id": "storage",
          "profile": "P02",
          "contract": "ConditionalStateV1",
          "polarity": "Require"
        },
        {
          "id": "implementation",
          "profile": "P24",
          "contract": "ImplementationRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "state",
      "label": "State authority",
      "kind": "N21",
      "region": "native",
      "ports": [
        {
          "id": "conditional",
          "profile": "P02",
          "contract": "ConditionalStateV1",
          "polarity": "Offer"
        },
        {
          "id": "fence",
          "profile": "P24",
          "contract": "FenceRefV1",
          "polarity": "Neutral"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "call",
      "kind": "H05",
      "incidences": [
        {
          "node": "kernel",
          "port": "compute",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "service",
          "port": "compute",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "state",
      "kind": "H05",
      "incidences": [
        {
          "node": "state",
          "port": "conditional",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "kernel",
          "port": "storage",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "placement",
      "kind": "H21",
      "incidences": [
        {
          "node": "planner",
          "port": "plan",
          "role": "planner",
          "ordinal": 0
        },
        {
          "node": "edge",
          "port": "profile",
          "role": "edge",
          "ordinal": 1
        },
        {
          "node": "native",
          "port": "profile",
          "role": "native",
          "ordinal": 2
        }
      ]
    },
    {
      "id": "boundary",
      "kind": "H30",
      "incidences": [
        {
          "node": "service",
          "port": "export",
          "role": "export",
          "ordinal": 0
        },
        {
          "node": "kernel",
          "port": "implementation",
          "role": "implementation",
          "ordinal": 1
        },
        {
          "node": "state",
          "port": "fence",
          "role": "authority",
          "ordinal": 2
        }
      ]
    }
  ]
}
