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

jsonschema / validation: describe strategies for handling nulls values as if property was unset #8

Open
nbolten opened this issue Mar 30, 2023 · 0 comments

Comments

@nbolten
Copy link
Member

nbolten commented Mar 30, 2023

The jsonschema generator currently expects properties that are optional to either exist or not and treats the case of null values as an error case. Many GeoJSON serializers (QGIS, Python's Fiona) may fill values as null when they are undefined (or None, in the case of Python).

We should explicitly decide how to handle this case and/or describe it to downstream users of the provided jsonschema file.

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

No branches or pull requests

1 participant