diff options
Diffstat (limited to 'json/output-tests/draft2019-09/content/general.json')
-rw-r--r-- | json/output-tests/draft2019-09/content/general.json | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/json/output-tests/draft2019-09/content/general.json b/json/output-tests/draft2019-09/content/general.json new file mode 100644 index 0000000..9194170 --- /dev/null +++ b/json/output-tests/draft2019-09/content/general.json @@ -0,0 +1,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"] + } + } + } + ] + } +] |