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 |
|
Optional |
Single |
Links to the state’s election administration object. |
|
ExternalIdentifiers |
Optional |
Single |
Other identifier for the state that relates to another dataset (e.g. OCD-ID). |
||
Name |
|
Required |
Single |
Specifiers the name of a state, such as Alabama. |
|
PollingLocationIds |
|
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. |
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>