OLD | NEW |
1 { | 1 { |
2 "basePath": "/civicinfo/us_v1/", | 2 "basePath": "/civicinfo/us_v1/", |
3 "baseUrl": "https://www.googleapis.com/civicinfo/us_v1/", | 3 "baseUrl": "https://www.googleapis.com/civicinfo/us_v1/", |
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": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/tNyc5_G2Q097X-O_7m0x4Pe2LIg\"", | 9 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/xUdHq4Z75BUD9ZtUhNKiCTTAQpg\"", |
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:us_v1", | 14 "id": "civicinfo:us_v1", |
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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 "request": { | 155 "request": { |
156 "$ref": "RepresentativeInfoRequest" | 156 "$ref": "RepresentativeInfoRequest" |
157 }, | 157 }, |
158 "response": { | 158 "response": { |
159 "$ref": "RepresentativeInfoResponse" | 159 "$ref": "RepresentativeInfoResponse" |
160 } | 160 } |
161 } | 161 } |
162 } | 162 } |
163 } | 163 } |
164 }, | 164 }, |
165 "revision": "20140815", | 165 "revision": "20140918", |
166 "rootUrl": "https://www.googleapis.com/", | 166 "rootUrl": "https://www.googleapis.com/", |
167 "schemas": { | 167 "schemas": { |
168 "AdministrationRegion": { | 168 "AdministrationRegion": { |
169 "description": "Describes information about a regional election admi
nistrative area.", | 169 "description": "Describes information about a regional election admi
nistrative area.", |
170 "id": "AdministrationRegion", | 170 "id": "AdministrationRegion", |
171 "properties": { | 171 "properties": { |
172 "electionAdministrationBody": { | 172 "electionAdministrationBody": { |
173 "$ref": "AdministrativeBody", | 173 "$ref": "AdministrativeBody", |
174 "description": "The election administration body for this ar
ea." | 174 "description": "The election administration body for this ar
ea." |
175 }, | 175 }, |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 "type": "string" | 525 "type": "string" |
526 } | 526 } |
527 }, | 527 }, |
528 "type": "object" | 528 "type": "object" |
529 }, | 529 }, |
530 "GeographicDivision": { | 530 "GeographicDivision": { |
531 "description": "Describes a political geography.", | 531 "description": "Describes a political geography.", |
532 "id": "GeographicDivision", | 532 "id": "GeographicDivision", |
533 "properties": { | 533 "properties": { |
534 "alsoKnownAs": { | 534 "alsoKnownAs": { |
535 "description": "Any other valid OCD IDs that refer to the sa
me division. For example, if this division's OCD ID is ocd-division/country:us/d
istrict:dc, this will contain ocd-division/country:us/state:dc.", | 535 "description": "Any other valid OCD IDs that refer to the sa
me division.\n\nBecause OCD IDs are meant to be human-readable and at least some
what predictable, there are occasionally several identifiers for a single divisi
on. These identifiers are defined to be equivalent to one another, and one is al
ways indicated as the primary identifier. The primary identifier will be returne
d in ocd_id above, and any other equivalent valid identifiers will be returned i
n this list.\n\nFor example, if this division's OCD ID is ocd-division/country:u
s/district:dc, this will contain ocd-division/country:us/state:dc.", |
536 "items": { | 536 "items": { |
537 "type": "string" | 537 "type": "string" |
538 }, | 538 }, |
539 "type": "array" | 539 "type": "array" |
540 }, | 540 }, |
541 "name": { | 541 "name": { |
542 "description": "The name of the division.", | 542 "description": "The name of the division.", |
543 "type": "string" | 543 "type": "string" |
544 }, | 544 }, |
545 "officeIds": { | 545 "officeIds": { |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 "description": "A list of sources for this office. If multip
le sources are listed, the data has been aggregated from those sources.", | 583 "description": "A list of sources for this office. If multip
le sources are listed, the data has been aggregated from those sources.", |
584 "items": { | 584 "items": { |
585 "$ref": "Source" | 585 "$ref": "Source" |
586 }, | 586 }, |
587 "type": "array" | 587 "type": "array" |
588 } | 588 } |
589 }, | 589 }, |
590 "type": "object" | 590 "type": "object" |
591 }, | 591 }, |
592 "Official": { | 592 "Official": { |
593 "description": "Information about a official holding an elected offi
ce.", | 593 "description": "Information about a person holding an elected office
.", |
594 "id": "Official", | 594 "id": "Official", |
595 "properties": { | 595 "properties": { |
596 "address": { | 596 "address": { |
597 "description": "Addresses at which to contact the official."
, | 597 "description": "Addresses at which to contact the official."
, |
598 "items": { | 598 "items": { |
599 "$ref": "SimpleAddressType" | 599 "$ref": "SimpleAddressType" |
600 }, | 600 }, |
601 "type": "array" | 601 "type": "array" |
602 }, | 602 }, |
603 "channels": { | 603 "channels": { |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 "type": "string" | 855 "type": "string" |
856 } | 856 } |
857 }, | 857 }, |
858 "type": "object" | 858 "type": "object" |
859 } | 859 } |
860 }, | 860 }, |
861 "servicePath": "civicinfo/us_v1/", | 861 "servicePath": "civicinfo/us_v1/", |
862 "title": "Google Civic Information API", | 862 "title": "Google Civic Information API", |
863 "version": "us_v1" | 863 "version": "us_v1" |
864 } | 864 } |
OLD | NEW |