polling_location¶
The PollingLocation object represents a site where voters cast or drop off ballots.
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
simple_address_type | simple-address-type |
Optional | Single | Represents the various structured parts of an address to a polling location. | One of AddressStructured and
AddressLine should be present for a
given Polling Location. If none is
present, the implementation is required
to ignore the PollingLocation
element containing it. |
address_line | xs:string |
Optional | Repeats | Represents the various parts of an address to a polling location. | One of AddressStructured and AddressLine
should be present for a given Polling
Location. If none is present, the
implementation is required to ignore the
PollingLocation element containing
it. |
directions | xs:string |
Optional | Single | Specifies further instructions for locating the polling location. | If the element is invalid or not present, then the implementation is required to ignore it. |
hours | xs:string |
Optional | Single | Contains the hours (in local time) that the polling location is open (NB: this element is deprecated in favor of the more structured hours_open element. It is strongly encouraged that data providers move toward contributing hours in this format). | If the element is invalid or not present, then the implementation is required to ignore it. |
hours_open_id | xs:IDREF |
Optional | Single | Links to an hours_open element, which is a schedule of dates and hours during which the polling location is available. | If the field is invalid or not present, then the implementation is required to ignore it. |
is_drop_box | xs:boolean |
Optional | Single | Indicates if this polling location is a drop box. | If the field is invalid or not present, then the implementation is required to ignore it. |
is_early_voting | xs:boolean |
Optional | Single | Indicates if this polling location is an early vote site. | If the field is invalid or not present, then the implementation is required to ignore it. |
lat_lng | lat_long | Optional | Single | Specifies the latitude and longitude of this polling location. | If the element is invalid or not present, then the implementation is required to ignore it. |
name | xs:string |
Optional | Single | Name of the polling location. | If the field is invalid or not present, then the implementation is required to ignore it. |
photo_uri | xs:string |
Optional | Single | Contains a link to an image of the polling location. | If the field is invalid or not present, then the implementation is required to ignore it. |
1 2 3 | id,name,address_line,structured_line_1,structured_city,structured_state,structured_zip,directions,hours,photo_uri,hours_open_id,is_drop_box,is_early_voting,latitude,longitude,latlng_source
poll001,ALBERMARLE HIGH SCHOOL,,2775 Hydraulic Rd,Charlottesville,VA,22901,Use back door,7am-8pm,www.picture.com,ho001,false,true,38.0754627,78.5014875,Google Maps
poll002,Public Library,Main St Denver CO,,,,,,next to the checkout counter,7am-8pm,www.picture.com,,false,true,38.0754627,78.5014875,Google Maps
|
lat_long¶
The latitude and longitude of a polling location in `WGS 84`_ format. Both latitude and longitude values are measured in decimal degrees.
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
latitude | xs:double |
Required | Single | The latitude of the polling location. | If the field is invalid, then the implementation is required to ignore it. |
longitude | xs:double |
Required | Single | The longitude of the polling location. | If the field is invalid, then the implementation is required to ignore it. |
latlng_source | xs:string |
Optional | Single | The system used to perform the lookup from location name to lat/lng. For example, this could be the name of a geocoding service. | If the field is invalid or not present, then the implementation is required to ignore it. |
simple_address_type¶
A SimpleAddressType
represents a structured address.
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
structured_line_1 | xs:string |
Required | Single | The address line for a structured address. Should include the street number, street name, and any prefix and suffix. | If no Line1 is provided, the
implementation should ignore the
SimpleAddressType . |
structured_line_2 | xs:string |
Optional | Single | Additional field for an address | If no Line2 is provided, the
implementation should ignore it. |
structured_line_3 | xs:string |
Optional | Single | Additional field for an address | If no Line3 is provided, the
implementation should ignore it. |
structured_city | xs:string |
Required | Single | The City value of a structured address. | If City is not provided, the
implementation should ignore the
SimpleAddressType . |
structured_state | xs:string |
Required | Single | The State value of a structured address. | If State is not provided, the
implementation should ignore the
SimpleAddressType . |
structured_zip | xs:string |
Optional | Single | The ZIP code of a structured address. | If Zip is not provided, the
implementation should ignore the
SimpleAddressType . |