addedOutput schema / $defs
Added value: +{
+ "CommitteeMemberInfo": {
+ "additionalProperties": false,
+ "properties": {
+ "addressAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "displayAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fullTitle": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "house": {
+ "anyOf": [
+ {
+ "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "Source chamber label, including source-specific values.",
+ "type": "string"
+ },
+ {
+ "description": "Source supplied no House.",
+ "type": "null"
+ }
+ ],
+ "description": "Source House; never inferred from another membership."
+ },
+ "isChair": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isCurrent": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "listAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "memberFrom": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "mnisId": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "party": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "partyColour": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "mnisId"
+ ],
+ "type": "object"
+ },
+ "MemberCommittee": {
+ "additionalProperties": false,
+ "description": "Complete typed committee record with explicit tree relationships.",
+ "properties": {
+ "category": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Named source identifier.",
+ "properties": {
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published committee category."
+ },
+ "committeeTypes": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Committee type and complete flattened category metadata.",
+ "properties": {
+ "categoryId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published source identifier, within its own namespace."
+ },
+ "categoryName": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "categoryState": {
+ "description": "Whether the source nested object was omitted, null or present.",
+ "enum": [
+ "missing",
+ "null",
+ "present"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "description": "Source committee type ID.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "categoryState"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Complete committee types and flattened category metadata."
+ },
+ "contact": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "contactDisclaimer": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "email": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "phone": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Committee contacts including complete source disclaimer."
+ },
+ "dateCommonsAppointed": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "dateLordsAppointed": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "endDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "house": {
+ "anyOf": [
+ {
+ "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "Source chamber label, including source-specific values.",
+ "type": "string"
+ },
+ {
+ "description": "Source supplied no House.",
+ "type": "null"
+ }
+ ],
+ "description": "Source House; never inferred from another membership."
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "isLeadCommittee": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "leadHouse": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "isCommons": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isLords": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source lead-House flags; Joint remains distinct."
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nameHistory": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Dated committee name.",
+ "properties": {
+ "committeeId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "endDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "startDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Complete published committee name history."
+ },
+ "parentCommitteePath": {
+ "anyOf": [
+ {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Parent committee source pointer; null/omission is preserved."
+ },
+ "path": {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ },
+ "roles": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Whole role period with flattened named role and type metadata.",
+ "properties": {
+ "alternate": {
+ "description": "Source alternate flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "coOpted": {
+ "description": "Source co-opted flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "endDate": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "exOfficio": {
+ "description": "Source ex officio flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isChair": {
+ "description": "Source role chair flag.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "roleId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published source identifier, within its own namespace."
+ },
+ "roleName": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "roleState": {
+ "description": "Whether the source nested object was omitted, null or present.",
+ "enum": [
+ "missing",
+ "null",
+ "present"
+ ],
+ "type": "string"
+ },
+ "roleTypeId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published source identifier, within its own namespace."
+ },
+ "roleTypeName": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "roleTypeState": {
+ "description": "Whether the source nested object was omitted, null or present.",
+ "enum": [
+ "missing",
+ "null",
+ "present"
+ ],
+ "type": "string"
+ },
+ "startDate": {
+ "description": "Published source text; null and omission remain unknown.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "roleState",
+ "roleTypeState"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Whole source membership role periods; omitted for related summaries."
+ },
+ "scrutinisingDepartments": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Department scrutinised by this committee.",
+ "properties": {
+ "departmentId": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "departmentId"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "All published scrutinised departments."
+ },
+ "showOnWebsite": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "startDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subCommitteePaths": {
+ "anyOf": [
+ {
+ "items": {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ordered child source pointers; null and omission preserve source absence."
+ },
+ "websiteLegacyRedirectEnabled": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "websiteLegacyUrl": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id",
+ "path"
+ ],
+ "type": "object"
+ },
+ "MemberLink": {
+ "additionalProperties": false,
+ "description": "Published relationship link; href may be relative.",
+ "properties": {
+ "href": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "method": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rel": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "Page": {
+ "additionalProperties": false,
+ "properties": {
+ "hasMore": {
+ "description": "Further collection items remain.",
+ "type": "boolean"
+ },
+ "nextCursor": {
+ "description": "Opaque collection continuation; repeat the same filters.",
+ "type": "string"
+ },
+ "returned": {
+ "description": "Whole items emitted on this page.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "total": {
+ "description": "Total supplied by the source or fully read local collection.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "returned",
+ "hasMore"
+ ],
+ "type": "object"
+ },
+ "Source": {
+ "additionalProperties": false,
+ "properties": {
+ "api": {
+ "description": "Official API namespace.",
+ "enum": [
+ "bills",
+ "members",
+ "commons_votes",
+ "lords_votes",
+ "hansard",
+ "questions",
+ "committees"
+ ],
+ "type": "string"
+ },
+ "licenceUrl": {
+ "description": "Open Parliament Licence HTTPS URL; its exclusions still apply.",
+ "type": "string"
+ },
+ "notices": {
+ "description": "Source-specific notices.",
+ "items": {
+ "description": "Source notice preserved verbatim.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "retrievedAt": {
+ "description": "Response retrieval time in ISO 8601 UTC.",
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ "url": {
+ "description": "Actual official HTTPS request URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "api",
+ "url",
+ "retrievedAt",
+ "licenceUrl"
+ ],
+ "type": "object"
+ }
+}
changedOutput schema / properties / items / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Selected role period.",
- "properties": {
- "kind": {
- "const": "role",
- "description": "Whole biography period.",
- "type": "string"
- },
- "value": {
- "additionalProperties": false,
- "description": "Whole biography period, dates and additional links.",
- "properties": {
- "additionalInfo": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "additionalInfoLink": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "constituencyEnd": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "constituencyStart": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "endDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "startDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Selected official contact.",
- "properties": {
- "kind": {
- "const": "contact",
- "description": "Official contact record.",
- "type": "string"
- },
- "value": {
- "additionalProperties": false,
- "description": "Official contact record including complete source notes and caveats.",
- "properties": {
- "email": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "fax": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "isPreferred": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isWebAddress": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "line1": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "line2": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "line3": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "line4": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "line5": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "notes": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "phone": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "postcode": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "type": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "typeDescription": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "typeId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "website": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Selected interest category.",
- "properties": {
- "kind": {
- "const": "interest_category",
- "description": "Whole recursive interest category.",
- "type": "string"
- },
- "value": {
- "additionalProperties": false,
- "description": "Whole interest category with reconstructable recursive relationships.",
- "properties": {
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "interests": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Complete declaration with explicit ordered parent/child associations.",
- "properties": {
- "childPaths": {
- "anyOf": [
- {
- "items": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Ordered child source pointers; null and omission preserve source absence."
- },
- "createdWhen": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "deletedWhen": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "interest": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "isCorrection": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "lastAmendedWhen": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "parentPath": {
- "description": "Parent declaration pointer; omitted for a root interest.",
- "type": "string"
- },
- "path": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "path"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Every descendant declaration, once, in source preorder."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "rootPaths": {
- "anyOf": [
- {
- "items": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Ordered root declaration pointers; null/omission mirrors source interests."
- },
- "sortOrder": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Recorded division and member vote.",
- "properties": {
- "divisionId": {
- "description": "Division ID to pair with the explicit House in ukparl_search_divisions.",
- "type": "string"
- },
- "kind": {
- "const": "vote",
- "description": "Recorded vote.",
- "type": "string"
- },
- "links": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Published relationship link; href may be relative.",
- "properties": {
- "href": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "rel": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published vote relationships."
- },
- "value": {
- "additionalProperties": false,
- "description": "Recorded division and member lobby/teller facts.",
- "properties": {
- "actedAsTeller": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "date": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "divisionNumber": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "inAffirmativeLobby": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "inNegativeLobby": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "numberAgainst": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "numberInFavour": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "title": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "divisionId",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Committee membership with whole role periods.",
- "properties": {
- "committeeId": {
- "description": "Committee ID for ukparl_get_committee.",
- "type": "string"
- },
- "kind": {
- "const": "committee_seat",
- "description": "Whole committee seat.",
- "type": "string"
- },
- "member": {
- "additionalProperties": false,
- "description": "Source person and explicit MNIS member join metadata.",
- "properties": {
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "memberInfo": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "addressAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "displayAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "fullTitle": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "isChair": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isCurrent": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "listAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "memberFrom": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "mnisId": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "party": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "partyColour": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "mnisId"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Member metadata; mnisId is the Members API join key."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "personId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "photoUrl": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- "relatedCommittees": {
- "description": "Every related committee with explicit source paths.",
- "items": {
- "additionalProperties": false,
- "description": "Complete typed committee record with explicit tree relationships.",
- "properties": {
- "category": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Named source identifier.",
- "properties": {
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published committee category."
- },
- "committeeTypes": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Committee type and complete flattened category metadata.",
- "properties": {
- "categoryId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "categoryName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "categoryState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "id": {
- "description": "Source committee type ID.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "categoryState"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Complete committee types and flattened category metadata."
- },
- "contact": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "contactDisclaimer": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "phone": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Committee contacts including complete source disclaimer."
- },
- "dateCommonsAppointed": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateLordsAppointed": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "endDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "isLeadCommittee": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "leadHouse": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "isCommons": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isLords": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source lead-House flags; Joint remains distinct."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "nameHistory": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Dated committee name.",
- "properties": {
- "committeeId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "endDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "startDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Complete published committee name history."
- },
- "parentCommitteePath": {
- "anyOf": [
- {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Parent committee source pointer; null/omission is preserved."
- },
- "path": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "roles": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Whole role period with flattened named role and type metadata.",
- "properties": {
- "alternate": {
- "description": "Source alternate flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "coOpted": {
- "description": "Source co-opted flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "endDate": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "exOfficio": {
- "description": "Source ex officio flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isChair": {
- "description": "Source role chair flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "roleId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "roleName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "roleState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "roleTypeId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "roleTypeName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "roleTypeState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "startDate": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "roleState",
- "roleTypeState"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whole source membership role periods; omitted for related summaries."
- },
- "scrutinisingDepartments": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Department scrutinised by this committee.",
- "properties": {
- "departmentId": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "departmentId"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "All published scrutinised departments."
- },
- "showOnWebsite": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "startDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "subCommitteePaths": {
- "anyOf": [
- {
- "items": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Ordered child source pointers; null and omission preserve source absence."
- },
- "websiteLegacyRedirectEnabled": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "websiteLegacyUrl": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "path"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "value": {
- "additionalProperties": false,
- "description": "Complete typed committee record with explicit tree relationships.",
- "properties": {
- "category": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Named source identifier.",
- "properties": {
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published committee category."
- },
- "committeeTypes": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Committee type and complete flattened category metadata.",
- "properties": {
- "categoryId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "categoryName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "categoryState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "id": {
- "description": "Source committee type ID.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "categoryState"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Complete committee types and flattened category metadata."
- },
- "contact": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "address": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "contactDisclaimer": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "email": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "phone": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Committee contacts including complete source disclaimer."
- },
- "dateCommonsAppointed": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "dateLordsAppointed": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "endDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "isLeadCommittee": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "leadHouse": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "isCommons": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isLords": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Source lead-House flags; Joint remains distinct."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "nameHistory": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Dated committee name.",
- "properties": {
- "committeeId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "endDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "startDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Complete published committee name history."
- },
- "parentCommitteePath": {
- "anyOf": [
- {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Parent committee source pointer; null/omission is preserved."
- },
- "path": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "roles": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Whole role period with flattened named role and type metadata.",
- "properties": {
- "alternate": {
- "description": "Source alternate flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "coOpted": {
- "description": "Source co-opted flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "endDate": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "exOfficio": {
- "description": "Source ex officio flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isChair": {
- "description": "Source role chair flag.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "roleId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "roleName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "roleState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "roleTypeId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published source identifier, within its own namespace."
- },
- "roleTypeName": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- },
- "roleTypeState": {
- "description": "Whether the source nested object was omitted, null or present.",
- "enum": [
- "missing",
- "null",
- "present"
- ],
- "type": "string"
- },
- "startDate": {
- "description": "Published source text; null and omission remain unknown.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "roleState",
- "roleTypeState"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Whole source membership role periods; omitted for related summaries."
- },
- "scrutinisingDepartments": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Department scrutinised by this committee.",
- "properties": {
- "departmentId": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "departmentId"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "All published scrutinised departments."
- },
- "showOnWebsite": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "startDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "subCommitteePaths": {
- "anyOf": [
- {
- "items": {
- "description": "Source JSON pointer identifying this record within its whole pagination atom.",
- "type": "string"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Ordered child source pointers; null and omission preserve source absence."
- },
- "websiteLegacyRedirectEnabled": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "websiteLegacyUrl": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id",
- "path"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "committeeId",
- "value",
- "relatedCommittees",
- "member"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Selected role period.",
+ "properties": {
+ "kind": {
+ "const": "role",
+ "description": "Whole biography period.",
+ "type": "string"
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Whole biography period, dates and additional links.",
+ "properties": {
+ "additionalInfo": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "additionalInfoLink": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "constituencyEnd": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "constituencyStart": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "endDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "house": {
+ "anyOf": [
+ {
+ "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "Source chamber label, including source-specific values.",
+ "type": "string"
+ },
+ {
+ "description": "Source supplied no House.",
+ "type": "null"
+ }
+ ],
+ "description": "Source House; never inferred from another membership."
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "startDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Selected official contact.",
+ "properties": {
+ "kind": {
+ "const": "contact",
+ "description": "Official contact record.",
+ "type": "string"
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Official contact record including complete source notes and caveats.",
+ "properties": {
+ "email": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "fax": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isPreferred": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isWebAddress": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "line1": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "line2": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "line3": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "line4": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "line5": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "notes": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "phone": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "postcode": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "type": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "typeDescription": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "typeId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "website": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Selected interest category.",
+ "properties": {
+ "kind": {
+ "const": "interest_category",
+ "description": "Whole recursive interest category.",
+ "type": "string"
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Whole interest category with reconstructable recursive relationships.",
+ "properties": {
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "interests": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": false,
+ "description": "Complete declaration with explicit ordered parent/child associations.",
+ "properties": {
+ "childPaths": {
+ "anyOf": [
+ {
+ "items": {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ordered child source pointers; null and omission preserve source absence."
+ },
+ "createdWhen": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "deletedWhen": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "interest": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isCorrection": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "lastAmendedWhen": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "parentPath": {
+ "description": "Parent declaration pointer; omitted for a root interest.",
+ "type": "string"
+ },
+ "path": {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "path"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Every descendant declaration, once, in source preorder."
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rootPaths": {
+ "anyOf": [
+ {
+ "items": {
+ "description": "Source JSON pointer identifying this record within its whole pagination atom.",
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Ordered root declaration pointers; null/omission mirrors source interests."
+ },
+ "sortOrder": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Recorded division and member vote.",
+ "properties": {
+ "divisionId": {
+ "description": "Division ID to pair with the explicit House in ukparl_search_divisions.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "vote",
+ "description": "Recorded vote.",
+ "type": "string"
+ },
+ "links": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/MemberLink"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published vote relationships."
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Recorded division and member lobby/teller facts.",
+ "properties": {
+ "actedAsTeller": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "date": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "divisionNumber": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "house": {
+ "anyOf": [
+ {
+ "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "Source chamber label, including source-specific values.",
+ "type": "string"
+ },
+ {
+ "description": "Source supplied no House.",
+ "type": "null"
+ }
+ ],
+ "description": "Source House; never inferred from another membership."
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "inAffirmativeLobby": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "inNegativeLobby": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "numberAgainst": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "numberInFavour": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "title": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "divisionId",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Committee membership with whole role periods.",
+ "properties": {
+ "committeeId": {
+ "description": "Committee ID for ukparl_get_committee.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "committee_seat",
+ "description": "Whole committee seat.",
+ "type": "string"
+ },
+ "member": {
+ "additionalProperties": false,
+ "description": "Source person and explicit MNIS member join metadata.",
+ "properties": {
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "memberInfo": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/CommitteeMemberInfo"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Member metadata; mnisId is the Members API join key."
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "personId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "photoUrl": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ "relatedCommittees": {
+ "description": "Every related committee with explicit source paths.",
+ "items": {
+ "$ref": "#/$defs/MemberCommittee"
+ },
+ "type": "array"
+ },
+ "value": {
+ "$ref": "#/$defs/MemberCommittee"
+ }
+ },
+ "required": [
+ "kind",
+ "committeeId",
+ "value",
+ "relatedCommittees",
+ "member"
+ ],
+ "type": "object"
+ }
+]
changedOutput schema / properties / record / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "description": "Complete member profile value and source links.",
- "properties": {
- "kind": {
- "const": "profile",
- "description": "Complete published member profile.",
- "type": "string"
- },
- "links": {
- "anyOf": [
- {
- "items": {
- "additionalProperties": false,
- "description": "Published relationship link; href may be relative.",
- "properties": {
- "href": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "method": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "rel": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published member profile relationships."
- },
- "value": {
- "additionalProperties": false,
- "description": "Complete published member metadata.",
- "properties": {
- "gender": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "latestHouseMembership": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "house": {
- "anyOf": [
- {
- "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "description": "Source chamber label, including source-specific values.",
- "type": "string"
- },
- {
- "description": "Source supplied no House.",
- "type": "null"
- }
- ],
- "description": "Source House; never inferred from another membership."
- },
- "membershipEndDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "membershipEndReason": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "membershipEndReasonId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "membershipEndReasonNotes": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "membershipFrom": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "membershipFromId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "membershipStartDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "membershipStatus": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Published membership status and its effective date.",
- "properties": {
- "status": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "statusDescription": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "statusId": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "statusIsActive": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "statusNotes": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "statusStartDate": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Latest source membership status."
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Latest source membership, not a guaranteed as-of snapshot."
- },
- "latestParty": {
- "anyOf": [
- {
- "additionalProperties": false,
- "description": "Published party metadata.",
- "properties": {
- "abbreviation": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "backgroundColour": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "foregroundColour": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "governmentType": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Published integer; null or omitted means unavailable."
- },
- "id": {
- "description": "Identifier within this source record namespace.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "isIndependentParty": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isLordsMainParty": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "isLordsSpiritualParty": {
- "description": "Published flag; null or omitted is unknown.",
- "type": [
- "boolean",
- "null"
- ]
- },
- "name": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Latest source party, possibly unknown in historical results."
- },
- "nameAddressAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "nameDisplayAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "nameFullTitle": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "nameListAs": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- },
- "thumbnailUrl": {
- "description": "Published source text; null or omitted means unavailable.",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "id"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "value"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "description": "Category outline; select one category for whole periods.",
- "properties": {
- "categories": {
- "description": "Every supported biography category.",
- "items": {
- "additionalProperties": false,
- "description": "Biography category availability and exact count.",
- "properties": {
- "available": {
- "description": "Whether the source supplied this collection.",
- "type": "boolean"
- },
- "category": {
- "description": "Biography category name.",
- "enum": [
- "representations",
- "electionsContested",
- "houseMemberships",
- "governmentPosts",
- "oppositionPosts",
- "otherPosts",
- "partyAffiliations",
- "committeeMemberships"
- ],
- "type": "string"
- },
- "count": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "Exact whole-period count, or null when source category is unavailable."
- }
- },
- "required": [
- "category",
- "count",
- "available"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "kind": {
- "const": "role_categories",
- "description": "Biography category outline.",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "categories"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "Complete member profile value and source links.",
+ "properties": {
+ "kind": {
+ "const": "profile",
+ "description": "Complete published member profile.",
+ "type": "string"
+ },
+ "links": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/MemberLink"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published member profile relationships."
+ },
+ "value": {
+ "additionalProperties": false,
+ "description": "Complete published member metadata.",
+ "properties": {
+ "gender": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "latestHouseMembership": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "house": {
+ "anyOf": [
+ {
+ "description": "Source numeric House code; Members uses 1 Commons and 2 Lords.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "description": "Source chamber label, including source-specific values.",
+ "type": "string"
+ },
+ {
+ "description": "Source supplied no House.",
+ "type": "null"
+ }
+ ],
+ "description": "Source House; never inferred from another membership."
+ },
+ "membershipEndDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "membershipEndReason": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "membershipEndReasonId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "membershipEndReasonNotes": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "membershipFrom": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "membershipFromId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "membershipStartDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "membershipStatus": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Published membership status and its effective date.",
+ "properties": {
+ "status": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "statusDescription": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statusId": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "statusIsActive": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "statusNotes": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "statusStartDate": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Latest source membership status."
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source House membership: latest on a profile or search, the one held on the date on an asOf search."
+ },
+ "latestParty": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "description": "Published party metadata.",
+ "properties": {
+ "abbreviation": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "backgroundColour": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "foregroundColour": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "governmentType": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Published integer; null or omitted means unavailable."
+ },
+ "id": {
+ "description": "Identifier within this source record namespace.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "isIndependentParty": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isLordsMainParty": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "isLordsSpiritualParty": {
+ "description": "Published flag; null or omitted is unknown.",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source party: current on a profile or search, held on the date on an asOf search; possibly unknown in historical results."
+ },
+ "nameAddressAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nameDisplayAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nameFullTitle": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "nameListAs": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "thumbnailUrl": {
+ "description": "Published source text; null or omitted means unavailable.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "id"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "Category outline; select one category for whole periods.",
+ "properties": {
+ "categories": {
+ "description": "Every supported biography category.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Biography category availability and exact count.",
+ "properties": {
+ "available": {
+ "description": "Whether the source supplied this collection.",
+ "type": "boolean"
+ },
+ "category": {
+ "description": "Biography category name.",
+ "enum": [
+ "representations",
+ "electionsContested",
+ "houseMemberships",
+ "governmentPosts",
+ "oppositionPosts",
+ "otherPosts",
+ "partyAffiliations",
+ "committeeMemberships"
+ ],
+ "type": "string"
+ },
+ "count": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Exact whole-period count, or null when source category is unavailable."
+ }
+ },
+ "required": [
+ "category",
+ "count",
+ "available"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "const": "role_categories",
+ "description": "Biography category outline.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "categories"
+ ],
+ "type": "object"
+ }
+]