คน

ใช้เอนทิตี Person เพื่อกำหนดข้อมูลเกี่ยวกับบุคคล บุคคลดังกล่าวอาจเป็นผู้สมัครรับเลือกตั้ง เจ้าหน้าที่การเลือกตั้ง หรือผู้มีอำนาจสำหรับหน่วยการรายงาน องค์ประกอบ ElectionReport มี PersonCollection ซึ่งมีชุดออบเจ็กต์ Person ทั้งหมดในฟีดนี้ ออบเจ็กต์ Person เหล่านี้มีการอ้างอิงใน Candidate และ GpUnit PersonCollectionอาจ มีContactInformation เพื่อเชื่อมโยงข้อมูลติดต่อ

Attributes

ตารางต่อไปนี้จะอธิบายแอตทริบิวต์ขององค์ประกอบ Person

แอตทริบิวต์ จำเป็นหรือไม่ ประเภท คำอธิบาย
objectId ต้องระบุ ID ตัวระบุภายในที่ไม่ซ้ำกันซึ่งองค์ประกอบอื่นๆ ใช้เพื่ออ้างอิงถึง องค์ประกอบนี้

องค์ประกอบ

ตารางต่อไปนี้จะอธิบายองค์ประกอบสำหรับ Person

องค์ประกอบ ความหลากหลาย ประเภท คำอธิบาย
ContactInformation 0 ขึ้นไป ContactInformation

เชื่อมโยงข้อมูลติดต่อกับบุคคล

โดยต้องมี URI ที่มีคำอธิบายประกอบ ซึ่งมีคำอธิบายประกอบด้วย wikipedia และระบุ หน้า Wikipedia Canonical ของบุคคลนั้น หากมี นอกจากนี้ โปรดระบุ URI หรือเว็บไซต์โซเชียลมีเดียส่วนตัวอื่นๆ ที่ทราบด้วย ข้อมูลนี้ต้องเป็นของบุคคลนั้นโดยเฉพาะ ไม่ใช่ของสำนักงานหรือ แผนก

หากใส่รูปภาพของบุคคล ให้ใส่คำอธิบายประกอบ URI ด้วย candidate-image annotation

DateOfBirth 0 หรือ 1 PartialDate วันเกิดของบุคคล
ExternalIdentifiers 1 ExternalIdentifiers เชื่อมโยงรหัสกับบุคคล ต้องระบุ ตัวระบุที่เสถียร
FirstName 0 หรือ 1 string ชื่อของบุคคล
FullName 1 InternationalizedText ชื่อและนามสกุลของบุคคล ดูรายละเอียดเกี่ยวกับวิธีจัดการชื่อเต็มใน หลายภาษาได้ที่ เนื้อหาภาษาท้องถิ่น
Gender 0 หรือ 1 string

เพศของบุคคล ค่าที่ใช้ได้สำหรับ Gender มีดังนี้

  • สำหรับผู้ชาย: m, male หรือ man
  • สำหรับผู้หญิง: f, female หรือ woman
  • สำหรับเพศอื่นๆ: o, x, other หรือ nonbinary
LastName 0 หรือ 1 string นามสกุลของบุคคล
MiddleName 0 ขึ้นไป string ชื่อกลางของบุคคล
Nickname 0 หรือ 1 string ชื่อเล่นที่เชื่อมโยงกับบุคคลนั้น หากบุคคลนั้นมีชื่อแทนที่รู้จักกันโดยทั่วไป
PartyId 1 รายการขึ้นไป IDREF ตัวระบุที่ไม่ซ้ำกันสำหรับองค์ประกอบ Party เชื่อมโยงพรรคการเมืองกับบุคคล ระบุ objectIdของPartyที่บุคคลนี้ เชื่อมโยงด้วย
Prefix 0 หรือ 1 string คำนำหน้าชื่อที่เกี่ยวข้องกับบุคคล เช่น นายหรือ ดร.
Profession 0 หรือ 1 InternationalizedText อาชีพของบุคคล
Suffix 0 หรือ 1 string คำต่อท้ายที่เกี่ยวข้องกับบุคคล เช่น Jr.
Title 0 หรือ 1 InternationalizedText ภาพยนตร์/รายการทีวีที่เกี่ยวข้องกับบุคคล

