Osoba

Użyj jednostki Person, aby zdefiniować informacje o osobie. Może to być kandydat, urzędnik wyborczy lub organ jednostki raportowania. Element ElectionReport zawiera element PersonCollection, który zawiera pełny zestaw obiektów Person w tym pliku danych. Te obiekty Person są używane w CandidateGpUnit. PersonCollection opcjonalnie zawiera ContactInformation, aby powiązać informacje kontaktowe.

Atrybuty

W tabeli poniżej opisano atrybuty elementu Person:

Atrybut Wymagany? Typ Opis
objectId Wymagane ID Unikalny identyfikator wewnętrzny używany przez inne elementy do odwoływania się do tego elementu.

Elementy

W tabeli poniżej opisano elementy Person:

Element Mnogość Typ Opis
ContactInformation 0 lub więcej ContactInformation

Powiąż informacje kontaktowe z osobą.

Musi on zawierać adnotowany identyfikator URI z adnotacją wikipedia, który określa kanoniczną stronę Wikipedii poświęconą danej osobie (jeśli taka strona istnieje). Podaj też inne znane osobiste identyfikatory URI mediów społecznościowych lub adresy witryn. Te informacje muszą dotyczyć konkretnej osoby, a nie jej biura lub działu.

Jeśli dodasz zdjęcie osoby, dodaj do identyfikatora URI adnotację candidate-image.

DateOfBirth 0 lub 1 PartialDate datę urodzenia danej osoby;
ExternalIdentifiers 1 ExternalIdentifiers przypisuje identyfikator do osoby; Wymagany jest stabilny identyfikator.
FirstName 0 lub 1 string Imię osoby.
FullName 1 InternationalizedText Imię i nazwisko osoby. Szczegółowe informacje o tym, jak obsługiwać pełne imiona i nazwiska w wielu językach, znajdziesz w artykule Treści w języku lokalnym.
Gender 0 lub 1 string

Płeć osoby. Dostępne wartości elementu Gender:

  • Dla mężczyzn: m, male lub man
  • Dla kobiet: f, female lub woman
  • Inna płeć: o, x, other lub nonbinary
ImageUri 0 lub więcej AnnotatedUri Identyfikator URI, który zawiera bezpośredni link do zdjęcia osoby. Obraz musi być licencjonowany do użytku przez osoby trzecie.
LastName 0 lub 1 string Nazwisko osoby.
MiddleName 0 lub więcej string Drugie imię osoby.
Nickname 0 lub 1 string Pseudonim powiązany z osobą, jeśli ma ona powszechnie znany alias.
PartyId 1 lub więcej IDREF Unikalny identyfikator elementu Party. powiązać osobę z partią polityczną; Podaj objectId Party, z którym ta osoba jest powiązana.
Prefix 0 lub 1 string Prefiks związany z osobą, np.Pan lub Dr.
Profession 0 lub 1 InternationalizedText Zawód danej osoby.
Suffix 0 lub 1 string sufiks powiązany z osobą, np. Jr..
Title 0 lub 1 InternationalizedText tytuł powiązany z osobą,

Przykłady

XML

    <Person objectId="P12321">
      <ContactInformation>
        <Uri Annotation="candidate-image">https://example.come/candidates/ayron-silva.jpg</Uri>
        <Uri Annotation="official-facebook">https://fb.com/ayronsilvasample/</Uri>
        <Uri Annotation="official-instagram">https://www.instagram.com/ayron_silva_sample/</Uri>
        <Uri Annotation="official-twitter">https://twitter.com/ayronsilvasample</Uri>
        <Uri Annotation="official-website">https://ayron-silva-sample.com/</Uri>
        <Uri Annotation="official-youtube">https://www.youtube.com/user/ayron831/featured</Uri>
        <Uri Annotation="wikipedia">https://en.wikipedia.org/wiki/Ayron-Silva-Sample</Uri>
        <Uri Annotation="wikipedia">https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87</Uri>
        <Uri Annotation="campaign">https://ayronsilvacampaign.com</Uri>
      </ContactInformation>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>stable-pers-P12321</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
      <FullName>
        <Text language="pt">Ayrton Silva</Text>
        <Text language="en">Ayrton Silva</Text>
        <Text language="hi">एर्टन सेना</Text>
        <Text language="ja">アイルトン・シルバ</Text>
      </FullName>
      <DateOfBirth>1960-01-01</DateOfBirth>
      <Gender>M</Gender>
      <LastName>Silva</LastName>
      <PartyId>par-dpp</PartyId>
      <PartyId>par-exp</PartyId>
    </Person>

JSON

    "Person": [
      {
        "objectId": "P12321",
        "ContactInformation": {
          "Uri": [
            "Annotation": "candidate-image"
            "value": "https://example.come/candidates/ayron-silva.jpg"
          ],
          "Uri": [
            "Annotation": "official-facebook"
            "value": "https://fb.com/ayronsilvasample/"
          ]
          "Uri": [
            "Annotation": "official-instagram"
            "value": "https://www.instagram.com/ayron_silva_sample"
          ]
          "Uri": [
            "Annotation": "official-twitter"
            "value": "https://twitter.com/ayronsilvasample"
          ]
          "Uri": [
            "Annotation": "official-website"
            "value": "https://ayron-silva-sample.com/"
          ]
          "Uri": [
            "Annotation": "official-youtube"
            "value": "https://www.youtube.com/user/ayron831/featured"
          ]
          "Uri": [
            "Annotation": "wikipedia"
            "value": "https://en.wikipedia.org/wiki/Ayron-Silva-Sample"
          ]
          "Uri": [
            "Annotation": "wikipedia"
            "value": "https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87"
          ],
          "Uri": [
            "Annotation": "campaign"
            "value": "https://ayronsilvacampaign.com"
          ]
        }
        "ExternalIdentifiers": {
          "ExternalIdentifier" : [
            {
              "Type": "other",
              "OtherType": "stable",
              "Value": "stable-pers-P12321"
            }
          ]
        }
        "FullName": {
          "Text": [
            {
              "value": "Ayrton Silva",
              "language": "pt"
            },
            {
              "value": "Ayrton Silva",
              "language": "en"
            },
            {
              "value": "एर्टन सेना",
              "language": "hi"
            },
            {
              "value": "アイルトン・シルバ",
              "language": "ja"
            }
          ]
        },
        "DateOfBirth": "1960-01-01",
        "Gender": "M",
        "LastName": "Silva"
        "PartyId": ["par-dpp","par-exp"]
      }
    ]