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<PollingLocation id="pl00000">
 2   <AddressLine>2775 Hydraulic Rd Charlottesville, VA 22901</AddressLine>
 3   <HoursOpenId>hours0002</HoursOpenId>
 4   <IsDropBox>true</IsDropBox>
 5   <IsEarlyVoting>true</IsEarlyVoting>
 6   <LatLng>
 7      <Latitude>38.009939</Latitude>
 8      <Longitude>-78.506204</Longitude>
 9   </LatLng>
10   <Name>ALBERMARLE HIGH SCHOOL</Name>
11</PollingLocation>
12<!-- Or: -->
13<PollingLocation id="pl00000">
14   <AddressStructured>
15      <Line1>2775 Hydraulic Rd</Line1>
16      <City>CHARLOTTESVILLE</City>
17      <State>VA</State>
18      <Zip>22901</Zip>
19   </AddressStructured>
20   <HoursOpenId>hours0002</HoursOpenId>
21   <IsDropBox>true</IsDropBox>
22   <IsEarlyVoting>true</IsEarlyVoting>
23   <LatLng>
24      <Latitude>38.009939</Latitude>
25      <Longitude>-78.506204</Longitude>
26   </LatLng>
27   <Name>ALBERMARLE HIGH SCHOOL</Name>
28</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.