{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ai-law-tracker-com/json-schema/ai-law-tracker-com-us-law-record-schema.json",
  "title": "UsLawRecord",
  "description": "A US-law record at title/chapter/part granularity. Carries the citation, status, dates, the official source URL and the classification — NOT the statutory text, which is linked via full_text_url.",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai-law-tracker-com-openapi.json#/components/schemas/UsLawRecord",
  "type": "object",
  "properties": {
    "record_uid": {
      "type": "string"
    },
    "jurisdiction_level": {
      "type": "string",
      "enum": [
        "federal",
        "state"
      ]
    },
    "jurisdiction_slug": {
      "type": "string"
    },
    "jurisdiction_name": {
      "type": "string"
    },
    "instrument_type": {
      "type": "string"
    },
    "instrument_label": {
      "type": "string"
    },
    "is_binding": {
      "type": "boolean"
    },
    "citation": {
      "type": "string",
      "description": "Never withheld at any tier."
    },
    "identifier": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    },
    "short_title": {
      "type": [
        "string",
        "null"
      ]
    },
    "summary": {
      "type": [
        "string",
        "null"
      ],
      "description": "Withheld in the trimmed (basic) envelope."
    },
    "status": {
      "type": "string"
    },
    "is_in_force": {
      "type": "boolean"
    },
    "enacted_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "effective_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "repealed_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "official_url": {
      "type": "string",
      "description": "The official government source. Never withheld at any tier."
    },
    "full_text_url": {
      "type": [
        "string",
        "null"
      ],
      "description": "Where the text lives. We link it; we do not reproduce it."
    },
    "source_authority": {
      "type": [
        "string",
        "null"
      ]
    },
    "retrieved_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_verified_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "primary_branch_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "primary_branch_label": {
      "type": [
        "string",
        "null"
      ]
    },
    "primary_domain_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "`other_unclassified` when not yet substantively classified."
    },
    "primary_domain_label": {
      "type": [
        "string",
        "null"
      ]
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "ALL assigned domains, primary and secondary — the many-to-many classification."
    },
    "edition_year": {
      "type": [
        "integer",
        "null"
      ]
    },
    "edition_label": {
      "type": [
        "string",
        "null"
      ]
    },
    "executive_order_number": {
      "type": [
        "integer",
        "null"
      ]
    },
    "proclamation_number": {
      "type": [
        "integer",
        "null"
      ]
    },
    "presidential_document_number": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}