Debian Codegraph @

share/output-tests/draft2019-09/content/readOnly.json

raw
1 [
2 {
3 "description": "readOnly generates its value as an annotation",
4 "schema": {
5 "$schema": "https://json-schema.org/draft/2019-09/schema",
6 "$id": "https://json-schema.org/tests/content/draft2019-09/readOnly/0",
7 "readOnly": true
8 },
9 "tests": [
10 {
11 "description": "readOnly is true",
12 "data": 1,
13 "output": {
14 "basic": {
15 "$id": "https://json-schema.org/tests/content/draft2019-09/readOnly/0/tests/0/basic",
16 "$ref": "/draft/2019-09/output/schema",
17 "properties": {
18 "annotations": {
19 "contains": {
20 "type": "object",
21 "properties": {
22 "keywordLocation": {"const": "/readOnly"},
23 "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/readOnly/0#/readOnly"},
24 "instanceLocation": {"const": ""},
25 "annotation": {"const": true}
26 },
27 "required": ["keywordLocation", "instanceLocation", "annotation"]
28 }
29 },
30 "errors": false
31 },
32 "required": ["annotations"]
33 }
34 }
35 }
36 ]
37 }
38 ]