Debian Codegraph @

share/draft2020-12/meta/core.json

raw
1 {
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://json-schema.org/draft/2020-12/meta/core",
4 "$dynamicAnchor": "meta",
5
6 "title": "Core vocabulary meta-schema",
7 "type": ["object", "boolean"],
8 "properties": {
9 "$id": {
10 "$ref": "#/$defs/uriReferenceString",
11 "$comment": "Non-empty fragments not allowed.",
12 "pattern": "^[^#]*#?$"
13 },
14 "$schema": { "$ref": "#/$defs/uriString" },
15 "$ref": { "$ref": "#/$defs/uriReferenceString" },
16 "$anchor": { "$ref": "#/$defs/anchorString" },
17 "$dynamicRef": { "$ref": "#/$defs/uriReferenceString" },
18 "$dynamicAnchor": { "$ref": "#/$defs/anchorString" },
19 "$vocabulary": {
20 "type": "object",
21 "propertyNames": { "$ref": "#/$defs/uriString" },
22 "additionalProperties": {
23 "type": "boolean"
24 }
25 },
26 "$comment": {
27 "type": "string"
28 },
29 "$defs": {
30 "type": "object",
31 "additionalProperties": { "$dynamicRef": "#meta" }
32 }
33 },
34 "$defs": {
35 "anchorString": {
36 "type": "string",
37 "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
38 },
39 "uriString": {
40 "type": "string",
41 "format": "uri"
42 },
43 "uriReferenceString": {
44 "type": "string",
45 "format": "uri-reference"
46 }
47 }
48 }