31 lines
671 B
JSON
31 lines
671 B
JSON
{
|
|
"description": "Base View Schema for defining View Instances in an application",
|
|
"type": "object",
|
|
"properties": {
|
|
"type": {
|
|
"type":"string",
|
|
"description": "The Name of the Class to be used for this view"
|
|
},
|
|
|
|
"models": {
|
|
"type": "array",
|
|
"items": {
|
|
"type":"string",
|
|
"description": "Models that this view requires. These should reference one of the available #models",
|
|
"dependences":{}
|
|
}
|
|
},
|
|
|
|
"persist": {
|
|
"type": "boolean",
|
|
"description":"Keep this view loaded on the dom or memory, but not necessarily visible"
|
|
},
|
|
|
|
"template": {
|
|
"type": "string",
|
|
"description": "Template to be used with this view"
|
|
}
|
|
}
|
|
}
|
|
|