changedInput schema / properties / limit / description
Previous value: -"Search page size, default 10, cap 20; larger safe integers are capped. Omit in detail."New value: +"Search page size, default 10, cap 100; larger safe integers are capped. Omit in detail."
addedOutput schema / $defs
Added value: +{
+ "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"
+ },
+ "QuestionMember": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Members API identifier.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "listAs": {
+ "description": "Source sorting name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memberFrom": {
+ "description": "Constituency or member origin.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Member display name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "party": {
+ "description": "Recorded party name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "partyAbbreviation": {
+ "description": "Recorded party abbreviation.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "partyColour": {
+ "description": "Recorded party colour.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thumbnailUrl": {
+ "description": "Published member thumbnail link.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "QuestionRecord": {
+ "additionalProperties": false,
+ "properties": {
+ "answerIsCorrection": {
+ "description": "Source corrected-answer flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "answerIsHolding": {
+ "description": "Source holding-answer flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "answerText": {
+ "description": "Search answer preview or complete detail HTML, preserved verbatim.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "answeringBodyId": {
+ "description": "Source answering-body reference ID.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "answeringBodyName": {
+ "description": "Source answering-body name.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "answeringMember": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/QuestionMember"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Expanded answering member."
+ },
+ "answeringMemberId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Answering Members API ID."
+ },
+ "askingMember": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/QuestionMember"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Expanded asking member reference."
+ },
+ "askingMemberId": {
+ "description": "Asking Members API ID.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "attachmentCount": {
+ "description": "Published attachment count; does not mean files were fetched.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "attachments": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Published attachment metadata.",
+ "properties": {
+ "fileSizeBytes": {
+ "description": "Published size in bytes.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "fileType": {
+ "description": "Published file type.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "title": {
+ "description": "Attachment title.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "url": {
+ "description": "Published attachment link; not downloaded.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Every attachment supplied by the selected response."
+ },
+ "comparableAnswerText": {
+ "description": "Source comparable answer content.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "correctingMember": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/QuestionMember"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Expanded correcting member."
+ },
+ "correctingMemberId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Correcting Members API ID."
+ },
+ "dateAnswerCorrected": {
+ "description": "Correction date.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dateAnswered": {
+ "description": "Source answer date.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dateForAnswer": {
+ "description": "Source requested answer date.",
+ "type": "string"
+ },
+ "dateHoldingAnswer": {
+ "description": "Holding answer date.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dateTabled": {
+ "description": "Source tabling date.",
+ "type": "string"
+ },
+ "detailLevel": {
+ "description": "Summary previews or complete selected question.",
+ "enum": [
+ "summary",
+ "complete"
+ ],
+ "type": "string"
+ },
+ "followUp": {
+ "description": "Same-tool instruction for complete question and answer retrieval.",
+ "type": "string"
+ },
+ "groupedQuestions": {
+ "anyOf": [
+ {
+ "items": {
+ "description": "Related question UIN.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source grouped UINs, not Questions API IDs."
+ },
+ "groupedQuestionsDates": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Date-qualified grouped question reference.",
+ "properties": {
+ "dateTabled": {
+ "description": "Related question tabling date.",
+ "type": "string"
+ },
+ "questionUin": {
+ "description": "Related question UIN.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Grouped question UIN and date relationships."
+ },
+ "heading": {
+ "description": "Source question heading.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "house": {
+ "description": "Source House.",
+ "enum": [
+ "Bicameral",
+ "Commons",
+ "Lords"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "Questions API numeric record ID, distinct from UIN.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "isNamedDay": {
+ "description": "Source named-day flag.",
+ "type": "boolean"
+ },
+ "isWithdrawn": {
+ "description": "Source withdrawal flag.",
+ "type": "boolean"
+ },
+ "links": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Source relationship link.",
+ "properties": {
+ "href": {
+ "description": "Source link target.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "description": "Source link method.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rel": {
+ "description": "Source relation.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source relationship links."
+ },
+ "memberHasInterest": {
+ "description": "Recorded interest flag; omitted means unknown.",
+ "type": "boolean"
+ },
+ "originalAnswerText": {
+ "description": "Original answer content, preserved verbatim.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "questionId": {
+ "description": "Decimal Questions API ID for detail mode.",
+ "type": "string"
+ },
+ "questionText": {
+ "description": "Question text; search is a preview, detail is complete.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "uin": {
+ "description": "Source UIN; search returns candidates across sessions, while questionId selects one record.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "questionId",
+ "detailLevel"
+ ],
+ "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 search page-size cap."New value: +"Search 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. `queue_full`: A selected Questions or Members origin request queue is full. `invalid_mode_arguments`: Required detail ID is missing or fields conflict with the selected mode. `invalid_date_range`: Calendar dates are invalid or reversed. `unknown_reference_id`: The complete answering-body reference excludes a supplied ID. `invalid_cursor`: Collection or content cursor is malformed or bound to another selection. `source_changed`: Selected content changed during retrieval. 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. `queue_full`: A selected Questions or Members origin request queue is full. `invalid_mode_arguments`: Required detail ID is missing or fields conflict with the selected mode. `invalid_date_range`: Calendar dates are invalid or reversed. `unknown_reference_id`: The complete answering-body reference excludes a supplied ID. `invalid_cursor`: Collection or content cursor is malformed or bound to another selection. `source_changed`: Selected content changed during retrieval. `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",
- "queue_full",
- "invalid_mode_arguments",
- "invalid_date_range",
- "unknown_reference_id",
- "invalid_cursor",
- "source_changed"
-]New value: +[
+ "http_invalid_params",
+ "http_unauthorized",
+ "http_forbidden",
+ "http_conflict",
+ "http_rate_limited",
+ "http_invalid_request",
+ "queue_full",
+ "invalid_mode_arguments",
+ "invalid_date_range",
+ "unknown_reference_id",
+ "invalid_cursor",
+ "source_changed",
+ "call_deadline_exceeded",
+ "http_server_error"
+]
addedOutput schema / properties / items / items / $ref
Added value: +"#/$defs/QuestionRecord"
removedOutput schema / properties / items / items / additionalProperties
Removed value: -false
removedOutput schema / properties / items / items / properties
Removed value: -{
- "answerIsCorrection": {
- "description": "Source corrected-answer flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "answerIsHolding": {
- "description": "Source holding-answer flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "answerText": {
- "description": "Search answer preview or complete detail HTML, preserved verbatim.",
- "type": [
- "string",
- "null"
- ]
- },
- "answeringBodyId": {
- "description": "Source answering-body reference ID.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "answeringBodyName": {
- "description": "Source answering-body name.",
- "type": [
- "string",
- "null"
- ]
- },
- "answeringMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded answering member."
- },
- "answeringMemberId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Answering Members API ID."
- },
- "askingMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded asking member reference."
- },
- "askingMemberId": {
- "description": "Asking Members API ID.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "attachmentCount": {
- "description": "Published attachment count; does not mean files were fetched.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "attachments": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Published attachment metadata.",
- "properties": {
- "fileSizeBytes": {
- "description": "Published size in bytes.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "fileType": {
- "description": "Published file type.",
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "description": "Attachment title.",
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "description": "Published attachment link; not downloaded.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Every attachment supplied by the selected response."
- },
- "comparableAnswerText": {
- "description": "Source comparable answer content.",
- "type": [
- "string",
- "null"
- ]
- },
- "correctingMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded correcting member."
- },
- "correctingMemberId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Correcting Members API ID."
- },
- "dateAnswerCorrected": {
- "description": "Correction date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateAnswered": {
- "description": "Source answer date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateForAnswer": {
- "description": "Source requested answer date.",
- "type": "string"
- },
- "dateHoldingAnswer": {
- "description": "Holding answer date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateTabled": {
- "description": "Source tabling date.",
- "type": "string"
- },
- "detailLevel": {
- "description": "Summary previews or complete selected question.",
- "enum": [
- "summary",
- "complete"
- ],
- "type": "string"
- },
- "followUp": {
- "description": "Same-tool instruction for complete question and answer retrieval.",
- "type": "string"
- },
- "groupedQuestions": {
- "anyOf": [
- {
- "items": {
- "description": "Related question UIN.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source grouped UINs, not Questions API IDs."
- },
- "groupedQuestionsDates": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Date-qualified grouped question reference.",
- "properties": {
- "dateTabled": {
- "description": "Related question tabling date.",
- "type": "string"
- },
- "questionUin": {
- "description": "Related question UIN.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Grouped question UIN and date relationships."
- },
- "heading": {
- "description": "Source question heading.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "description": "Source House.",
- "enum": [
- "Bicameral",
- "Commons",
- "Lords"
- ],
- "type": "string"
- },
- "id": {
- "description": "Questions API numeric record ID, distinct from UIN.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "isNamedDay": {
- "description": "Source named-day flag.",
- "type": "boolean"
- },
- "isWithdrawn": {
- "description": "Source withdrawal flag.",
- "type": "boolean"
- },
- "links": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Source relationship link.",
- "properties": {
- "href": {
- "description": "Source link target.",
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "description": "Source link method.",
- "type": [
- "string",
- "null"
- ]
- },
- "rel": {
- "description": "Source relation.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source relationship links."
- },
- "memberHasInterest": {
- "description": "Recorded interest flag; omitted means unknown.",
- "type": "boolean"
- },
- "originalAnswerText": {
- "description": "Original answer content, preserved verbatim.",
- "type": [
- "string",
- "null"
- ]
- },
- "questionId": {
- "description": "Decimal Questions API ID for detail mode.",
- "type": "string"
- },
- "questionText": {
- "description": "Question text; search is a preview, detail is complete.",
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "additionalProperties": false,
- "description": "Actual selected 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"
- },
- "uin": {
- "description": "Source UIN; search returns candidates across sessions, while questionId selects one record.",
- "type": [
- "string",
- "null"
- ]
- }
-}
removedOutput schema / properties / items / items / required
Removed value: -[
- "id",
- "questionId",
- "source",
- "detailLevel"
-]
removedOutput schema / properties / items / items / type
Removed value: -"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"
+ }
+]
addedOutput schema / properties / record / $ref
Added value: +"#/$defs/QuestionRecord"
removedOutput schema / properties / record / additionalProperties
Removed value: -false
removedOutput schema / properties / record / properties
Removed value: -{
- "answerIsCorrection": {
- "description": "Source corrected-answer flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "answerIsHolding": {
- "description": "Source holding-answer flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "answerText": {
- "description": "Search answer preview or complete detail HTML, preserved verbatim.",
- "type": [
- "string",
- "null"
- ]
- },
- "answeringBodyId": {
- "description": "Source answering-body reference ID.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "answeringBodyName": {
- "description": "Source answering-body name.",
- "type": [
- "string",
- "null"
- ]
- },
- "answeringMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded answering member."
- },
- "answeringMemberId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Answering Members API ID."
- },
- "askingMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded asking member reference."
- },
- "askingMemberId": {
- "description": "Asking Members API ID.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "attachmentCount": {
- "description": "Published attachment count; does not mean files were fetched.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "attachments": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Published attachment metadata.",
- "properties": {
- "fileSizeBytes": {
- "description": "Published size in bytes.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "fileType": {
- "description": "Published file type.",
- "type": [
- "string",
- "null"
- ]
- },
- "title": {
- "description": "Attachment title.",
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "description": "Published attachment link; not downloaded.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Every attachment supplied by the selected response."
- },
- "comparableAnswerText": {
- "description": "Source comparable answer content.",
- "type": [
- "string",
- "null"
- ]
- },
- "correctingMember": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Members API identifier.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "listAs": {
- "description": "Source sorting name.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Constituency or member origin.",
- "type": [
- "string",
- "null"
- ]
- },
- "name": {
- "description": "Member display name.",
- "type": [
- "string",
- "null"
- ]
- },
- "party": {
- "description": "Recorded party name.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyAbbreviation": {
- "description": "Recorded party abbreviation.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Recorded party colour.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published member thumbnail link.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Expanded correcting member."
- },
- "correctingMemberId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Correcting Members API ID."
- },
- "dateAnswerCorrected": {
- "description": "Correction date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateAnswered": {
- "description": "Source answer date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateForAnswer": {
- "description": "Source requested answer date.",
- "type": "string"
- },
- "dateHoldingAnswer": {
- "description": "Holding answer date.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateTabled": {
- "description": "Source tabling date.",
- "type": "string"
- },
- "detailLevel": {
- "description": "Summary previews or complete selected question.",
- "enum": [
- "summary",
- "complete"
- ],
- "type": "string"
- },
- "followUp": {
- "description": "Same-tool instruction for complete question and answer retrieval.",
- "type": "string"
- },
- "groupedQuestions": {
- "anyOf": [
- {
- "items": {
- "description": "Related question UIN.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source grouped UINs, not Questions API IDs."
- },
- "groupedQuestionsDates": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Date-qualified grouped question reference.",
- "properties": {
- "dateTabled": {
- "description": "Related question tabling date.",
- "type": "string"
- },
- "questionUin": {
- "description": "Related question UIN.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Grouped question UIN and date relationships."
- },
- "heading": {
- "description": "Source question heading.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "description": "Source House.",
- "enum": [
- "Bicameral",
- "Commons",
- "Lords"
- ],
- "type": "string"
- },
- "id": {
- "description": "Questions API numeric record ID, distinct from UIN.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "isNamedDay": {
- "description": "Source named-day flag.",
- "type": "boolean"
- },
- "isWithdrawn": {
- "description": "Source withdrawal flag.",
- "type": "boolean"
- },
- "links": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Source relationship link.",
- "properties": {
- "href": {
- "description": "Source link target.",
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "description": "Source link method.",
- "type": [
- "string",
- "null"
- ]
- },
- "rel": {
- "description": "Source relation.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source relationship links."
- },
- "memberHasInterest": {
- "description": "Recorded interest flag; omitted means unknown.",
- "type": "boolean"
- },
- "originalAnswerText": {
- "description": "Original answer content, preserved verbatim.",
- "type": [
- "string",
- "null"
- ]
- },
- "questionId": {
- "description": "Decimal Questions API ID for detail mode.",
- "type": "string"
- },
- "questionText": {
- "description": "Question text; search is a preview, detail is complete.",
- "type": [
- "string",
- "null"
- ]
- },
- "source": {
- "additionalProperties": false,
- "description": "Actual selected 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"
- },
- "uin": {
- "description": "Source UIN; search returns candidates across sessions, while questionId selects one record.",
- "type": [
- "string",
- "null"
- ]
- }
-}
removedOutput schema / properties / record / required
Removed value: -[
- "id",
- "questionId",
- "source",
- "detailLevel"
-]
removedOutput schema / properties / record / type
Removed value: -"object"
addedOutput schema / properties / source / $ref
Added value: +"#/$defs/Source"
removedOutput schema / properties / source / additionalProperties
Removed value: -false
changedOutput schema / properties / source / description
Previous value: -"Actual selected official request."New value: +"Actual selected official request; provenance for every returned question."
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"