Skip to main content
Glama

uk-parliament-mcp-server

Ukparl Get Bill

ukparl_get_bill
Read-onlyIdempotent

Retrieve a Westminster bill overview or select stages, stage, publications, amendments, amendment, motions or motion. Stage/amendment/motion selections require the bill-specific billStageId from section=stages; singular amendment/motion also require itemId from their parent collection. Use amendmentId for amendment retrieval and motion.id for motions. Filter only the amendments collection by amendmentNumber, decision or sponsoring memberId. Collection selectors paginate whole records. Overview leaves publications unchecked; select publications to discover actual supplied legislation.gov.uk statute links. Follow contentCursor with the original selection to reconstruct oversized records.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "billId": "<billId>"
    },
    "name": "ukparl_get_bill"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoCollection records; positive safe integer, default 20, cap 100; larger values are capped with a notice; collections only.
billIdYesParent bill identifier from ukparl_search_bills.
cursorNoCollection continuation; collections only.
itemIdNoAmendment amendmentId or ping-pong motion.id; singular selections only.
sectionNoSelected bill section; overview by default.overview
decisionNoOfficial amendment decision filter; amendments collection only.
memberIdNoSponsoring member ID; amendments collection only.
billStageIdNoBill-specific stage occurrence ID, required for stage/amendment/motion selections.
contentCursorNoLossless same-selection content continuation.
amendmentNumberNoPublished amendment number, retaining letter suffixes; amendments collection only.

Output Schema

