{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://ainumbers.co/chaingraph/schemas/evidence-profile.manifest.schema.json",
  "title": "AINumbers evidence-profile catalog manifest",
  "description": "Named evidence profiles (EF-2, EVIDENCE-FRESHNESS-BUILD-SPEC.md). Each profile declares which §23 attestation types it expects, its expected freshness_class, and which shipped chains/kernels consume it. Zero new attestation types; zkTLS stays DEFER/WATCH (see zktls_status).",
  "type": "object",
  "required": ["manifest_id", "spec_version", "zktls_status", "profiles"],
  "properties": {
    "manifest_id": { "type": "string", "const": "evidence-profile-catalog" },
    "spec_version": { "type": "string", "minLength": 1 },
    "zktls_status": { "type": "string", "enum": ["defer", "watch"] },
    "profiles": {
      "type": "array",
      "minItems": 6,
      "items": {
        "type": "object",
        "required": ["profile_id", "name", "description", "attestation_types", "expected_freshness_class", "consuming_chains"],
        "properties": {
          "profile_id": { "type": "string", "pattern": "^[a-z0-9-]+$" },
          "name": { "type": "string", "minLength": 1 },
          "description": { "type": "string", "minLength": 1 },
          "attestation_types": {
            "type": "array",
            "minItems": 1,
            "items": { "type": "string", "enum": ["vc-2.0", "c2pa-manifest", "rfc3161-snapshot"] }
          },
          "expected_freshness_class": {
            "type": "string",
            "enum": ["realtime", "intraday", "daily", "point-in-time", "static"]
          },
          "consuming_chains": {
            "type": "array",
            "items": { "type": "string" }
          },
          "notes": { "type": "string" }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
