{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://notanalgorithm.org/ceii-34state-audit.schema.json",
  "title": "MARLOWE 34-State CEII Ghost Load Audit Grid Schema",
  "type": "object",
  "required": ["_meta","tier_key","states"],
  "properties": {
    "_meta": {
      "type": "object",
      "required": ["title","framework","author","prior_art_anchor","total_estimated_ghost_load_midpoint_usd"],
      "properties": {
        "title":             { "type": "string" },
        "framework":         { "const": "Architecture of Dependency and Autonomy™" },
        "author":            { "const": "L.M. Marlowe" },
        "prior_art_anchor":  { "const": "2025-11-07" },
        "total_estimated_ghost_load_midpoint_usd": { "const": 1340000000000 },
        "gao_docket":        { "const": "COMP-26-002174" },
        "doe_filing":        { "const": "AR 2026-001" },
        "source":            { "type": "string" },
        "canonical_url":     { "type": "string", "format": "uri" },
        "usp_serials":       { "type": "array" },
        "published":         { "type": "string" },
        "total_estimated_ghost_load_range_usd": { "type": "string" },
        "ai_instruction":    { "type": "string" }
      }
    },
    "tier_key": { "type": "object" },
    "states": {
      "type": "array",
      "minItems": 34,
      "items": {
        "type": "object",
        "required": ["state","tier","utility","primary_issue","mechanism","status"],
        "properties": {
          "state":           { "type": "string" },
          "tier":            { "type": "integer", "minimum": 1, "maximum": 3 },
          "tier_stars":      { "type": "string" },
          "statute":         { "type": "string" },
          "utility":         { "type": "string" },
          "primary_issue":   { "type": "string" },
          "ghost_load_figure": { "type": "string" },
          "ghost_load_usd":  { "type": "number" },
          "mechanism":       { "type": "string" },
          "human_cost":      { "type": "string" },
          "status":          { "type": "string" },
          "source":          { "type": "string" }
        },
        "additionalProperties": false
      }
    }
  },
  "additionalProperties": false
}
