-
Notifications
You must be signed in to change notification settings - Fork 57
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
Clean-up spec and JSON Schema #131
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of good changes (the STAC experience shows!) though I think it would be easier to review/discuss if split into a few different PRs.
@kylebaron The issue is the indentation change for patternProperties/additionalProperties. Makes it a bit hard to compare in the underwhelming GitHub diff tool. Maybe open it in a another diff tool? |
I was referring more towards:
I think it would be clearer for each to be their own PR with their own discussion |
# Conflicts: # format-specs/geoparquet.md # format-specs/schema.json
Updated to reflect the latest changes. See the initial post for a list of changes. |
Two additional changes, see also #141 (comment):
|
Co-authored-by: Matthias Mohr <[email protected]>
Wasn't this meant to wait for #141 ? |
My bad. I thought I understood that this was going to come first. I had just read the comment here #141 (comment) and thought that the tests were going to be adapted after this was in. @jorisvandenbossche - Apologies for complicating things if the tests don't pass with these changes. |
No problem! The tests are also still passing, so no complication at all ;) |
Fixes #129, should include not functional changes.
Changes:
columns
key fromkey
tostring
in the written spec as "key" is not a datatypenull
type to thecrs
field in the written spec (alignment with JSON Schema)required
fields up so that they are located before the properties, which makes it easier to understand the requirementspatternProperties
pattern ".*" with ".+" to not allow empty column names (see Require minimum length of 1 for primary_geometry #129 #153)additionalProperties: true
as they are the default anywayenum
s with a single value withconst
Related PRs: #151, #153