pandastrike/jsck

Add case to draft4 "type" test to outlaw removed behavior

Closed this issue · 0 comments

https://github.com/json-schema/json-schema/wiki/ChangeLog#type

When the value is an array, schemas are no longer allowed as elements. Also, the array must have at least one element.

JSCK draft4 passes this test, even though the code is currently identical to draft3.