JSON Schema to HTML form generator, supporting dynamic subschemas (on the fly resolution). Extensible and customizable library with zero dependencies. Bootstrap add-ons provided
I think that an empty object should validate against this. The validator at https://jsonschemalint.com/ seems to agree. json-forms throws a validation error ("At least 1 items are required") even if the list property is missing. See this JSfidle example.
I appreciate https://github.com/brutusin/json-forms/blob/master/README.md#status. For the benefit of anyone else who trips over this or who knows how to fix it:
I think this schema defines an object that contains an optional array element which, if present, must have at least one element.
I think that an empty object should validate against this. The validator at https://jsonschemalint.com/ seems to agree. json-forms throws a validation error ("At least
1
items are required") even if the list property is missing. See this JSfidle example.FYI.