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
Copy file name to clipboardExpand all lines: draft-2020-12/schema.js
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,9 @@ export default {
28
28
"$comment": "While no longer an official keyword as it is replaced by $defs, this keyword is retained in the meta-schema to prevent incompatible extensions as it remains in common use.",
29
29
"type": "object",
30
30
"additionalProperties": {"$dynamicRef": "#meta"},
31
-
"default": {}
31
+
"default": {},
32
+
"deprecated": true,
33
+
"x-deprecationMessage": "Use '$defs'. 'definitions' was replaced with '$defs' in 2019-09"
32
34
},
33
35
"dependencies": {
34
36
"$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
0 commit comments