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

JSON Schema breaks the API + process specification #483

Open
m-mohr opened this issue Mar 10, 2023 · 0 comments
Open

JSON Schema breaks the API + process specification #483

m-mohr opened this issue Mar 10, 2023 · 0 comments
Labels
breaking Breaking changes, requires a major-version (2.0.0 for example) critical
Milestone

Comments

@m-mohr
Copy link
Member

m-mohr commented Mar 10, 2023

JSON Schema versions newer than 2020-12 will likely break openEO's use of JSON Schema.
We add a couple of custom keywords (subtype, dimensions, parameters, returns) that will likely be forbidden in the future.
This means tooling must stick to JSON Schema 2020-12 or older until we release openEO API version 2.0.0 which will break all processes and the API spec as we'd need to rename the keywords to something like @subtype, @dimensions, @parameters and @returns or similar.

Related links:

I have metaschemas around for the keywords, but it will be a pain in the tooling to implement this, if possible at all (ajv supports it, not sure about Python).

@m-mohr m-mohr added critical breaking Breaking changes, requires a major-version (2.0.0 for example) labels Mar 10, 2023
@m-mohr m-mohr added this to the 2.0.0 milestone Mar 10, 2023
@m-mohr m-mohr changed the title JSON Schema JSON Schema breaks the API + process specification Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking changes, requires a major-version (2.0.0 for example) critical
Projects
None yet
Development

No branches or pull requests

1 participant