ContactInformation
を使用して、次のようなオブジェクトの連絡先情報を定義します。
関係する責任を負います。
このエンティティは主に
アノテーション付き URI を指定できます。
次の要素に関連するもの: Election
、
ElectionAdministration
,
Person
、GpUnit
、
Office
。
属性
次の表に、ContactInformation
の属性を示します。
属性 | 必須かどうか | 型 | 説明 |
---|---|---|---|
label |
省略可 | string |
後で参照できる連絡先情報の属性(省略可)
情報の元のラベルが付きます。たとえば
情報は CSV から取得されたため、label は行を参照する場合があります。
あります。 |
language |
省略可 | language |
連絡先情報の提供に使用する言語を指定します。 |
要素
次の表に、ContactInformation
の要素を示します。
要素 | 重複 | タイプ | 説明 |
---|---|---|---|
AddressLine
|
0 以上 | string |
住所を連絡先に関連付けます。 連絡先の住所を含めるには、次の文字列を複数回使用します。
|
Directions
|
0 または 1 | InternationalizedText |
住所情報に加えて方向情報も指定します。 Directions を使用すると、住所に関連するその他の住所を 複数の言語で表示される場合があります。 |
Email |
0 以上 | AnnotatedString |
メールアドレスを連絡先に関連付けます。複数の
Email フィールドが存在し、ユーザーが使用できるアノテーションが含まれています
それぞれの目的がわかります |
Fax |
0 以上 | AnnotatedString |
連絡先に FAX 番号を関連付けます。複数の
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" ] }