Używaj symbolu BallotSelection, aby oznaczać wybory na karcie do głosowania, np. gdy łączysz kandydatów i partie z liczbą głosów, które na nich oddano.
W tym dokumencie omawiamy BallotSelection i jego podmioty:
BallotSelectionCandidateSelectionPartySelectionBallotMeasureSelectionSpecialBallotSelection
Wybierz jeden z tych typów plików danych, aby dowiedzieć się więcej o tym, jak używać
BallotSelection i jego elementów w przypadku danego typu pliku danych.
SpecialBallotSelection
Ten typ BallotSelection jest używany do agregacji liczby głosów (np. agregowania głosów na wielu kandydatów w kategorii „Inni”) i 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”).
Element SpecialBallotSelection nie powinien być używany w ogólnym elemencie podrzędnym BallotSelection elementu Contest. Zamiast tego ma własne, odrębne pola w elemencie Contest, a mianowicie AggregateBallotSelection, BlankBallotSelection, NoneOfTheAboveBallotSelection i NullBallotSelection. Więcej informacji znajdziesz w sekcji Contest elementy.
Elementy
W tabeli poniżej opisano elementy SpecialBallotSelection:
| Element | Mnogość | Typ | Opis |
|---|---|---|---|
CountedInTotal |
0 lub 1 | boolean |
Określa, czy głosy oddane na wybrane podmioty są wliczane do łącznej liczby głosów uznawanych za istotne. Jeśli nie określono inaczej, domyślna wartość to true.
|
ExternalIdentifiers |
0 lub 1 | ExternalIdentifiers |
Powiązanie identyfikatora z wyborem w referendum. Wymagany jest stabilny identyfikator. |
Selection |
1 | InternationalizedText |
Zawiera nazwę wyboru na karcie do głosowania, np. „Inne” lub „Żadne z powyższych”. |
Przykłady
XML
<AggregateBallotSelection objectId="selection3"> <Selection> <Text language="en">Other Candidates</Text> </Selection> <ExternalIdentifiers> <ExternalIdentifier> <Type>other</Type> <OtherType>stable</OtherType> <Value>selection3</Value> </ExternalIdentifier> </ExternalIdentifiers> </AggregateBallotSelection> <!-- Counts of ballots left blank --> <BlankBallotSelection objectId="selection4"> <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>selection4</Value> </ExternalIdentifier> </ExternalIdentifiers> </BlankBallotSelection> <!-- Votes for "None of the above" option on the ballot --> <NoneOfTheAboveBallotSelection objectId="selection5"> <!-- 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>selection5</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="selection5"> <!-- 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>selection5</Value> </ExternalIdentifier> </ExternalIdentifiers> </NullBallotSelection>
JSON
"AggregateBallotSelection": { "objectId": "selection3", "Selection": { "Text": { "@language": "en", "#text": "Other Candidates" } }, "ExternalIdentifiers": { "ExternalIdentifier": { "Type": "other", "OtherType": "stable", "Value": "selection3" } }, }, "BlankBallotSelection": { "objectId": "selection4", "Selection": { "Text": { "@language": "en", "#text": "Blank Ballots" } }, "CountedInTotal": true, "ExternalIdentifiers": { "ExternalIdentifier": { "Type": "other", "OtherType": "stable", "Value": "selection4" } } }, "NoneOfTheAboveBallotSelection": { "objectId": "selection5", "Selection": { "Text": { "@language": "en", "#text": "None" } }, "CountedInTotal": true, "ExternalIdentifiers": { "ExternalIdentifier": { "Type": "other", "OtherType": "stable", "Value": "selection5" } } }, "NullBallotSelection": { "objectId": "selection5", "Selection": { "Text": { "@language": "en", "#text": "Spoiled ballots" } }, "CountedInTotal": false, "ExternalIdentifiers": { "ExternalIdentifier": { "Type": "other", "OtherType": "stable", "Value": "selection5" } } }