-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
schema.json
40 lines (40 loc) · 1.03 KB
/
schema.json
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
{
"type": "array",
"items": [
{
"type": "number",
"maximum": 10,
"exclusiveMaximum": true
},
{
"type": "string",
"enum": ["hello", "world"]
},
{
"type": "array",
"minItems": 1,
"maxItems": 3,
"items": [
{"type": "number"},
{"type": "string"},
{"type": "boolean"}
]
},
{
"type": "object",
"required": ["a", "b"],
"minProperties": 3,
"properties": {
"a": {"type": ["null", "string"]},
"b": {"type": ["null", "string"]},
"c": {"type": ["null", "string"], "default": "abc"}
},
"additionalProperties": {"type": "string"}
},
{"not": {"type": ["null"]}},
{"oneOf": [
{"type": "number", "multipleOf": 3},
{"type": "number", "multipleOf": 5}
]}
]
}