CandidateSelection¶
CandidateSelection extends BallotSelectionBase and represents a ballot selection for a candidate contest.
Tag |
Data Type |
Required? |
Repeats? |
Description |
Error Handling |
---|---|---|---|---|---|
CandidateIds |
|
Optional |
Single |
References a set of Candidate elements. The number of candidates that can be references is unbounded in cases where the ballot selection is for a ticket (e.g. “President/Vice President”, “Governor/Lt Governor”). |
If the field is invalid or not present, then the implementation is required to ignore it. |
EndorsementPartyIds |
|
Optional |
Single |
References a set of Party elements, which signifies one or more endorsing parties for the candidate(s). |
If the field is invalid or not present, then the implementation is required to ignore it. |
IsWriteIn |
|
Optional |
Single |
Signifies if the particular ballot selection allows for write-in candidates. If true, one or more write-in candidates are allowed for this contest. |
If the field is invalid or not present, then the implementation is required to ignore it. |
1<CandidateSelection id="cs10861">
2 <CandidateIds>can10861a can10861b</CandidateIds>
3 <EndorsementPartyIds>par0001</EndorsementPartyIds>
4</CandidateSelection>
BallotSelectionBase¶
A base model for all ballot selection types: BallotMeasureSelection, CandidateSelection, and PartySelection.
Tag |
Data Type |
Required? |
Repeats? |
Description |
Error Handling |
---|---|---|---|---|---|
SequenceOrder |
|
Optional |
Single |
The order in which a selection can be listed on the ballot or in results. This is the default ordering, and can be overridden by OrderedBallotSlectionIds in OrderedContest. |
If the field is invalid or not present, then the implementation is required to ignore it. |