ใช้ BallotSelection เพื่อระบุตัวเลือกบัตรลงคะแนนในการแข่งขัน เช่น เมื่อคุณลิงก์ผู้สมัครและพรรคต่างๆ กับจำนวนคะแนนเสียง
เอกสารนี้จะอธิบาย BallotSelection และเอนทิตีย่อยของเอนทิตีนี้
BallotSelectionCandidateSelectionPartySelectionBallotMeasureSelectionSpecialBallotSelection
เลือกฟีดประเภทใดประเภทหนึ่งต่อไปนี้เพื่อดูข้อมูลเพิ่มเติมเกี่ยวกับวิธีใช้ BallotSelection และองค์ประกอบที่เกี่ยวข้องกับฟีดประเภทนั้น
SpecialBallotSelection
BallotSelection ประเภทนี้ใช้สำหรับการรวมจำนวนคะแนนเสียง (เช่น การรวมผู้สมัครหลายรายเป็น "อื่นๆ") และการลงคะแนนเสียงประเภทต่างๆ ที่ไม่นับเป็นคะแนนเสียง (เช่น บัตรลงคะแนนเปล่า บัตรลงคะแนนที่ไม่ถูกต้อง และการลงคะแนนเสียง "ไม่มีตัวเลือกที่ต้องการ")
SpecialBallotSelection ไม่ควรใช้ใน BallotSelection
องค์ประกอบย่อยทั่วไปของ Contest แต่ควรใช้ฟิลด์ที่แยกต่างหากของ Contest,
ได้แก่ AggregateBallotSelection, BlankBallotSelection,
NoneOfTheAboveBallotSelection และ NullBallotSelection ดูรายละเอียดเพิ่มเติมได้ที่องค์ประกอบ
Contest
องค์ประกอบ
ตารางต่อไปนี้อธิบายองค์ประกอบสำหรับ SpecialBallotSelection
| องค์ประกอบ | ความหลากหลาย | ประเภท | คำอธิบาย |
|---|---|---|---|
CountedInTotal |
0 หรือ 1 | boolean |
ระบุว่าจำนวนคะแนนเสียงของตัวเลือกเอนทิตีจะรวมอยู่ในคะแนนเสียงทั้งหมด
ที่ลงคะแนนซึ่งถือว่ามีความสำคัญหรือไม่ ระบบจะถือว่าเป็น true หาก
ไม่ได้ระบุ
|
ExternalIdentifiers |
0 หรือ 1 | ExternalIdentifiers |
เชื่อมโยงรหัสกับตัวเลือกมาตรการลงคะแนน ต้องมี ตัวระบุที่เสถียร |
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>