{
  "id": "web-manna-docs",
  "revision": "d8473f6e841ee283895170c8af56c0af28ae8781077ec50ec1da959a23a840fe",
  "regions": [
    {
      "id": "browser",
      "label": "Browser"
    },
    {
      "id": "edge",
      "label": "Edge services"
    },
    {
      "id": "data",
      "label": "Data authorities"
    }
  ],
  "nodes": [
    {
      "id": "reader",
      "label": "Native documentation reader",
      "kind": "N11",
      "region": "browser",
      "ports": [
        {
          "id": "request",
          "profile": "P02",
          "contract": "DocumentationReadV1",
          "polarity": "Require"
        },
        {
          "id": "answer",
          "profile": "P01",
          "contract": "CitedAnswerV1",
          "polarity": "Require"
        },
        {
          "id": "questionRef",
          "profile": "P24",
          "contract": "QuestionRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "api",
      "label": "Documentation service",
      "kind": "N19",
      "region": "edge",
      "ports": [
        {
          "id": "read",
          "profile": "P02",
          "contract": "DocumentationReadV1",
          "polarity": "Offer"
        },
        {
          "id": "corpus",
          "profile": "P02",
          "contract": "CorpusReadV1",
          "polarity": "Require"
        },
        {
          "id": "sections",
          "profile": "P01",
          "contract": "SectionPackV1",
          "polarity": "Offer"
        },
        {
          "id": "export",
          "profile": "P03",
          "contract": "ExportIntentV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "corpus",
      "label": "Revisioned docs corpus",
      "kind": "N26",
      "region": "data",
      "ports": [
        {
          "id": "fetch",
          "profile": "P02",
          "contract": "CorpusReadV1",
          "polarity": "Offer"
        }
      ]
    },
    {
      "id": "retrieval",
      "label": "Bounded section retrieval",
      "kind": "N22",
      "region": "edge",
      "ports": [
        {
          "id": "documents",
          "profile": "P01",
          "contract": "SectionPackV1",
          "polarity": "Require"
        },
        {
          "id": "context",
          "profile": "P01",
          "contract": "CitedContextV1",
          "polarity": "Offer"
        },
        {
          "id": "sourceRefs",
          "profile": "P24",
          "contract": "SourceRefSetV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "model",
      "label": "Answer model adapter",
      "kind": "N18",
      "region": "edge",
      "ports": [
        {
          "id": "context",
          "profile": "P01",
          "contract": "CitedContextV1",
          "polarity": "Require"
        },
        {
          "id": "answer",
          "profile": "P01",
          "contract": "CitedAnswerV1",
          "polarity": "Offer"
        },
        {
          "id": "answerRef",
          "profile": "P24",
          "contract": "AnswerRefV1",
          "polarity": "Neutral"
        }
      ]
    },
    {
      "id": "job",
      "label": "PDF export workflow",
      "kind": "N06",
      "region": "edge",
      "ports": [
        {
          "id": "start",
          "profile": "P03",
          "contract": "ExportIntentV1",
          "polarity": "Require"
        },
        {
          "id": "output",
          "profile": "P02",
          "contract": "EditionPutV1",
          "polarity": "Require"
        }
      ]
    },
    {
      "id": "pdf",
      "label": "Reading edition store",
      "kind": "N26",
      "region": "data",
      "ports": [
        {
          "id": "put",
          "profile": "P02",
          "contract": "EditionPutV1",
          "polarity": "Offer"
        }
      ]
    }
  ],
  "relations": [
    {
      "id": "request",
      "kind": "H05",
      "incidences": [
        {
          "node": "api",
          "port": "read",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "reader",
          "port": "request",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "source",
      "kind": "H05",
      "incidences": [
        {
          "node": "corpus",
          "port": "fetch",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "api",
          "port": "corpus",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "sections",
      "kind": "H02",
      "incidences": [
        {
          "node": "api",
          "port": "sections",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "retrieval",
          "port": "documents",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "context",
      "kind": "H02",
      "incidences": [
        {
          "node": "retrieval",
          "port": "context",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "model",
          "port": "context",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "answer",
      "kind": "H02",
      "incidences": [
        {
          "node": "model",
          "port": "answer",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "reader",
          "port": "answer",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "export",
      "kind": "H03",
      "incidences": [
        {
          "node": "api",
          "port": "export",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "job",
          "port": "start",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "store",
      "kind": "H05",
      "incidences": [
        {
          "node": "pdf",
          "port": "put",
          "role": "provider",
          "ordinal": 0
        },
        {
          "node": "job",
          "port": "output",
          "role": "consumer",
          "ordinal": 0
        }
      ]
    },
    {
      "id": "evidence",
      "kind": "H28",
      "incidences": [
        {
          "node": "reader",
          "port": "questionRef",
          "role": "question",
          "ordinal": 0
        },
        {
          "node": "retrieval",
          "port": "sourceRefs",
          "role": "sources",
          "ordinal": 1
        },
        {
          "node": "model",
          "port": "answerRef",
          "role": "answer",
          "ordinal": 2
        }
      ]
    }
  ]
}
