can "definitions" (instead of $defs) be used with meta-schema 2019-09/2020-12? #253
Replies: 2 comments 4 replies
-
Better yet, use alterschema to do the upgrade for you. |
Beta Was this translation helpful? Give feedback.
-
@bill-okara in terms of the spec, there are two issues:
Non-JSON Schema reference tooling doesn't care whether something is a schema or not, so it tends to use the second approach. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
just want to confirm, when using meta schema 2019-09 or 2020-12, can "definitions" still be used? or can only use "$defs"?
Asking because some mentioned that "definitions" can still be used,
But some validators ONLY recognize "$defs" with 2019-09 / 2020-12, like
and gave error or not validating properly if "definitions" was used, e.g.,
while other validator recognizes the "definitions", like
thanks!
Beta Was this translation helpful? Give feedback.
All reactions