ElectoralDistrict

The ElectoralDistrict object represents the geographic area in which contests are held. Examples of ElectoralDistrict include: “the state of Maryland”, “Virginia’s 5th Congressional District”, or “Union School District”. The geographic area that comprises a ElectoralDistrict is defined by which precincts link to the ElectoralDistrict.

Tag Data Type Required? Repeats? Description Error Handling
ExternalIdentifiers ExternalIdentifiers Optional Single Other identifiers that link to external datasets (e.g. OCD-IDs) If the element is invalid or not present, then the implementation is required to ignore it.
Name xs:string Required Single Specifies the electoral area’s name. If the field is invalid or not present, then the implementation is required to ignore the ElectoralDistrict object containing it.
Number xs:integer Optional Single Specifies the district number of the district (e.g. 34, in the case of the 34th State Senate District). If a number is not applicable, instead of leaving the field blank, leave this field out of the object; empty strings are not valid for xs:integer fields. If the field is invalid or not present, then the implementation is required to ignore it.
Type DistrictType Required Single Specifies the type of electoral area. If the field is invalid or not present, then the implementation is required to ignore the ElectoralDistrict object containing it.
OtherType xs:string Optional Single Allows for cataloging a new DistrictType option when Type is specified as “other”. 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
11
12
13
14
<ElectoralDistrict id="ed60129">
   <ExternalIdentifiers>
     <ExternalIdentifier>
       <Type>ocd-id</Type>
       <Value>ocd-division/country:us/state:va</Value>
     </ExternalIdentifier>
     <ExternalIdentifier>
       <Type>fips</Type>
       <Value>51</Value>
     </ExternalIdentifier>
   </ExternalIdentifiers>
   <Name>Commonwealth of Virginia</Name>
   <Type>state</Type>
</ElectoralDistrict>