@mistio/mist-form
Version:
A Webcomponent that renders a form defined by a JSONSchema & an optional UISchema spec
34 lines • 768 B
JSON
{
"jsonSchema": {
"title": "Files",
"type": "object",
"properties": {
"file": {
"type": "string",
"format": "data-url",
"title": "Single file"
},
"files": {
"type": "array",
"title": "Multiple files",
"items": {
"type": "string",
"format": "data-url"
}
},
"filesAccept": {
"type": "string",
"format": "data-url",
"title": "Single File with Accept attribute"
}
}
},
"uiSchema": {
"filesAccept": {
"ui:options": {
"accept": ".pdf"
}
}
},
"formData": {}
}