party.txt

This file describes political parties and the metadata associated with them.

Tag Data Type Required? Repeats? Description Error Handling
Abbreviation xs:string Optional Single An abbreviation for the party name. If the field is invalid or not present, then the implementation is required to ignore it.
Color HtmlColorString Optional Single The preferred display color for the party, for use in maps and other displays. If the element is invalid or not present, then the implementation is required to ignore it.
ExternalIdentifiers ExternalIdentifiers Optional Single Other identifiers that link this party to other related data sets (e.g. a campaign finance system, etc). If the element is invalid or not present, then the implementation is required to ignore it.
IsWriteIn xs:boolean Optional Single Signals if this political party is one that is officially recognized by a local, state, or federal organization, or is a “write-in” in jurisdictions which allow candidates to free-form enter their political affiliation. If this field is not present then it is assumed to be false. If the field is invalid or not present, then the implementation is required to ignore it.
LogoUri xs:anyURI Optional Single Web address of a logo to use in displays. If the field is invalid or not present, then the implementation is required to ignore it.
Name InternationalizedText Optional Single The name of the party. If the element is invalid or not present, then the implementation is required to ignore it.

HtmlColorString

A restricted string pattern for a six-character hex code representing an HTML color string. The pattern is:

[0-9a-f]{6}

1
2
abbreviation,color,external_identifiers,logo_uri,name,id
REP,e91d0e,,,Republican,par0001