locality¶
The Locality object represents the jurisdiction below the state (e.g. county).
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
election_administration_id | xs:IDREF |
Optional | Single | Links to the locality’s election_administration object. | If the field is invalid or not present, then the implementation is required to ignore it. |
external_identifiers | external_identifiers | Optional | Single | Another identifier for a locality that links to another dataset (e.g. `OCD-ID`_) | If the element is invalid or not present, then the implementation is required to ignore it. |
is_mail_only | xs:boolean |
Optional | Single | Determines if the locality runs mail-only elections. If this is true, then all precincts a part of the locality will also run mail-only elections. Drop boxes may be used in addition to this flag using a polling location record configured as a Drop Box. | If the field is missing or invalid, the implementation is required to assume IsMailOnly is false. |
name | xs:string |
Required | Single | Specifies the name of a locality. | If the field is invalid, then the
implementation is required to ignore the
Locality element containing it. |
polling_location_ids | xs:IDREFS |
Optional | Single | Specifies a link to a set of the locality’s :ref:`polling locations <multi-csv-polling-location>`s. If early vote centers or ballot drop locations are locality-wide, they should be specified here. | If the field is invalid or not present, the implementation is required to ignore it. However, the implementation should still check to see if there are any polling locations associated with this locality’s state. |
state_id | xs:IDREF |
Required | Single | References the locality’s state. | If the field is invalid, then the
implementation is required to ignore the
Locality element containing it. |
type | district_type | Optional | Single | Defines the kind of locality (e.g. county, town, et al.), which is one of the various DistrictType enumerations. | If the field is invalid or not present, then the implementation is required to ignore it. |
other_type | xs:string |
Optional | Single | Allows for defining a type of locality that falls outside the options listed in DistrictType. | If the field is invalid or not present, then the implementation is required to ignore it. |
1 2 3 | id,election_administration_id,external_identifier_type,external_identifier_othertype,external_identifier_value,is_mail_only,name,polling_location_ids,state_id,type,other_type
loc001,ea123,ocd-id,,ocd-division/country:us/state:co/county:denver,true,Locality #1,poll001 poll002,st51,city,
loc002,ea345,,,,,Locality #2,,st51,other,unique type
|