-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjson-schema-2020-12.json
More file actions
66 lines (66 loc) · 2.7 KB
/
json-schema-2020-12.json
File metadata and controls
66 lines (66 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://json-schema.org/draft/2020-12/schema",
"title": "Core and Validation specifications meta-schema",
"type": ["object", "boolean"],
"properties": {
"$id": {"type": "string", "format": "uri-reference"},
"$schema": {"type": "string", "format": "uri"},
"$ref": {"type": "string", "format": "uri-reference"},
"$anchor": {"type": "string", "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"},
"$vocabulary": {
"type": "object",
"propertyNames": {"format": "uri"},
"additionalProperties": {"type": "boolean"}
},
"$comment": {"type": "string"},
"type": {
"anyOf": [
{"type": "string"},
{
"type": "array",
"items": {"type": "string"},
"minItems": 1,
"uniqueItems": true
}
]
},
"enum": {"type": "array", "items": true, "minItems": 1, "uniqueItems": true},
"const": true,
"multipleOf": {"type": "number", "exclusiveMinimum": 0},
"maximum": {"type": "number"},
"exclusiveMaximum": {"type": "number"},
"minimum": {"type": "number"},
"exclusiveMinimum": {"type": "number"},
"maxLength": {"type": "integer", "minimum": 0},
"minLength": {"type": "integer", "minimum": 0},
"pattern": {"type": "string", "format": "regex"},
"items": {"anyOf": [{"$ref": "#"}, {"type": "array", "items": {"$ref": "#"}, "minItems": 1}]},
"additionalItems": {"$ref": "#"},
"maxItems": {"type": "integer", "minimum": 0},
"minItems": {"type": "integer", "minimum": 0},
"uniqueItems": {"type": "boolean"},
"contains": {"$ref": "#"},
"maxProperties": {"type": "integer", "minimum": 0},
"minProperties": {"type": "integer", "minimum": 0},
"required": {"type": "array", "items": {"type": "string"}, "minItems": 1, "uniqueItems": true},
"properties": {"type": "object", "additionalProperties": {"$ref": "#"}},
"patternProperties": {"type": "object", "additionalProperties": {"$ref": "#"}},
"additionalProperties": {"$ref": "#"},
"propertyNames": {"$ref": "#"},
"if": {"$ref": "#"},
"then": {"$ref": "#"},
"else": {"$ref": "#"},
"allOf": {"type": "array", "items": {"$ref": "#"}, "minItems": 1},
"anyOf": {"type": "array", "items": {"$ref": "#"}, "minItems": 1},
"oneOf": {"type": "array", "items": {"$ref": "#"}, "minItems": 1},
"not": {"$ref": "#"},
"format": {"type": "string"},
"contentMediaType": {"type": "string"},
"contentEncoding": {"type": "string"},
"contentSchema": {"$ref": "#"},
"definitions": {"type": "object", "additionalProperties": {"$ref": "#"}},
"$defs": {"type": "object", "additionalProperties": {"$ref": "#"}}
},
"default": true
}