{
  "id": "type-h05",
  "revision": "210389a98ff6f55ecb5ad4967a3dfc75cc2b69467e51a703e27b89db80f4360c",
  "regions": [
    {
      "id": "mobile",
      "label": "Mobile",
      "parent": null
    },
    {
      "id": "server",
      "label": "Server",
      "parent": null
    },
    {
      "id": "storage",
      "label": "Storage",
      "parent": null
    }
  ],
  "nodes": [
    {
      "id": "screen",
      "label": "Profile request controller",
      "kind": "N05",
      "region": "mobile",
      "ports": [
        {
          "id": "request",
          "profile": "P02",
          "contract": "GetProfileCorrelationResponseV1",
          "polarity": "Require"
        },
        {
          "id": "cancel",
          "profile": "P14",
          "contract": "ProfileRequestDeadlineV1",
          "polarity": "Require"
        },
        {
          "id": "state",
          "profile": "P08",
          "contract": "CurrentProfileRequestStateV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "service",
      "label": "Profile service handler",
      "kind": "N19",
      "region": "server",
      "ports": [
        {
          "id": "get",
          "profile": "P02",
          "contract": "GetProfileCorrelationResponseV1",
          "polarity": "Offer"
        },
        {
          "id": "read",
          "profile": "P02",
          "contract": "ProfileSnapshotReadV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "profile",
      "label": "Profile authority",
      "kind": "N21",
      "region": "storage",
      "ports": [
        {
          "id": "read",
          "profile": "P02",
          "contract": "ProfileSnapshotReadV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "deadline",
      "label": "Request deadline",
      "kind": "N09",
      "region": "mobile",
      "ports": [
        {
          "id": "expired",
          "profile": "P14",
          "contract": "ProfileRequestDeadlineV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "ui",
      "label": "Profile Surface",
      "kind": "N11",
      "region": "mobile",
      "ports": [
        {
          "id": "state",
          "profile": "P08",
          "contract": "CurrentProfileRequestStateV1",
          "polarity": "Require"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "rpc",
      "kind": "H05",
      "incidences": [
        {
          "node": "screen",
          "port": "request",
          "role": "caller",
          "ordinal": 0
        },
        {
          "node": "service",
          "port": "get",
          "role": "callee",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "read",
      "kind": "H05",
      "incidences": [
        {
          "node": "service",
          "port": "read",
          "role": "caller",
          "ordinal": 0
        },
        {
          "node": "profile",
          "port": "read",
          "role": "callee",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "deadline",
      "kind": "H03",
      "incidences": [
        {
          "node": "deadline",
          "port": "expired",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "screen",
          "port": "cancel",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "render",
      "kind": "H02",
      "incidences": [
        {
          "node": "screen",
          "port": "state",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "ui",
          "port": "state",
          "role": "target",
          "ordinal": 0
        }
      ]
    }
  ]
}
