2020-03-04 14:07:40 +00:00
|
|
|
{
|
2020-04-15 15:02:29 +00:00
|
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
2020-03-04 14:07:40 +00:00
|
|
|
"type": "array",
|
|
|
|
"items": [
|
|
|
|
{
|
|
|
|
"type": "number",
|
|
|
|
"exclusiveMaximum": 10
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"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}
|
|
|
|
]}
|
|
|
|
]
|
2020-05-17 15:35:11 +00:00
|
|
|
}
|