{
  "$defs": {
    "AmendingRow": {
      "description": "One amending act, as the site names it, and the watched acts it changed.",
      "properties": {
        "amends": {
          "description": "`corpus/key` of every watched act a committed change attributes to it, sorted; empty when none does.",
          "items": {
            "type": "string"
          },
          "title": "Amends",
          "type": "array"
        },
        "eurlex_url": {
          "description": "The act on EUR-Lex, or ''.",
          "title": "Eurlex Url",
          "type": "string"
        },
        "key": {
          "description": "The act's key in its corpus; the identity.",
          "title": "Key",
          "type": "string"
        },
        "label": {
          "description": "The watchlist's short name for it, or ''.",
          "title": "Label",
          "type": "string"
        },
        "number": {
          "description": "The official number rendered from the key, or ''.",
          "title": "Number",
          "type": "string"
        },
        "title": {
          "description": "The official title a committed document recorded, or ''.",
          "title": "Title",
          "type": "string"
        },
        "url": {
          "description": "The amending act's page on this site, or '' when no committed change of a watched act names it and no page is written.",
          "title": "Url",
          "type": "string"
        }
      },
      "required": [
        "key",
        "number",
        "title",
        "label",
        "eurlex_url",
        "url",
        "amends"
      ],
      "title": "AmendingRow",
      "type": "object"
    }
  },
  "$id": "amending.schema.json",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Every amending act any committed change names, sorted by key.",
  "properties": {
    "acts": {
      "description": "One row per amending act, sorted by key.",
      "items": {
        "$ref": "#/$defs/AmendingRow"
      },
      "title": "Acts",
      "type": "array"
    },
    "amending_schema": {
      "default": "1.0",
      "description": "This format's version.",
      "title": "Amending Schema",
      "type": "string"
    },
    "disclaimer": {
      "default": "Not legal advice: this output is machine-computed from published texts, carries no lawyer's review, and is engineering assistance only.",
      "description": "Not legal advice.",
      "title": "Disclaimer",
      "type": "string"
    },
    "provenance": {
      "default": "Derived by the site build from the watchlist and the committed changelogs; not part of the record. A name is the watchlist's label, a number rendered from the identifier or a title a committed document recorded; an amending act with none of these is shown as its key.",
      "description": "Where this file comes from.",
      "title": "Provenance",
      "type": "string"
    }
  },
  "required": [
    "acts"
  ],
  "title": "amending",
  "type": "object"
}
