{
  "id": "capability-auth",
  "revision": "da11babd2039ade15e3cdeceec7954abf8f1c9e1ceac913c8ff7ff12ec3ac849",
  "regions": [
    {
      "id": "control",
      "label": "Control plane"
    },
    {
      "id": "data",
      "label": "Data plane"
    }
  ],
  "nodes": [
    {
      "id": "human",
      "label": "Human principal",
      "kind": "N33",
      "region": "control",
      "ports": [
        {
          "id": "delegation",
          "profile": "P24",
          "contract": "PrincipalRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "agent",
      "label": "Agent proposer",
      "kind": "N39",
      "region": "control",
      "ports": [
        {
          "id": "proposal",
          "profile": "P01",
          "contract": "EffectProposalV1",
          "polarity": "Offer"
        },
        {
          "id": "identity",
          "profile": "P24",
          "contract": "PrincipalRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "policy",
      "label": "Policy evaluator",
      "kind": "N33",
      "region": "control",
      "ports": [
        {
          "id": "decision",
          "profile": "P20",
          "contract": "PolicyDecisionV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "gate",
      "label": "Effect admission",
      "kind": "N33",
      "region": "control",
      "ports": [
        {
          "id": "proposal",
          "profile": "P01",
          "contract": "EffectProposalV1",
          "polarity": "Require"
        },
        {
          "id": "policy",
          "profile": "P20",
          "contract": "PolicyDecisionV1",
          "polarity": "Require"
        },
        {
          "id": "effect",
          "profile": "P02",
          "contract": "PrivilegedOperationV1",
          "polarity": "Require"
        },
        {
          "id": "receipt",
          "profile": "P24",
          "contract": "EffectReceiptV1",
          "polarity": "Offer"
        },
        {
          "id": "admission",
          "profile": "P24",
          "contract": "AuthorityRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "service",
      "label": "Privileged service",
      "kind": "N19",
      "region": "data",
      "ports": [
        {
          "id": "operation",
          "profile": "P02",
          "contract": "PrivilegedOperationV1",
          "polarity": "Offer"
        },
        {
          "id": "resource",
          "profile": "P24",
          "contract": "ResourceRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "receipt",
      "label": "Audit receipt",
      "kind": "N37",
      "region": "control",
      "ports": [
        {
          "id": "effect",
          "profile": "P24",
          "contract": "EffectReceiptV1",
          "polarity": "Require"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "proposal",
      "kind": "H02",
      "incidences": [
        {
          "node": "agent",
          "port": "proposal",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "gate",
          "port": "proposal",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "decision",
      "kind": "H23",
      "incidences": [
        {
          "node": "policy",
          "port": "decision",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "gate",
          "port": "policy",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "execute",
      "kind": "H05",
      "incidences": [
        {
          "node": "service",
          "port": "operation",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "gate",
          "port": "effect",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "receipt",
      "kind": "H27",
      "incidences": [
        {
          "node": "gate",
          "port": "receipt",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "receipt",
          "port": "effect",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "delegation",
      "kind": "H23",
      "incidences": [
        {
          "node": "human",
          "port": "delegation",
          "role": "delegator",
          "ordinal": 0
        },
        {
          "node": "agent",
          "port": "identity",
          "role": "delegate",
          "ordinal": 1
        },
        {
          "node": "service",
          "port": "resource",
          "role": "resource",
          "ordinal": 2
        },
        {
          "node": "gate",
          "port": "admission",
          "role": "admission",
          "ordinal": 3
        }
      ]
    }
  ]
}
