{
  "id": "view-principal",
  "revision": "c1e39e86b5118f5c85ba80114abb2c9ccf12ca3774f7775c74630e21425a1e67",
  "regions": [
    {
      "id": "system",
      "label": "Illustrative authorization context"
    }
  ],
  "nodes": [
    {
      "id": "principal",
      "label": "Agent principal: conversation read",
      "kind": "N33",
      "region": "system",
      "ports": [
        {
          "id": "identity",
          "profile": "P20",
          "contract": "ScopedInspectContextV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "policy",
      "label": "LocalAuthorizer inspect requirement",
      "kind": "N33",
      "region": "system",
      "ports": [
        {
          "id": "decision",
          "profile": "P20",
          "contract": "ScopedInspectContextV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "read",
      "label": "Permitted conversation read",
      "kind": "N02",
      "region": "system",
      "ports": [
        {
          "id": "grant",
          "profile": "P20",
          "contract": "ScopedInspectContextV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "send",
      "label": "Send operation outside this grant",
      "kind": "N02",
      "region": "system",
      "ports": [
        {
          "id": "grant",
          "profile": "P20",
          "contract": "ScopedSendContextV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "private",
      "label": "Private identity region outside this view",
      "kind": "N21",
      "region": "system",
      "ports": [
        {
          "id": "inspect",
          "profile": "P24",
          "contract": "PrivateIdentityV1",
          "polarity": "Offer"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "inspect-only",
      "kind": "H23",
      "incidences": [
        {
          "node": "principal",
          "port": "identity",
          "role": "principal",
          "ordinal": 0
        },
        {
          "node": "policy",
          "port": "decision",
          "role": "policy",
          "ordinal": 0
        },
        {
          "node": "read",
          "port": "grant",
          "role": "resource",
          "ordinal": 0
        }
      ]
    }
  ]
}
