ContactInformation
를 사용하여 사람, 기관, 조직과 같은 객체에 대한 연락처 정보를 정의합니다.
이 항목은 주로 Election
, ElectionAdministration
, Person
, GpUnit
, Office
요소와 관련된 주석 처리된 URI를 제공하는 데 사용됩니다.
특성
다음 표는 ContactInformation
의 속성을 보여줍니다.
속성 | 필수 여부 | 유형 | 설명 |
---|---|---|---|
label |
선택사항 | string |
정보의 원래 라벨을 다시 참조할 수 있는 연락처 정보의 선택적 속성입니다. 예를 들어 연락처 정보의 출처가 CSV이면 label 가 행 ID를 참조할 수 있습니다. |
language |
선택사항 | language |
연락처 정보를 제공하는 데 사용된 언어를 식별합니다. |
요소
다음 표는 ContactInformation
의 요소를 보여줍니다.
요소 | 다중성 | 유형 | 설명 |
---|---|---|---|
AddressLine
|
0개 이상 | string |
주소를 연락처와 연결합니다. 연락처 주소를 포함하려면 |
Directions
|
0 또는 1 | InternationalizedText |
주소 정보 외에 방향 정보를 제공합니다. 경로는 여러 언어로 표시될 수 있는 주소 관련 추가 정보를 제공하는 데 사용할 수 있습니다. |
Email |
0개 이상 | AnnotatedString |
이메일 주소를 연락처와 연결합니다. Email 필드가 두 개 이상 있으면 사용자에게 각 필드의 목적을 알 수 있도록 주석을 포함합니다. |
Fax |
0개 이상 | AnnotatedString |
팩스 번호를 연락처에 연결합니다. Fax 필드가 두 개 이상 있으면 사용자에게 각 필드의 목적을 알리는 주석을 포함합니다. |
LatLng
|
0 또는 1 | LatLng |
위도 및 경도 정보(선택사항)를 연락처 주소와 연결합니다. |
Name
|
0 또는 1 | string |
이름을 연락처와 연결합니다. 사용자가 해당 사람이나 조직에 연락하는 데 도움이 될 수 있는 주소 이외의 정보에 이 필드를 사용합니다. 예: '국무부 장관, 선거부' |
Phone |
0개 이상 | AnnotatedString |
전화번호를 연락처와 연결합니다. Phone 필드가 두 개 이상 있으면 사용자에게 각 필드의 목적을 알 수 있도록 주석을 포함합니다. |
Uri |
0개 이상 | AnnotatedUri |
URI를 연락처와 연결합니다. |
예
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" ] }