1 | {
|
2 | "$schema": "https://json-schema.org/draft/2019-09/schema",
|
3 | "$id": "https://json-schema.org/draft/2019-09/meta/core",
|
4 | "$vocabulary": {
|
5 | "https://json-schema.org/draft/2019-09/vocab/core": true
|
6 | },
|
7 | "$recursiveAnchor": true,
|
8 |
|
9 | "title": "Core vocabulary meta-schema",
|
10 | "type": ["object", "boolean"],
|
11 | "properties": {
|
12 | "$id": {
|
13 | "type": "string",
|
14 | "format": "uri-reference",
|
15 | "$comment": "Non-empty fragments not allowed.",
|
16 | "pattern": "^[^#]*#?$"
|
17 | },
|
18 | "$schema": {
|
19 | "type": "string",
|
20 | "format": "uri"
|
21 | },
|
22 | "$anchor": {
|
23 | "type": "string",
|
24 | "pattern": "^[A-Za-z][-A-Za-z0-9.:_]*$"
|
25 | },
|
26 | "$ref": {
|
27 | "type": "string",
|
28 | "format": "uri-reference"
|
29 | },
|
30 | "$recursiveRef": {
|
31 | "type": "string",
|
32 | "format": "uri-reference"
|
33 | },
|
34 | "$recursiveAnchor": {
|
35 | "type": "boolean",
|
36 | "default": false
|
37 | },
|
38 | "$vocabulary": {
|
39 | "type": "object",
|
40 | "propertyNames": {
|
41 | "type": "string",
|
42 | "format": "uri"
|
43 | },
|
44 | "additionalProperties": {
|
45 | "type": "boolean"
|
46 | }
|
47 | },
|
48 | "$comment": {
|
49 | "type": "string"
|
50 | },
|
51 | "$defs": {
|
52 | "type": "object",
|
53 | "additionalProperties": {"$recursiveRef": "#"},
|
54 | "default": {}
|
55 | }
|
56 | }
|
57 | }
|