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é pour une unité de reporting. L'élément ElectionReport inclut PersonCollection, qui contient l'ensemble des objets Person de ce flux. Ces Person objets 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 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 des coordonnées à la personne.

Cela doit inclure un URI annoté qui est annoté avec wikipedia et spécifie la page Wikipédia canonique de la personne, le cas échéant. Fournissez également tous les autres URI ou sites Web de réseaux sociaux personnels connus. Ces informations doivent concerner la personne en particulier, et non son bureau ou son service.

DateOfBirth 0 ou 1 PartialDate Date de naissance de la personne.
ExternalIdentifiers 1 ExternalIdentifiers Associe un ID à 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 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
ImageUri 0 ou plus AnnotatedUri URI qui fournit un lien direct vers une image de la personne. L'image doit être concédée sous licence pour être utilisée par des tiers.
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 Surnom associé à la personne si elle a un alias connu.
PartyId 1 ou plus IDREF Identifiant unique d'un Party élément. Associe un parti politique à la personne. Fournissez le objectId du Party auquel cette personne est associée.
Prefix 0 ou 1 string Préfixe associé à la personne, tel que M. ou Dr.
Profession 0 ou 1 InternationalizedText Profession de la personne.
Suffix 0 ou 1 string Suffixe associé à la personne, tel que 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"]
      }
    ]