連絡先情報

ContactInformation を使用して、個人、当局者、組織などのオブジェクトに関する連絡先情報を定義します。

このエンティティは主に、ElectionElectionAdministrationPersonGpUnitOffice の要素に関連するアノテーション付き URI を提供するために使用されます。

属性

次の表に、ContactInformation の属性を示します。

属性 必須かどうか 種類 説明
label 任意 string 情報の元のラベルを参照できる連絡先情報のオプション属性。たとえば、連絡先情報が CSV から取得されている場合、label は行 ID を参照します。
language 任意 language 連絡先情報の提供に使用する言語を指定します。

要素

次の表に ContactInformation の要素を示します。

要素 重複 種類 説明
AddressLine 0 以上 string

住所を連絡先に関連付けます。AddressLine には、ユーザーが地図上で住所を見つけるために Google マップなどのウェブ マッピング サービスに入力する行を含める必要があります。つまり、フィールドの値によって連絡先の場所をジオコーディングする必要があります。

連絡先の住所を含めるには、AddressLine を複数回指定します。最初に AddressLine を使用するのは、名前または組織です。その後の用途は、その国の特定の順序と形式で、番地、市区町村、郵便番号、市区町村、都道府県(またはオプションで該当する州)とします。

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"
      ]
    }