In draft2019-09, ref now does not ignore siblings.
]
},
{
- "description": "ref overrides any sibling keywords",
+ "description": "ref applies alongside sibling keywords",
"schema": {
"$defs": {
"reffed": {
},
"tests": [
{
- "description": "ref valid",
+ "description": "ref valid, maxItems valid",
"data": { "foo": [] },
"valid": true
},
{
- "description": "ref valid, maxItems ignored",
+ "description": "ref valid, maxItems invalid",
"data": { "foo": [1, 2, 3] },
- "valid": true
+ "valid": false
},
{
"description": "ref invalid",
