Użyj BallotSelection, aby określić wybory w konkursie, np. gdy łączysz kandydatów i partie z liczbą głosów.
Ten dokument omawia BallotSelection i jej podrzędne jednostki:
BallotSelectionCandidateSelectionPartySelectionBallotMeasureSelectionSpecialBallotSelection
Wybierz jeden z tych typów pliku danych, aby dowiedzieć się, jak używać BallotSelection i jej elementów w przypadku tego typu pliku danych.
SpecialBallotSelection
Ten typ BallotSelection jest używany do agregacji liczby głosów (np. agregowania wielu kandydatów w kategorii „Inni”) oraz różnych rodzajów głosów nieważnych (np. pustych kart do głosowania, kart nieważnych lub zniszczonych oraz głosów „żaden z powyższych”).
SpecialBallotSelection nie należy używać w ogólnym BallotSelection
podelemencie Contest. Zamiast tego ma ona własne pola w Contest,
czyli AggregateBallotSelection, BlankBallotSelection,
NoneOfTheAboveBallotSelection i NullBallotSelection. Więcej informacji znajdziesz w sekcji Elementy
Contest więcej
szczegółów.
Elementy
W tabeli poniżej znajdziesz opis elementów SpecialBallotSelection:
| Element | Mnogość | Typ | Opis |
|---|---|---|---|
CountedInTotal |
0 lub 1 | boolean |
Czy liczba głosów na ten wybór jest uwzględniana w łącznej liczbie
głosów uznanych za istotne. Jeśli nie określono, przyjmuje się wartość true if
unspecified.
|
ExternalIdentifiers |
0 lub 1 | ExternalIdentifiers |
Łączy identyfikator z wyborem w głosowaniu. Wymagany jest stabilny identyfikator. |
Selection |
1 | InternationalizedText |
Zawiera nazwę tego wyboru w głosowaniu, np. „Inni” lub „Żaden z powyższych”. |
Przykłady
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>