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<ElectoralDistrict id="ed60129">
 2   <ExternalIdentifiers>
 3     <ExternalIdentifier>
 4       <Type>ocd-id</Type>
 5       <Value>ocd-division/country:us/state:va</Value>
 6     </ExternalIdentifier>
 7     <ExternalIdentifier>
 8       <Type>fips</Type>
 9       <Value>51</Value>
10     </ExternalIdentifier>
11   </ExternalIdentifiers>
12   <Name>Commonwealth of Virginia</Name>
13   <Type>state</Type>
14</ElectoralDistrict>