استخدِم ContactInformation
لتحديد معلومات الاتصال بشأن عناصر مثل
والأشخاص ومجالس السلطات والمؤسسات.
يتم استخدام هذا الكيان بشكل أساسي
لتوفير معرّفات موارد منتظمة (URI) ذات تعليقات توضيحية
بالعناصر التالية: Election
،
ElectionAdministration
,
Person
، GpUnit
،
وOffice
.
السمات
يعرض الجدول التالي سمات ContactInformation
:
السمة | مطلوب؟ | النوع | الوصف |
---|---|---|---|
label |
اختياري | string |
سمة اختيارية لمعلومات الاتصال التي يمكن الرجوع إليها
التسمية الأصلية للمعلومات. على سبيل المثال، إذا كانت جهة الاتصال
مصدر المعلومات من ملف CSV، قد يشير label إلى صف.
رقم التعريف |
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" ] }