ตัวอย่าง

XML

    <Person objectId="P12321">
      <ContactInformation>
        <Uri Annotation="candidate-image">https://example.come/candidates/ayron-silva.jpg</Uri>
        <Uri Annotation="official-facebook">https://fb.com/ayronsilvasample/</Uri>
        <Uri Annotation="official-instagram">https://www.instagram.com/ayron_silva_sample/</Uri>
        <Uri Annotation="official-twitter">https://twitter.com/ayronsilvasample</Uri>
        <Uri Annotation="official-website">https://ayron-silva-sample.com/</Uri>
        <Uri Annotation="official-youtube">https://www.youtube.com/user/ayron831/featured</Uri>
        <Uri Annotation="wikipedia">https://en.wikipedia.org/wiki/Ayron-Silva-Sample</Uri>
        <Uri Annotation="wikipedia">https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87</Uri>
        <Uri Annotation="campaign">https://ayronsilvacampaign.com</Uri>
      </ContactInformation>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>stable-pers-P12321</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
      <FullName>
        <Text language="pt">Ayrton Silva</Text>
        <Text language="en">Ayrton Silva</Text>
        <Text language="hi">एर्टन सेना</Text>
        <Text language="ja">アイルトン・シルバ</Text>
      </FullName>
      <DateOfBirth>1960-01-01</DateOfBirth>
      <Gender>M</Gender>
      <LastName>Silva</LastName>
      <PartyId>par-dpp</PartyId>
      <PartyId>par-exp</PartyId>
    </Person>

JSON

    "Person": [
      {
        "objectId": "P12321",
        "ContactInformation": {
          "Uri": [
            "Annotation": "candidate-image"
            "value": "https://example.come/candidates/ayron-silva.jpg"
          ],
          "Uri": [
            "Annotation": "official-facebook"
            "value": "https://fb.com/ayronsilvasample/"
          ]
          "Uri": [
            "Annotation": "official-instagram"
            "value": "https://www.instagram.com/ayron_silva_sample"
          ]
          "Uri": [
            "Annotation": "official-twitter"
            "value": "https://twitter.com/ayronsilvasample"
          ]
          "Uri": [
            "Annotation": "official-website"
            "value": "https://ayron-silva-sample.com/"
          ]
          "Uri": [
            "Annotation": "official-youtube"
            "value": "https://www.youtube.com/user/ayron831/featured"
          ]
          "Uri": [
            "Annotation": "wikipedia"
            "value": "https://en.wikipedia.org/wiki/Ayron-Silva-Sample"
          ]
          "Uri": [
            "Annotation": "wikipedia"
            "value": "https://zh.wikipedia.org/zh/%E8%94%A1%E8%8B%B1%E6%96%87"
          ],
          "Uri": [
            "Annotation": "campaign"
            "value": "https://ayronsilvacampaign.com"
          ]
        }
        "ExternalIdentifiers": {
          "ExternalIdentifier" : [
            {
              "Type": "other",
              "OtherType": "stable",
              "Value": "stable-pers-P12321"
            }
          ]
        }
        "FullName": {
          "Text": [
            {
              "value": "Ayrton Silva",
              "language": "pt"
            },
            {
              "value": "Ayrton Silva",
              "language": "en"
            },
            {
              "value": "एर्टन सेना",
              "language": "hi"
            },
            {
              "value": "アイルトン・シルバ",
              "language": "ja"
            }
          ]
        },
        "DateOfBirth": "1960-01-01",
        "Gender": "M",
        "LastName": "Silva"
        "PartyId": ["par-dpp","par-exp"]
      }
    ]