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"
+ }
+]
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"
+ }
+]