enco-poodle-json-schema
Version:
Adds JSON SCHEMA functionality to the Enco project
52 lines (40 loc) • 880 B
JSON
{
"type": "object",
"reference": "schema_wtd_hobby",
"title": "WTD Hobby",
"IdentityField": "id",
"ListCellComponent": "ListCellSmall",
"ListCellTitleField": "name",
"ListCellDescriptionField": "name",
"ListCellIcon": "el-icon-collection",
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"desc": {
"type": "string",
"title": "Description",
"attrs": {
"type": "textarea"
}
},
"p1id": {
"type": "number",
"title": "Category",
"attrs": {
"type" : "selectdictionaryentry",
"dictionary" : "mode_dictionary"
}
},
"tags": {
"type": "string",
"title": "Tags",
"attrs": {
"type" : "tags"
}
}
},
"additionalProperties": false,
"required": ["name"]
}