File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 146146 }
147147 ]
148148 },
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+ },
149173 {
150174 "description" : " unevaluatedItems with nested additionalItems" ,
151175 "schema" : {
You can’t perform that action at this time.
0 commit comments