{
    "openapi": "3.1.0",
    "info": {
        "title": "AIPolicyTracker public API",
        "version": "1.0.0",
        "summary": "Read-only access to source-backed AI policy records.",
        "description": "Open, source-backed AI policy and regulatory intelligence. All records carry an official source URL, review status, confidence level and verification dates. Data licence: CC BY 4.0. No key is needed: the limit is 120 requests a minute per address. An account token sent as Authorization: Bearer is counted per account, at the rate of its plan; X-RateLimit-Limit gives the limit that applies. Informational only; not legal advice.",
        "license": {
            "name": "CC BY 4.0",
            "url": "https://creativecommons.org/licenses/by/4.0/"
        },
        "termsOfService": "https://aipolicytracker.org/methodology",
        "contact": {
            "name": "AIPolicyTracker",
            "email": "info@aipolicytracker.org",
            "url": "https://aipolicytracker.org/about"
        }
    },
    "servers": [
        {
            "url": "https://aipolicytracker.org/api/v1"
        }
    ],
    "security": [],
    "paths": {
        "/": {
            "get": {
                "summary": "API root and endpoint index",
                "operationId": "root",
                "responses": {
                    "200": {
                        "description": "Endpoint index"
                    }
                }
            }
        },
        "/jurisdictions": {
            "get": {
                "summary": "List published jurisdictions",
                "operationId": "listJurisdictions",
                "responses": {
                    "200": {
                        "description": "Jurisdictions",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Jurisdiction"
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/jurisdictions/{slug}": {
            "get": {
                "summary": "Get a jurisdiction with its policies",
                "operationId": "getJurisdiction",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Jurisdiction"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/policies": {
            "get": {
                "summary": "Search and filter policy instruments",
                "operationId": "listPolicies",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Keyword search"
                    },
                    {
                        "name": "jurisdiction",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated jurisdiction slugs"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated policy statuses"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated instrument types"
                    },
                    {
                        "name": "sector",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "use_case",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "risk",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "actor",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "binding",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "yes",
                                "no"
                            ]
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "binding",
                                "updated",
                                "effective",
                                "relevance",
                                "jurisdiction"
                            ]
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated policies",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/PolicySummary"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/policies/{slug}": {
            "get": {
                "summary": "Get a full policy record",
                "operationId": "getPolicy",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Policy",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Policy"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/obligations": {
            "get": {
                "summary": "Search and filter obligations",
                "operationId": "listObligations",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Keyword search"
                    },
                    {
                        "name": "jurisdiction",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated jurisdiction slugs"
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated policy statuses"
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Comma-separated instrument types"
                    },
                    {
                        "name": "sector",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "use_case",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "risk",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "actor",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "binding",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "yes",
                                "no"
                            ]
                        }
                    },
                    {
                        "name": "sort",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "binding",
                                "updated",
                                "effective",
                                "relevance",
                                "jurisdiction"
                            ]
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "maximum": 100
                        }
                    },
                    {
                        "name": "category",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Obligation category slug"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated obligations"
                    }
                }
            }
        },
        "/controls": {
            "get": {
                "summary": "List the controls an organisation operates to meet AI duties, each with the duties it serves, its evidence and its standards references",
                "operationId": "listControls",
                "parameters": [
                    {
                        "name": "kind",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "policy",
                                "process",
                                "technical",
                                "contractual",
                                "training"
                            ]
                        }
                    },
                    {
                        "name": "framework",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        },
                        "description": "Framework key, e.g. iso_42001 or nist_ai_rmf"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Controls"
                    }
                }
            }
        },
        "/controls/{slug}": {
            "get": {
                "summary": "Get one control with every duty it satisfies or supports",
                "operationId": "getControl",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Control"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/obligations/{slug}": {
            "get": {
                "summary": "Get an obligation",
                "operationId": "getObligation",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Obligation"
                    },
                    "404": {
                        "description": "Not found"
                    }
                }
            }
        },
        "/changes": {
            "get": {
                "summary": "List change events (newest first)",
                "operationId": "listChanges",
                "parameters": [
                    {
                        "name": "since",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "jurisdiction",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated change events",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ChangeEvent"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                }
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "rss": {
                                                    "type": "string",
                                                    "format": "uri"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/taxonomies": {
            "get": {
                "summary": "Controlled vocabularies",
                "operationId": "listTaxonomies",
                "responses": {
                    "200": {
                        "description": "Taxonomy terms grouped by taxonomy"
                    }
                }
            }
        },
        "/frameworks": {
            "get": {
                "summary": "Frameworks that legal duties are crosswalked to, with coverage counts",
                "operationId": "listFrameworks",
                "responses": {
                    "200": {
                        "description": "Frameworks with the number of duties mapped to each"
                    }
                }
            }
        },
        "/frameworks/{framework}": {
            "get": {
                "summary": "One framework, with its mapped duties grouped by clause or function",
                "operationId": "getFramework",
                "parameters": [
                    {
                        "name": "framework",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Framework slug, e.g. iso-42001 or nist-ai-rmf"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Framework with grouped mappings"
                    },
                    "404": {
                        "description": "Unknown framework, or one with no mappings"
                    }
                }
            }
        },
        "/frameworks/{framework}/{jurisdiction}": {
            "get": {
                "summary": "One jurisdiction's duties mapped to one framework",
                "operationId": "getFrameworkCrosswalk",
                "parameters": [
                    {
                        "name": "framework",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "jurisdiction",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Crosswalk rows, with obligations_mapped against obligations_recorded"
                    },
                    "404": {
                        "description": "Unknown pair, or one with no mappings"
                    }
                }
            }
        },
        "/deadlines": {
            "get": {
                "summary": "Compliance dates recorded against instruments and duties",
                "operationId": "listDeadlines",
                "parameters": [
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated deadlines"
                    }
                }
            }
        },
        "/deadlines/applicable": {
            "post": {
                "summary": "Which recorded dates apply to one organisation, and why",
                "operationId": "applicableDeadlines",
                "description": "The deadline engine: recorded deadlines filtered by the scope recorded on their instrument and duty (role, system type, risk tier, sector, use case). A filter, not a legal determination. The same answers as a query string on /deadlines/applicable.ics return an iCalendar file.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "jurisdictions"
                                ],
                                "properties": {
                                    "jurisdictions": {
                                        "type": "array",
                                        "minItems": 1,
                                        "maxItems": 8,
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "role": {
                                        "type": [
                                            "string",
                                            "null"
                                        ],
                                        "description": "An actor slug: provider, deployer, importer, distributor, gpai_provider, public_authority\u2026"
                                    },
                                    "system_types": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "risk": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "sectors": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    },
                                    "use_cases": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The applicable deadlines",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ApplicableDeadline"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "answers": {
                                                    "type": "object"
                                                },
                                                "ics_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "page_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "disclaimer": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "No jurisdiction given"
                    }
                }
            }
        },
        "/deadlines/applicable.ics": {
            "get": {
                "summary": "The applicable deadlines as an iCalendar file",
                "operationId": "applicableDeadlinesIcs",
                "parameters": [
                    {
                        "name": "jurisdictions[]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "risk",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "text/calendar"
                    },
                    "404": {
                        "description": "No jurisdiction given"
                    }
                }
            }
        },
        "/incidents": {
            "get": {
                "summary": "Incidents mirrored from the AI Incident Database",
                "operationId": "listIncidents",
                "description": "Responses carry the upstream source, licence and citation in meta.source; reusing the rows carries that attribution requirement with them.",
                "parameters": [
                    {
                        "name": "domain",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "country",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "from",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "format": "date"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated incidents with source attribution",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Incident"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object",
                                                    "description": "The filters applied, as parsed; unrecognised values are null."
                                                },
                                                "source": {
                                                    "type": "object",
                                                    "description": "The upstream dataset, its licence and how to cite it.",
                                                    "properties": {
                                                        "name": {
                                                            "type": "string"
                                                        },
                                                        "url": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "license": {
                                                            "type": "string"
                                                        },
                                                        "license_url": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "citation": {
                                                            "type": "string"
                                                        },
                                                        "snapshot_date": {
                                                            "type": "string",
                                                            "format": "date"
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/risks": {
            "get": {
                "summary": "Risk entries mirrored from the MIT AI Risk Repository",
                "operationId": "listRisks",
                "description": "Responses carry the upstream source, licence and citation in meta.source; reusing the rows carries that attribution requirement with them.",
                "parameters": [
                    {
                        "name": "domain",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "entity",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "intent",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "timing",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated risk entries with source attribution",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RiskEntry"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "current_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object",
                                                    "description": "The filters applied, as parsed; unrecognised values are null."
                                                },
                                                "source": {
                                                    "type": "object",
                                                    "description": "The upstream dataset, its licence and how to cite it.",
                                                    "properties": {
                                                        "name": {
                                                            "type": "string"
                                                        },
                                                        "url": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "license": {
                                                            "type": "string"
                                                        },
                                                        "license_url": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "citation": {
                                                            "type": "string"
                                                        },
                                                        "snapshot_date": {
                                                            "type": "string",
                                                            "format": "date"
                                                        }
                                                    }
                                                }
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/applicability/register": {
            "get": {
                "summary": "The applicability check as an obligations register",
                "operationId": "applicabilityRegister",
                "description": "One row per recorded duty whose recorded actors, use cases and sectors overlap the answers, each cited to its record. An educational screen, not a determination. meta.downloads links the XLSX, CSV and PDF of the same rows.",
                "parameters": [
                    {
                        "name": "jurisdictions[]",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    },
                    {
                        "name": "role",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "use_case",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "sector",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "personal_data",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "yes",
                                "no",
                                "unsure"
                            ]
                        }
                    },
                    {
                        "name": "genai",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "yes",
                                "no",
                                "unsure"
                            ]
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The register",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/RegisterRow"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "answers": {
                                                    "type": "object"
                                                },
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "instruments_screened": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object"
                                                    }
                                                },
                                                "downloads": {
                                                    "type": "object",
                                                    "properties": {
                                                        "xlsx": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "csv": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        },
                                                        "pdf": {
                                                            "type": "string",
                                                            "format": "uri"
                                                        }
                                                    }
                                                },
                                                "page_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "disclaimer": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "422": {
                        "description": "No jurisdiction given"
                    }
                }
            }
        },
        "/watches": {
            "get": {
                "summary": "The account's watches (personal access token)",
                "operationId": "listWatches",
                "security": [
                    {
                        "bearerAuth": []
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Watches",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Watch"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "types": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "string"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "description": "No or invalid token"
                    }
                }
            },
            "post": {
                "summary": "Add a watch",
                "operationId": "createWatch",
                "security": [
                    {
                        "bearerAuth": []
                    }
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "type": "object",
                                "required": [
                                    "type"
                                ],
                                "properties": {
                                    "type": {
                                        "type": "string",
                                        "enum": [
                                            "policy",
                                            "jurisdiction",
                                            "obligation",
                                            "sector",
                                            "use_case",
                                            "framework",
                                            "change_type",
                                            "search"
                                        ]
                                    },
                                    "subject": {
                                        "type": "string",
                                        "description": "The slug; omitted for a search."
                                    },
                                    "params": {
                                        "type": "object",
                                        "description": "For a search: jurisdiction, impact, q."
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "Created"
                    },
                    "200": {
                        "description": "Already watched"
                    },
                    "422": {
                        "description": "Unknown subject"
                    }
                }
            }
        },
        "/watches/{id}": {
            "delete": {
                "summary": "Remove a watch",
                "operationId": "deleteWatch",
                "security": [
                    {
                        "bearerAuth": []
                    }
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Removed"
                    },
                    "404": {
                        "description": "Not this account's watch"
                    }
                }
            }
        },
        "/transition/measures": {
            "get": {
                "summary": "AI economic transition measures (dividends, basic income, AI taxes, funds, layoff disclosure, retraining, worker voice)",
                "operationId": "listTransitionMeasures",
                "description": "A record starts as a draft with every factual field null; a reviewer fills it from the official source. Drafts are returned with review_status \"draft\" and draft true.",
                "parameters": [
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "jurisdiction",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Measures",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TransitionMeasure"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "verified": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object"
                                                },
                                                "types": {
                                                    "type": "object"
                                                },
                                                "statuses": {
                                                    "type": "object"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "note": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/transition/measures/{slug}": {
            "get": {
                "summary": "One transition measure with its attributed arguments and sources",
                "operationId": "getTransitionMeasure",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The measure",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TransitionMeasureDetail"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Unknown measure"
                    }
                }
            }
        },
        "/transition/indicators": {
            "get": {
                "summary": "Cited time series about AI-driven economic change",
                "operationId": "listTransitionIndicators",
                "responses": {
                    "200": {
                        "description": "Indicators",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/TransitionIndicator"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/transition/index": {
            "get": {
                "summary": "The displacement policy index: latest snapshot per jurisdiction, with inputs and version",
                "operationId": "getDisplacementIndex",
                "responses": {
                    "200": {
                        "description": "Snapshots",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/IndexSnapshot"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "version": {
                                                    "type": "string"
                                                },
                                                "dimensions": {
                                                    "type": "object"
                                                },
                                                "weights": {
                                                    "type": "object"
                                                },
                                                "rule": {
                                                    "type": "string"
                                                },
                                                "types_by_dimension": {
                                                    "type": "object"
                                                },
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "methodology_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "license": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/enforcement": {
            "get": {
                "summary": "Enforcement actions under recorded instruments: fines, orders, warnings, settlements, court decisions, annulments",
                "operationId": "listEnforcementActions",
                "description": "Recorded only from the regulator's or court's own publication. A field the source does not state is null; a null amount means none was published, not zero.",
                "parameters": [
                    {
                        "name": "jurisdiction",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "kind",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "fine",
                                "order",
                                "warning",
                                "settlement",
                                "court_decision",
                                "annulment"
                            ]
                        }
                    },
                    {
                        "name": "year",
                        "in": "query",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "policy",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 500,
                            "default": 500
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Enforcement actions, newest first",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/EnforcementAction"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                }
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object"
                                                },
                                                "kinds": {
                                                    "type": "object"
                                                },
                                                "appeal_statuses": {
                                                    "type": "object"
                                                },
                                                "page_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "note": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/implementation-measures": {
            "get": {
                "summary": "Implementation measures (guidelines, codes of practice, delegated and implementing acts, templates, AI Board outputs) and standards (harmonised, ISO/IEC), metadata only",
                "operationId": "listImplementationMeasures",
                "description": "\"status\" is derived: \"overdue\" when due_on has passed and the measure is neither adopted nor published. \"declared_status\" is what the record says. A draft has every factual field null.",
                "parameters": [
                    {
                        "name": "instrument",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "kind",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "delegated_act",
                                "implementing_act",
                                "guidelines",
                                "code_of_practice",
                                "template",
                                "ai_board_output",
                                "standardisation_request",
                                "harmonised_standard",
                                "iso_work_item"
                            ]
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "unverified",
                                "planned",
                                "consultation",
                                "draft",
                                "adopted",
                                "published",
                                "overdue"
                            ]
                        }
                    },
                    {
                        "name": "body",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "cen_cenelec_jtc_21",
                                "iso_iec_jtc_1_sc_42",
                                "european_commission",
                                "ai_office",
                                "ai_board"
                            ]
                        }
                    },
                    {
                        "name": "standards",
                        "in": "query",
                        "schema": {
                            "type": "boolean"
                        },
                        "description": "Only harmonised standards, ISO/IEC work items and standardisation requests."
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 500,
                            "default": 500
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Measures",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/ImplementationMeasure"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "format": "uri"
                                                }
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "page": {
                                                    "type": "integer"
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "last_page": {
                                                    "type": "integer"
                                                },
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "recorded": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object"
                                                },
                                                "kinds": {
                                                    "type": "object"
                                                },
                                                "statuses": {
                                                    "type": "object"
                                                },
                                                "bodies": {
                                                    "type": "object"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "note": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/templates": {
            "get": {
                "summary": "The templates library: generated XLSX/DOCX files, versioned",
                "operationId": "listTemplates",
                "description": "Every template is generated from the recorded duties, controls, deadlines and crosswalks and rebuilt when the records change. Files are free (CC BY 4.0) and need no account.",
                "parameters": [
                    {
                        "name": "type",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "topic",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "framework",
                        "in": "query",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Templates with their latest version",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#/components/schemas/Template"
                                            }
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "total": {
                                                    "type": "integer"
                                                },
                                                "filters": {
                                                    "type": "object"
                                                },
                                                "types": {
                                                    "type": "object"
                                                },
                                                "topics": {
                                                    "type": "object"
                                                },
                                                "frameworks": {
                                                    "type": "object"
                                                },
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "disclaimer": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        },
        "/templates/{slug}": {
            "get": {
                "summary": "One template: what it covers, every version, the covered duties",
                "operationId": "getTemplate",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "The template",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/TemplateDetail"
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "license": {
                                                    "type": "string"
                                                },
                                                "license_url": {
                                                    "type": "string",
                                                    "format": "uri"
                                                },
                                                "disclaimer": {
                                                    "type": "string"
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "404": {
                        "description": "Unknown template"
                    }
                }
            }
        },
        "/templates/{slug}/download": {
            "get": {
                "summary": "Redirects to the latest file in the requested format",
                "operationId": "downloadTemplate",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "schema": {
                            "type": "string"
                        }
                    },
                    {
                        "name": "format",
                        "in": "query",
                        "schema": {
                            "type": "string",
                            "enum": [
                                "xlsx",
                                "docx"
                            ]
                        }
                    }
                ],
                "responses": {
                    "302": {
                        "description": "Redirect to the file"
                    },
                    "404": {
                        "description": "Unknown template or format"
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "description": "A personal access token created on the account page."
            }
        },
        "schemas": {
            "SourceQuality": {
                "type": "object",
                "properties": {
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "source_title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_publisher": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_document_date": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "source_reference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_tier": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 4
                    },
                    "last_checked_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "review_status": {
                        "type": "string",
                        "enum": [
                            "draft",
                            "pending_review",
                            "verified",
                            "needs_update"
                        ]
                    },
                    "confidence_level": {
                        "type": "string",
                        "enum": [
                            "high",
                            "medium",
                            "low",
                            "unavailable"
                        ]
                    },
                    "content_version": {
                        "type": "integer"
                    },
                    "change_summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    }
                }
            },
            "Jurisdiction": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "name": {
                        "type": "string"
                    },
                    "iso_code": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "jurisdiction_type": {
                        "type": "string"
                    },
                    "region": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "overview": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "regulatory_status_summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "regulators": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "official_sources": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "source": {
                        "$ref": "#/components/schemas/SourceQuality"
                    }
                }
            },
            "PolicySummary": {
                "type": "object",
                "properties": {
                    "content_version": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Record version, raised on every edit; cited with the id."
                    },
                    "slug": {
                        "type": "string"
                    },
                    "id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Permanent record id (AIPT-POL-0001 \u2026): never changed or reused."
                    },
                    "permanent_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "description": "Resolves to the record wherever it lives (/id/{id})."
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Named reviewer who verified the record; null until verified."
                    },
                    "title": {
                        "type": "string"
                    },
                    "short_title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "jurisdiction": {
                        "type": "string"
                    },
                    "instrument_type": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "proposed",
                            "under_consultation",
                            "adopted",
                            "in_force",
                            "partially_applicable",
                            "guidance",
                            "voluntary_standard",
                            "enforcement_action",
                            "superseded",
                            "repealed",
                            "archived"
                        ]
                    },
                    "is_binding": {
                        "type": "boolean"
                    },
                    "ai_specific": {
                        "type": "boolean",
                        "description": "About AI itself; false for a general law (privacy, cyber, consumer) that also applies to AI."
                    },
                    "summary_plain": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "applies_from": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "review_status": {
                        "type": "string"
                    },
                    "confidence_level": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "Policy": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/PolicySummary"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "scope_summary": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "who_it_applies_to": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "sections": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "obligations": {
                                "type": "array",
                                "items": {
                                    "$ref": "#/components/schemas/Obligation"
                                }
                            },
                            "deadlines": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "sources": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "faq": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "source": {
                                "$ref": "#/components/schemas/SourceQuality"
                            },
                            "second_review": {
                                "type": [
                                    "object",
                                    "null"
                                ],
                                "description": "An independent second check by a different named reviewer, or null. coded holds the second reviewer's values for the categorical fields; fields_disputed lists each disagreement with the first reviewer's value and its resolution.",
                                "properties": {
                                    "reviewed_by": {
                                        "type": "string"
                                    },
                                    "reviewed_on": {
                                        "type": "string",
                                        "format": "date"
                                    },
                                    "sample": {
                                        "type": [
                                            "string",
                                            "null"
                                        ]
                                    },
                                    "agreed": {
                                        "type": "boolean"
                                    },
                                    "coded": {
                                        "type": "object",
                                        "properties": {
                                            "status": {
                                                "type": "string"
                                            },
                                            "is_binding": {
                                                "type": "boolean"
                                            },
                                            "review_status": {
                                                "type": "string"
                                            }
                                        }
                                    },
                                    "fields_disputed": {
                                        "type": "array",
                                        "items": {
                                            "type": "object",
                                            "properties": {
                                                "field": {
                                                    "type": "string"
                                                },
                                                "first": {
                                                    "description": "The first reviewer's value (string or boolean)."
                                                },
                                                "note": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "resolution": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ]
            },
            "ChangeEvent": {
                "type": "object",
                "required": [
                    "slug",
                    "occurred_on",
                    "title",
                    "url",
                    "significance"
                ],
                "properties": {
                    "id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Permanent record id (AIPT-CHG-0001 \u2026)."
                    },
                    "permanent_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "slug": {
                        "type": "string"
                    },
                    "occurred_on": {
                        "type": "string",
                        "format": "date",
                        "description": "When the change happened."
                    },
                    "jurisdiction": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "policy": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "what_changed": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "practical_impact": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "impact_level": {
                        "type": "string",
                        "enum": [
                            "urgent",
                            "high",
                            "routine"
                        ]
                    },
                    "status_after": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "significance": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100,
                        "description": "How much the change matters by a published, versioned rule: impact level, binding force, status after, review state and recency. Drives \"top stories\" on the updates pages."
                    },
                    "first_published_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "When the entry first appeared on this site."
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "source": {
                        "$ref": "#/components/schemas/SourceQuality"
                    }
                }
            },
            "Incident": {
                "type": "object",
                "required": [
                    "incident_id",
                    "slug",
                    "title",
                    "url"
                ],
                "properties": {
                    "incident_id": {
                        "type": "integer",
                        "description": "The AI Incident Database number; cite the record as incidentdatabase.ai/cite/{incident_id}."
                    },
                    "slug": {
                        "type": "string",
                        "description": "Readable address of the page on this site. Assigned once and never changed; the numeric address redirects to it."
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "occurred_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "domain": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "subdomain": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "entity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "intent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "timing": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sectors": {
                        "type": [
                            "array",
                            "null"
                        ]
                    },
                    "countries": {
                        "type": [
                            "array",
                            "null"
                        ]
                    },
                    "deployers": {
                        "type": [
                            "array",
                            "null"
                        ]
                    },
                    "developers": {
                        "type": [
                            "array",
                            "null"
                        ]
                    },
                    "harmed": {
                        "type": [
                            "array",
                            "null"
                        ]
                    },
                    "report_count": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "harm_domain": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The MIT AI Risk Repository domain the record is coded to, as a slug."
                    },
                    "sensitivity": {
                        "type": "string",
                        "enum": [
                            "standard",
                            "sensitive"
                        ],
                        "description": "sensitive: the record concerns sexual imagery; its title and description are neutral and the page is not offered to search engines. Do not repeat the source headline."
                    },
                    "policy_angle": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "One neutral sentence from the record's coding: the harm domain and how many recorded laws in effect cover that risk area where it happened."
                    },
                    "related_policies": {
                        "type": "array",
                        "description": "Recorded instruments in effect for this risk area where it happened, binding first; a reviewer may have set the list. A law listed covers the area; it is not a finding that it applies to the incident.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "slug": {
                                    "type": "string"
                                },
                                "title": {
                                    "type": "string"
                                },
                                "jurisdiction": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "RiskEntry": {
                "type": "object",
                "required": [
                    "ev_id",
                    "slug",
                    "url"
                ],
                "properties": {
                    "ev_id": {
                        "type": "string",
                        "description": "The MIT AI Risk Repository evidence code."
                    },
                    "slug": {
                        "type": "string",
                        "description": "Readable address of the page on this site. Assigned once and never changed; the evidence-code address redirects to it."
                    },
                    "risk_category": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "risk_subcategory": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "domain": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "MIT risk domain number, 1\u20137."
                    },
                    "subdomain": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "entity": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "intent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "timing": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "level": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "paper": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The repository's key for the source paper."
                    },
                    "citation": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The source paper as author and year, e.g. \"Hendrycks, 2023\"."
                    },
                    "paper_title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "ApplicableDeadline": {
                "type": "object",
                "required": [
                    "title",
                    "status",
                    "jurisdiction",
                    "policy",
                    "why",
                    "matched_on"
                ],
                "properties": {
                    "title": {
                        "type": "string"
                    },
                    "due_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "date_precision": {
                        "type": "string"
                    },
                    "date_label": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "status": {
                        "type": "string"
                    },
                    "confidence": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "jurisdiction": {
                        "type": "string"
                    },
                    "policy": {
                        "type": "string"
                    },
                    "obligation": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_reference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "why": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        },
                        "description": "Why the date is shown for these answers."
                    },
                    "matched_on": {
                        "type": "string",
                        "enum": [
                            "instrument",
                            "obligation"
                        ]
                    },
                    "originally": {
                        "type": [
                            "object",
                            "null"
                        ],
                        "description": "Set when a re-import found the date moved: the date first recorded.",
                        "properties": {
                            "due_on": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "format": "date"
                            },
                            "label": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "changed_at": {
                                "type": "string",
                                "format": "date-time"
                            }
                        }
                    }
                }
            },
            "RegisterRow": {
                "type": "object",
                "required": [
                    "slug",
                    "url",
                    "duty",
                    "instrument",
                    "jurisdiction",
                    "binding"
                ],
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    },
                    "duty": {
                        "type": "string"
                    },
                    "category": {
                        "type": "string"
                    },
                    "instrument": {
                        "type": "string"
                    },
                    "jurisdiction": {
                        "type": "string"
                    },
                    "actors": {
                        "type": "string"
                    },
                    "binding": {
                        "type": "string",
                        "enum": [
                            "Legal requirement",
                            "Voluntary"
                        ]
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "applies_from": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "action": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "evidence": {
                        "type": "string"
                    },
                    "iso": {
                        "type": "string"
                    },
                    "nist": {
                        "type": "string"
                    },
                    "verification": {
                        "type": "string"
                    },
                    "controls": {
                        "type": "string"
                    }
                },
                "additionalProperties": true
            },
            "Watch": {
                "type": "object",
                "required": [
                    "id",
                    "type",
                    "subject",
                    "label"
                ],
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "type": {
                        "type": "string"
                    },
                    "subject": {
                        "type": "string"
                    },
                    "label": {
                        "type": "string"
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "params": {
                        "type": [
                            "object",
                            "null"
                        ]
                    },
                    "created_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                }
            },
            "TransitionMeasure": {
                "type": "object",
                "required": [
                    "slug",
                    "title",
                    "jurisdiction",
                    "measure_type",
                    "status",
                    "review_status",
                    "draft",
                    "url"
                ],
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "jurisdiction": {
                        "type": "string"
                    },
                    "jurisdiction_name": {
                        "type": "string"
                    },
                    "measure_type": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "mechanism": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "funding": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "trigger": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "benefit": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "cost": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "bill_number": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "sponsors": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "introduced_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "enacted_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "in_force_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_publisher": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_tier": {
                        "type": "integer"
                    },
                    "review_status": {
                        "type": "string"
                    },
                    "confidence_level": {
                        "type": "string"
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "draft": {
                        "type": "boolean",
                        "description": "true until a reviewer has read the official source; every fact is null until then."
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "TransitionMeasureDetail": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/TransitionMeasure"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "arguments_for": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "arguments_against": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "sources": {
                                "type": "array",
                                "items": {
                                    "type": "object"
                                }
                            },
                            "notes": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        }
                    }
                ]
            },
            "TransitionIndicator": {
                "type": "object",
                "required": [
                    "slug",
                    "title",
                    "unit",
                    "series",
                    "review_status"
                ],
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "jurisdiction": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "unit": {
                        "type": "string"
                    },
                    "frequency": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "series": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "period": {
                                    "type": "string"
                                },
                                "value": {
                                    "type": "number"
                                },
                                "source_url": {
                                    "type": "string",
                                    "format": "uri"
                                },
                                "source_title": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "note": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                }
                            }
                        }
                    },
                    "review_status": {
                        "type": "string"
                    },
                    "confidence_level": {
                        "type": "string"
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                }
            },
            "IndexSnapshot": {
                "type": "object",
                "required": [
                    "jurisdiction",
                    "quarter",
                    "version",
                    "score",
                    "subscores"
                ],
                "properties": {
                    "jurisdiction": {
                        "type": "string"
                    },
                    "jurisdiction_name": {
                        "type": "string"
                    },
                    "quarter": {
                        "type": "string"
                    },
                    "version": {
                        "type": "string"
                    },
                    "score": {
                        "type": "integer",
                        "minimum": 0,
                        "maximum": 100
                    },
                    "subscores": {
                        "type": "object"
                    },
                    "inputs": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "computed_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "EnforcementAction": {
                "type": "object",
                "required": [
                    "slug",
                    "title",
                    "policy",
                    "review_status",
                    "url"
                ],
                "properties": {
                    "slug": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "title": {
                        "type": "string"
                    },
                    "kind": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "fine",
                            "order",
                            "warning",
                            "settlement",
                            "court_decision",
                            "annulment",
                            null
                        ]
                    },
                    "occurred_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "jurisdiction": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "jurisdiction_name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "policy": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "regulator": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "respondent": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "amount": {
                        "type": [
                            "number",
                            "null"
                        ],
                        "description": "As published; null when none was published."
                    },
                    "currency": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "ISO 4217."
                    },
                    "legal_basis": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "outcome": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "appeal_status": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "enum": [
                            "not_appealed",
                            "appeal_pending",
                            "upheld_on_appeal",
                            "overturned_on_appeal",
                            "unknown",
                            null
                        ]
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "source_title": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_publisher": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "review_status": {
                        "type": "string"
                    },
                    "confidence_level": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    }
                }
            },
            "ImplementationMeasure": {
                "type": "object",
                "required": [
                    "slug",
                    "title",
                    "kind",
                    "declared_status",
                    "status",
                    "review_status",
                    "draft",
                    "url"
                ],
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "kind": {
                        "type": "string",
                        "enum": [
                            "delegated_act",
                            "implementing_act",
                            "guidelines",
                            "code_of_practice",
                            "template",
                            "ai_board_output",
                            "standardisation_request",
                            "harmonised_standard",
                            "iso_work_item"
                        ]
                    },
                    "instrument": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Slug of the policy record the measure implements."
                    },
                    "related_policy": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "declared_status": {
                        "type": "string",
                        "enum": [
                            "unverified",
                            "planned",
                            "consultation",
                            "draft",
                            "adopted",
                            "published"
                        ]
                    },
                    "status": {
                        "type": "string",
                        "enum": [
                            "unverified",
                            "planned",
                            "consultation",
                            "draft",
                            "adopted",
                            "published",
                            "overdue"
                        ],
                        "description": "Declared status, or \"overdue\" when due_on has passed with nothing adopted or published."
                    },
                    "legal_basis": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "due_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "adopted_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "published_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "published_on_precision": {
                        "type": "string",
                        "enum": [
                            "exact",
                            "month",
                            "year"
                        ],
                        "description": "With \"year\", only the year of published_on is known."
                    },
                    "body": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "reference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "stage": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "oj_citation_expected_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "oj_citation_on": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri"
                    },
                    "source_publisher": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "source_tier": {
                        "type": "integer"
                    },
                    "review_status": {
                        "type": "string"
                    },
                    "confidence_level": {
                        "type": "string"
                    },
                    "last_verified_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "draft": {
                        "type": "boolean"
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "Template": {
                "type": "object",
                "required": [
                    "slug",
                    "title",
                    "type",
                    "formats",
                    "url"
                ],
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "title": {
                        "type": "string"
                    },
                    "type": {
                        "type": "string",
                        "enum": [
                            "register",
                            "assessment",
                            "policy",
                            "procedure",
                            "checklist",
                            "crosswalk",
                            "kit"
                        ]
                    },
                    "formats": {
                        "type": "array",
                        "items": {
                            "type": "string",
                            "enum": [
                                "xlsx",
                                "docx"
                            ]
                        }
                    },
                    "topics": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "frameworks": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "short": {
                        "type": "string"
                    },
                    "covers": {
                        "type": "object",
                        "description": "Which duties the template covers: by obligation category, by instrument slug, or by framework.",
                        "properties": {
                            "categories": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "policies": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "frameworks": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "version": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Latest built version; null until the first build."
                    },
                    "dataset_version": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Hash of the record set the version was built from."
                    },
                    "generated_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "citations": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "description": "Rows and paragraphs in the files that cite a record."
                    },
                    "downloads": {
                        "type": "integer"
                    },
                    "files": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "format": {
                                    "type": "string"
                                },
                                "filename": {
                                    "type": "string"
                                },
                                "bytes": {
                                    "type": "integer"
                                },
                                "url": {
                                    "type": "string",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            },
            "TemplateDetail": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/Template"
                    },
                    {
                        "type": "object",
                        "properties": {
                            "inside": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                }
                            },
                            "legal_basis": {
                                "type": "array",
                                "items": {
                                    "type": "string"
                                },
                                "description": "Instrument and framework slugs the content is drawn from."
                            },
                            "caveat": {
                                "type": [
                                    "string",
                                    "null"
                                ],
                                "description": "\"dates\" when the template copies dates a record notes may be superseded."
                            },
                            "covered_obligations": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "slug": {
                                            "type": "string"
                                        },
                                        "title": {
                                            "type": "string"
                                        },
                                        "policy": {
                                            "type": "string"
                                        },
                                        "source_reference": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "url": {
                                            "type": "string",
                                            "format": "uri"
                                        }
                                    }
                                }
                            },
                            "versions": {
                                "type": "array",
                                "items": {
                                    "type": "object",
                                    "properties": {
                                        "version": {
                                            "type": "integer"
                                        },
                                        "generated_at": {
                                            "type": "string",
                                            "format": "date-time"
                                        },
                                        "dataset_version": {
                                            "type": "string"
                                        },
                                        "changelog": {
                                            "type": [
                                                "string",
                                                "null"
                                            ]
                                        },
                                        "stats": {
                                            "type": [
                                                "object",
                                                "null"
                                            ]
                                        }
                                    }
                                }
                            }
                        }
                    }
                ]
            },
            "Obligation": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "id": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Permanent record id (AIPT-OBL-0001 \u2026): never changed or reused."
                    },
                    "permanent_url": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "uri",
                        "description": "Resolves to the record wherever it lives (/id/{id})."
                    },
                    "reviewed_by": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "Named reviewer who verified the record; null until verified."
                    },
                    "title": {
                        "type": "string"
                    },
                    "short_title": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "The topic as people search for it; used in the page title."
                    },
                    "category": {
                        "type": "string"
                    },
                    "summary": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "practical_action": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_binding": {
                        "type": "boolean"
                    },
                    "applies_from": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date"
                    },
                    "source_reference": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "official_source_url": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "evidence_examples": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "framework_mappings": {
                        "type": "array",
                        "items": {
                            "type": "object"
                        }
                    },
                    "url": {
                        "type": "string",
                        "format": "uri"
                    }
                }
            }
        }
    }
}