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.

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

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.

IsDropBox

xs:boolean

Optional

Single

Indicates if this polling location is a drop box.

IsEarlyVoting

xs:boolean

Optional

Single

Indicates if this polling location is an early vote site.

LatLng

LatLng

Optional

Single

Specifies the latitude and longitude of this polling location.

Name

xs:string

Optional

Single

Name of the polling location.

PhotoUri

xs:anyURI

Optional

Single

Contains a link to an image of the polling location.

 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.

Longitude

xs:double

Required

Single

The longitude of the polling location.

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.

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.

Line2

xs:string

Optional

Single

Additional field for an address

Line3

xs:string

Optional

Single

Additional field for an address

City

xs:string

Required

Single

The City value of a structured address.

State

xs:string

Required

Single

The State value of a structured address.

Zip

xs:string

Optional

Single

The ZIP code of a structured address.