투표 선택

BallotSelection을 사용하여 후보자와 정당을 득표수에 연결할 때와 같이 선거의 투표 선택 항목을 식별합니다.

이 문서에서는 BallotSelection 및 하위 항목에 대해 설명합니다.

  • BallotSelection
    • CandidateSelection
    • PartySelection
    • BallotMeasureSelection
    • SpecialBallotSelection

다음 피드 유형 중 하나를 선택하여 BallotSelection 및 해당 피드 유형의 고유 요소를 사용하는 방법을 자세히 알아보세요.


SpecialBallotSelection

이 BallotSelection 유형은 득표수 집계 (예: 여러 후보자를 '기타'로 집계) 및 다양한 종류의 무효표(예: 빈 투표용지, 무효표 또는 손상된 투표용지, '위의 사항 없음' 투표)에 사용됩니다.

SpecialBallotSelection은 일반 BallotSelection Contest의 하위 요소에서 사용해서는 안 되며 대신 Contest에 고유한 필드(AggregateBallotSelection, BlankBallotSelection, NoneOfTheAboveBallotSelection, NullBallotSelection)가 있습니다. 자세한 내용은 Contest 요소를 참고하세요.

요소

다음 표에서는 SpecialBallotSelection의 요소를 설명합니다.

요소 다중성 유형 설명
CountedInTotal 0 또는 1 boolean 항목 선택 항목의 득표수가 주목할 만한 총 투표수에 포함되는지 여부입니다. 지정하지 않으면 간주됩니다true.
ExternalIdentifiers 0 또는 1 ExternalIdentifiers 투표 안건 선택 항목과 ID를 연결합니다. 안정적인 식별자 가 필요합니다.
Selection 1 InternationalizedText '기타' 또는 '위의 사항 없음'과 같이 이 투표 선택 항목의 이름을 제공합니다.

예

XML

    <AggregateBallotSelection objectId="sbs-3">
      <Selection>
        <Text language="en">Other Candidates</Text>
      </Selection>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>sbs-3</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
    </AggregateBallotSelection>
    <!-- Counts of ballots left blank -->
    <BlankBallotSelection objectId="sbs-4">
      <Selection>
        <Text language="en">Blank ballots</Text>
      </Selection>
      <!-- These ballots count in the total and can affect majorities -->
      <CountedInTotal>true</CountedInTotal>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>sbs-4</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
    </BlankBallotSelection>
    <!-- Votes for "None of the above" option on the ballot -->
    <NoneOfTheAboveBallotSelection objectId="sbs-5">
      <!--
        The NOTA selection optiona as it appears on the ballot, often
        "None of the above", "None", or "Uncommitted"
      -->
      <Selection>
        <Text language="en">None</Text>
      </Selection>
      <!-- These ballots count in the total and can affect majorities -->
      <CountedInTotal>true</CountedInTotal>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>sbs-5</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
    </NoneOfTheAboveBallotSelection>
    <!--
      Counts of null or spoiled ballots, i.e. ballots that have been marked in
      a way that the vote cannot be counted
    -->
    <NullBallotSelection objectId="sbs-6">
      <!--
        How these ballots are often called in a given country, often
        "null" or "spoiled"
      -->
      <Selection>
        <Text language="en">Spoiled ballots</Text>
      </Selection>
      <!--
        These ballots do count in the total and are treated as the same as
        if this vote did not happen at all
      -->
      <CountedInTotal>false</CountedInTotal>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>sbs-6</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
    </NullBallotSelection>