PollingLocation

The PollingLocation object represents a site where voters cast or drop off ballots.

Tag Data Type Required? Repeats? Description Error Handling
AddressStructured SimpleAddressType 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.
AddressLine 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 InternationalizedText 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 [deprecated] InternationalizedText 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 HoursOpen 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.
HoursOpenId xs:IDREF Optional Single Links to an HoursOpen 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.
IsDropBox 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.
IsEarlyVoting 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.
LatLng LatLng 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.
PhotoUri xs:anyURI 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
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<PollingLocation id="pl00000">
   <AddressLine>2775 Hydraulic Rd Charlottesville, VA 22901</AddressLine>
   <HoursOpenId>hours0002</HoursOpenId>
   <IsDropBox>true</IsDropBox>
   <IsEarlyVoting>true</IsEarlyVoting>
   <LatLng>
      <Latitude>38.009939</Latitude>
      <Longitude>-78.506204</Longitude>
   </LatLng>
   <Name>ALBERMARLE HIGH SCHOOL</Name>
</PollingLocation>
<!-- Or: -->
<PollingLocation id="pl00000">
   <AddressStructured>
      <Line1>2775 Hydraulic Rd</Line1>
      <City>CHARLOTTESVILLE</City>
      <State>VA</State>
      <Zip>22901</Zip>
   </AddressStructured>
   <HoursOpenId>hours0002</HoursOpenId>
   <IsDropBox>true</IsDropBox>
   <IsEarlyVoting>true</IsEarlyVoting>
   <LatLng>
      <Latitude>38.009939</Latitude>
      <Longitude>-78.506204</Longitude>
   </LatLng>
   <Name>ALBERMARLE HIGH SCHOOL</Name>
</PollingLocation>

LatLng

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.
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.

SimpleAddressType

A SimpleAddressType represents a structured address.

Tag Data Type Required? Repeats? Description Error Handling
Line1 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.
Line2 xs:string Optional Single Additional field for an address If no Line2 is provided, the implementation should ignore it.
Line3 xs:string Optional Single Additional field for an address If no Line3 is provided, the implementation should ignore it.
City xs:string Required Single The City value of a structured address. If City is not provided, the implementation should ignore the SimpleAddressType.
State xs:string Required Single The State value of a structured address. If State is not provided, the implementation should ignore the SimpleAddressType.
Zip xs:string Optional Single The ZIP code of a structured address. If Zip is not provided, the implementation should ignore the SimpleAddressType.