Skip to content

Commit 9a11d89

Browse files
jgraettingerJulian
authored andcommitted
In draft2019-09, ref now does not ignore siblings.
1 parent 7dc768a commit 9a11d89

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/draft2019-09/ref.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141
]
142142
},
143143
{
144-
"description": "ref overrides any sibling keywords",
144+
"description": "ref applies alongside sibling keywords",
145145
"schema": {
146146
"$defs": {
147147
"reffed": {
@@ -157,14 +157,14 @@
157157
},
158158
"tests": [
159159
{
160-
"description": "ref valid",
160+
"description": "ref valid, maxItems valid",
161161
"data": { "foo": [] },
162162
"valid": true
163163
},
164164
{
165-
"description": "ref valid, maxItems ignored",
166-
"data": { "foo": [ 1, 2, 3] },
167-
"valid": true
165+
"description": "ref valid, maxItems invalid",
166+
"data": { "foo": [1, 2, 3] },
167+
"valid": false
168168
},
169169
{
170170
"description": "ref invalid",

0 commit comments

Comments
 (0)