Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CoVE requirements: Jurisdiction codes #53

Open
siwhitehouse opened this issue Jan 28, 2020 · 2 comments
Open

CoVE requirements: Jurisdiction codes #53

siwhitehouse opened this issue Jan 28, 2020 · 2 comments
Labels

Comments

@siwhitehouse
Copy link

jurisdiction/code should be an ISO_3166-2 2-Digit country code, or ISO_3166-2 sub-division code.

country/code should be an ISO_3166-2 2-Digit country code.

We don't use an enum in the schema, so perhaps a warning is appropriate.

@siwhitehouse
Copy link
Author

This issues was copied across from the (internal ODSC) issue http://bods.opendataservices.coop/redmine/issues/310

@kd-ods
Copy link
Collaborator

kd-ods commented Jan 14, 2025

How we validate a codelist from a 3rd-party standard is an open question. It's not obvious to me that embedding the codes as an enum in JSON schema is the best way to go.

(This open question is also noted in the BODS validation spec)

The critical issue is: what happens when there are changes to the 3rd-party codelist. How does that change get incorporated into validation of BODS data?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants