blob: 91941700e662925d5690c314f70f85da38d5d8f5 (
plain)
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
|
[
{
"description": "failed validation produces no annotations",
"schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/tests/content/draft2019-09/general/0",
"type": "string",
"readOnly": true
},
"tests": [
{
"description": "readOnly annotation is dropped",
"data": 1,
"output": {
"basic": {
"$id": "https://json-schema.org/tests/content/draft2019-09/general/0/tests/0/basic",
"$ref": "/draft/2019-09/output/schema",
"properties": {
"errors": {
"items": {
"properties": {
"annotation": false
}
}
},
"annotations": false
},
"required": ["errors"]
}
}
}
]
}
]
|