jsonform
Version:
Client-side JavaScript library that generates HTML forms from structured data models expressed using a JSON schema, possibly completed by a form layout description.
24 lines • 371 B
JSON
{
"schema": {
"apikey": {
"type": "string",
"title": "API key",
"default": "supercalifragilisticexpialidocious"
},
"text": {
"type": "string",
"title": "Search string"
}
},
"form": [
{
"key": "apikey",
"type": "hidden"
},
"text",
{
"type": "submit",
"title": "Search"
}
]
}