OLD | NEW |
1 { | 1 { |
2 "basePath": "/civicinfo/v2/", | 2 "basePath": "/civicinfo/v2/", |
3 "baseUrl": "https://www.googleapis.com/civicinfo/v2/", | 3 "baseUrl": "https://www.googleapis.com/civicinfo/v2/", |
4 "batchPath": "batch", | 4 "batchPath": "batch", |
5 "canonicalName": "Civic Info", | 5 "canonicalName": "Civic Info", |
6 "description": "An API for accessing civic information.", | 6 "description": "An API for accessing civic information.", |
7 "discoveryVersion": "v1", | 7 "discoveryVersion": "v1", |
8 "documentationLink": "https://developers.google.com/civic-information", | 8 "documentationLink": "https://developers.google.com/civic-information", |
9 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/COqImd_5mbMNjVXE2KjAxTFdRoU\"", | 9 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/79Y1HrgSgdJCTf1b4Qz0Z9zJqHE\"", |
10 "icons": { | 10 "icons": { |
11 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 11 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
12 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 12 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
13 }, | 13 }, |
14 "id": "civicinfo:v2", | 14 "id": "civicinfo:v2", |
15 "kind": "discovery#restDescription", | 15 "kind": "discovery#restDescription", |
16 "name": "civicinfo", | 16 "name": "civicinfo", |
17 "ownerDomain": "google.com", | 17 "ownerDomain": "google.com", |
18 "ownerName": "Google", | 18 "ownerName": "Google", |
19 "parameters": { | 19 "parameters": { |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 } | 294 } |
295 }, | 295 }, |
296 "path": "representatives/{ocdId}", | 296 "path": "representatives/{ocdId}", |
297 "response": { | 297 "response": { |
298 "$ref": "RepresentativeInfoData" | 298 "$ref": "RepresentativeInfoData" |
299 } | 299 } |
300 } | 300 } |
301 } | 301 } |
302 } | 302 } |
303 }, | 303 }, |
304 "revision": "20150302", | 304 "revision": "20150707", |
305 "rootUrl": "https://www.googleapis.com/", | 305 "rootUrl": "https://www.googleapis.com/", |
306 "schemas": { | 306 "schemas": { |
307 "AdministrationRegion": { | 307 "AdministrationRegion": { |
308 "description": "Describes information about a regional election admi
nistrative area.", | 308 "description": "Describes information about a regional election admi
nistrative area.", |
309 "id": "AdministrationRegion", | 309 "id": "AdministrationRegion", |
310 "properties": { | 310 "properties": { |
311 "electionAdministrationBody": { | 311 "electionAdministrationBody": { |
312 "$ref": "AdministrativeBody", | 312 "$ref": "AdministrativeBody", |
313 "description": "The election administration body for this ar
ea." | 313 "description": "The election administration body for this ar
ea." |
314 }, | 314 }, |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 "type": "string" | 503 "type": "string" |
504 }, | 504 }, |
505 "office": { | 505 "office": { |
506 "description": "The name of the office for this contest.", | 506 "description": "The name of the office for this contest.", |
507 "type": "string" | 507 "type": "string" |
508 }, | 508 }, |
509 "primaryParty": { | 509 "primaryParty": { |
510 "description": "If this is a partisan election, the name of
the party it is for.", | 510 "description": "If this is a partisan election, the name of
the party it is for.", |
511 "type": "string" | 511 "type": "string" |
512 }, | 512 }, |
| 513 "referendumBallotResponses": { |
| 514 "description": "The set of ballot responses for the referend
um. A ballot response represents a line on the ballot. Common examples might inc
lude \"yes\" or \"no\" for referenda, or a judge's name for a retention contest.
This field is only populated for contests of type 'Referendum'.", |
| 515 "items": { |
| 516 "type": "string" |
| 517 }, |
| 518 "type": "array" |
| 519 }, |
| 520 "referendumBrief": { |
| 521 "description": "Specifies a short summary of the referendum
that is on the ballot below the title but above the text. This field is only pop
ulated for contests of type 'Referendum'.", |
| 522 "type": "string" |
| 523 }, |
| 524 "referendumConStatement": { |
| 525 "description": "A statement in opposition to the referendum.
It does not necessarily appear on the ballot. This field is only populated for
contests of type 'Referendum'.", |
| 526 "type": "string" |
| 527 }, |
| 528 "referendumEffectOfAbstain": { |
| 529 "description": "Specifies what effect abstaining (not voting
) on the proposition will have (i.e. whether abstaining is considered a vote aga
inst it). This field is only populated for contests of type 'Referendum'.", |
| 530 "type": "string" |
| 531 }, |
| 532 "referendumPassageThreshold": { |
| 533 "description": "The threshold of votes that the referendum n
eeds in order to pass, e.g. \"two-thirds\". This field is only populated for con
tests of type 'Referendum'.", |
| 534 "type": "string" |
| 535 }, |
| 536 "referendumProStatement": { |
| 537 "description": "A statement in favor of the referendum. It d
oes not necessarily appear on the ballot. This field is only populated for conte
sts of type 'Referendum'.", |
| 538 "type": "string" |
| 539 }, |
513 "referendumSubtitle": { | 540 "referendumSubtitle": { |
514 "description": "A brief description of the referendum. This
field is only populated for contests of type 'Referendum'.", | 541 "description": "A brief description of the referendum. This
field is only populated for contests of type 'Referendum'.", |
515 "type": "string" | 542 "type": "string" |
516 }, | 543 }, |
| 544 "referendumText": { |
| 545 "description": "The full text of the referendum. This field
is only populated for contests of type 'Referendum'.", |
| 546 "type": "string" |
| 547 }, |
517 "referendumTitle": { | 548 "referendumTitle": { |
518 "description": "The title of the referendum (e.g. 'Propositi
on 42'). This field is only populated for contests of type 'Referendum'.", | 549 "description": "The title of the referendum (e.g. 'Propositi
on 42'). This field is only populated for contests of type 'Referendum'.", |
519 "type": "string" | 550 "type": "string" |
520 }, | 551 }, |
521 "referendumUrl": { | 552 "referendumUrl": { |
522 "description": "A link to the referendum. This field is only
populated for contests of type 'Referendum'.", | 553 "description": "A link to the referendum. This field is only
populated for contests of type 'Referendum'.", |
523 "type": "string" | 554 "type": "string" |
524 }, | 555 }, |
525 "roles": { | 556 "roles": { |
526 "description": "The roles which this office fulfills.", | 557 "description": "The roles which this office fulfills.", |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 }, | 1016 }, |
986 "election": { | 1017 "election": { |
987 "$ref": "Election", | 1018 "$ref": "Election", |
988 "description": "The election that was queried." | 1019 "description": "The election that was queried." |
989 }, | 1020 }, |
990 "kind": { | 1021 "kind": { |
991 "default": "civicinfo#voterInfoResponse", | 1022 "default": "civicinfo#voterInfoResponse", |
992 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"civicinfo#voterInfoResponse\".", | 1023 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"civicinfo#voterInfoResponse\".", |
993 "type": "string" | 1024 "type": "string" |
994 }, | 1025 }, |
| 1026 "mailOnly": { |
| 1027 "description": "Specifies whether voters in the precinct vot
e only by mailing their ballots (with the possible option of dropping off their
ballots as well).", |
| 1028 "type": "boolean" |
| 1029 }, |
995 "normalizedInput": { | 1030 "normalizedInput": { |
996 "$ref": "SimpleAddressType", | 1031 "$ref": "SimpleAddressType", |
997 "description": "The normalized version of the requested addr
ess" | 1032 "description": "The normalized version of the requested addr
ess" |
998 }, | 1033 }, |
999 "otherElections": { | 1034 "otherElections": { |
1000 "description": "If no election ID was specified in the query
, and there was more than one election with data for the given voter, this will
contain information about the other elections that could apply.", | 1035 "description": "If no election ID was specified in the query
, and there was more than one election with data for the given voter, this will
contain information about the other elections that could apply.", |
1001 "items": { | 1036 "items": { |
1002 "$ref": "Election" | 1037 "$ref": "Election" |
1003 }, | 1038 }, |
1004 "type": "array" | 1039 "type": "array" |
(...skipping 16 matching lines...) Expand all Loading... |
1021 "type": "array" | 1056 "type": "array" |
1022 } | 1057 } |
1023 }, | 1058 }, |
1024 "type": "object" | 1059 "type": "object" |
1025 } | 1060 } |
1026 }, | 1061 }, |
1027 "servicePath": "civicinfo/v2/", | 1062 "servicePath": "civicinfo/v2/", |
1028 "title": "Google Civic Information API", | 1063 "title": "Google Civic Information API", |
1029 "version": "v2" | 1064 "version": "v2" |
1030 } | 1065 } |
OLD | NEW |