usnistgov / VoterRecordsInterchange

Common data format specification for voter records interchange data
https://pages.nist.gov/VoterRecordsInterchange
Other
14 stars 2 forks source link

FGDC-STD-016-2011 portion of JSON Schema produces duplicate fields #28

Open JDziurlaj opened 1 month ago

JDziurlaj commented 1 month ago

Organization Name: The Turnout

Organization Type: 1 (CTR)

Document (e.g., VoterRecordsInterchange): NIST_V0_voter_records_interchange.json

Reference (Include section and paragraph number): addr.NumberedThoroughfareAddress_type entry

Comment (Include rationale for comment): The JSON schema includes equivalents of the FGDC spec for addressing which is generated from the UML Model. This is unlike the XML Schema, which references the FGDC published XSD directly (NB: the FGDC never produced a JSON schema for this specification). The JSON Schema's addr.NumberedThoroughfareAddress_type has repeating properties that do not exist in the FGDC schema in leui of real ones, such as CompletePlaceName1 and CompletePlaceName2 (NB: the multiplicity for CompletePlaceName is 1..1) instead of CompletePlaceName.

Suggested Change: Match JSON output to FGDC schema.


Organization Type: 1 = Federal, 2 = Industry, 3 = Academia, 4 = Self, 5 = Other