InternationalizedText

This data entity is used to represent multi-national text. Use when text on a ballot contains multi-national text. The IdentifierType attribute can be used to assign an identifier to the text as desired.

Values for language are from ISO 639. Some examples include:

  • en – English
  • fr – French
  • es – Spanish
  • zh – Chinese
  • ja – Japanese
  • ko – Korean

The table below describes the attributes for InternationalizedText:

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

The table below describes the elements for InternationalizedText:

Element Multiplicity Type Element Description
Text 1 or more LanguageString A string of possibly non-English text.

Text

The table below describes the attributes for Text:

Attribute Required? Type Attribute Description
language required language Identification of the language, such as 'es'.

Examples

XML

    <Party objectId="par-jubilee">
      <Abbreviation>JUBILEE</Abbreviation>
      <Color>0087dc</Color>
      <LogoUri>www.example.com/jubilee.jpg</LogoUri>
      <Name>
        <Text language="de">Jubilee Alliance</Text>
        <Text language="en">Jubilee Alliance</Text>
        <Text language="es">Alianza del Jubileo</Text>
        <Text language="hi">जुबली गठबंधन</Text>
        <Text language="pt">Aliança jubilar</Text>
      </Name>
    </Party>
    <Person objectId="par862">
      <FullName>
        <Text language="de">Ayrton Senna da Silva</Text>
        <Text language="hi">एर्टन सेना डा सिल्वा</Text>
        <Text language="ja">アイルトン・セナ</Text>
        <Text language="pt">Ayrton Senna</Text>
        <Text language="es">Ayrton Senna</Text>
      </FullName>
      <DateOfBirth>1960-01-01</DateOfBirth>
      <Gender>M</Gender>
      <LastName>Silva</LastName>
    </Person>
    <Contest objectId="cc-000" xsi:type="CandidateContest">
      <BallotSelection objectId="cs001" xsi:type="CandidateSelection">
        <CandidateIds>can001</CandidateIds>
      </BallotSelection>
      <BallotSelection objectId="cs002" xsi:type="CandidateSelection">
        <CandidateIds>can002</CandidateIds>
      </BallotSelection>
      <BallotTitle>
        <Text language="de">Sitz auf Regionalebene</Text>
        <Text language="hi">निर्वाचन क्षेत्र की सीट</Text>
        <Text language="ja">選挙区議席</Text>
        <Text language="pt">Lugar a nível destrital</Text>
        <Text language="es">Escaño a nivel de circunscripción</Text>
      </BallotTitle>
      <ElectoralDistrictId>ru_0001</ElectoralDistrictId>
      <Name>Regional seat</Name>
      <VotesAllowed>1</VotesAllowed>
    </Contest>

JSON

    "Party": {
      "objectId": "par-jubilee",
      "Abbreviation": "JUBILEE",
      "Color": "0087dc",
      "LogoUri": "www.example.com/jubilee.jpg",
      "Name": {
        "Text": [
          {
            "language": "de",
            "value": "Jubilee Alliance"
          },
          {
            "language": "en",
            "value": "Jubilee Alliance"
          },
          {
            "language": "es",
            "value": "Alianza del Jubileo"
          },
          {
            "language": "hi",
            "value": "जुबली गठबंधन"
          },
          {
            "language": "pt",
            "value": "Aliança jubilar"
          }
        ]
      }
    }
    "Person": {
      "objectId": "par862",
      "FullName": {
        "Text": [
          {
            "language": "de",
            "value": "Ayrton Senna da Silva"
          },
          {
            "language": "hi",
            "value": "एर्टन सेना डा सिल्वा"
          },
          {
            "language": "ja",
            "value": "アイルトン・セナ"
          },
          {
            "language": "pt",
            "value": "Ayrton Senna"
          },
          {
            "language": "es",
            "value": "Ayrton Senna"
          }
        ]
      },
      "DateOfBirth": "1960-01-01",
      "Gender": "M",
      "LastName": "Silva"
    }
    "Contest": [
      {
        "@type": "CandidateContest",
        "objectId": "cc-000",
        "BallotSelection": [
          {
            "@type": "CandidateSelection",
            "objectId": "cs001",
            "CandidateIds": ["can001"]
            ...
          },
          {
            "@type": "CandidateSelection",
            "objectId": "cs002",
            "CandidateIds": ["can002"]
            ...
          }
        ],
        "BallotTitle": {
          "Text": [
            {
              "value": "Sitz auf Regionalebene",
              "language": "de"
            },
            {
              "value": "निर्वाचन क्षेत्र की सीट",
              "language": "hi"
            },
            {
              "value": "選挙区議席",
              "language": "ja"
            },
            {
              "value": "Lugar a nível destrital",
              "language": "pt"
            },
            {
              "value": "Escaño a nivel de circunscripción",
              "language": "es"
            }
          ]
        },
        "ElectoralDistrictId": "ru_0001",
        "Name": "Regional seat",
        "VotesAllowed": 1
      }
    ]