This app does what the name already suggests. It takes the schema that you write in the text area and automatically generates a form for you.
If you’ve ever used XML Schema, RelaxNG or ASN.1 you probably already know what a schema is.
JSON Schema is a powerful tool for validating the structure of JSON data. The schema follows a JSON structure, and with its data types, all kinds of structured data can be represented.
like the example below:
{
"type": "object",
"properties": {
"first_name": {
"type": "string",
"title": "Nome"
},
"last_name": {
"type": "string",
"title": "Sobrenome"
},
"birthday": {
"type": "string",
"format": "date",
"title": "Data de nascimento"
},
"address": {
"type": "object",
"properties": {
"street_address": {
"type": "string",
"title": "Rua"
},
"address_number": {
"type": "string",
"title": "CEP"
},
"city": {
"type": "string",
"title": "Cidade"
},
"state": {
"type": "string",
"title": "UF"
},
"country": {
"type": "string",
"title": "País"
}
}
}
}
}
You can learn more about the power of JSON Schema at link.
You can access the JSONSchema open-source library at this repository