json-schema-validator/test/issue-311/schema.json
andrejlevkovitch 396ffbb663 fix: issue-311
Fixes #311
2024-02-05 14:17:01 +01:00

20 lines
316 B
JSON

{
"type": "object",
"properties": {
"element": {
"$ref": "#/$defs/element"
}
},
"$defs": {
"element": {
"type": "array",
"items": [
{
"$comment": "the comment should not lead to fail of loading schema",
"type": "number"
}
]
}
}
}