UNPKG

2.17 kBJSONView Raw
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://json-schema.org/draft/2020-12/schema",
4 "$vocabulary": {
5 "https://json-schema.org/draft/2020-12/vocab/core": true,
6 "https://json-schema.org/draft/2020-12/vocab/applicator": true,
7 "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
8 "https://json-schema.org/draft/2020-12/vocab/validation": true,
9 "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
10 "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
11 "https://json-schema.org/draft/2020-12/vocab/content": true
12 },
13 "$dynamicAnchor": "meta",
14
15 "title": "Core and Validation specifications meta-schema",
16 "allOf": [
17 {"$ref": "meta/core"},
18 {"$ref": "meta/applicator"},
19 {"$ref": "meta/unevaluated"},
20 {"$ref": "meta/validation"},
21 {"$ref": "meta/meta-data"},
22 {"$ref": "meta/format-annotation"},
23 {"$ref": "meta/content"}
24 ],
25 "type": ["object", "boolean"],
26 "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
27 "properties": {
28 "definitions": {
29 "$comment": "\"definitions\" has been replaced by \"$defs\".",
30 "type": "object",
31 "additionalProperties": {"$dynamicRef": "#meta"},
32 "deprecated": true,
33 "default": {}
34 },
35 "dependencies": {
36 "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
37 "type": "object",
38 "additionalProperties": {
39 "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
40 },
41 "deprecated": true,
42 "default": {}
43 },
44 "$recursiveAnchor": {
45 "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
46 "$ref": "meta/core#/$defs/anchorString",
47 "deprecated": true
48 },
49 "$recursiveRef": {
50 "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
51 "$ref": "meta/core#/$defs/uriReferenceString",
52 "deprecated": true
53 }
54 }
55}