BallotSelection برای شناسایی گزینههای رأیگیری در یک رقابت استفاده کنید، مثلاً وقتی که نامزدها و احزاب را به تعداد آرای آنها پیوند میدهید.
این سند در مورد BallotSelection و زیرمجموعههای آن بحث میکند:
-
BallotSelection-
CandidateSelection -
PartySelection -
BallotMeasureSelection -
SpecialBallotSelection
-
برای کسب اطلاعات بیشتر در مورد نحوه استفاده از BallotSelection و عناصر ذاتی آن با آن نوع فید، یکی از انواع فید زیر را انتخاب کنید.
انتخاب ویژه با رأیگیری
این نوع از BallotSelection برای تجمیع شمارش آرا (مثلاً تجمیع چندین نامزد در «سایر») و انواع مختلف رأیهای بدون رأی (یعنی برگههای رأی سفید، برگههای رأی باطل یا مخدوش، و آرای «هیچکدام از موارد فوق») استفاده میشود.
SpecialBallotSelection نباید در زیرعنصر عمومی BallotSelection از Contest استفاده شود و در عوض فیلدهای مجزای خود را در Contest دارد، یعنی AggregateBallotSelection ، BlankBallotSelection ، NoneOfTheAboveBallotSelection و NullBallotSelection . برای جزئیات بیشتر به عناصر Contest مراجعه کنید.
عناصر
جدول زیر عناصر مربوط به SpecialBallotSelection را شرح میدهد:
| عنصر | چندگانگی | نوع | توضیحات |
|---|---|---|---|
CountedInTotal | ۰ یا ۱ | boolean | اینکه آیا آرای انتخاب نهاد در کل آرای اخذ شده که قابل توجه تلقی میشوند، محاسبه میشوند یا خیر. اگر مشخص نشده باشد، true فرض میشود. |
ExternalIdentifiers | ۰ یا ۱ | ExternalIdentifiers | یک شناسه را به انتخاب معیار رأیگیری مرتبط میکند. یک شناسه پایدار مورد نیاز است. |
Selection | ۱ | InternationalizedText | نامی برای این گزینهی رأیگیری ارائه میدهد، مانند «سایر» یا «هیچکدام از موارد فوق». |
مثالها
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>
جیسون
"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" } } }