|
352 | 352 | }
|
353 | 353 | }
|
354 | 354 | },
|
355 |
| - "revision": "20211211", |
| 355 | + "revision": "20220412", |
356 | 356 | "rootUrl": "https://civicinfo.googleapis.com/",
|
357 | 357 | "schemas": {
|
358 | 358 | "AdministrationRegion": {
|
|
946 | 946 | "typeTransitDeparture",
|
947 | 947 | "typeTransitLeg",
|
948 | 948 | "typeTransitLine",
|
949 |
| - "typeTransitAgency", |
| 949 | + "typeTransitAgencyDeprecatedValue", |
950 | 950 | "typeTransitTransfer",
|
951 | 951 | "typeSegmentPath",
|
952 | 952 | "typeRoadSign",
|
|
1202 | 1202 | "typePhoneNumberAreaCode",
|
1203 | 1203 | "typeBusinessCorridor",
|
1204 | 1204 | "typeAddressTemplate",
|
| 1205 | + "typeTransitAgency", |
| 1206 | + "typeFutureGeometry", |
1205 | 1207 | "typeEvent",
|
1206 | 1208 | "typeEarthquake",
|
1207 | 1209 | "typeHurricane",
|
|
1315 | 1317 | "DEPRECATED",
|
1316 | 1318 | "DEPRECATED",
|
1317 | 1319 | "A transit line is a collection of transit legs, associated with some invariant properties of the trips that run over the legs. See also transitline.proto",
|
1318 |
| - "A transit agency operates a number of lines, typically all in the same city, region or country. See also transitagency.proto", |
| 1320 | + "TYPE_TRANSIT_AGENCY was moved to 0xC91. This deprecated enum value still exists for debugging purposes only.", |
1319 | 1321 | "DEPRECATED",
|
1320 | 1322 | "ABSTRACT",
|
1321 | 1323 | "Road sign features have names, point geometry, etc. They also have segment_path data (see below) which lists the segments that refer to the sign. See segment.proto for the reference from the segment to the road sign.",
|
|
1571 | 1573 | "A phone number area code is a prefix which also coincides with the area code, or national destination code, of a particular region.",
|
1572 | 1574 | "A Business Corridor is a dense cluster of semantically similar establishments. TYPE_BUSINESS_CORRIDOR features are distinguished from TYPE_COLLOQUIAL_AREA features because the corridors are not under the political hierarchy, are allowed to be nameless, and may not correspond to well-known real world locations. For more details, see go/geo-corridors-schema.",
|
1573 | 1575 | "An address template feature provides region-specific conventions for structuring addresses. These features aren't necessarily defined by physical geographic features, so they are classified as meta-features.",
|
| 1576 | + "A transit agency operates a number of lines, typically all in the same city, region or country. See also transitagency.proto", |
| 1577 | + "A feature whose geometry is planned to replace the geometry on another feature.", |
1574 | 1578 | "DEPRECATED",
|
1575 | 1579 | "DEPRECATED",
|
1576 | 1580 | "DEPRECATED",
|
|
1877 | 1881 | },
|
1878 | 1882 | "type": "object"
|
1879 | 1883 | },
|
| 1884 | + "Precinct": { |
| 1885 | + "id": "Precinct", |
| 1886 | + "properties": { |
| 1887 | + "administrationRegionId": { |
| 1888 | + "description": "ID of the AdministrationRegion message for this precinct. Corresponds to LocalityId xml tag.", |
| 1889 | + "type": "string" |
| 1890 | + }, |
| 1891 | + "contestId": { |
| 1892 | + "description": "ID(s) of the Contest message(s) for this precinct.", |
| 1893 | + "items": { |
| 1894 | + "type": "string" |
| 1895 | + }, |
| 1896 | + "type": "array" |
| 1897 | + }, |
| 1898 | + "datasetId": { |
| 1899 | + "description": "Required. Dataset ID. What datasets our Precincts come from.", |
| 1900 | + "format": "int64", |
| 1901 | + "type": "string" |
| 1902 | + }, |
| 1903 | + "earlyVoteSiteId": { |
| 1904 | + "description": "ID(s) of the PollingLocation message(s) for this precinct.", |
| 1905 | + "items": { |
| 1906 | + "type": "string" |
| 1907 | + }, |
| 1908 | + "type": "array" |
| 1909 | + }, |
| 1910 | + "electoralDistrictId": { |
| 1911 | + "description": "ID(s) of the ElectoralDistrict message(s) for this precinct.", |
| 1912 | + "items": { |
| 1913 | + "type": "string" |
| 1914 | + }, |
| 1915 | + "type": "array" |
| 1916 | + }, |
| 1917 | + "id": { |
| 1918 | + "description": "Required. A unique identifier for this precinct.", |
| 1919 | + "type": "string" |
| 1920 | + }, |
| 1921 | + "mailOnly": { |
| 1922 | + "description": "Specifies if the precinct runs mail-only elections.", |
| 1923 | + "type": "boolean" |
| 1924 | + }, |
| 1925 | + "name": { |
| 1926 | + "description": "Required. The name of the precinct.", |
| 1927 | + "type": "string" |
| 1928 | + }, |
| 1929 | + "number": { |
| 1930 | + "description": "The number of the precinct.", |
| 1931 | + "type": "string" |
| 1932 | + }, |
| 1933 | + "ocdId": { |
| 1934 | + "description": "Encouraged. The OCD ID of the precinct", |
| 1935 | + "items": { |
| 1936 | + "type": "string" |
| 1937 | + }, |
| 1938 | + "type": "array" |
| 1939 | + }, |
| 1940 | + "pollingLocationId": { |
| 1941 | + "description": "ID(s) of the PollingLocation message(s) for this precinct.", |
| 1942 | + "items": { |
| 1943 | + "type": "string" |
| 1944 | + }, |
| 1945 | + "type": "array" |
| 1946 | + }, |
| 1947 | + "spatialBoundaryId": { |
| 1948 | + "description": "ID(s) of the SpatialBoundary message(s) for this precinct. Used to specify a geometrical boundary of the precinct.", |
| 1949 | + "items": { |
| 1950 | + "type": "string" |
| 1951 | + }, |
| 1952 | + "type": "array" |
| 1953 | + }, |
| 1954 | + "splitName": { |
| 1955 | + "description": "If present, this proto corresponds to one portion of split precinct. Other portions of this precinct are guaranteed to have the same `name`. If not present, this proto represents a full precicnt.", |
| 1956 | + "type": "string" |
| 1957 | + }, |
| 1958 | + "ward": { |
| 1959 | + "description": "Specifies the ward the precinct is contained within.", |
| 1960 | + "type": "string" |
| 1961 | + } |
| 1962 | + }, |
| 1963 | + "type": "object" |
| 1964 | + }, |
1880 | 1965 | "RepresentativeInfoData": {
|
1881 | 1966 | "id": "RepresentativeInfoData",
|
1882 | 1967 | "properties": {
|
|
2050 | 2135 | "precinctId": {
|
2051 | 2136 | "type": "string"
|
2052 | 2137 | },
|
| 2138 | + "precincts": { |
| 2139 | + "description": "The precincts that match this voter's address. Will only be returned for project IDs which have been whitelisted as \"partner projects\".", |
| 2140 | + "items": { |
| 2141 | + "$ref": "Precinct" |
| 2142 | + }, |
| 2143 | + "type": "array" |
| 2144 | + }, |
2053 | 2145 | "state": {
|
2054 | 2146 | "description": "Local Election Information for the state that the voter votes in. For the US, there will only be one element in this array.",
|
2055 | 2147 | "items": {
|
|
0 commit comments