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
$anchor: Replaces the #plain-name form of $id, with a different syntax and approach
$id: Only URI-references without fragments are allowed; see $anchor for a replacement for plain-name fragments; all other fragments in $id had undefined behavior previously
$recursiveAnchor and $recursiveRef: Used for extending recursive schemas such as meta-schemas
$ref: Other keywords are now allowed alongside of it
unevaluatedItems: Similar to additionalItems, but can “see” into subschemas and across references
unevaluatedProperties: Similar to additionalProperties, but can “see” into subschemas and across references
New Properties
$defs: renamed from definitions
$vocabulary: Has effects only in meta-schemas
dependentSchemas and dependentRequired: split from dependencies
maxContains and minContains: Assertion for controlling how many times a subschema
deprecated: Used to indicate that a field is deprecated in some application-specific manner
const: It is similar to enum, but has only one value
$dynamicRef and $dynamicAnchor: The $recursiveRef and $recursiveAnchor keywords were replaced by the more powerful $dynamicRef and $dynamicAnchor keywords.
ref #511
JSON Schema 2019-09
https://json-schema.org/draft/2019-09/release-notes.html
"$schema": "https://json-schema.org/draft/2019-09/schema"
New Features
$anchor
: Replaces the#plain-name
form of$id
, with a different syntax and approach$id
: Only URI-references without fragments are allowed; see $anchor for a replacement for plain-name fragments; all other fragments in $id had undefined behavior previously$recursiveAnchor
and$recursiveRef
: Used for extending recursive schemas such as meta-schemas$ref
: Other keywords are now allowed alongside of itunevaluatedItems
: Similar toadditionalItems
, but can “see” into subschemas and across referencesunevaluatedProperties
: Similar toadditionalProperties
, but can “see” into subschemas and across referencesNew Properties
$defs
: renamed from definitions$vocabulary
: Has effects only in meta-schemasdependentSchemas
anddependentRequired
: split from dependenciesmaxContains
andminContains
: Assertion for controlling how many times a subschemadeprecated
: Used to indicate that a field is deprecated in some application-specific mannerconst
: It is similar toenum
, but has only one valueJSON Schema 2020-12
https://json-schema.org/draft/2020-12/release-notes.html
"$schema": "https://json-schema.org/draft/2020-12"
New Features
$dynamicRef
and$dynamicAnchor
: The$recursiveRef
and$recursiveAnchor
keywords were replaced by the more powerful$dynamicRef
and$dynamicAnchor
keywords.New Properties
prefixItems
: replace fromitems
items
: replace fromadditionalItems
The text was updated successfully, but these errors were encountered: