1[ 2 { 3 "description": "readOnly generates its value as an annotation", 4 "schema": { 5 "$schema": "https://json-schema.org/draft/next/schema", 6 "$id": "https://json-schema.org/tests/content/draft-next/readOnly/0", 7 "readOnly": true 8 }, 9 "tests": [ 10 { 11 "description": "readOnly is true", 12 "data": 1, 13 "output": { 14 "list": { 15 "$id": "https://json-schema.org/tests/content/draft-next/readOnly/0/tests/0/basic", 16 "$ref": "/draft/next/output/schema", 17 "properties": { 18 "details": { 19 "contains": { 20 "properties": { 21 "evaluationPath": {"const": ""}, 22 "schemaLocation": {"const": "https://json-schema.org/tests/content/draft-next/readOnly/0"}, 23 "instanceLocation": {"const": ""}, 24 "annotations": { 25 "properties": { 26 "readOnly": {"const": true} 27 }, 28 "required": ["readOnly"] 29 } 30 }, 31 "required": ["evaluationPath", "schemaLocation", "instanceLocation", "annotations"] 32 } 33 } 34 }, 35 "required": ["details"] 36 } 37 } 38 } 39 ] 40 } 41] 42