• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2    {
3        "description": "failed validation produces no annotations",
4        "schema": {
5            "$schema": "https://json-schema.org/draft/2019-09/schema",
6            "$id": "https://json-schema.org/tests/content/draft2019-09/general/0",
7            "type": "string",
8            "readOnly": true
9        },
10        "tests": [
11            {
12                "description": "readOnly annotation is dropped",
13                "data": 1,
14                "output": {
15                    "basic": {
16                        "$id": "https://json-schema.org/tests/content/draft2019-09/general/0/tests/0/basic",
17                        "$ref": "/draft/2019-09/output/schema",
18                        "properties": {
19                            "errors": {
20                                "items": {
21                                    "properties": {
22                                        "annotation": false
23                                    }
24                                }
25                            },
26                            "annotations": false
27                        },
28                        "required": ["errors"]
29                    }
30                }
31            }
32        ]
33    }
34]
35