Writing the schema
Reading the schema
Minimal structure
{
"apis": {},
"vocabularies": {},
"sections": []
}
Minimal working example
{
"vocabularies": {
"yes_no": [
{ "value": "yes", "label": "Yes" },
{ "value": "no", "label": "No" }
]
},
"sections": [
{
"id": "general",
"title": "General Information",
"fields": [
{
"id": "title",
"label": "Title",
"type": "text",
"required": true,
"output": { "path": "titles", "mode": "append", "tpl": { "title": "$value" } }
},
{
"id": "validated",
"label": "Data validated",
"type": "select",
"vocabulary": "yes_no",
"output": { "path": "notes", "mode": "set" }
}
]
}
]
}
