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)

Name

xs:string

Required

Single

Specifies the electoral area’s name.

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.

Type

DistrictType

Required

Single

Specifies the type of electoral area.

OtherType

xs:string

Optional

Single

Allows for cataloging a new DistrictType option when Type is specified as “other”.

 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>