선거 보고서

ElectionReport를 루트 항목으로 사용합니다. 보고서의 상태 및 형식, 생성 시점과 관련된 항목을 정의합니다.

ElectionReport에는 다음과 같은 주요 요소가 포함됩니다.

Election와 마찬가지로 ElectionReport는 컨테이너 요소에서 Election를 제외한 요소의 발생을 '래핑'합니다. 이렇게 하면 XML 뷰어와 편집기에서 인스턴스 파일을 더 쉽게 조작할 수 있습니다.

공직이나 정당과 같이 항목의 특정 순서 체계를 유지하는 것이 중요한 경우가 있습니다. 이 경우 생성 애플리케이션이 이미 적용된 순서 체계에 따라 이러한 요소를 정의해야 합니다.

요소

다음 표에는 ElectionReport의 요소가 나와 있습니다.

요소 다중성 유형 설명
CommitteeCollection 0 또는 1 해당 사항 없음 Committee 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
Election 0 이상 Election 보고서에 선거를 연결합니다.
ElectoralCommissionCollection 0 또는 1 해당 사항 없음 ElectoralCommission 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
ExternalIdentifiers 0 또는 1 ExternalIdentifiers ID를 보고서에 연결합니다.
Format 1 ReportDetailLevel 보고서의 세부 수준(예: 경합 요약 또는 선거구 수준 결과)을 제공합니다.
GeneratedDate 1 dateTime 선택 보고서가 생성된 날짜와 시간을 나타냅니다.
GpUnitCollection 0 또는 1 해당 사항 없음 GpUnit 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
Issuer 1 string 신고서 발급자의 신원입니다.
IssuerAbbreviation 1 string 결과가 보고되는 주 또는 선거구의 약어와 같이 보고서 발급자의 약어입니다.
IsTest 0 또는 1 boolean 보고서가 테스트 보고서인지 여부를 나타냅니다. 이 요소가 없으면 기본값은 false입니다.
Notes 0 또는 1 string 보고서에 임의의 메시지를 포함하는 데 사용됩니다.
OfficeCollection 0 또는 1 해당 사항 없음 Office 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
GovernmentBodyCollection 0 또는 1 해당 사항 없음 GovernmentBody 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
PartyCollection 0 또는 1 해당 사항 없음 Party 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
PersonCollection 0 또는 1 해당 사항 없음 Person 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.
SequenceStart 1 integer 보고서 시퀀스의 일부인 보고서 번호입니다. 이 요소는 SequenceEnd와 함께 사용하여 '1 of 1', '1 of 2', '2 of 2'와 같이 읽을 수 있습니다. 1로 시작합니다.
SequenceEnd 1 integer 보고서 시퀀스의 상한입니다. 예를 들어 보고서가 하나만 있는 경우 1이고 시퀀스에 보고서가 두 개 있는 경우 2입니다.
Status 1 ResultsStatus 선거 보고서의 상태(예: 선거 전 또는 비공식)입니다.
TestType 0 또는 1 string 사전 선택 또는 로직 및 정확성과 같은 테스트 유형에 관한 설명입니다.
VendorApplicationID 1 string 선거 보고서를 생성하는 공급업체 애플리케이션의 식별자입니다. 예를 들면 X-EMS version 3.1.a입니다.
VoterInformationCollection 0 또는 1 해당 사항 없음 VoterInformation 정의의 래퍼 요소입니다. 자세한 내용은 수집 항목을 참고하세요.

XML

    <ElectionReport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Election>…</Election>
      <GpUnitCollection>
        <GpUnit objectId="ru-gpu0">…</GpUnit>
        <GpUnit objectId="ru-gpu1">…</GpUnit>
      </GpUnitCollection>
      <OfficeCollection>
        <Office objectId="off0001a">…</Office>
      </OfficeCollection>
      <GovernmentBodyCollection>
        <GovernmentBody objectId="gov0001a">…</GovernmentBody>
      </GovernmentBodyCollection>
      <PartyCollection>
        <Party objectId="par001">…</Party>
        <Party objectId="par002">…</Party>
      </PartyCollection>
      <PersonCollection>
        <Person objectId="per001">…</Person>
        <Person objectId="per002">…</Person>
      </PersonCollection>
      <Issuer>Example Data Provider</Issuer>
      <IssuerAbbreviation>EDP</IssuerAbbreviation>
      <Format>summary-contest</Format>
      <GeneratedDate>2013-11-05T14:25:28</GeneratedDate>
      <Status>unofficial-partial</Status>
      <VendorApplicationId>Hand-Generated v0.1</VendorApplicationId>
      <SequenceStart>1</SequenceStart>
      <SequenceEnd>1</SequenceEnd>
    </ElectionReport>

JSON

    {
      "@type": "ElectionReport",
      "Election": [
        ...
      ],
      "GpUnitCollection": {
        "GpUnit": [
          {...},
          {...}
        ]
      },
      "OfficeCollection": {
        "Office": [
          {
            "objectId": "off0001a",
            ...
          }
        ]
      },
      "PartyCollection": {
        "Party": [
          {
            "objectId": "par001",
            ...
          },
          {
            "objectId": "par002",
            ...
          }
        ]
      },
      "PersonCollection": {
        "Person": [
          {
            "objectId": "per001",
            ...
          },
          {
            "objectId": "per002",
            ...
          }
        ]
      },
      "Issuer": "Example Data Provider",
      "IssuerAbbreviation": "EDP",
      "Format": "summary-contest",
      'GeneratedDate": "2013-11-05T14:25:28",
      "Status": "unofficial-partial",
      "VendorApplicationId": "Hand-Generated v0.1",
      "SequenceStart": 1,
      "SequenceEnd": 1
    }