generated from stac-extensions/template
-
Notifications
You must be signed in to change notification settings - Fork 3
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
How should asset processing properties be validated? #17
Comments
The weird "not" validation is a workaround for not having an object-based "contains" in JSON Schema draft 7, see json-schema-org/json-schema-spec#1077 (comment) for details. So if you replace the chained "not" "additionalProperties" "not" with a "contains" (in your mind) it may make more sense. I assume this is solved then? Otherwise, let me know. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The schema contains the following section:
What is the semantics meant to be? Are the
not
s actually meant to be there? I would expect the idea is that if there are any assets then any processing properties within them should be valid, not invalid. In code, I'd expect the following test to pass:The text was updated successfully, but these errors were encountered: