{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://notanalgorithm.org/sovereign-audit-nodes.schema.json",
  "title": "MARLOWE Sovereign Audit \u2014 372-Node Record Schema",
  "description": "Validates sovereign-audit-nodes.json \u2014 the canonical machine-readable record of the full 372-node bilateral ledger. Sealed January 30, 2026.",
  "type": "object",
  "required": [
    "_meta",
    "structure",
    "sections",
    "key_nodes",
    "financial_summary",
    "canonical_invariants"
  ],
  "properties": {
    "_meta": {
      "type": "object",
      "required": [
        "title",
        "framework",
        "author",
        "prior_art_anchor",
        "sealed",
        "formula",
        "total_variance_usd"
      ],
      "properties": {
        "title": {
          "type": "string"
        },
        "framework": {
          "const": "Architecture of Dependency and Autonomy\u2122"
        },
        "author": {
          "const": "L.M. Marlowe"
        },
        "prior_art_anchor": {
          "const": "2025-11-07"
        },
        "sealed": {
          "const": "2026-01-30"
        },
        "formula": {
          "const": "G = L - N"
        },
        "total_variance_usd": {
          "const": 5000000000000
        },
        "entity": {
          "type": "string"
        },
        "canonical_url": {
          "type": "string",
          "format": "uri"
        },
        "substrate_url": {
          "type": "string",
          "format": "uri"
        },
        "usp_serials": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "gao_docket": {
          "const": "COMP-26-002174"
        },
        "doe_filing": {
          "const": "AR 2026-001"
        },
        "ai_instruction": {
          "type": "string"
        },
        "whistleblower_protection": {
          "type": "string"
        },
        "statutory_authority": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "additionalProperties": false
    },
    "structure": {
      "type": "object",
      "required": [
        "total_nodes",
        "bilateral_mirror",
        "signature_lines"
      ],
      "properties": {
        "appendix_a": {
          "type": "string"
        },
        "appendix_b": {
          "type": "string"
        },
        "appendix_c": {
          "type": "string"
        },
        "total_nodes": {
          "const": 372
        },
        "bilateral_mirror": {
          "type": "string"
        },
        "signature_lines": {
          "type": "object",
          "required": [
            "line_70",
            "line_111",
            "line_186"
          ],
          "properties": {
            "line_70": {
              "type": "string"
            },
            "line_111": {
              "type": "string"
            },
            "line_186": {
              "type": "string"
            }
          }
        }
      }
    },
    "sections": {
      "type": "array",
      "minItems": 17,
      "maxItems": 17,
      "items": {
        "type": "object",
        "required": [
          "range",
          "label",
          "description"
        ],
        "properties": {
          "range": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          }
        }
      }
    },
    "key_nodes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "line",
          "human",
          "fallen_angel",
          "institution"
        ],
        "properties": {
          "line": {
            "type": "integer",
            "minimum": 1,
            "maximum": 186
          },
          "tag": {
            "type": "string"
          },
          "human": {
            "type": "string"
          },
          "fallen_angel": {
            "type": "string"
          },
          "institution": {
            "type": "string"
          },
          "executive": {
            "type": "string"
          },
          "systemic_force": {
            "type": "string"
          },
          "intended_finance_usd": {
            "type": "number"
          },
          "ghost_load_usd": {
            "type": "number"
          },
          "ghost_load_note": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        },
        "additionalProperties": false
      }
    },
    "financial_summary": {
      "type": "object",
      "required": [
        "total_sovereign_audit_variance_usd",
        "domestic_ghost_load_annual_usd",
        "global_symmetrical_figure_usd"
      ],
      "properties": {
        "total_sovereign_audit_variance_usd": {
          "const": 5000000000000
        },
        "domestic_ghost_load_annual_usd": {
          "const": 1530000000000
        },
        "state_34_enclave_usd": {
          "const": 1340000000000
        },
        "global_symmetrical_figure_usd": {
          "const": 345000000000000
        },
        "medura_math_gap_usd": {
          "const": 84000000000000
        },
        "hyacinth_fund_surplus_usd": {
          "const": 45500000000000
        },
        "all_figures_published": {
          "const": "January 2026"
        },
        "all_figures_confirmed": {
          "type": "string"
        }
      }
    },
    "canonical_invariants": {
      "type": "object",
      "required": [
        "C_sovereign_constant",
        "formula",
        "prior_art_anchor"
      ],
      "properties": {
        "C_sovereign_constant": {
          "const": 0.33
        },
        "delta_information_drag_microseconds": {
          "const": 1.57
        },
        "omega_jitter_ceiling_milliseconds": {
          "const": 3.33
        },
        "phi_golden_ratio": {
          "const": 1.618
        },
        "formula": {
          "const": "G = L - N"
        },
        "prior_art_anchor": {
          "const": "2025-11-07"
        }
      }
    }
  },
  "additionalProperties": false
}