File tree 1 file changed +24
-0
lines changed
1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 146
146
}
147
147
]
148
148
},
149
+ {
150
+ "description" : " Single-schema items and unevaluatedItems" ,
151
+ "schema" : {
152
+ "unevaluatedItems" : {"type" : " boolean" },
153
+ "anyOf" : [ { "items" : {"type" : " string" } }, true ]
154
+ },
155
+ "tests" : [
156
+ {
157
+ "description" : " unevaluatedItems is applied" ,
158
+ "data" : [true , false ],
159
+ "valid" : true
160
+ },
161
+ {
162
+ "description" : " unevaluatedItems isn't applied unnecessarily on items annotation boolean of true" ,
163
+ "data" : [" yes" , " no" ],
164
+ "valid" : true
165
+ },
166
+ {
167
+ "description" : " unevaluatedItems is applied on items annotation boolean false" ,
168
+ "data" : [" yes" , false ],
169
+ "valid" : false
170
+ }
171
+ ]
172
+ },
149
173
{
150
174
"description" : " unevaluatedItems with nested additionalItems" ,
151
175
"schema" : {
You can’t perform that action at this time.
0 commit comments