Party

Use this entity to describe a political party that can then be referenced from other entities.

The table below shows the attributes for Party:

Attribute Required? Type Description
objectId required ID Unique internal identifier used by other elements to reference this element.

The table below shows the elements for Party:

Element Multiplicity Type Description
Abbreviation 0 or 1 string Short name for the party, for example, "DEM".
Color 0 or 1 HTMLColorString For associating an HTML RGB color coding with the party.
ExternalIdentifiers 0 or 1 ExternalIdentifiers For associating an ID with the party.
LogoUri 0 or 1 anyUri A URI to the party's graphical logo.
Name 1 InternationalizedText Official full name of the party. Can appear on the ballot.

Examples

XML

    <Party objectId="par0004">
      <Abbreviation>IND</Abbreviation>
      <Name>
        <Text language="de">unabhängig</Text>
        <Text language="en">Independent</Text>
        <Text language="es">Independiente</Text>
        <Text language="fr">Indépendant</Text>
        <Text language="hi">स्वतंत्र</Text>
        <Text language="pt">Independente</Text>
      </Name>
    </Party>
    <Party objectId="par-jubilee">
      <Abbreviation>JUBILEE</Abbreviation>
      <Color>0087dc</Color>
      <LogoUri>www.example.com/jubilee.jpg</LogoUri>
      <Name>
        <Text language="de">Jubiläumsallianz</Text>
        <Text language="en">Jubilee Alliance</Text>
        <Text language="es">Alianza del Jubileo</Text>
        <Text language="fr">Jubilee Alliance</Text>
        <Text language="hi">जुबली एलायंस</Text>
        <Text language="pt">Aliança jubilar</Text>
      </Name>
    </Party>

JSON

    "Party": [
      {
        "objectId": "par0004",
        "Abbreviation": "IND",
        "Name": {
          "Text": [
            {
              "value": "unabhängig",
              "language": "de"
            },
            {
              "value": "Independent",
              "language": "en"
            },
            {
              "value": "Independiente",
              "language": "es"
            },
            {
              "value": "Indépendant",
              "language": "fr"
            },
            {
              "value": "स्वतंत्र",
              "language": "hi"
            },
            {
              "value": "Independente",
              "language": "pt"
            }
          ]
        }
      }
    ]
    "Party": [
      {
        "objectId": "par-jubilee",
        "Abbreviation": "JUBILEE",
        "Color": "0087dc",
        "LogoUri": "www.example.com/jubilee.jpg",
        "Name": {
          "Text": [
            {
              "value": "Jubiläumsallianz",
              "language": "de"
            },
            {
              "value": "Jubilee Alliance",
              "language": "en"
            },
            {
              "value": "Alianza del Jubileo",
              "language": "es"
            },
            {
              "value": "Jubilee Alliance",
              "language": "fr"
            },
            {
              "value": "जुबली एलायंस",
              "language": "hi"
            },
            {
              "value": "Aliança jubilar",
              "language": "pt"
            }
          ]
        }
      }
    ]

Coalition

For defining a coalition, such as a collection of parties, organized for the purpose of endorsing a candidates in a contest. It inherits the attributes and elements of Party.

Coalition elements are created by defining Party elements from ElectionReport, but using the above syntax (thus, coalition elements can be referenced via any references to Party included in other elements, for example, Candidate or CandidateSelection. Coalition elements themselves are composed of multiple Party references along with a reference to an associated contest or contests.

If ContestIds is not present, a general default is that the coalition endorses the associated parties.

The table below describes the elements of Coalition:

Element Multiplicity Type Description
ContestIds 0 or 1 IDREFS Unique identifier for one or more Contest elements. For associating contests with the coalition.
PartyIds 0 or 1 IDREFS Unique identifier for one or more Party elements. For associating parties with the coalition.

Its XML syntax is: <Party xsi:type="Coalition" ... />

Examples

XML

    <Party xsi:type="Coalition" objectId="coa102abc">
      <Name>
        <Text language="de">Orange Koalition</Text>
        <Text language="en">Orange Coalition</Text>
        <Text language="es">Coalición de Orange</Text>
        <Text language="hi">ऑरेंज कोयलाशन</Text>
        <Text language="id">Koalisi Orange</Text>
      </Name>
      <ContestIds>cc2930ab</ContestIds>
      <PartyIds>par493 par494 par495</PartyIds>
    </Party>

JSON

    "Party": [
      { "@type": "Coalition",
        "objectId": "coa102abc",
        "Name": {
          "Text": [
            {
              "value": "Orange Koalition",
              "language": "de"
            },
            {
              "value": "Orange Coalition",
              "language": "en"
            },
            {
              "value": "Coalición de Orange",
              "language": "es"
            },
            {
              "value": "ऑरेंज कोयलाशन",
              "language": "hi"
            },
            {
              "value": "Koalisi Orange",
              "language": "id"
            }
          ]
        },
        "ContestIds": ["cc2930ab"],
        "PartyIds": ["par493", "par494", "par495"]
      }
    ]