addedInput schema / properties / asOf
Added value: +{
+ "description": "Optional day, YYYY-MM-DD, or a date-time as this server returns one (2014-03-03T00:00:00.000), read as its day; requires committeeId. Lists the memberships open on that day in the published committee history, a membership’s last day included, so a person holds two rows on a day their function changed. council, cantonId, partyId, and groupId filter the affiliation recorded for each membership. History starts per committee, 1995-12-04 for standing committees; a day after today in Switzerland is rejected.",
+ "maxLength": 29,
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?(?:[+-](?:[01]\\d|2[0-3]):[0-5]\\d)?)?$",
+ "type": "string"
+}
changedInput schema / properties / committeeId / description
Previous value: -"Optional CommitteeNumber from chparl_list_reference topic committees. Lists that committee’s current members, one row per membership; a sub-committee has its own number and roster. Other filters narrow the roster."New value: +"Optional CommitteeNumber from chparl_list_reference topic committees. Lists that committee’s members, one row per membership: its current roster, or its roster on asOf. A sub-committee has its own number and roster. Other filters narrow the roster."
addedInput schema / properties / interest
Added value: +{
+ "description": "Optional substring of a declared interest name, such as an organisation. Returns one row per matching declaration: the declarant’s member record plus the declaration. The match ignores case and accents but is otherwise literal, on a name declared once and never translated (Groupe de réflexion Groupe Mutuel, Gruppo di riflessione Groupe Mutuel), so search the name as declared in each language; an empty result does not establish that no member has a tie. A newly sworn-in member’s declarations can be missing until the member record is published. Cannot be combined with committeeId or asOf.",
+ "type": "string"
+}
changedInput schema / properties / limit / description
Previous value: -"Requested page size, default 20, effective maximum 100 with notice. Whole records may be fitted to the response byte budget."New value: +"Requested page size, default 20, effective maximum 100 with notice."
changedInput schema / properties / membership / description
Previous value: -"current (default), former, or all MemberCouncil records. With committeeId, only current is accepted."New value: +"current (default), former, or all MemberCouncil records; with interest, the declarant’s record. Current records include the Federal Council (councilId 99) and the Federal Chancellor (councilId 98) beside the parliamentarians. With committeeId, only current is accepted."
changedInput schema / properties / offset / description
Previous value: -"Starting MemberCouncil record offset, or committee membership offset with committeeId; continue with returned nextOffset."New value: +"Starting row offset: MemberCouncil records, committee memberships with committeeId, or declarations with interest; continue with returned nextOffset."
addedOutput schema / properties / effectiveFilters / properties / asOf
Added value: +{
+ "description": "Effective roster day, YYYY-MM-DD; absent for the current roster.",
+ "format": "date",
+ "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])))$",
+ "type": "string"
+}
changedOutput schema / properties / effectiveFilters / properties / committeeId / description
Previous value: -"Effective CommitteeNumber whose current roster is listed."New value: +"Effective CommitteeNumber whose roster is listed."
addedOutput schema / properties / effectiveFilters / properties / interest
Added value: +{
+ "description": "Effective trimmed substring of a declared interest name.",
+ "type": "string"
+}
changedOutput schema / properties / effectiveFilters / properties / membership / description
Previous value: -"current filters Active true; former false; all omits Active. Committee rosters are the published current composition and send no Active filter."New value: +"current filters Active true; former false; all omits Active, except on interest searches, where it requires a published declarant record with either value. Committee rosters send no Active filter."
changedOutput schema / properties / error / properties / data / properties / reason / description
Previous value: -"Machine-readable failure mode. Declared by this tool: `incompatible_fields`: committeeId is combined with membership former or all. `upstream_rate_limited`: Parliament returned HTTP 429. `request_too_long`: The text filters make the URL-encoded Parliament request longer than its 2048-byte query-string limit. Other values are possible when a failure originates below the handler."New value: +"Machine-readable failure mode. Declared by this tool: `incompatible_fields`: committeeId is combined with membership former or all, asOf is supplied without committeeId, or interest is combined with committeeId or asOf. `as_of_in_future`: asOf is after today’s date in Switzerland. `upstream_rate_limited`: Parliament returned HTTP 429. `request_too_long`: The text filters, query or interest, make the URL-encoded Parliament request longer than its 2048-byte query-string limit. Other values are possible when a failure originates below the handler."
changedOutput schema / properties / error / properties / data / properties / reason / examples
Previous value: -[
- "incompatible_fields",
- "upstream_rate_limited",
- "request_too_long"
-]New value: +[
+ "incompatible_fields",
+ "as_of_in_future",
+ "upstream_rate_limited",
+ "request_too_long"
+]
changedOutput schema / properties / hasMore / description
Previous value: -"Whether further matching affiliation records remain."New value: +"Whether further matching rows remain."
changedOutput schema / properties / members / description
Previous value: -"Complete MemberCouncil affiliation records delivered on this page; one per committee membership on committee searches."New value: +"Rows delivered on this page: MemberCouncil affiliation records; one committee membership per row on committee searches, as recorded on that day with asOf; or one declaration per row with interest."
changedOutput schema / properties / members / items / description
Previous value: -"One published MemberCouncil affiliation record; on committee searches, one committee membership."New value: +"One published MemberCouncil affiliation record; on committee searches, one committee membership; on interest searches, one declaration with its declarant’s record. On asOf rosters, sourceUrl cites the MemberCommitteeHistory record, names, council, canton, party, and group are those recorded for that membership, officialName and memberCouncilId come from the current MemberCouncil record, and active, joinedDate, and leftDate are omitted."
addedOutput schema / properties / members / items / properties / committeeJoinedDate
Added value: +{
+ "description": "asOf rosters only: the day this committee membership began, without an inferred timezone.",
+ "type": "string"
+}
addedOutput schema / properties / members / items / properties / committeeLeftDate
Added value: +{
+ "description": "asOf rosters only: the last day of this committee membership, when published; it can lie in the future.",
+ "type": "string"
+}
addedOutput schema / properties / members / items / properties / interest
Added value: +{
+ "additionalProperties": false,
+ "description": "interest searches only: the declaration this row reports, as chparl_get_member section interests returns it, with its own id and sourceUrl.",
+ "properties": {
+ "agency": {
+ "description": "Original published Agency code.",
+ "type": "string"
+ },
+ "dateFrom": {
+ "description": "Published start date (DateFrom) of this declaration, without an inferred timezone.",
+ "type": "string"
+ },
+ "functionInAgency": {
+ "description": "Published function-in-agency code.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "functionInAgencyText": {
+ "description": "Published function-in-agency text.",
+ "type": "string"
+ },
+ "id": {
+ "description": "PersonInterest record GUID.",
+ "type": "string"
+ },
+ "interestName": {
+ "description": "Original published interest name.",
+ "type": "string"
+ },
+ "interestType": {
+ "description": "Published interest type code.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "interestTypeText": {
+ "description": "Published interest type text.",
+ "type": "string"
+ },
+ "modifiedAt": {
+ "description": "Published modification timestamp without an inferred timezone.",
+ "type": "string"
+ },
+ "organizationType": {
+ "description": "Published organization type code.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "organizationTypeText": {
+ "description": "Published organization type text.",
+ "type": "string"
+ },
+ "paid": {
+ "description": "Published paid flag; absent means unknown.",
+ "type": "boolean"
+ },
+ "sortOrder": {
+ "description": "Published source sort order.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "sourceUrl": {
+ "description": "HTTPS OData URL for this interest record.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "sourceUrl"
+ ],
+ "type": "object"
+}
changedOutput schema / properties / nextOffset / description
Previous value: -"Starting offset plus delivered records; absent when exhausted."New value: +"Starting offset plus delivered rows; absent when exhausted."
changedOutput schema / properties / notice / description
Previous value: -"Combined clamping, byte fitting, empty-result, empty-roster, or past-end guidance."New value: +"Combined clamping, empty-result, empty-roster, or past-end guidance."
changedOutput schema / properties / returnedCount / description
Previous value: -"Number of complete MemberCouncil records delivered; committee memberships on committee searches."New value: +"Number of rows delivered: MemberCouncil records, committee memberships on committee searches, or declarations on interest searches."
changedOutput schema / properties / totalCount / description
Previous value: -"Exact whole-query MemberCouncil record count when supplied upstream; committee memberships on committee searches."New value: +"Exact whole-query row count when supplied upstream, in the unit of returnedCount."