Debian Codegraph @

spec/JSON-Schema-Test-Suite/tests/draft2020-12/defs.json

raw ◀ ▶
1 Debian patch touch this file
•1 [
2 {
3 "description": "validate definition against metaschema",
4 "schema": {
5 "$ref": "https://json-schema.org/draft/2020-12/schema"
6 },
7 "tests": [
8 {
9 "description": "valid definition schema",
10 "data": {"$defs": {"foo": {"type": "integer"}}},
11 "valid": true
12 },
13 {
14 "description": "invalid definition schema",
15 "data": {"$defs": {"foo": {"type": 1}}},
16 "valid": false
17 }
18 ]
19 }
20 ]