Person

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

Attributs

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

Attribut Obligatoire ? Type Description
objectId Obligatoire ID Identifiant interne unique utilisé par d'autres éléments pour faire référence à 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 les coordonnées à la personne.

Il doit inclure un URI annoté annoté avec wikipedia et spécifiant la page Wikipédia canonique de la personne, le cas échéant. Indiquez également tous les autres URI ou sites Web de réseaux sociaux personnels connus. Ces informations doivent concerner cette personne en particulier, 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 savoir comment gérer les noms complets dans plusieurs langues, consultez la section Contenu dans la 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 Prénom intermédiaire de la personne.
Nickname 0 ou 1 string Pseudonyme associé à la personne si elle possède un alias communément connu.
PartyId 1 ou plus IDREF Identifiant unique d'un élément Party. Associe un parti politique à la personne. Indiquez le objectId de l'Party auquel cette personne est associée.
Prefix 0 ou 1 string Préfixe associé à la personne, comme M. ou Dr.
Profession 0 ou 1 InternationalizedText Profession de la personne
Suffix 0 ou 1 string un suffixe associé à la personne, comme Jr. ;
Title 0 ou 1 InternationalizedText Titre associé à 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>
      <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"]
      }
    ]