Gunakan BallotSelection untuk mengidentifikasi pilihan surat suara dalam suatu pemilihan, seperti
saat Anda menautkan kandidat dan partai dengan jumlah suara mereka.
Dokumen ini membahas BallotSelection dan sub-entitasnya:
BallotSelectionCandidateSelectionPartySelectionBallotMeasureSelectionSpecialBallotSelection
Pilih salah satu jenis feed berikut untuk mempelajari lebih lanjut cara menggunakan
BallotSelection dan elemen bawaannya dengan jenis feed tersebut.
SpecialBallotSelection
Jenis BallotSelection ini digunakan untuk penggabungan jumlah suara (misalnya, menggabungkan beberapa kandidat ke dalam "Lainnya") dan berbagai jenis non-suara (yaitu surat suara kosong, surat suara batal atau rusak, dan suara "tidak ada satu pun di atas").
SpecialBallotSelection tidak boleh digunakan di subelemen BallotSelection
umum dari Contest dan memiliki kolomnya sendiri yang berbeda di Contest,
yaitu AggregateBallotSelection, BlankBallotSelection,
NoneOfTheAboveBallotSelection, dan NullBallotSelection. Lihat
elemen Contest untuk mengetahui detail
selengkapnya.
Elemen
Tabel berikut menjelaskan elemen untuk SpecialBallotSelection:
| Elemen | Keanekaragaman | Jenis | Deskripsi |
|---|---|---|---|
CountedInTotal |
0 atau 1 | boolean |
Apakah jumlah suara pilihan entitas dihitung dalam total
suara yang dianggap penting. Diasumsikan true jika
tidak ditentukan.
|
ExternalIdentifiers |
0 atau 1 | ExternalIdentifiers |
Mengaitkan ID dengan pilihan inisiatif dan referendum. A ID stabil wajib diisi. |
Selection |
1 | InternationalizedText |
Memberikan nama untuk pilihan surat suara ini, seperti "Lainnya" atau "Tidak satu pun di atas". |
Contoh
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" } } }