{
  "id": "type-p22",
  "revision": "843265d39ab481059a5497427be317aacd10008bbb84c17a84b050347b249580",
  "regions": [
    {
      "id": "runtime",
      "label": "Runtime",
      "parent": null
    },
    {
      "id": "storage",
      "label": "Storage",
      "parent": null
    },
    {
      "id": "common-logic",
      "label": "Common logic",
      "parent": null
    }
  ],
  "nodes": [
    {
      "id": "old",
      "label": "Old actor activation",
      "kind": "N05",
      "region": "runtime",
      "ports": [
        {
          "id": "checkpoint",
          "profile": "P22",
          "contract": "ActorCheckpointAtCutV1",
          "polarity": "Offer"
        },
        {
          "id": "handoff",
          "profile": "P22",
          "contract": "ActorEpochHandoffV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "checkpoint",
      "label": "Checkpoint object",
      "kind": "N26",
      "region": "storage",
      "ports": [
        {
          "id": "write",
          "profile": "P22",
          "contract": "ActorCheckpointAtCutV1",
          "polarity": "Require"
        },
        {
          "id": "read",
          "profile": "P22",
          "contract": "ActorCheckpointAtCutV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "transform",
      "label": "State migration transform",
      "kind": "N01",
      "region": "common-logic",
      "ports": [
        {
          "id": "read",
          "profile": "P22",
          "contract": "ActorCheckpointAtCutV1",
          "polarity": "Require"
        },
        {
          "id": "state",
          "profile": "P22",
          "contract": "MigratedActorStateV2",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "next",
      "label": "Candidate actor activation",
      "kind": "N05",
      "region": "runtime",
      "ports": [
        {
          "id": "restore",
          "profile": "P22",
          "contract": "MigratedActorStateV2",
          "polarity": "Require"
        },
        {
          "id": "handoff",
          "profile": "P22",
          "contract": "ActorEpochHandoffV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "route",
      "label": "Epoch route authority",
      "kind": "N21",
      "region": "runtime",
      "ports": [
        {
          "id": "epoch",
          "profile": "P22",
          "contract": "ActorEpochHandoffV1",
          "polarity": "Offer"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "capture",
      "kind": "H02",
      "incidences": [
        {
          "node": "old",
          "port": "checkpoint",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "checkpoint",
          "port": "write",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "read",
      "kind": "H05",
      "incidences": [
        {
          "node": "transform",
          "port": "read",
          "role": "caller",
          "ordinal": 0
        },
        {
          "node": "checkpoint",
          "port": "read",
          "role": "callee",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "restore",
      "kind": "H02",
      "incidences": [
        {
          "node": "transform",
          "port": "state",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "next",
          "port": "restore",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "handoff",
      "kind": "H35",
      "incidences": [
        {
          "node": "old",
          "port": "handoff",
          "role": "old",
          "ordinal": 0
        },
        {
          "node": "next",
          "port": "handoff",
          "role": "new",
          "ordinal": 0
        },
        {
          "node": "route",
          "port": "epoch",
          "role": "authority",
          "ordinal": 0
        }
      ]
    }
  ]
}
