人称

使用 Person 实体定义与个人相关的信息。该人员可能是候选人、选举官员或报告单位的相关机构。ElectionReport 元素包含 PersonCollection,其中包含此 Feed 中的完整 Person 对象集。这些 Person 对象在 CandidateGpUnit 中引用。PersonCollection 可选择包含 ContactInformation 以关联联系信息。

属性

下表介绍了 Person 元素的属性:

属性 是否必需? 类型 说明
objectId 必填 ID 其他元素用于引用此元素的唯一内部标识符。

元素

下表介绍了 Person 的元素:

元素 多样性 类型 说明
ContactInformation 0 或更多 ContactInformation

将联系信息与相应人员相关联。

其中必须包含带注解的 URI,该 URI 带有 wikipedia 注解,并指定相应人物的规范维基百科网页(如果有)。此外,请提供任何其他已知的个人社交媒体 URI 或网站。此信息必须专门针对该人员,而不是其办公室或部门。

如果您添加了相应人员的图片,请使用 candidate-image 注解对 URI 进行注解。

DateOfBirth 0 或 1 PartialDate 相应人员的出生日期。
ExternalIdentifiers 1 ExternalIdentifiers 将 ID 与相应人员相关联。稳定标识符是必填项。
FirstName 0 或 1 string 人员的名字(姓氏)。
FullName 1 InternationalizedText 相应人员的全名。如需详细了解如何处理多种语言的全名,请参阅本地语言内容
Gender 0 或 1 string

人员的性别。Gender 可采用以下值:

  • 对于男性:mmaleman
  • 对于女性:ffemalewoman
  • 对于任何其他性别:oxothernonbinary
LastName 0 或 1 string 相应人员的姓氏。
MiddleName 0 或更多 string 相应人员的中间名字。
Nickname 0 或 1 string 与该用户关联的昵称(如果该用户有众所周知的别名)。
PartyId 1 个或更多 IDREF Party 元素的唯一标识符。将政党与人员相关联。提供与此人关联的 PartyobjectId
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"]
      }
    ]