Office

Use this data entity for defining an office and information associated with a contest.

The table below describes the attributes for Office:

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

The table below describes the elements for Office:

Element Multiplicity Type Description
ContactInformation 0 or 1 ContactInformation For associating various contact information with the office.
ElectoralDistrictId 0 or 1 IDREF Unique identifier for a GpUnit element. For associating the office with a reporting unit that represents the geographical scope of the contest, for example, a district, etc.
ExternalIdentifiers 0 or 1 ExternalIdentifiers For associating an ID with the office.
FilingDeadline 0 or 1 date Date when a candidate must have filed for the contest for the office.
Name 1 InternationalizedText Name of the office; can appear on the ballot.
OfficeHolderPersonIds 0 or 1 IDREFS Unique identifier for one or more Candidate elements defined for the office holder.
Term 0 or 1 For including office term-related information.

The table below describes the attributes for Term:

Attribute Required? Type Description
label optional string For use as needed.

The table below describes the elements for Term:

Element Multiplicity Type Description
StartDate 0 or 1 date Start date for the current term of the office.
EndDate 0 or 1 date End date for the current term of the office.
Type 0 or 1 OfficeTermType Enumerated type of term, for example, full-term, unexpired-term, etc.

Examples

XML

    <Office objectId="off1001a">
      <ElectoralDistrictId>ru-1001</ElectoralDistrictId>
      <IsPartisan>false</IsPartisan>
      <Name>
        <Text language="en">President</Text>
        <Text language="hi">अध्यक्ष</Text>
        <Text language="fr">Président</Text>
        <Text language="es">Presidente</Text>
        <Text language="pt">Presidente</Text>
        <Text language="id">Presiden</Text>
      </Name>
      <OfficeHolderPersonIds>per001a</OfficeHolderPersonIds>
      <Term>
        <Type>full-term</Type>
      </Term>
    </Office>
    <Office objectId="off1001b">
      <ElectoralDistrictId>ru-1001</ElectoralDistrictId>
      <FilingDeadline>2013-01-01</FilingDeadline>
      <IsPartisan>false</IsPartisan>
      <Name>
        <Text language="en">Vice president</Text>
        <Text language="hi">उपाध्यक्ष</Text>
        <Text language="fr">Vice président</Text>
        <Text language="es">Vicepresidente</Text>
        <Text language="pt">Vice presidente</Text>
        <Text language="id">Wakil presiden</Text>
      </Name>
      <Term>
        <Type>full-term</Type>
      </Term>
    </Office>

JSON

    "Office": [
      {
        "objectId": "off1001a",
        "ElectoralDistrictId": "ru-1001",
        "IsPartisan": false,
        "Name": {
          "Text": [
            {
              "value": "President",
              "language": "en"
            },
            {
              "value": "अध्यक्ष",
              "language": "in"
            },
            {
              "value": "Président",
              "language": "fr"
            },
            {
              "value": "Presidente",
              "language": "es"
            },
            {
              "value": "Presidente",
              "language": "pt"
            },
            {
              "value": "Presiden",
              "language": "id"
            }
          ]
        },
        "OfficeHolderPersonIds": ["per001a"],
        "Term": {
          "Type": "full-term"
        }
      },
      {
        "objectId": "off1001b",
        "ElectoralDistrictId": "ru-1001",
        "IsPartisan": false,
        "FilingDeadline": "2013-01-01",
        "Name": {
          "Text": [
            {
              "value": "Vice president",
              "language": "en"
            },
            {
              "value": "उपाध्यक्ष",
              "language": "in"
            },
            {
              "value": "Vice président",
              "language": "fr"
            },
            {
              "value": "Vicepresidente",
              "language": "es"
            },
            {
              "value": "Vice presidente",
              "language": "pt"
            },
            {
              "value": "Wakil presiden",
              "language": "id"
            }
          ]
        },
        "Term": {
          "Type": "full-term"
        }
      }
    ]