...
1[
2 {
3 "description": "valid definition",
4 "schema": {"$ref": "https://json-schema.org/draft/2019-09/schema"},
5 "tests": [
6 {
7 "description": "valid definition schema",
8 "data": {"$defs": {"foo": {"type": "integer"}}},
9 "valid": true
10 }
11 ]
12 },
13 {
14 "description": "invalid definition",
15 "schema": {"$ref": "https://json-schema.org/draft/2019-09/schema"},
16 "tests": [
17 {
18 "description": "invalid definition schema",
19 "data": {"$defs": {"foo": {"type": 1}}},
20 "valid": false
21 }
22 ]
23 }
24]
View as plain text