CandidateContestΒΆ

CandidateContest extends ContestBase and represents a contest among candidates.

Tag Data Type Required? Repeats? Description Error Handling
NumberElected xs:integer Optional Single Number of candidates that are elected in the contest (i.e. “N” of N-of-M). If the field is invalid or not present, then the implementation is required to ignore it.
OfficeIds xs:IDREFS Optional Single References a set of Office elements, if available, which give additional information about the offices. Note: the order of the office IDs must be in the same order as the candidates listed in BallotSelectionIds. E.g., if the various BallotSelectionIds reference CandidateSelection elements which reference the candidate for President first and Vice-President second, the OfficeIds should reference the office of President first and the office of Vice-President second. If the field is invalid or not present, then the implementation is required to ignore it.
PrimaryPartyIds xs:IDREFS Optional Single References Party elements, if the contest is related to a particular party. If the field is invalid or not present, then the implementation is required to ignore it.
VotesAllowed xs:integer Optional Single Maximum number of votes/write-ins per voter in this contest. If the field is invalid or not present, then the implementation is required to ignore it.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<CandidateContest id="cc20003">
   <BallotSelectionIds>cs10961 cs10962 cs10963</BallotSelectionIds>
   <BallotTitle>
     <Text language="en">Governor of Virginia</Text>
   </BallotTitle>
   <ElectoralDistrictId>ed60129</ElectoralDistrictId>
   <Name>Governor</Name>
   <NumberElected>1</NumberElected>
   <OfficeId>off0000</OfficeId>
   <VotesAllowed>1</VotesAllowed>
</CandidateContest>