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