|
3 | 3 | "description": "validating type", |
4 | 4 | "schema": { |
5 | 5 | "$schema": "https://json-schema.org/draft/2019-09/schema", |
6 | | - "$id": "https://json-schema.org/tests/content/draft2019-09/type/1", |
| 6 | + "$id": "https://json-schema.org/tests/content/draft2019-09/type/0", |
7 | 7 | "type": "string" |
8 | 8 | }, |
9 | 9 | "tests": [ |
|
12 | 12 | "data": 1, |
13 | 13 | "output": { |
14 | 14 | "basic": { |
| 15 | + "$id": "https://json-schema.org/tests/content/draft2019-09/type/0/tests/0/basic", |
15 | 16 | "$ref": "/draft/2019-09/output/schema", |
16 | 17 | "properties": { |
17 | 18 | "errors": { |
18 | 19 | "contains": { |
19 | 20 | "properties": { |
20 | 21 | "keywordLocation": {"const": "/type"}, |
21 | | - "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/type/1#/type"}, |
| 22 | + "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/type/0#/type"}, |
22 | 23 | "instanceLocation": {"const": ""}, |
23 | 24 | "annotation": false |
24 | 25 | }, |
|
32 | 33 | }, |
33 | 34 | { |
34 | 35 | "description": "correct type yields an output unit", |
35 | | - "data": 1, |
| 36 | + "data": "a string", |
36 | 37 | "output": { |
37 | 38 | "basic": { |
| 39 | + "$id": "https://json-schema.org/tests/content/draft2019-09/type/0/tests/1/basic", |
38 | 40 | "$ref": "/draft/2019-09/output/schema", |
39 | 41 | "properties": { |
40 | 42 | "annotations": { |
41 | 43 | "contains": { |
42 | 44 | "properties": { |
43 | 45 | "valid": {"const": true}, |
44 | 46 | "keywordLocation": {"const": "/type"}, |
45 | | - "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/type/1#/type"}, |
| 47 | + "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/type/0#/type"}, |
46 | 48 | "instanceLocation": {"const": ""}, |
47 | 49 | "annotation": false, |
48 | 50 | "error": false |
|
0 commit comments