-
Notifications
You must be signed in to change notification settings - Fork 11
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
References to anchors misinterpreted, leading to validation errors #22
Comments
I haven't been following the developments of JSON Schema lately. Looking at the release notes, it appears I found an open issue (xeipuuv/gojsonschema#289) about adding support for 2019-09. That references some alternative libraries that could be options to use here. I'll have to dig into that when I have some time. At a minimum, |
Per my reading of the anchors spec the below should pass validation, and [https://www.jsonschemavalidator.net/s/tOTgHWLN](other validators seem to agree).
The intent is "the value of a property should be (something), or an array of (something)s".
Schema:
File:
yajsv reports:
The text was updated successfully, but these errors were encountered: