{
  "id": "type-h34",
  "revision": "04fb9a5ee5140a2d72a846cd6c3b605e836570290c4b7d249120e3e3bf301e20",
  "regions": [
    {
      "id": "server",
      "label": "Server",
      "parent": null
    },
    {
      "id": "storage",
      "label": "Storage",
      "parent": null
    },
    {
      "id": "evidence",
      "label": "Evidence",
      "parent": null
    }
  ],
  "nodes": [
    {
      "id": "policy",
      "label": "Report access policy",
      "kind": "N33",
      "region": "server",
      "ports": [
        {
          "id": "grant",
          "profile": "P20",
          "contract": "OrderReportReadGrantV1",
          "polarity": "Offer"
        },
        {
          "id": "receipt",
          "profile": "P24",
          "contract": "ReportAccessDecisionV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "source",
      "label": "Order source authority",
      "kind": "N21",
      "region": "storage",
      "ports": [
        {
          "id": "read",
          "profile": "P20",
          "contract": "OrderReportReadGrantV1",
          "polarity": "Require"
        },
        {
          "id": "cut",
          "profile": "P23",
          "contract": "SalesReportSourceCutV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "query",
      "label": "Authorized report query",
      "kind": "N22",
      "region": "server",
      "ports": [
        {
          "id": "read",
          "profile": "P20",
          "contract": "OrderReportReadGrantV1",
          "polarity": "Require"
        },
        {
          "id": "topic",
          "profile": "P24",
          "contract": "LegacyAccessLineageTopicV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "report",
      "label": "Derived sales report",
      "kind": "N35",
      "region": "storage",
      "ports": [
        {
          "id": "source",
          "profile": "P23",
          "contract": "SalesReportSourceCutV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "audit",
      "label": "Access and origin evidence",
      "kind": "N37",
      "region": "evidence",
      "ports": [
        {
          "id": "topic",
          "profile": "P24",
          "contract": "LegacyAccessLineageTopicV1",
          "polarity": "Neutral"
        },
        {
          "id": "access",
          "profile": "P24",
          "contract": "ReportAccessDecisionV1",
          "polarity": "Require"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "grant",
      "kind": "H23",
      "incidences": [
        {
          "node": "policy",
          "port": "grant",
          "role": "principal",
          "ordinal": 0
        },
        {
          "node": "source",
          "port": "read",
          "role": "resource",
          "ordinal": 0
        },
        {
          "node": "query",
          "port": "read",
          "role": "resource",
          "ordinal": 1
        }
      ]
    },
    {
      "id": "lineage",
      "kind": "H27",
      "incidences": [
        {
          "node": "source",
          "port": "cut",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "report",
          "port": "source",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "legacy-topic",
      "kind": "H34",
      "incidences": [
        {
          "node": "query",
          "port": "topic",
          "role": "subject",
          "ordinal": 0
        },
        {
          "node": "audit",
          "port": "topic",
          "role": "record",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "receipt",
      "kind": "H27",
      "incidences": [
        {
          "node": "policy",
          "port": "receipt",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "audit",
          "port": "access",
          "role": "target",
          "ordinal": 0
        }
      ]
    }
  ]
}
