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
According to the official documentation of JSON Schema , the standardized place to put subschemas should be "$defs", it is not currently supported by the library (it seems to only support "definitions" section)
The text was updated successfully, but these errors were encountered:
Hi, @jrhok. The library supports $defs for schema drafts 2019-09 and 2020-12 (draft 7 supports only definitions property). Could you please advise which version of the library you are using and which draft you use for your schema?
No worries, you are welcome)
The $defs keyword was added in the draft 2019-09. This is why the library does not support this keyword for drafts before 2019-09.
Also, I would suggest using the latest draft (2020-12) as it is better in some ways than the older drafts (if it is possible in your case of course)
Is there an existing issue for this?
Enhancement description
Hello,
According to the official documentation of JSON Schema , the standardized place to put subschemas should be "$defs", it is not currently supported by the library (it seems to only support "definitions" section)
The text was updated successfully, but these errors were encountered: