You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like $recursiveRef does not correctly resolve to a $recursiveAnchor with Draft 2019-09. Consider the 2019 metaschema with its vocabulary references inlined into the schema (the recommended way using $defs):
2019-09.txt (.txt extension because GitHub doesn't support .json)
Attempting to load this schema yields the following exception: com.networknt.schema.JsonSchemaException: anyOf/$ref: Reference #/$defs/simpleTypes cannot be resolved
But this $recursiveRef should resolve without issue.
The text was updated successfully, but these errors were encountered:
@tomdeering-wf We have a community PR to get the $recurisiveRef implemented but I am guessing there might be some gaps left. I am wondering if you could create a test case and debug into it to find the root cause and get it resolved. Thanks.
* Adds support for $recursiveAnchor and $recursiveRef
Resolves#507
* Updates documentation on compliance with the standards.
---------
Co-authored-by: Faron Dutton <[email protected]>
It looks like
$recursiveRef
does not correctly resolve to a$recursiveAnchor
with Draft 2019-09. Consider the 2019 metaschema with its vocabulary references inlined into the schema (the recommended way using$defs
):2019-09.txt (.txt extension because GitHub doesn't support .json)
Attempting to load this schema yields the following exception:
com.networknt.schema.JsonSchemaException: anyOf/$ref: Reference #/$defs/simpleTypes cannot be resolved
But this
$recursiveRef
should resolve without issue.The text was updated successfully, but these errors were encountered: