Debian Codegraph @

share/output-tests/draft2020-12/content/type.json

raw
1 [
2 {
3 "description": "validating type",
4 "schema": {
5 "$schema": "https://json-schema.org/draft/2020-12/schema",
6 "$id": "https://json-schema.org/tests/content/draft2020-12/type/0",
7 "type": "string",
8 "anyOf": [ true ]
9 },
10 "tests": [
11 {
12 "description": "incorrect type must be reported, but a message is not required",
13 "data": 1,
14 "output": {
15 "basic": {
16 "$id": "https://json-schema.org/tests/content/draft2020-12/type/0/tests/0/basic",
17 "$ref": "/draft/2020-12/output/schema",
18 "properties": {
19 "errors": {
20 "contains": {
21 "properties": {
22 "keywordLocation": {"const": "/type"},
23 "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2020-12/type/0#/type"},
24 "instanceLocation": {"const": ""},
25 "annotation": false
26 },
27 "required": ["keywordLocation", "instanceLocation"]
28 }
29 }
30 },
31 "required": ["errors"]
32 }
33 }
34 }
35 ]
36 }
37 ]