Releases: usnistgov/ElectionResultsReporting
Releases · usnistgov/ElectionResultsReporting
Election Results Reporting Common Data Format Specification
Election Results Reporting Common Data Format Specification
Non-functional changes, to specification document only.
Election Results Reporting Common Data Format Specification
The 2.0 version of the Election Results Reporting XML Schema includes the following important changes from the 1.0 XML Schema:
- Removed various 'collection' elements:
- BallotSelection->VoteCountsCollection
- Election->BallotStyleCollection
- Election->CandidateCollection
- Election->ContestCollection
- ElectionReport->GpUnitCollection
- ElectionReport->OfficeCollection
- ElectionReport->PartyCollection
- ElectionReport->PersonCollection
- all occurrences of ExternalIdentifiers
- Removed BallotStyle->objectId attribute
- Removed ElectionReport->Signature element
- Removed
SummaryCounts
fromGpUnit
- Removed
OrderedContest
from BallotStyle - Capitalized all lower case attributes:
- all label attributes are now
Label
- all objectId attributes are now
ObjectId
- AnnotatedString->annotation attribute is now
Annotation
- LanguageString->language attribute is now
Language
- all label attributes are now
- Changes to reporting of other counts besides vote counts:
- Changed name of SummaryCounts to BallotCounts
- Added Election->BallotCounts
- Added Contest->OtherCounts for contest-related summary counts
- Overvotes, Undervotes, WriteIns moved from BallotCounts
- Changed Overvotes, Undervotes to be float types
- Counts->Type attribute is now required (applies to SummaryCounts and VoteCounts types)
- Adjusted the multiplicity of various attributes and associations:
- Adjusted multiplicity of ContactInformation->Directions from
0..*
to0..1
. - All attributes whose Type is
AnnotatedUri
now have multiplicity of0..*
- Adjusted multiplicity of ContactInformation->Directions from
- Added new types:
- Added
AnnotatedUri
type - Added
Header
type - Added
OrderedContent
type - Added
OrderedHeader
type - Added
DateTimeWithZone
type to enforce timezone requirement
- Added
- Added various new associations and attributes:
- Added BallotStyle->OrderedContest
- Added CandidateContest->NumberRunoff
- Added Counts->Round
- Added Candidate->ContactInformation
- Added Candidate->CampaignSlogan
- Added ElectionReport->Header
- Added Office->Description
- Added Party->IsRecognizedParty
- Added Party->ContactInformation
- Added Party->LeaderPersonIds
- Added Party->PartyScopeGpUnitIds
- Added Party->Slogan
- Added Person->ExternalIdentifier
- Modified enumeration literals:
- Added
recall
enumeration literal toBallotMeasureType
- Added
defeated
enumeration literal toCandidatePostElectionStatus
- Removed
write-in
enumeration literal fromCandidatePreElectionStatus
- Added
seats
enumeration literal toCountItemType
- Added
bmd
,dre
enumeration literals toDeviceClass
- Removed
electronic
,lever
,mixed-systems
,punch-card
fromDeviceClass
- Added
country
enumeration literal toReportingUnitType
- Removed
1-of-m
enumeration literal fromVoteVariation
- Added
- Modified attribute types:
- Changed ContactInformation->Uri to be of type
AnnotatedUri
- Changed GpUnit->Name to be of type
InternationalizedText
- Changed OtherCounts->overvotes, undervotes to
float
- Changed Party->Abbreviation to be of type
InternationalizedText
- Changed LatLng->Latitude and LatLng->Longitude to
float
- Changed ContactInformation->Uri to be of type
- Changed ElectionReport->GeneratedDate to be of type
DateTimeWithZone
- maxLength of ShortString is now 32 (up from 16)
- Converted all usages of
anyURI
toAnnotatedUri
- Renamed the following:
- Renamed
BallotSelection
toContestSelection
- Renamed
Device
toDeviceClass
- Renamed ReportingDevice->Device to
DeviceClass
- Removed pluralization of
ExternalIdentifier
- Renamed
Election Results Reporting
Election Results Reporting Version 1.0-50, dated January 11, 2016