angular2-json-schema-form
Version:
Angular 2 JSON Schema Form builder
23 lines (22 loc) • 387 B
JSON
{
"schema": {
"name": {
"title": "Name",
"description": "Nickname allowed",
"type": "string"
},
"gender": {
"title": "Gender",
"description": "Your gender",
"type": "string",
"enum": [ "male", "female", "alien" ]
}
},
"form": [
"*",
{
"type": "submit",
"title": "OK Go - This Too Shall Pass"
}
]
}