אדם

משתמשים בישות Person כדי להגדיר מידע על אדם. יכול להיות שהאדם הוא מועמד, נציג רשמי של הבחירות או רשות של יחידת דיווח. האלמנט ElectionReport כולל את PersonCollection, שמכיל את כל האובייקטים Person בפיד הזה. יש הפניות לאובייקטים האלה של Person ב-Candidate וב-GpUnit. PersonCollection כולל באופן אופציונלי ContactInformation כדי לשייך פרטים ליצירת קשר.

מאפיינים

בטבלה הבאה מפורטים המאפיינים של רכיב Person:

מאפיין חובה? סוג תיאור
objectId חובה ID מזהה פנימי ייחודי שמשמש רכיבים אחרים כדי ליצור הפניה לרכיב הזה.

רכיבים

בטבלה הבאה מתוארים הרכיבים של Person:

רכיב ריבוי סוג תיאור
ContactInformation ‫0 או יותר ContactInformation

משייך את הפרטים ליצירת קשר לאדם.

ההצהרה הזו חייבת לכלול URI עם הערות שמוער עם wikipedia ומציין את דף ויקיפדיה הקנוני של האדם, אם קיים כזה. צריך גם לספק כתובות URI או אתרים אחרים של מידע אישי ברשתות חברתיות. הפרטים האלה צריכים להיות של האדם הספציפי הזה, ולא של המשרד או המחלקה שלו.

אם כוללים תמונה של האדם, צריך להוסיף את ההערה candidate-image למזהה ה-URI.

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 סיומת שמשויכת לאדם, כמו הבן
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"]
      }
    ]