| 1 |
[ |
| 2 |
{ |
| 3 |
"description": "failed validation produces no annotations", |
| 4 |
"schema": { |
| 5 |
"$schema": "https://json-schema.org/v1", |
| 6 |
"$id": "https://json-schema.org/tests/content/v1/general/0", |
| 7 |
"type": "string", |
| 8 |
"readOnly": true |
| 9 |
}, |
| 10 |
"tests": [ |
| 11 |
{ |
| 12 |
"description": "dropped annotations MAY appear in droppedAnnotations", |
| 13 |
"data": 1, |
| 14 |
"output": { |
| 15 |
"list": { |
| 16 |
"$id": "https://json-schema.org/tests/content/v1/general/0/tests/0/basic", |
| 17 |
"$ref": "/v1/output/schema", |
| 18 |
"properties": { |
| 19 |
"details": { |
| 20 |
"contains": { |
| 21 |
"properties": { |
| 22 |
"evaluationPath": {"const": ""}, |
| 23 |
"schemaLocation": {"const": "https://json-schema.org/tests/content/v1/general/0#"}, |
| 24 |
"instanceLocation": {"const": ""}, |
| 25 |
"annotations": false, |
| 26 |
"droppedAnnotations": { |
| 27 |
"properties": { |
| 28 |
"readOnly": {"const": true} |
| 29 |
}, |
| 30 |
"required": ["readOnly"] |
| 31 |
} |
| 32 |
}, |
| 33 |
"required": ["evaluationPath", "schemaLocation", "instanceLocation"] |
| 34 |
} |
| 35 |
} |
| 36 |
}, |
| 37 |
"required": ["details"] |
| 38 |
} |
| 39 |
} |
| 40 |
} |
| 41 |
] |
| 42 |
} |
| 43 |
] |