Person

Utilisez l'entité Person pour définir des informations sur une personne. La personne peut être un candidat, un représentant électoral ou une autorité pour une unité de signalement. L'élément ElectionReport inclut PersonCollection, qui contient l'ensemble complet des objets Person de ce flux. Ces objets Person sont référencés dans Candidate et GpUnit. Un élément PersonCollection inclut éventuellement ContactInformation pour associer des coordonnées.

Attributs

Le tableau suivant décrit les attributs de l'élément Person:

Attribut Requis ? Type Description
objectId Obligatoire ID Identifiant interne unique utilisé par d'autres éléments pour référencer cet élément.

Éléments

Le tableau suivant décrit les éléments de Person:

Élément Multiplicité Type Description
ContactInformation 0 ou plus ContactInformation

Associe des coordonnées à la personne.

Elle doit inclure un URI annoté annoté avec wikipedia et indiquant la page Wikipédia canonique de la personne, le cas échéant. Indiquez également tout autre URI ou site Web personnel connu de réseaux sociaux. Ces informations doivent être spécifiques à cette personne, et non à son bureau ou à son service.

Si vous incluez une image de la personne, annotez l'URI avec l'annotation candidate-image.

DateOfBirth 0 ou 1 PartialDate Date de naissance de la personne.
ExternalIdentifiers 1 ExternalIdentifiers Associe un identifiant à la personne. Un identifiant stable est requis.
FirstName 0 ou 1 string Prénom de la personne.
FullName 1 InternationalizedText Nom complet de la personne. Pour plus d'informations sur la gestion des noms complets dans plusieurs langues, consultez la section Contenu en langue locale.
Gender 0 ou 1 string

Genre de la personne. Les valeurs suivantes sont disponibles pour Gender:

  • Pour les hommes: m, male ou man
  • Pour les femmes: f, female ou woman
  • Pour tout autre genre: o, x, other ou nonbinary
LastName 0 ou 1 string Nom (de famille) de la personne
MiddleName 0 ou plus string Deuxième prénom de la personne.
Nickname 0 ou 1 string Pseudo associé à la personne si elle possède un alias communément connu.
PartyId 1 IDREF Identifiant unique d'un élément Party. Associe un parti politique à la personne. Indiquez l'objectId du Party auquel cette personne est associée.
Prefix 0 ou 1 string Un préfixe associé à la personne, tel que M. ou Dr
Profession 0 ou 1 InternationalizedText Profession de la personne.
Suffix 0 ou 1 string Un suffixe associé à la personne, tel que Jr.
Title 0 ou 1 InternationalizedText Fonction associée à la personne.

Exemples

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>
    </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"
      }
    ]