VisualJsonEditor
VisualJsonEditor copied to clipboard
support items[] properties
Hi,items[] properties seems not to be supported.
the JsonSchema4 file looks like this below { "type": "object", "properties": { "fixedItemsList": { "type": "array", "title": "A list of fixed items", "items": [ { "title": "A string value", "type": "string", "default": "lorem ipsum" }, { "title": "a boolean value", "type": "boolean" } ], "additionalItems": { "title": "Additional item", "type": "number" } } } } you can also find it in tab[Arrays] from https://mozilla-services.github.io/react-jsonschema-form/ It can't be opened in VisualJsonEditor.
Regards.
Same issue to nestedList.
{ "type": "object", "properties": { "nestedList": { "type": "array", "title": "Nested list", "items": { "type": "array", "title": "Inner list", "items": { "type": "string", "default": "lorem ipsum" } } } } }
Tuple types (items with different type per element) are currently not supported.
What about nested arrays? Array-object is ok, but array-array is not, because the inner has no properties.
Probably not, currently only the simplest scenarios are supported..