precinct¶
The Precinct object represents a precinct, which is contained within a Locality. While the id attribute does not have to be static across feeds for one election, the combination of Source.VipId, Locality.Name, Precinct.Ward, Precinct.Name, and Precinct.Number should remain constant across feeds for one election (NB: not all of the fields just mentioned are required – omitting those non-required fields is fine).
Tag | Data Type | Required? | Repeats? | Description | Error Handling |
---|---|---|---|---|---|
ballot_style_id | xs:IDREF |
Optional | Single | Links to the ballot_style, which a person who lives in this precinct will vote. | If the field is invalid or not present, then the implementation is required to ignore it. |
electoral_district_ids | xs:IDREFS |
Optional | Single | Links to the :ref:`multi-csv-electoral-district`s (e.g., congressional district, state house district, school board district) to which the entire precinct/precinct split belongs. Highly Recommended if candidate information is to be provided. | If the field is invalid or not present, then the implementation is required to ignore it. |
external_identifiers | external_identifiers | Optional | Single | Other identifier for the precinct that relates 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 precinct runs mail-only elections. | If the field is missing or invalid, the implementation is required to assume IsMailOnly is false. |
locality_id | xs:IDREF |
Required | Single | Links to the locality that comprises the precinct. | If the field is invalid, then the
implementation is required to ignore the
Precinct element containing it. |
name | xs:string |
Required | Single | Specifies the precinct’s name (or number if no name exists). | If the field is invalid, then the
implementation is required to ignore the
Precinct element containing it. |
number | xs:string |
Optional | Single | Specifies the precinct’s number (e.g., 32 or 32A – alpha characters are legal). Should be used if the Name field is populated by a name and not a number. | If the field is invalid or not present, then the implementation is required to ignore it. |
polling_location_ids | xs:IDREFS |
Optional | Single | Specifies a link to the precinct’s polling_location object(s). | If the field is invalid or not present, then the implementation is required to ignore it. |
precinct_split_name | xs:string |
Optional | Single | If this field is empty, then this Precinct object represents a full precinct. If this field is present, then this Precinct object represents one portion of a split precinct. Each Precinct object that represents one portion of a split precinct must have the same Name value, but different PrecinctSplitName values. See the sample_feed.xml file for examples. | If the field is invalid or not present, then the implementation is required to ignore it. |
ward | xs:string |
Optional | Single | Specifies the ward the precinct is contained within. | If the field is invalid or not present, then the implementation is required to ignore it. |
1 2 3 4 | id,ballot_style_id,electoral_district_ids,external_identifier_type,external_identifier_othertype,external_identifier_value,is_mail_only,locality_id,name,number,polling_location_ids,precinct_split_name,ward
pre90111,bs00010,ed001,ocd-id,,ocd-division/country:us,false,loc001,203 - GEORGETOWN,0203,poll001 poll002,split13,5
pre90112,bs00011,ed002,fips,,42,false,loc001,203 - GEORGETOWN,0203,poll003,split26,6
pre90113,bs00010,ed003,,,,false,loc002,203 - GEORGETOWN,0203,poll004,split54,7
|