State

The State object includes state-wide election information. The ID attribute is recommended to be the state’s FIPS code, along with the prefix “st”.

Tag

Data Type

Required?

Repeats?

Description

Error Handling

ElectionAdministrationId

xs:IDREF

Optional

Single

Links to the state’s election administration object.

If the field is invalid or not present, then the implementation is required to ignore it.

ExternalIdentifiers

ExternalIdentifiers

Optional

Single

Other identifier for the state that relates to another dataset (e.g. OCD-ID).

If the element is invalid or not present, then the implementation is required to ignore it.

Name

xs:string

Required

Single

Specifiers the name of a state, such as Alabama.

If the field is invalid, then the implementation is required to ignore the State element containing it.

PollingLocationIds

xs:IDREFS

Optional

Single

Specifies a link to the state’s polling locations. If early vote centers or ballot drop locations are state-wide (e.g., anyone in the state can use them), they can be specified here, but you are encouraged to only use the Precinct element.

If the field is invalid or not present, then the implementation is required to ignore it.

 1<State id="st51">
 2   <ElectionAdministrationId>ea40133</ElectionAdministrationId>
 3   <ExternalIdentifiers>
 4     <ExternalIdentifier>
 5       <Type>ocd-id</Type>
 6       <Value>ocd-division/country:us/state:va</Value>
 7     </ExternalIdentifier>
 8   </ExternalIdentifiers>
 9   <Name>Virginia</Name>
10</State>