אדם

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

מאפיינים

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

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

רכיבים

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

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

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

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

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

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