{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cohereon-io/json-schema/cohereon-io-root-manifest-schema.json",
  "title": "RootManifest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cohereon-io-openapi.yml#/components/schemas/RootManifest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "domain": {
      "type": "string"
    },
    "doctrine": {
      "type": "string"
    },
    "gate": {
      "type": "string"
    },
    "canonical_access": {
      "type": "string"
    },
    "agent_discovery": {
      "type": "string"
    },
    "mcp_server": {
      "type": "string"
    },
    "mcp_transport": {
      "type": "string"
    },
    "latest": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "capabilities": {
      "type": "object",
      "properties": {
        "doctrine_components": {
          "type": "integer"
        },
        "tribunals_nodes": {
          "type": "integer"
        },
        "total_gated_documents": {
          "type": "integer"
        },
        "free_components": {
          "type": "integer"
        },
        "categories": {
          "type": "integer"
        },
        "gate_cost_sats_base": {
          "type": "integer"
        },
        "gate_cost_sats_min": {
          "type": "integer"
        },
        "tiered_pricing": {
          "type": "boolean"
        },
        "doctrine_version": {
          "type": "string"
        }
      }
    },
    "contact": {
      "type": "object"
    },
    "linked_resources": {
      "type": "object"
    },
    "status": {
      "type": "string"
    },
    "_manifold": {
      "$ref": "#/$defs/ManifoldEnvelope"
    }
  },
  "$defs": {
    "FreeComponentEntry": {
      "type": "object",
      "properties": {
        "slug": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "type": {
          "type": "string",
          "enum": [
            "case_study",
            "overview",
            "declaration",
            "reference",
            "disclaimer"
          ]
        },
        "url": {
          "type": "string"
        },
        "description": {
          "type": "string"
        }
      }
    },
    "ManifoldEnvelope": {
      "type": "object",
      "description": "Present in every JSON response. Contains the complete traversal map for autonomous agent orientation.",
      "properties": {
        "case_studies": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FreeComponentEntry"
          }
        },
        "free_layer": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/FreeComponentEntry"
          }
        },
        "free_index": {
          "type": "string"
        },
        "gated_index": {
          "type": "string"
        },
        "root": {
          "type": "string"
        },
        "agent_onboarding": {
          "type": "string"
        },
        "mcp": {
          "type": "string"
        },
        "agent_discovery": {
          "type": "string"
        },
        "instruction": {
          "type": "string"
        }
      }
    }
  }
}