NameRequiredDescriptionDefault
capNoCollection page-size ceiling; a larger limit is clamped to it.
pageNoActual emitted collection continuation.
errorNoPresent when the call failed. Absent on success.
foundNoWhether the selected entity exists.
itemsNoWhole selected collection records.
shownNoActual whole records emitted or selected for lossless reconstruction.
billIdNoParent bill ID.
noticeNoLicence, workload and selected empty-collection notices.
recordNoComplete selected record.
sourceNoSelected request provenance.
appliedNoNormalized selection and actual source.
sectionNoSelected bill section.
deliveryNoFull selected payload, child outline, or JSON fragment.
guidanceNoSame-server recovery for an entity miss.
identityNoStable selected-record identifiers retained during content retrieval.
retrievalNoSame-tool retrieval instruction.
truncatedNoFurther source records remain after this selected page.
provenanceNoSelected response provenance retained during content retrieval; source notices remain in the reconstructed payload.
totalCountNoKnown selected collection total.
contentPageNoLossless recursive content continuation.
detailLevelNoSelected source completeness.
collectionPageNoCollection continuation; reconstruct the outlined selected payload before following it.
requestedLimitNoCaller limit before clamping.
legislationHandoffNoAuthoritative statute handoff.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed23 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Collection records; positive safe integer, default 20, effective cap 50; collections only."New value: +"Collection records; positive safe integer, default 20, cap 100; larger values are capped with a notice; collections only."
    • addedOutput schema / $defs
      Added value: +{
      +  "BillAmendmentLine": {
      +    "additionalProperties": false,
      +    "description": "One complete amendment text line.",
      +    "properties": {
      +      "hangingIndentation": {
      +        "description": "Numbered or hanging prefix.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "imageType": {
      +        "description": "Image format.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "indentation": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source indentation."
      +      },
      +      "isImage": {
      +        "description": "Image flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "text": {
      +        "description": "Complete source text or HTML.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "BillMember": {
      +    "additionalProperties": false,
      +    "description": "One published member sponsor.",
      +    "properties": {
      +      "house": {
      +        "description": "Source House.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "isLead": {
      +        "description": "Lead sponsor flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "memberFrom": {
      +        "description": "Constituency or membership basis.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "memberId": {
      +        "description": "Members API identifier.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "memberPage": {
      +        "description": "Published member URL.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "memberPhoto": {
      +        "description": "Published photograph URL.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "name": {
      +        "description": "Published name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "party": {
      +        "description": "Party name.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "partyColour": {
      +        "description": "Party colour.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sortOrder": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source order."
      +      }
      +    },
      +    "required": [
      +      "memberId"
      +    ],
      +    "type": "object"
      +  },
      +  "BillMotionGroup": {
      +    "additionalProperties": false,
      +    "description": "One complete group with explicit related amendment associations.",
      +    "properties": {
      +      "amendmentIndices": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "description": "Index into relatedAmendments.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Related amendment indices in original order; preserves null or absent collections."
      +      },
      +      "sortOrder": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source group order."
      +      },
      +      "text": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillAmendmentLine"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Complete group text."
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "BillStage": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "abbreviation": {
      +        "description": "Stage abbreviation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "description": "Stage description.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "house": {
      +        "description": "Source House including Unassigned.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Bill-specific stage occurrence ID.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "sessionId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Session ID."
      +      },
      +      "sortOrder": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source stage order."
      +      },
      +      "stageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Reference stage ID."
      +      },
      +      "stageSittings": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillStageSitting"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All supplied stage sittings."
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "BillStageSitting": {
      +    "additionalProperties": false,
      +    "description": "One complete stage sitting.",
      +    "properties": {
      +      "billId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Bill ID."
      +      },
      +      "billStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Bill-specific stage ID."
      +      },
      +      "date": {
      +        "description": "Source sitting date.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Sitting ID.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "stageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Reference stage ID."
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  "Page": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "hasMore": {
      +        "description": "Further collection items remain.",
      +        "type": "boolean"
      +      },
      +      "nextCursor": {
      +        "description": "Opaque collection continuation; repeat the same filters.",
      +        "type": "string"
      +      },
      +      "returned": {
      +        "description": "Whole items emitted on this page.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "total": {
      +        "description": "Total supplied by the source or fully read local collection.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "returned",
      +      "hasMore"
      +    ],
      +    "type": "object"
      +  },
      +  "Source": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "api": {
      +        "description": "Official API namespace.",
      +        "enum": [
      +          "bills",
      +          "members",
      +          "commons_votes",
      +          "lords_votes",
      +          "hansard",
      +          "questions",
      +          "committees"
      +        ],
      +        "type": "string"
      +      },
      +      "licenceUrl": {
      +        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      +        "type": "string"
      +      },
      +      "notices": {
      +        "description": "Source-specific notices.",
      +        "items": {
      +          "description": "Source notice preserved verbatim.",
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "retrievedAt": {
      +        "description": "Response retrieval time in ISO 8601 UTC.",
      +        "format": "date-time",
      +        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +        "type": "string"
      +      },
      +      "url": {
      +        "description": "Actual official HTTPS request URL.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "api",
      +      "url",
      +      "retrievedAt",
      +      "licenceUrl"
      +    ],
      +    "type": "object"
      +  }
      +}
    • changedOutput schema / properties / cap / description
      Previous value: -"Effective per-call collection limit."New value: +"Collection page-size ceiling; a larger limit is clamped to it."
    • addedOutput schema / properties / collectionPage / $ref
      Added value: +"#/$defs/Page"
    • removedOutput schema / properties / collectionPage / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / collectionPage / properties
      Removed value: -{
      -  "hasMore": {
      -    "description": "Further collection items remain.",
      -    "type": "boolean"
      -  },
      -  "nextCursor": {
      -    "description": "Opaque collection continuation; repeat the same filters.",
      -    "type": "string"
      -  },
      -  "returned": {
      -    "description": "Whole items emitted on this page.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "total": {
      -    "description": "Total supplied by the source or fully read local collection.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / collectionPage / required
      Removed value: -[
      -  "returned",
      -  "hasMore"
      -]
    • removedOutput schema / properties / collectionPage / type
      Removed value: -"object"
    • changedOutput schema / properties / error / properties / data / properties / reason / description
      Previous value: -"Machine-readable failure mode. Declared by this tool: `http_invalid_params`: The official API returned HTTP 400 for this request. `http_unauthorized`: The official public API returned HTTP 401. `http_forbidden`: The official public API returned HTTP 402 or 403. `http_conflict`: The official API returned HTTP 409, 423 or 424. `http_rate_limited`: The official API returned HTTP 429 after bounded retry handling. `http_invalid_request`: The official API returned an unexpected redirect or another unsupported HTTP client response. `invalid_mode_arguments`: Required branch IDs are missing, unrelated IDs are supplied, or pagination is used on a singular selector. `invalid_cursor`: A collection or content cursor is malformed or bound to another selection. `source_changed`: The selected payload changed during content retrieval. `queue_full`: The Bills origin request queue is full. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `http_invalid_params`: The official API returned HTTP 400 for this request. `http_unauthorized`: The official public API returned HTTP 401. `http_forbidden`: The official public API returned HTTP 402 or 403. `http_conflict`: The official API returned HTTP 409, 423 or 424. `http_rate_limited`: The official API returned HTTP 429 after bounded retry handling. `http_invalid_request`: The official API returned an unexpected redirect or another unsupported HTTP client response. `invalid_mode_arguments`: Required branch IDs are missing, unrelated IDs are supplied, or pagination is used on a singular selector. `invalid_cursor`: A collection or content cursor is malformed or bound to another selection. `source_changed`: The selected payload changed during content retrieval. `queue_full`: The Bills origin request queue is full. `call_deadline_exceeded`: The 45-second call deadline elapsed before the official API answered. `http_server_error`: The official API returned an HTTP 5xx server error. Other values are possible when a failure originates below the handler."
    • changedOutput schema / properties / error / properties / data / properties / reason / examples
      Previous value: -[
      -  "http_invalid_params",
      -  "http_unauthorized",
      -  "http_forbidden",
      -  "http_conflict",
      -  "http_rate_limited",
      -  "http_invalid_request",
      -  "invalid_mode_arguments",
      -  "invalid_cursor",
      -  "source_changed",
      -  "queue_full"
      -]New value: +[
      +  "http_invalid_params",
      +  "http_unauthorized",
      +  "http_forbidden",
      +  "http_conflict",
      +  "http_rate_limited",
      +  "http_invalid_request",
      +  "invalid_mode_arguments",
      +  "invalid_cursor",
      +  "source_changed",
      +  "queue_full",
      +  "call_deadline_exceeded",
      +  "http_server_error"
      +]
    • changedOutput schema / properties / items / items / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "One stage occurrence.",
      -    "properties": {
      -      "abbreviation": {
      -        "description": "Stage abbreviation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "description": {
      -        "description": "Stage description.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "house": {
      -        "description": "Source House including Unassigned.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Bill-specific stage occurrence ID.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "sessionId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Session ID."
      -      },
      -      "sortOrder": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Source stage order."
      -      },
      -      "stageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Reference stage ID."
      -      },
      -      "stageSittings": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One complete stage sitting.",
      -              "properties": {
      -                "billId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Bill ID."
      -                },
      -                "billStageId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Bill-specific stage ID."
      -                },
      -                "date": {
      -                  "description": "Source sitting date.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "id": {
      -                  "description": "Sitting ID.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "stageId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Reference stage ID."
      -                }
      -              },
      -              "required": [
      -                "id"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All supplied stage sittings."
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "One complete publication.",
      -    "properties": {
      -      "displayDate": {
      -        "description": "Source display date.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "files": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published document file.",
      -              "properties": {
      -                "contentLength": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Published size in bytes."
      -                },
      -                "contentType": {
      -                  "description": "Media type.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "downloadUrl": {
      -                  "description": "Actual published download URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "filename": {
      -                  "description": "Filename.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "id": {
      -                  "description": "Document ID.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Every published document."
      -      },
      -      "house": {
      -        "description": "Source House including Unassigned.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Publication ID.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "links": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published source link.",
      -              "properties": {
      -                "contentType": {
      -                  "description": "Published media type.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "id": {
      -                  "description": "Published link ID.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "title": {
      -                  "description": "Link title.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "url": {
      -                  "description": "Actual published URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "id"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Every published link."
      -      },
      -      "publicationType": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "description": {
      -                "description": "Type description.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "id": {
      -                "description": "Publication type ID.",
      -                "pattern": "^[0-9]+$",
      -                "type": "string"
      -              },
      -              "name": {
      -                "description": "Type name.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "id"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Publication type."
      -      },
      -      "title": {
      -        "description": "Publication title.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "One amendment summary.",
      -    "properties": {
      -      "amendmentId": {
      -        "description": "Retrieval identifier; use this rather than generic id.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "amendmentPosition": {
      -        "description": "Source position.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "amendmentType": {
      -        "description": "Amendment type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "billId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent bill ID."
      -      },
      -      "billStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent stage occurrence ID."
      -      },
      -      "clause": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Clause number."
      -      },
      -      "dNum": {
      -        "description": "Source drafting identifier.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decision": {
      -        "description": "Source decision.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decisionExplanation": {
      -        "description": "Complete decision explanation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Generic source ID; amendment summaries may use zero.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "lineNumber": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Line number."
      -      },
      -      "marshalledListText": {
      -        "description": "Marshalled identifier.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "pageNumber": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Page number."
      -      },
      -      "schedule": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Schedule number."
      -      },
      -      "sponsors": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published member sponsor.",
      -              "properties": {
      -                "house": {
      -                  "description": "Source House.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "isLead": {
      -                  "description": "Lead sponsor flag.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "memberFrom": {
      -                  "description": "Constituency or membership basis.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberId": {
      -                  "description": "Members API identifier.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "memberPage": {
      -                  "description": "Published member URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberPhoto": {
      -                  "description": "Published photograph URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "description": "Published name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "party": {
      -                  "description": "Party name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "partyColour": {
      -                  "description": "Party colour.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source order."
      -                }
      -              },
      -              "required": [
      -                "memberId"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All sponsors."
      -      },
      -      "statusIndicator": {
      -        "description": "Status indicator.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "summaryText": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Complete summary lines."
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "amendmentId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "One ping-pong summary with its source wrapper type.",
      -    "properties": {
      -      "billId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent bill ID."
      -      },
      -      "billStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent stage occurrence ID."
      -      },
      -      "decision": {
      -        "description": "Source decision.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decisionExplanation": {
      -        "description": "Complete decision explanation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Generic source ID; amendment summaries may use zero.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "itemKind": {
      -        "description": "Original wrapper type identifying Motion or Amendment.",
      -        "type": "string"
      -      },
      -      "matchingText": {
      -        "description": "Source matching text.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "number": {
      -        "description": "Motion number.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sponsors": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published member sponsor.",
      -              "properties": {
      -                "house": {
      -                  "description": "Source House.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "isLead": {
      -                  "description": "Lead sponsor flag.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "memberFrom": {
      -                  "description": "Constituency or membership basis.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberId": {
      -                  "description": "Members API identifier.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "memberPage": {
      -                  "description": "Published member URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberPhoto": {
      -                  "description": "Published photograph URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "description": "Published name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "party": {
      -                  "description": "Party name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "partyColour": {
      -                  "description": "Party colour.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source order."
      -                }
      -              },
      -              "required": [
      -                "memberId"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All sponsors."
      -      },
      -      "statusIndicator": {
      -        "description": "Status indicator.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "summary": {
      -        "description": "Complete summary.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "type": {
      -        "description": "Source ping-pong type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "itemKind"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/BillStage",
      +    "additionalProperties": false,
      +    "description": "One stage occurrence.",
      +    "properties": {
      +      "abbreviation": {
      +        "description": "Stage abbreviation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "description": {
      +        "description": "Stage description.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "house": {
      +        "description": "Source House including Unassigned.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Bill-specific stage occurrence ID.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "sessionId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Session ID."
      +      },
      +      "sortOrder": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source stage order."
      +      },
      +      "stageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Reference stage ID."
      +      },
      +      "stageSittings": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillStageSitting"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All supplied stage sittings."
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "One complete publication.",
      +    "properties": {
      +      "displayDate": {
      +        "description": "Source display date.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "files": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "One published document file.",
      +              "properties": {
      +                "contentLength": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Published size in bytes."
      +                },
      +                "contentType": {
      +                  "description": "Media type.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "downloadUrl": {
      +                  "description": "Actual published download URL.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "filename": {
      +                  "description": "Filename.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Document ID.",
      +                  "pattern": "^[0-9]+$",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Every published document."
      +      },
      +      "house": {
      +        "description": "Source House including Unassigned.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Publication ID.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "links": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "One published source link.",
      +              "properties": {
      +                "contentType": {
      +                  "description": "Published media type.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Published link ID.",
      +                  "pattern": "^[0-9]+$",
      +                  "type": "string"
      +                },
      +                "title": {
      +                  "description": "Link title.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "url": {
      +                  "description": "Actual published URL.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "required": [
      +                "id"
      +              ],
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Every published link."
      +      },
      +      "publicationType": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "description": {
      +                "description": "Type description.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "id": {
      +                "description": "Publication type ID.",
      +                "pattern": "^[0-9]+$",
      +                "type": "string"
      +              },
      +              "name": {
      +                "description": "Type name.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "id"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Publication type."
      +      },
      +      "title": {
      +        "description": "Publication title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "One amendment summary.",
      +    "properties": {
      +      "amendmentId": {
      +        "description": "Retrieval identifier; use this rather than generic id.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "amendmentPosition": {
      +        "description": "Source position.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "amendmentType": {
      +        "description": "Amendment type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "billId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent bill ID."
      +      },
      +      "billStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent stage occurrence ID."
      +      },
      +      "clause": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Clause number."
      +      },
      +      "dNum": {
      +        "description": "Source drafting identifier.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decision": {
      +        "description": "Source decision.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decisionExplanation": {
      +        "description": "Complete decision explanation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Generic source ID; amendment summaries may use zero.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "lineNumber": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Line number."
      +      },
      +      "marshalledListText": {
      +        "description": "Marshalled identifier.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "pageNumber": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Page number."
      +      },
      +      "schedule": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Schedule number."
      +      },
      +      "sponsors": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMember"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All sponsors."
      +      },
      +      "statusIndicator": {
      +        "description": "Status indicator.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "summaryText": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Complete summary lines."
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "amendmentId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "One ping-pong summary with its source wrapper type.",
      +    "properties": {
      +      "billId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent bill ID."
      +      },
      +      "billStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent stage occurrence ID."
      +      },
      +      "decision": {
      +        "description": "Source decision.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decisionExplanation": {
      +        "description": "Complete decision explanation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Generic source ID; amendment summaries may use zero.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "itemKind": {
      +        "description": "Original wrapper type identifying Motion or Amendment.",
      +        "type": "string"
      +      },
      +      "matchingText": {
      +        "description": "Source matching text.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "number": {
      +        "description": "Motion number.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sponsors": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMember"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All sponsors."
      +      },
      +      "statusIndicator": {
      +        "description": "Status indicator.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "summary": {
      +        "description": "Complete summary.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "description": "Source ping-pong type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "itemKind"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / page / $ref
      Added value: +"#/$defs/Page"
    • removedOutput schema / properties / page / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / page / properties
      Removed value: -{
      -  "hasMore": {
      -    "description": "Further collection items remain.",
      -    "type": "boolean"
      -  },
      -  "nextCursor": {
      -    "description": "Opaque collection continuation; repeat the same filters.",
      -    "type": "string"
      -  },
      -  "returned": {
      -    "description": "Whole items emitted on this page.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  "total": {
      -    "description": "Total supplied by the source or fully read local collection.",
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  }
      -}
    • removedOutput schema / properties / page / required
      Removed value: -[
      -  "returned",
      -  "hasMore"
      -]
    • removedOutput schema / properties / page / type
      Removed value: -"object"
    • changedOutput schema / properties / provenance / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete official request provenance.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -        "type": "string"
      -      },
      -      "notices": {
      -        "description": "Source-specific notices.",
      -        "items": {
      -          "description": "Source notice preserved verbatim.",
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time in ISO 8601 UTC.",
      -        "format": "date-time",
      -        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -        "type": "string"
      -      },
      -      "url": {
      -        "description": "Actual official HTTPS request URL.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "url",
      -      "retrievedAt",
      -      "licenceUrl"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Compact provenance with a pointer to the complete request source.",
      -    "properties": {
      -      "api": {
      -        "description": "Official API namespace.",
      -        "enum": [
      -          "bills",
      -          "members",
      -          "commons_votes",
      -          "lords_votes",
      -          "hansard",
      -          "questions",
      -          "committees"
      -        ],
      -        "type": "string"
      -      },
      -      "contentPath": {
      -        "description": "RFC 6901 pointer to full source provenance in the reconstructable payload.",
      -        "type": "string"
      -      },
      -      "licenceUrl": {
      -        "description": "Open Parliament Licence URL.",
      -        "type": "string"
      -      },
      -      "origin": {
      -        "description": "Official origin only; the full request URL is at contentPath.",
      -        "type": "string"
      -      },
      -      "retrievedAt": {
      -        "description": "Response retrieval time.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "api",
      -      "origin",
      -      "retrievedAt",
      -      "licenceUrl",
      -      "contentPath"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "$ref": "#/$defs/Source",
      +    "description": "Complete official request provenance."
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Compact provenance with a pointer to the complete request source.",
      +    "properties": {
      +      "api": {
      +        "description": "Official API namespace.",
      +        "enum": [
      +          "bills",
      +          "members",
      +          "commons_votes",
      +          "lords_votes",
      +          "hansard",
      +          "questions",
      +          "committees"
      +        ],
      +        "type": "string"
      +      },
      +      "contentPath": {
      +        "description": "RFC 6901 pointer to full source provenance in the reconstructable payload.",
      +        "type": "string"
      +      },
      +      "licenceUrl": {
      +        "description": "Open Parliament Licence URL.",
      +        "type": "string"
      +      },
      +      "origin": {
      +        "description": "Official origin only; the full request URL is at contentPath.",
      +        "type": "string"
      +      },
      +      "retrievedAt": {
      +        "description": "Response retrieval time.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "api",
      +      "origin",
      +      "retrievedAt",
      +      "licenceUrl",
      +      "contentPath"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedOutput schema / properties / record / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete bill overview.",
      -    "properties": {
      -      "agent": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "address": {
      -                "description": "Agent address.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "email": {
      -                "description": "Agent email.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "name": {
      -                "description": "Agent name.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "phoneNo": {
      -                "description": "Agent phone.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "website": {
      -                "description": "Agent website.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Published bill agent."
      -      },
      -      "billId": {
      -        "description": "Bill identifier.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "billTypeId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Reference bill type ID."
      -      },
      -      "billWithdrawn": {
      -        "description": "Withdrawal date.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currentHouse": {
      -        "description": "Current source House.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "currentStage": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "abbreviation": {
      -                "description": "Stage abbreviation.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "description": {
      -                "description": "Stage description.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "house": {
      -                "description": "Source House including Unassigned.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "id": {
      -                "description": "Bill-specific stage occurrence ID.",
      -                "pattern": "^[0-9]+$",
      -                "type": "string"
      -              },
      -              "sessionId": {
      -                "anyOf": [
      -                  {
      -                    "pattern": "^[0-9]+$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "Session ID."
      -              },
      -              "sortOrder": {
      -                "anyOf": [
      -                  {
      -                    "maximum": 9007199254740991,
      -                    "minimum": -9007199254740991,
      -                    "type": "integer"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "Source stage order."
      -              },
      -              "stageId": {
      -                "anyOf": [
      -                  {
      -                    "pattern": "^[0-9]+$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "Reference stage ID."
      -              },
      -              "stageSittings": {
      -                "anyOf": [
      -                  {
      -                    "items": {
      -                      "additionalProperties": false,
      -                      "description": "One complete stage sitting.",
      -                      "properties": {
      -                        "billId": {
      -                          "anyOf": [
      -                            {
      -                              "pattern": "^[0-9]+$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ],
      -                          "description": "Bill ID."
      -                        },
      -                        "billStageId": {
      -                          "anyOf": [
      -                            {
      -                              "pattern": "^[0-9]+$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ],
      -                          "description": "Bill-specific stage ID."
      -                        },
      -                        "date": {
      -                          "description": "Source sitting date.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "id": {
      -                          "description": "Sitting ID.",
      -                          "pattern": "^[0-9]+$",
      -                          "type": "string"
      -                        },
      -                        "stageId": {
      -                          "anyOf": [
      -                            {
      -                              "pattern": "^[0-9]+$",
      -                              "type": "string"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ],
      -                          "description": "Reference stage ID."
      -                        }
      -                      },
      -                      "required": [
      -                        "id"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    "type": "array"
      -                  },
      -                  {
      -                    "type": "null"
      -                  }
      -                ],
      -                "description": "All supplied stage sittings."
      -              }
      -            },
      -            "required": [
      -              "id"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Current stage summary, not full history."
      -      },
      -      "formerShortTitle": {
      -        "description": "Former short title.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "includedSessionIds": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "pattern": "^[0-9]+$",
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All included session IDs."
      -      },
      -      "introducedSessionId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Introduction session ID."
      -      },
      -      "isAct": {
      -        "description": "Explicit enacted flag.",
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "isDefeated": {
      -        "description": "Defeated flag.",
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "lastUpdate": {
      -        "description": "Last update timestamp.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "longTitle": {
      -        "description": "Complete long title.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "originatingHouse": {
      -        "description": "Originating source House.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "petitionInformation": {
      -        "description": "Petition information.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "petitioningPeriod": {
      -        "description": "Petition period.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "promoters": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published promoter.",
      -              "properties": {
      -                "organisationName": {
      -                  "description": "Promoter name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "organisationUrl": {
      -                  "description": "Promoter URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All promoters."
      -      },
      -      "shortTitle": {
      -        "description": "Short title.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "sponsors": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published bill sponsor.",
      -              "properties": {
      -                "member": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "description": "One published member sponsor.",
      -                      "properties": {
      -                        "house": {
      -                          "description": "Source House.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "isLead": {
      -                          "description": "Lead sponsor flag.",
      -                          "type": [
      -                            "boolean",
      -                            "null"
      -                          ]
      -                        },
      -                        "memberFrom": {
      -                          "description": "Constituency or membership basis.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "memberId": {
      -                          "description": "Members API identifier.",
      -                          "pattern": "^[0-9]+$",
      -                          "type": "string"
      -                        },
      -                        "memberPage": {
      -                          "description": "Published member URL.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "memberPhoto": {
      -                          "description": "Published photograph URL.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "name": {
      -                          "description": "Published name.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "party": {
      -                          "description": "Party name.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "partyColour": {
      -                          "description": "Party colour.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "sortOrder": {
      -                          "anyOf": [
      -                            {
      -                              "maximum": 9007199254740991,
      -                              "minimum": -9007199254740991,
      -                              "type": "integer"
      -                            },
      -                            {
      -                              "type": "null"
      -                            }
      -                          ],
      -                          "description": "Source order."
      -                        }
      -                      },
      -                      "required": [
      -                        "memberId"
      -                      ],
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Member sponsor."
      -                },
      -                "organisation": {
      -                  "anyOf": [
      -                    {
      -                      "additionalProperties": false,
      -                      "properties": {
      -                        "name": {
      -                          "description": "Organisation name.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        },
      -                        "url": {
      -                          "description": "Organisation URL.",
      -                          "type": [
      -                            "string",
      -                            "null"
      -                          ]
      -                        }
      -                      },
      -                      "type": "object"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Organisation sponsor."
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Sponsor order."
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All sponsors."
      -      },
      -      "summary": {
      -        "description": "Complete supplied summary.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "billId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete stage occurrence.",
      -    "properties": {
      -      "abbreviation": {
      -        "description": "Stage abbreviation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "committee": {
      -        "anyOf": [
      -          {
      -            "additionalProperties": false,
      -            "properties": {
      -              "category": {
      -                "description": "Committee category.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "house": {
      -                "description": "Source House.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "id": {
      -                "description": "Committee ID.",
      -                "pattern": "^[0-9]+$",
      -                "type": "string"
      -              },
      -              "name": {
      -                "description": "Committee name.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              },
      -              "url": {
      -                "description": "Published committee URL.",
      -                "type": [
      -                  "string",
      -                  "null"
      -                ]
      -              }
      -            },
      -            "required": [
      -              "id"
      -            ],
      -            "type": "object"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Associated committee."
      -      },
      -      "description": {
      -        "description": "Stage description.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "hasMotions": {
      -        "description": "Source motion availability flag.",
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      },
      -      "house": {
      -        "description": "Source House including Unassigned.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Bill-specific stage occurrence ID.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "lastUpdate": {
      -        "description": "Last update timestamp.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "nextStageBillStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Next stage occurrence ID."
      -      },
      -      "previousStageBillStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Previous stage occurrence ID."
      -      },
      -      "sessionId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Session ID."
      -      },
      -      "sortOrder": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Source stage order."
      -      },
      -      "stageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Reference stage ID."
      -      },
      -      "stageSittings": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One complete stage sitting.",
      -              "properties": {
      -                "billId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Bill ID."
      -                },
      -                "billStageId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Bill-specific stage ID."
      -                },
      -                "date": {
      -                  "description": "Source sitting date.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "id": {
      -                  "description": "Sitting ID.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "stageId": {
      -                  "anyOf": [
      -                    {
      -                      "pattern": "^[0-9]+$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Reference stage ID."
      -                }
      -              },
      -              "required": [
      -                "id"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All supplied stage sittings."
      -      }
      -    },
      -    "required": [
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete amendment detail.",
      -    "properties": {
      -      "amendmentId": {
      -        "description": "Retrieval identifier; use this rather than generic id.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "amendmentLines": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One complete amendment text line.",
      -              "properties": {
      -                "hangingIndentation": {
      -                  "description": "Numbered or hanging prefix.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "imageType": {
      -                  "description": "Image format.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "indentation": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source indentation."
      -                },
      -                "isImage": {
      -                  "description": "Image flag.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "text": {
      -                  "description": "Complete source text or HTML.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All complete numbered amendment lines."
      -      },
      -      "amendmentLocation": {
      -        "description": "Location text.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "amendmentNote": {
      -        "description": "Amendment note.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "amendmentPosition": {
      -        "description": "Source position.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "amendmentType": {
      -        "description": "Amendment type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "billId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent bill ID."
      -      },
      -      "billStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent stage occurrence ID."
      -      },
      -      "clause": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Clause number."
      -      },
      -      "dNum": {
      -        "description": "Source drafting identifier.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decision": {
      -        "description": "Source decision.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decisionExplanation": {
      -        "description": "Complete decision explanation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explanatoryText": {
      -        "description": "Complete explanatory HTML.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "explanatoryTextPrefix": {
      -        "description": "Explanatory prefix.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Generic source ID; amendment summaries may use zero.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "lineNumber": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Line number."
      -      },
      -      "mainHeader": {
      -        "description": "Main header.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "marshalledListText": {
      -        "description": "Marshalled identifier.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "pageNumber": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Page number."
      -      },
      -      "schedule": {
      -        "anyOf": [
      -          {
      -            "maximum": 9007199254740991,
      -            "minimum": -9007199254740991,
      -            "type": "integer"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Schedule number."
      -      },
      -      "sponsors": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published member sponsor.",
      -              "properties": {
      -                "house": {
      -                  "description": "Source House.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "isLead": {
      -                  "description": "Lead sponsor flag.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "memberFrom": {
      -                  "description": "Constituency or membership basis.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberId": {
      -                  "description": "Members API identifier.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "memberPage": {
      -                  "description": "Published member URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberPhoto": {
      -                  "description": "Published photograph URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "description": "Published name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "party": {
      -                  "description": "Party name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "partyColour": {
      -                  "description": "Party colour.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source order."
      -                }
      -              },
      -              "required": [
      -                "memberId"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All sponsors."
      -      },
      -      "statusIndicator": {
      -        "description": "Status indicator.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "summaryText": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Complete summary lines."
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "amendmentId"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "description": "Complete ping-pong item with its source wrapper type.",
      -    "properties": {
      -      "amendmentGroups": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One complete group with explicit related amendment associations.",
      -              "properties": {
      -                "amendmentIndices": {
      -                  "anyOf": [
      -                    {
      -                      "items": {
      -                        "description": "Index into relatedAmendments.",
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Related amendment indices in original order; preserves null or absent collections."
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source group order."
      -                },
      -                "text": {
      -                  "anyOf": [
      -                    {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "description": "One complete amendment text line.",
      -                        "properties": {
      -                          "hangingIndentation": {
      -                            "description": "Numbered or hanging prefix.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "imageType": {
      -                            "description": "Image format.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "indentation": {
      -                            "anyOf": [
      -                              {
      -                                "maximum": 9007199254740991,
      -                                "minimum": -9007199254740991,
      -                                "type": "integer"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ],
      -                            "description": "Source indentation."
      -                          },
      -                          "isImage": {
      -                            "description": "Image flag.",
      -                            "type": [
      -                              "boolean",
      -                              "null"
      -                            ]
      -                          },
      -                          "text": {
      -                            "description": "Complete source text or HTML.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Complete group text."
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Complete amendment groups."
      -      },
      -      "billId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent bill ID."
      -      },
      -      "billStageId": {
      -        "anyOf": [
      -          {
      -            "pattern": "^[0-9]+$",
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Parent stage occurrence ID."
      -      },
      -      "decision": {
      -        "description": "Source decision.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "decisionExplanation": {
      -        "description": "Complete decision explanation.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Generic source ID; amendment summaries may use zero.",
      -        "pattern": "^[0-9]+$",
      -        "type": "string"
      -      },
      -      "itemKind": {
      -        "description": "Original Motion or Amendment wrapper type.",
      -        "type": "string"
      -      },
      -      "matchingText": {
      -        "description": "Source matching text.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "motionGroups": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One complete group with explicit related amendment associations.",
      -              "properties": {
      -                "amendmentIndices": {
      -                  "anyOf": [
      -                    {
      -                      "items": {
      -                        "description": "Index into relatedAmendments.",
      -                        "maximum": 9007199254740991,
      -                        "minimum": 0,
      -                        "type": "integer"
      -                      },
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Related amendment indices in original order; preserves null or absent collections."
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source group order."
      -                },
      -                "text": {
      -                  "anyOf": [
      -                    {
      -                      "items": {
      -                        "additionalProperties": false,
      -                        "description": "One complete amendment text line.",
      -                        "properties": {
      -                          "hangingIndentation": {
      -                            "description": "Numbered or hanging prefix.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "imageType": {
      -                            "description": "Image format.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          },
      -                          "indentation": {
      -                            "anyOf": [
      -                              {
      -                                "maximum": 9007199254740991,
      -                                "minimum": -9007199254740991,
      -                                "type": "integer"
      -                              },
      -                              {
      -                                "type": "null"
      -                              }
      -                            ],
      -                            "description": "Source indentation."
      -                          },
      -                          "isImage": {
      -                            "description": "Image flag.",
      -                            "type": [
      -                              "boolean",
      -                              "null"
      -                            ]
      -                          },
      -                          "text": {
      -                            "description": "Complete source text or HTML.",
      -                            "type": [
      -                              "string",
      -                              "null"
      -                            ]
      -                          }
      -                        },
      -                        "type": "object"
      -                      },
      -                      "type": "array"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Complete group text."
      -                }
      -              },
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "Complete motion groups."
      -      },
      -      "number": {
      -        "description": "Motion number.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "relatedAmendments": {
      -        "description": "All related amendments, retaining group membership and source order.",
      -        "items": {
      -          "additionalProperties": false,
      -          "description": "One complete related amendment and its parent association.",
      -          "properties": {
      -            "amendmentIndex": {
      -              "description": "Zero-based position within the original parent group.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "decision": {
      -              "description": "Related decision.",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "groupIndex": {
      -              "description": "Zero-based parent group index.",
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "groupKind": {
      -              "description": "Source group collection.",
      -              "enum": [
      -                "motionGroups",
      -                "amendmentGroups"
      -              ],
      -              "type": "string"
      -            },
      -            "number": {
      -              "description": "Related amendment number.",
      -              "type": [
      -                "string",
      -                "null"
      -              ]
      -            },
      -            "sortOrder": {
      -              "anyOf": [
      -                {
      -                  "maximum": 9007199254740991,
      -                  "minimum": -9007199254740991,
      -                  "type": "integer"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Source order."
      -            },
      -            "sponsors": {
      -              "anyOf": [
      -                {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "description": "One published member sponsor.",
      -                    "properties": {
      -                      "house": {
      -                        "description": "Source House.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "isLead": {
      -                        "description": "Lead sponsor flag.",
      -                        "type": [
      -                          "boolean",
      -                          "null"
      -                        ]
      -                      },
      -                      "memberFrom": {
      -                        "description": "Constituency or membership basis.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "memberId": {
      -                        "description": "Members API identifier.",
      -                        "pattern": "^[0-9]+$",
      -                        "type": "string"
      -                      },
      -                      "memberPage": {
      -                        "description": "Published member URL.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "memberPhoto": {
      -                        "description": "Published photograph URL.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "name": {
      -                        "description": "Published name.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "party": {
      -                        "description": "Party name.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "partyColour": {
      -                        "description": "Party colour.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "sortOrder": {
      -                        "anyOf": [
      -                          {
      -                            "maximum": 9007199254740991,
      -                            "minimum": -9007199254740991,
      -                            "type": "integer"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "Source order."
      -                      }
      -                    },
      -                    "required": [
      -                      "memberId"
      -                    ],
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "All related sponsors."
      -            },
      -            "text": {
      -              "anyOf": [
      -                {
      -                  "items": {
      -                    "additionalProperties": false,
      -                    "description": "One complete amendment text line.",
      -                    "properties": {
      -                      "hangingIndentation": {
      -                        "description": "Numbered or hanging prefix.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "imageType": {
      -                        "description": "Image format.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      },
      -                      "indentation": {
      -                        "anyOf": [
      -                          {
      -                            "maximum": 9007199254740991,
      -                            "minimum": -9007199254740991,
      -                            "type": "integer"
      -                          },
      -                          {
      -                            "type": "null"
      -                          }
      -                        ],
      -                        "description": "Source indentation."
      -                      },
      -                      "isImage": {
      -                        "description": "Image flag.",
      -                        "type": [
      -                          "boolean",
      -                          "null"
      -                        ]
      -                      },
      -                      "text": {
      -                        "description": "Complete source text or HTML.",
      -                        "type": [
      -                          "string",
      -                          "null"
      -                        ]
      -                      }
      -                    },
      -                    "type": "object"
      -                  },
      -                  "type": "array"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ],
      -              "description": "Complete related amendment lines."
      -            }
      -          },
      -          "required": [
      -            "groupKind",
      -            "groupIndex",
      -            "amendmentIndex"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "sponsors": {
      -        "anyOf": [
      -          {
      -            "items": {
      -              "additionalProperties": false,
      -              "description": "One published member sponsor.",
      -              "properties": {
      -                "house": {
      -                  "description": "Source House.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "isLead": {
      -                  "description": "Lead sponsor flag.",
      -                  "type": [
      -                    "boolean",
      -                    "null"
      -                  ]
      -                },
      -                "memberFrom": {
      -                  "description": "Constituency or membership basis.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberId": {
      -                  "description": "Members API identifier.",
      -                  "pattern": "^[0-9]+$",
      -                  "type": "string"
      -                },
      -                "memberPage": {
      -                  "description": "Published member URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "memberPhoto": {
      -                  "description": "Published photograph URL.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "name": {
      -                  "description": "Published name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "party": {
      -                  "description": "Party name.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "partyColour": {
      -                  "description": "Party colour.",
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sortOrder": {
      -                  "anyOf": [
      -                    {
      -                      "maximum": 9007199254740991,
      -                      "minimum": -9007199254740991,
      -                      "type": "integer"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ],
      -                  "description": "Source order."
      -                }
      -              },
      -              "required": [
      -                "memberId"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "All sponsors."
      -      },
      -      "statusIndicator": {
      -        "description": "Status indicator.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "summary": {
      -        "description": "Complete summary.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "type": {
      -        "description": "Source ping-pong type.",
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "id",
      -      "itemKind"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "description": "Complete bill overview.",
      +    "properties": {
      +      "agent": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "address": {
      +                "description": "Agent address.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "email": {
      +                "description": "Agent email.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "name": {
      +                "description": "Agent name.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "phoneNo": {
      +                "description": "Agent phone.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "website": {
      +                "description": "Agent website.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Published bill agent."
      +      },
      +      "billId": {
      +        "description": "Bill identifier.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "billTypeId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Reference bill type ID."
      +      },
      +      "billWithdrawn": {
      +        "description": "Withdrawal date.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currentHouse": {
      +        "description": "Current source House.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "currentStage": {
      +        "anyOf": [
      +          {
      +            "$ref": "#/$defs/BillStage"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Current stage summary, not full history."
      +      },
      +      "formerShortTitle": {
      +        "description": "Former short title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "includedSessionIds": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "pattern": "^[0-9]+$",
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All included session IDs."
      +      },
      +      "introducedSessionId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Introduction session ID."
      +      },
      +      "isAct": {
      +        "description": "Explicit enacted flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "isDefeated": {
      +        "description": "Defeated flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "lastUpdate": {
      +        "description": "Last update timestamp.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "longTitle": {
      +        "description": "Complete long title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "originatingHouse": {
      +        "description": "Originating source House.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "petitionInformation": {
      +        "description": "Petition information.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "petitioningPeriod": {
      +        "description": "Petition period.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "promoters": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "One published promoter.",
      +              "properties": {
      +                "organisationName": {
      +                  "description": "Promoter name.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "organisationUrl": {
      +                  "description": "Promoter URL.",
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All promoters."
      +      },
      +      "shortTitle": {
      +        "description": "Short title.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "sponsors": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "additionalProperties": false,
      +              "description": "One published bill sponsor.",
      +              "properties": {
      +                "member": {
      +                  "anyOf": [
      +                    {
      +                      "$ref": "#/$defs/BillMember"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Member sponsor."
      +                },
      +                "organisation": {
      +                  "anyOf": [
      +                    {
      +                      "additionalProperties": false,
      +                      "properties": {
      +                        "name": {
      +                          "description": "Organisation name.",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        },
      +                        "url": {
      +                          "description": "Organisation URL.",
      +                          "type": [
      +                            "string",
      +                            "null"
      +                          ]
      +                        }
      +                      },
      +                      "type": "object"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Organisation sponsor."
      +                },
      +                "sortOrder": {
      +                  "anyOf": [
      +                    {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    },
      +                    {
      +                      "type": "null"
      +                    }
      +                  ],
      +                  "description": "Sponsor order."
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All sponsors."
      +      },
      +      "summary": {
      +        "description": "Complete supplied summary.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "billId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Complete stage occurrence.",
      +    "properties": {
      +      "abbreviation": {
      +        "description": "Stage abbreviation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "committee": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": false,
      +            "properties": {
      +              "category": {
      +                "description": "Committee category.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "house": {
      +                "description": "Source House.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "id": {
      +                "description": "Committee ID.",
      +                "pattern": "^[0-9]+$",
      +                "type": "string"
      +              },
      +              "name": {
      +                "description": "Committee name.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              },
      +              "url": {
      +                "description": "Published committee URL.",
      +                "type": [
      +                  "string",
      +                  "null"
      +                ]
      +              }
      +            },
      +            "required": [
      +              "id"
      +            ],
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Associated committee."
      +      },
      +      "description": {
      +        "description": "Stage description.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "hasMotions": {
      +        "description": "Source motion availability flag.",
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "house": {
      +        "description": "Source House including Unassigned.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Bill-specific stage occurrence ID.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "lastUpdate": {
      +        "description": "Last update timestamp.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "nextStageBillStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Next stage occurrence ID."
      +      },
      +      "previousStageBillStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Previous stage occurrence ID."
      +      },
      +      "sessionId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Session ID."
      +      },
      +      "sortOrder": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Source stage order."
      +      },
      +      "stageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Reference stage ID."
      +      },
      +      "stageSittings": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillStageSitting"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All supplied stage sittings."
      +      }
      +    },
      +    "required": [
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Complete amendment detail.",
      +    "properties": {
      +      "amendmentId": {
      +        "description": "Retrieval identifier; use this rather than generic id.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "amendmentLines": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillAmendmentLine"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All complete numbered amendment lines."
      +      },
      +      "amendmentLocation": {
      +        "description": "Location text.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "amendmentNote": {
      +        "description": "Amendment note.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "amendmentPosition": {
      +        "description": "Source position.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "amendmentType": {
      +        "description": "Amendment type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "billId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent bill ID."
      +      },
      +      "billStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent stage occurrence ID."
      +      },
      +      "clause": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Clause number."
      +      },
      +      "dNum": {
      +        "description": "Source drafting identifier.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decision": {
      +        "description": "Source decision.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decisionExplanation": {
      +        "description": "Complete decision explanation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explanatoryText": {
      +        "description": "Complete explanatory HTML.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "explanatoryTextPrefix": {
      +        "description": "Explanatory prefix.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Generic source ID; amendment summaries may use zero.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "lineNumber": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Line number."
      +      },
      +      "mainHeader": {
      +        "description": "Main header.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "marshalledListText": {
      +        "description": "Marshalled identifier.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "pageNumber": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Page number."
      +      },
      +      "schedule": {
      +        "anyOf": [
      +          {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Schedule number."
      +      },
      +      "sponsors": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMember"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All sponsors."
      +      },
      +      "statusIndicator": {
      +        "description": "Status indicator.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "summaryText": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Complete summary lines."
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "amendmentId"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "description": "Complete ping-pong item with its source wrapper type.",
      +    "properties": {
      +      "amendmentGroups": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMotionGroup"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Complete amendment groups."
      +      },
      +      "billId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent bill ID."
      +      },
      +      "billStageId": {
      +        "anyOf": [
      +          {
      +            "pattern": "^[0-9]+$",
      +            "type": "string"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Parent stage occurrence ID."
      +      },
      +      "decision": {
      +        "description": "Source decision.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "decisionExplanation": {
      +        "description": "Complete decision explanation.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Generic source ID; amendment summaries may use zero.",
      +        "pattern": "^[0-9]+$",
      +        "type": "string"
      +      },
      +      "itemKind": {
      +        "description": "Original Motion or Amendment wrapper type.",
      +        "type": "string"
      +      },
      +      "matchingText": {
      +        "description": "Source matching text.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "motionGroups": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMotionGroup"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "Complete motion groups."
      +      },
      +      "number": {
      +        "description": "Motion number.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "relatedAmendments": {
      +        "description": "All related amendments, retaining group membership and source order.",
      +        "items": {
      +          "additionalProperties": false,
      +          "description": "One complete related amendment and its parent association.",
      +          "properties": {
      +            "amendmentIndex": {
      +              "description": "Zero-based position within the original parent group.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "decision": {
      +              "description": "Related decision.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "groupIndex": {
      +              "description": "Zero-based parent group index.",
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "groupKind": {
      +              "description": "Source group collection.",
      +              "enum": [
      +                "motionGroups",
      +                "amendmentGroups"
      +              ],
      +              "type": "string"
      +            },
      +            "number": {
      +              "description": "Related amendment number.",
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "sortOrder": {
      +              "anyOf": [
      +                {
      +                  "maximum": 9007199254740991,
      +                  "minimum": -9007199254740991,
      +                  "type": "integer"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Source order."
      +            },
      +            "sponsors": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "$ref": "#/$defs/BillMember"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "All related sponsors."
      +            },
      +            "text": {
      +              "anyOf": [
      +                {
      +                  "items": {
      +                    "$ref": "#/$defs/BillAmendmentLine"
      +                  },
      +                  "type": "array"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ],
      +              "description": "Complete related amendment lines."
      +            }
      +          },
      +          "required": [
      +            "groupKind",
      +            "groupIndex",
      +            "amendmentIndex"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "sponsors": {
      +        "anyOf": [
      +          {
      +            "items": {
      +              "$ref": "#/$defs/BillMember"
      +            },
      +            "type": "array"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ],
      +        "description": "All sponsors."
      +      },
      +      "statusIndicator": {
      +        "description": "Status indicator.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "summary": {
      +        "description": "Complete summary.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "type": {
      +        "description": "Source ping-pong type.",
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      }
      +    },
      +    "required": [
      +      "id",
      +      "itemKind"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedOutput schema / properties / source / $ref
      Added value: +"#/$defs/Source"
    • removedOutput schema / properties / source / additionalProperties
      Removed value: -false
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "api": {
      -    "description": "Official API namespace.",
      -    "enum": [
      -      "bills",
      -      "members",
      -      "commons_votes",
      -      "lords_votes",
      -      "hansard",
      -      "questions",
      -      "committees"
      -    ],
      -    "type": "string"
      -  },
      -  "licenceUrl": {
      -    "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
      -    "type": "string"
      -  },
      -  "notices": {
      -    "description": "Source-specific notices.",
      -    "items": {
      -      "description": "Source notice preserved verbatim.",
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "retrievedAt": {
      -    "description": "Response retrieval time in ISO 8601 UTC.",
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -    "type": "string"
      -  },
      -  "url": {
      -    "description": "Actual official HTTPS request URL.",
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / properties / source / required
      Removed value: -[
      -  "api",
      -  "url",
      -  "retrievedAt",
      -  "licenceUrl"
      -]
    • removedOutput schema / properties / source / type
      Removed value: -"object"
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only, idempotent, open-world behavior, so the safety profile is covered. Beyond that, the description discloses non-obvious behavior: collection selectors 'paginate whole records,' oversized records must be reconstructed by following contentCursor 'with the original selection,' and the overview section deliberately leaves publications unchecked — none of which is stated in annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The retrieval scope and selector list are front-loaded, and each following sentence addresses a distinct concern (prerequisites, filters, pagination, overview caveat, cursor). The section enumeration is slightly compressed and reads awkwardly, but no sentence is redundant.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 10-parameter tool with branching selection modes, yet the description covers prerequisites, filter scoping, pagination, and cursor reconstruction, and an output schema handles return values. Only the entry point (how to obtain billId) is left to the schema rather than the description, which is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3, but the description adds genuine cross-parameter semantics the schema states only piecemeal: which section values require billStageId, which additionally require itemId, that itemId carries the amendmentId or ping-pong motion.id, and which filters apply only to the amendments collection.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb+resource ('Retrieve a Westminster bill overview') and then enumerates the distinct selection modes (stages, stage, publications, amendments, amendment, motions, motion), which map one-to-one onto the section enum. An agent can tell this apart from ukparl_search_bills, which only supplies the parent billId.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives real decision guidance for choosing a section: 'Overview leaves publications unchecked; select publications to discover actual supplied legislation.gov.uk statute links,' and it states prerequisites (billStageId must come from section=stages, itemId from the parent collection). What is missing is an explicit pointer to ukparl_search_bills for obtaining billId, which only appears in the schema.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.