选举管理

使用 ElectionAdministration 提供有关选举的各种信息 授权。

Election 实体引用 GpUnit,用于定义 选举。例如,如果选举范围是选区,那么 Election 引用为该学区定义的 GpUnit 实体。 如果 GpUnit 的类型为 ReportingUnit,我们建议 您需要添加一个 ElectionAdministration 实体。

元素

下表显示了 ElectionAdministration 的元素:

元素 多样性 类型 说明
ContactInformation 0 或 1 ContactInformation 提供选举机构的联系信息。
ElectionOfficialPersonIds 0 或 1 IDREFS 一个或多个资源的唯一标识符 Person 为与选举相关的个人定义的元素 授权。
Name 0 或 1 string 选举机构的名称。

示例

XML

    <ElectionAdministration>
      <ContactInformation label="ci60001">
        <AddressLine>Viad. Tlalpan 100</AddressLine>
        <AddressLine>Arenal Tepepan</AddressLine>
        <AddressLine>14610 Ciudad de México, CDMX</AddressLine>
        <AddressLine>Mexico</AddressLine>
        <Name>Instituto Nacional Electoral</Name>
        <Phone annotation="domestic">01 800 433 2000</Phone>
        <Phone annotation="usa">1 (866) 986 8306</Phone>
        <Phone annotation="collect">+52 (55) 5481 9897</Phone>
      </ContactInformation>
      <ElectionOfficialPersonIds>per00521</ElectionOfficialPersonIds>
    </ElectionAdministration>

JSON

    "ElectionAdministration": {
      "ContactInformation": {
        "label": "ci60001",
        "AddressLine": [
          "Viad. Tlalpan 100",
          "Arenal Tepepan",
          "14610 Ciudad de México, CDMX",
          "Mexico"
        ],
        "Name": "Instituto Nacional Electoral",
        "Phone": [
          {
            "annotation": "domestic",
            "value": "01 800 433 2000"
          },
          {
            "annotation": "usa",
            "value": "1 (866) 986 8306"
          },
          {
            "annotation": "collect",
            "value": "+52 (55) 5481 9897"
          }
        ]
      },
      "ElectionOfficialPersonIds": ["per00521"]
    }