{
  "schema": "org-contract-index@v1",
  "namespace": "MNSTRY.org public data",
  "description": "Strict JSON Schemas for the public publication index, knowledge graph, writing twins, and topic twins served by mnstry.org.",
  "knowledgeGraphV1Compatibility": {
    "guidance": "The v1 graph now carries semantic, navigation, and provenance layers. A consumer that only understands the original semantic view must retain nodes whose layers include semantic and edges whose layer equals semantic.",
    "semanticNodeFilter": "node.layers.includes('semantic')",
    "semanticEdgeFilter": "edge.layer === 'semantic'",
    "inventoryNote": "No repo-local semantic-only parser is known at this release. The inventory lists every repo-local machine consumer of the complete graph.",
    "knownConsumers": [
      {
        "consumer": "scripts/kg-check.mjs",
        "mode": "Validates the complete layered graph"
      },
      {
        "consumer": "scripts/contracts-check.mjs",
        "mode": "Validates the complete layered graph against its schema and source binding"
      },
      {
        "consumer": "scripts/semantic-check.mjs",
        "mode": "Hashes semantic and navigation meaning while normalizing release-only provenance snapshots"
      },
      {
        "consumer": "scripts/semantic-cut.mjs",
        "mode": "Cuts events from the normalized complete graph"
      }
    ]
  },
  "contracts": [
    {
      "path": "/contracts/org/org-publication-index.v1.schema.json",
      "title": "MNSTRY.org publication index v1",
      "canonicalId": "https://mnstry.org/contracts/org/org-publication-index.v1.schema.json",
      "kind": "json-schema"
    },
    {
      "path": "/contracts/org/org-knowledge-graph.v1.schema.json",
      "title": "MNSTRY.org knowledge graph v1",
      "canonicalId": "https://mnstry.org/contracts/org/org-knowledge-graph.v1.schema.json",
      "kind": "json-schema"
    },
    {
      "path": "/contracts/org/org-writing.v1.schema.json",
      "title": "MNSTRY.org writing v1",
      "canonicalId": "https://mnstry.org/contracts/org/org-writing.v1.schema.json",
      "kind": "json-schema"
    },
    {
      "path": "/contracts/org/org-topic.v1.schema.json",
      "title": "MNSTRY.org topic v1",
      "canonicalId": "https://mnstry.org/contracts/org/org-topic.v1.schema.json",
      "kind": "json-schema"
    }
  ]
}
