blob: 128216463dbf6d446a07cf34bf74702cfe00e9f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[
{
"description": "validate definition against metaschema",
"schema": {
"$ref": "https://json-schema.org/draft/next/schema"
},
"tests": [
{
"description": "valid definition schema",
"data": {"$defs": {"foo": {"type": "integer"}}},
"valid": true
},
{
"description": "invalid definition schema",
"data": {"$defs": {"foo": {"type": 1}}},
"valid": false
}
]
}
]
|