UNPKG

1.58 kBJSONView Raw
1{
2 "$schema": "https://json-schema.org/draft/2019-09/schema",
3 "$id": "https://json-schema.org/draft/2019-09/schema",
4 "$vocabulary": {
5 "https://json-schema.org/draft/2019-09/vocab/core": true,
6 "https://json-schema.org/draft/2019-09/vocab/applicator": true,
7 "https://json-schema.org/draft/2019-09/vocab/validation": true,
8 "https://json-schema.org/draft/2019-09/vocab/meta-data": true,
9 "https://json-schema.org/draft/2019-09/vocab/format": false,
10 "https://json-schema.org/draft/2019-09/vocab/content": true
11 },
12 "$recursiveAnchor": true,
13
14 "title": "Core and Validation specifications meta-schema",
15 "allOf": [
16 {"$ref": "meta/core"},
17 {"$ref": "meta/applicator"},
18 {"$ref": "meta/validation"},
19 {"$ref": "meta/meta-data"},
20 {"$ref": "meta/format"},
21 {"$ref": "meta/content"}
22 ],
23 "type": ["object", "boolean"],
24 "properties": {
25 "definitions": {
26 "$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.",
27 "type": "object",
28 "additionalProperties": {"$recursiveRef": "#"},
29 "default": {}
30 },
31 "dependencies": {
32 "$comment": "\"dependencies\" is no longer a keyword, but schema authors should avoid redefining it to facilitate a smooth transition to \"dependentSchemas\" and \"dependentRequired\"",
33 "type": "object",
34 "additionalProperties": {
35 "anyOf": [{"$recursiveRef": "#"}, {"$ref": "meta/validation#/$defs/stringArray"}]
36 }
37 }
38 }
39}