Debian Codegraph @

t/additional-tests-draft2019-09/unknownKeyword.json

raw
1 [
2 {
3 "description": "past and future keywords are ignored",
4 "schema": {
5 "id": "#bad_syntax!for anchor~",
6 "$dynamicAnchor": "!~bunkanchor",
7 "$dynamicRef": "http://does-not-exist.com",
8 "dependencies": {
9 "alpha": false,
10 "beta": [ "zeta" ]
11 },
12 "prefixItems": [
13 true,
14 false
15 ],
16 "type": "number"
17 },
18 "tests": [
19 {
20 "description": "passing",
21 "data": 1,
22 "valid": true
23 },
24 {
25 "description": "failing (string)",
26 "data": "foo",
27 "valid": false
28 },
29 {
30 "description": "failing (object)",
31 "data": { "alpha": 1, "beta": 2 },
32 "valid": false
33 },
34 {
35 "description": "failing (array)",
36 "data": [ 1, 2 ],
37 "valid": false
38 }
39 ]
40 }
41 ]