{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Economic Statecraft public metadata API",
  "description": "Static, versioned metadata. All rights reserved. No source-quality or operative-law assurance is implied. Private paths, gate identifiers and contacts are excluded.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "schema_version",
    "version",
    "rights",
    "description",
    "entries"
  ],
  "properties": {
    "schema_version": {
      "const": "1.0"
    },
    "version": {
      "type": "string"
    },
    "rights": {
      "const": "All rights reserved"
    },
    "description": {
      "type": "string"
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "slug",
          "title",
          "category",
          "url",
          "fixed_url",
          "edition",
          "snapshot_url",
          "topics",
          "geographies",
          "metadata",
          "review"
        ],
        "properties": {
          "slug": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "fixed_url": {
            "type": "string"
          },
          "edition": {
            "type": "string"
          },
          "snapshot_url": {
            "type": "string"
          },
          "topics": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "geographies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "metadata": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "active_period": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "actor_type": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "affiliated_institutions": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "applications": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "attribution_status": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "authority_type": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "competent_authority": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "contestation": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "dependencies": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "effective_status": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "effectiveness_assessment": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "enacted_or_decided": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "entry_version": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "established": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "evidence_profile": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "evidence_strength": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "geographic_scope": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "headquarters": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "humanitarian_effects": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "inferred_objective": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "intensity": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "intent_status": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "intermediaries": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "jurisdiction": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "jurisdiction_or_nationality": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "last_materially_revised": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "last_substantive_reviewed": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "legal_review_date": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "mandate": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "mechanisms": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "organisation_type": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "outcome": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "period_end": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "period_start": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "polarity": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "policy_domains": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "posture": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "reversibility": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "sender_actors": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "state_nexus": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "statecraft_roles": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "stated_objective": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "strategic_modes": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "strategic_objectives": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "target_actors": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "technology_type": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "territorial_reach": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              }
            }
          },
          "review": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "cadence": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "due_status": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "evidence_note": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "external_specialist_review_documented": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "latest_review_activity": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "next_review_due": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "review_label": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "review_type": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "reviewed_scope": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "reviewed_version": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "reviewer_display": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "scope": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "scope_note": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              },
              "substantive_review_date": {
                "type": [
                  "string",
                  "number",
                  "boolean",
                  "array"
                ]
              }
            }
          }
        }
      }
    }
  },
  "x-date-precision": "Dates remain exactly as recorded, including year-only values. No January1 conversion.",
  "x-rights": "Availability of JSON does not grant a reuse licence.",
  "x-selected-claim-reviews": {
    "dataset": "/data/workspace/verified-claims.json",
    "passage_field": "reviewed_claims",
    "dom_attribute": "data-reviewed-claims",
    "dom_encoding": "JSON array of exact selected claim IDs",
    "matching": "Exact assertion_text substring in exactly one paragraph of the same slug; no bibliography inference.",
    "provenance": "fixed_url and edition identify the originally audited fixed text; passage_fixed_url identifies the current presented paragraph.",
    "scope": "Only the selected assertion is assessed. No whole-paragraph, whole-entry or external human review credit."
  }
}
