-
-
Notifications
You must be signed in to change notification settings - Fork 275
Expand file tree
/
Copy pathverbose.json
More file actions
41 lines (41 loc) · 1.72 KB
/
verbose.json
File metadata and controls
41 lines (41 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[
{
"description": "verbose output includes every evaluated keyword, annotations for passing keywords",
"schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/tests/structure/draft2019-09/verbose/0",
"type": "object",
"properties": {
"name": { "type": "string" }
}
},
"tests": [
{
"description": "valid data produces annotations for type and properties keywords",
"data": { "name": "test" },
"output": {
"verbose": {
"$id": "https://json-schema.org/tests/structure/draft2019-09/verbose/0/tests/0/verbose",
"$ref": "/draft/2019-09/output/schema",
"properties": {
"valid": { "const": true },
"annotations": {
"type": "array",
"minItems": 1,
"items": {
"required": ["keywordLocation", "instanceLocation", "valid"],
"properties": {
"keywordLocation": { "type": "string" },
"instanceLocation": { "type": "string" },
"valid": { "type": "boolean" }
}
}
}
},
"required": ["valid", "annotations"]
}
}
}
]
}
]