Last change
on this file since bdd6491 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.3 KB
|
Line | |
---|
1 | {
|
---|
2 | "$schema": "https://json-schema.org/draft/2020-12/schema",
|
---|
3 | "$id": "https://json-schema.org/draft/2020-12/meta/core",
|
---|
4 | "$vocabulary": {
|
---|
5 | "https://json-schema.org/draft/2020-12/vocab/core": true
|
---|
6 | },
|
---|
7 | "$dynamicAnchor": "meta",
|
---|
8 |
|
---|
9 | "title": "Core vocabulary meta-schema",
|
---|
10 | "type": ["object", "boolean"],
|
---|
11 | "properties": {
|
---|
12 | "$id": {
|
---|
13 | "$ref": "#/$defs/uriReferenceString",
|
---|
14 | "$comment": "Non-empty fragments not allowed.",
|
---|
15 | "pattern": "^[^#]*#?$"
|
---|
16 | },
|
---|
17 | "$schema": {"$ref": "#/$defs/uriString"},
|
---|
18 | "$ref": {"$ref": "#/$defs/uriReferenceString"},
|
---|
19 | "$anchor": {"$ref": "#/$defs/anchorString"},
|
---|
20 | "$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
|
---|
21 | "$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
|
---|
22 | "$vocabulary": {
|
---|
23 | "type": "object",
|
---|
24 | "propertyNames": {"$ref": "#/$defs/uriString"},
|
---|
25 | "additionalProperties": {
|
---|
26 | "type": "boolean"
|
---|
27 | }
|
---|
28 | },
|
---|
29 | "$comment": {
|
---|
30 | "type": "string"
|
---|
31 | },
|
---|
32 | "$defs": {
|
---|
33 | "type": "object",
|
---|
34 | "additionalProperties": {"$dynamicRef": "#meta"}
|
---|
35 | }
|
---|
36 | },
|
---|
37 | "$defs": {
|
---|
38 | "anchorString": {
|
---|
39 | "type": "string",
|
---|
40 | "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
|
---|
41 | },
|
---|
42 | "uriString": {
|
---|
43 | "type": "string",
|
---|
44 | "format": "uri"
|
---|
45 | },
|
---|
46 | "uriReferenceString": {
|
---|
47 | "type": "string",
|
---|
48 | "format": "uri-reference"
|
---|
49 | }
|
---|
50 | }
|
---|
51 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.