[
    {
        "description": "readOnly generates its value as an annotation",
        "schema": {
            "$schema": "https://json-schema.org/draft/2019-09/schema",
            "$id": "https://json-schema.org/tests/content/draft2019-09/readOnly/0",
            "readOnly": true
        },
        "tests": [
            {
                "description": "readOnly is true",
                "data": 1,
                "output": {
                    "basic": {
                        "$id": "https://json-schema.org/tests/content/draft2019-09/readOnly/0/tests/0/basic",
                        "$ref": "/draft/2019-09/output/schema",
                        "properties": {
                            "annotations": {
                                "contains": {
                                    "type": "object",
                                    "properties": {
                                        "keywordLocation": {"const": "/readOnly"},
                                        "absoluteKeywordLocation": {"const": "https://json-schema.org/tests/content/draft2019-09/readOnly/0#/readOnly"},
                                        "instanceLocation": {"const": ""},
                                        "annotation": {"const": true}
                                    },
                                    "required": ["keywordLocation", "instanceLocation", "annotation"]
                                }
                            },
                            "errors": false
                        },
                        "required": ["annotations"]
                    }
                }
            }
        ]
    }
]
