人称

使用 Person 实体定义有关人员的信息。此人可能是候选人、选举官员或报告单位的负责人。 ElectionReport 元素包含 PersonCollection,后者包含此 Feed 中的完整 Person 对象集。这些 Person 对象在 CandidateGpUnit 中被引用。A PersonCollection 可选择 包含 ContactInformation 以关联联系信息。

属性

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

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

元素

下表介绍了 Person 的元素:

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

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

这必须包含一个 带注释的 URI 该 URI 带有 wikipedia 注释,并指定人员的规范 Wikipedia 页面(如果存在)。另请提供 任何其他已知的个人社交媒体 URI 或网站。此 信息必须专门针对该人员,而不是其办公室或 部门。

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

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

  • 对于男性:mmaleman
  • 对于女性:ffemalewoman
  • 对于任何其他性别:oxothernonbinary
ImageUri 0 个或更多 AnnotatedUri 提供人员图片直接链接的 URI。图片 必须获得第三方使用许可。
LastName 0 或 1 string 人员的姓氏。
MiddleName 0 个或更多 string 人员的中间名。
Nickname 0 或 1 string 与人员关联的昵称(如果人员有常用 别名)。
PartyId 1 个或更多 IDREF 元素的唯一标识符。Party将政党与人员相关联。提供与此人员关联的 objectIdParty
Prefix 0 或 1 string 与人员关联的前缀,例如先生博士
Profession 0 或 1 InternationalizedText 人员的职业。
Suffix 0 或 1 string 与人员关联的后缀,例如“小”。
Title 0 或 1 InternationalizedText 与人员关联的头衔。

示例

XML

    <Person objectId="per-12321">
      <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>per-12321</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>