Utilisez ContactInformation
pour définir des coordonnées sur des objets tels que
de personnes, de comités d'autorité et d'organisations.
Cette entité est principalement utilisée
pour fournir des URI annotés qui sont
en lien avec les éléments suivants: Election
,
ElectionAdministration
,
Person
, GpUnit
,
et Office
.
Attributs
Le tableau suivant présente les attributs de ContactInformation
:
Attribut | Requis ? | Type | Description |
---|---|---|---|
label |
Facultatif | string |
Attribut facultatif des coordonnées pouvant faire référence à
l'étiquette d'origine
pour les informations. Par exemple, si le contact
informations provenant d'un fichier CSV, label peut faire référence à une ligne
ID. |
language |
Facultatif | language |
Identifie la langue dans laquelle les coordonnées sont fournies. |
Éléments
Le tableau suivant présente les éléments pour ContactInformation
:
Élément | Multiplicité | Type | Description |
---|---|---|---|
AddressLine
|
0 ou plus | string |
Associe une adresse au contact. Pour inclure une adresse au contact, utilisez plusieurs occurrences de
|
Directions
|
0 ou 1 | InternationalizedText |
Fournit des informations directionnelles en plus des informations sur l'adresse. Les itinéraires peuvent être utilisés pour fournir des informations supplémentaires des informations qui peuvent apparaître dans plusieurs langues. |
Email |
0 ou plus | AnnotatedString |
Associe une adresse e-mail au contact. Si plusieurs
Le champ Email est présent. Incluez des annotations pour permettre aux utilisateurs
connaître le but
de chacun d’eux. |
Fax |
0 ou plus | AnnotatedString |
Associe un numéro de fax au contact. Si plusieurs
Le champ Fax est présent. Ajoutez des annotations pour en informer les utilisateurs.
les objectifs de chacune. |
LatLng
|
0 ou 1 | LatLng |
Associe des informations facultatives de latitude et de longitude à un contact adresse e-mail. |
Name
|
0 ou 1 | string |
Associe un nom au contact. Utilisez ce champ pour les éléments autres que des adresses des informations qui peuvent aider un utilisateur à contacter cette personne ou cette organisation. Par exemple, "Secrétaire d'État, service des élections". |
Phone |
0 ou plus | AnnotatedString |
Associe un numéro de téléphone au contact. Si plusieurs
Le champ Phone est présent. Incluez des annotations pour permettre aux utilisateurs
connaître le but
de chacun d’eux. |
Uri |
0 ou plus | AnnotatedUri |
Associe un URI au contact. |
Exemples
XML
<ContactInformation> <Uri Annotation="personal-facebook">https://www.facebook.com/tedcruzpage</Uri> <Uri Annotation="personal-twitter">https://twitter.com/tedcruz</Uri> <Uri Annotation="personal-website">https://www.tedcruz.org/</Uri> <Uri Annotation="wikipedia">https://en.wikipedia.org/wiki/Ted_Cruz</Uri> </ContactInformation>
<ContactInformation label="ci60001" language=”es”> <AddressLine>Viad. Tlalpan 100</AddressLine> <AddressLine>Arenal Tepepan</AddressLine> <AddressLine>14610 Ciudad de México, CDMX</AddressLine> <AddressLine>Mexico</AddressLine> <Name>Instituto Nacional Electoral</Name> <Phone annotation="domestic">01 800 433 2000</Phone> <Phone annotation="usa">1 (866) 986 8306</Phone> <Phone annotation="collect">+52 (55) 5481 9897</Phone> <Uri Annotation="official-website">https://www.ine.mx/</Uri> <Uri Annotation="official-twitter">https://twitter.com/INEMexico</Uri> <Uri Annotation="official-facebook">https://www.facebook.com/INEMexico</Uri> </ContactInformation>
<ContactInformation label="ci10861a" language=”en”> <AddressLine>1600 Pennsylvania Ave</AddressLine> <AddressLine>Washington, DC 20006</AddressLine> <Email>president@whitehouse.gov</Email> <Phone>202-456-1111</Phone> <Phone annotation="TDD">202-456-6213</Phone> <Uri Annotation="official-website">http://www.whitehouse.gov</Uri> <Uri Annotation="official-facebook">https://www.facebook.com/WhiteHouse</Uri> <Uri Annotation="official-twitter">https://twitter.com/WhiteHouse</Uri> </ContactInformation>
JSON
"ContactInformation": { "Uri": [ "Annotation": "personal-facebook" "value": "https://www.facebook.com/tedcruzpage" ], "Uri": [ "Annotation": "personal-twitter" "value": "https://twitter.com/tedcruz" ], "Uri": [ "Annotation": "personal-website" "value": "https://www.tedcruz.org/" ], "Uri": [ "Annotation": "wikipedia" "value": "https://en.wikipedia.org/wiki/Ted_Cruz" ] }
"ContactInformation": { "language": "es", "label": "ci60001", "AddressLine": [ "Viad. Tlalpan 100", "Arenal Tepepan", "14610 Ciudad de México, CDMX", "Mexico" ], "Name": "Instituto Nacional Electoral", "Phone": [ { "annotation": "domestic", "value": "01 800 433 2000" }, { "annotation": "usa", "value": "1 (866) 986 8306" }, { "annotation": "collect", "value": "+52 (55) 5481 9897" } ], "Uri": [ "Annotation": "official-website" "value": "https://www.ine.mx/" ], "Uri": [ "Annotation": "official-twitter" "value": "https://twitter.com/INEMexico" ], "Uri": [ "Annotation": "official-facebook" "value": "https://www.facebook.com/INEMexico" ] }
"ContactInformation": { "label": "ci10861a", "language": "en", "AddressLine": [ "1600 Pennsylvania Ave", "Washington, DC 20006" ], "Email": "president@whitehouse.gov", "Phone": [ { "value": "202-456-1111" }, { "annotation": "TDD", "value": "202-456-6213" } ], "Uri": [ "Annotation": "official-website" "value": "http://www.whitehouse.gov" ], "Uri": [ "Annotation": "official-facebook" "value": "https://www.facebook.com/WhiteHouse" ], "Uri": [ "Annotation": "official-twitter" "value": "https://twitter.com/WhiteHouse" ] }