balena-io-modules / jellyschema

JellySchema - data validation, UI form generation
Apache License 2.0
4 stars 2 forks source link

Generation should fail when no `items` defined for `type: array` #85

Closed cyplo closed 5 years ago

cyplo commented 5 years ago

Right now it produces a JSONSchema with just array definition and no items instead

zrzka commented 5 years ago

And that's okay. It's perfectly valid. Like, empty schema is ok and it validates any input data. It's like - can be whatever in this array. We should close this one.