{
  "id": "type-n18",
  "revision": "ce8f77e65d18e47ba8b684f4f01c9a53a8e741820f8056d2c1b373ac0c715077",
  "regions": [
    {
      "id": "server",
      "label": "Server",
      "parent": null
    },
    {
      "id": "model-host",
      "label": "Model host",
      "parent": null
    },
    {
      "id": "common-logic",
      "label": "Common logic",
      "parent": null
    },
    {
      "id": "web",
      "label": "Web",
      "parent": null
    }
  ],
  "nodes": [
    {
      "id": "retrieve",
      "label": "Principal-scoped retrieval",
      "kind": "N22",
      "region": "server",
      "ports": [
        {
          "id": "cut",
          "profile": "P01",
          "contract": "AuthorizedEvidenceCutV1",
          "polarity": "Offer"
        },
        {
          "id": "sources",
          "profile": "P01",
          "contract": "AuthorizedEvidenceCutV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "model",
      "label": "Answer model inference",
      "kind": "N18",
      "region": "model-host",
      "ports": [
        {
          "id": "evidence",
          "profile": "P01",
          "contract": "AuthorizedEvidenceCutV1",
          "polarity": "Require"
        },
        {
          "id": "draft",
          "profile": "P01",
          "contract": "AnswerDraftWithCitationsV1",
          "polarity": "Offer"
        },
        {
          "id": "proposal",
          "profile": "P01",
          "contract": "ToolCallProposalV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "citations",
      "label": "Citation validator",
      "kind": "N01",
      "region": "common-logic",
      "ports": [
        {
          "id": "draft",
          "profile": "P01",
          "contract": "AnswerDraftWithCitationsV1",
          "polarity": "Require"
        },
        {
          "id": "sources",
          "profile": "P01",
          "contract": "AuthorizedEvidenceCutV1",
          "polarity": "Require"
        },
        {
          "id": "answer",
          "profile": "P08",
          "contract": "ValidatedAnswerStateV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "answer",
      "label": "Manna answer Surface",
      "kind": "N11",
      "region": "web",
      "ports": [
        {
          "id": "state",
          "profile": "P08",
          "contract": "ValidatedAnswerStateV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "tools",
      "label": "Admitted tool execution",
      "kind": "N19",
      "region": "server",
      "ports": [
        {
          "id": "proposal",
          "profile": "P01",
          "contract": "ToolCallProposalV1",
          "polarity": "Require"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "evidence",
      "kind": "H02",
      "incidences": [
        {
          "node": "retrieve",
          "port": "cut",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "model",
          "port": "evidence",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "draft",
      "kind": "H02",
      "incidences": [
        {
          "node": "model",
          "port": "draft",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "citations",
          "port": "draft",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "sources",
      "kind": "H02",
      "incidences": [
        {
          "node": "retrieve",
          "port": "sources",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "citations",
          "port": "sources",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "answer",
      "kind": "H02",
      "incidences": [
        {
          "node": "citations",
          "port": "answer",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "answer",
          "port": "state",
          "role": "target",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "proposal",
      "kind": "H02",
      "incidences": [
        {
          "node": "model",
          "port": "proposal",
          "role": "source",
          "ordinal": 0
        },
        {
          "node": "tools",
          "port": "proposal",
          "role": "target",
          "ordinal": 0
        }
      ]
    }
  ]
}
