| 1 | { |
| 2 | "description": "Base View Schema for defining View Instances in an application", |
| 3 | "type": "object", |
| 4 | "properties": { |
| 5 | "type": { |
| 6 | "type":"string", |
| 7 | "description": "The Name of the Class to be used for this view" |
| 8 | }, |
| 9 | |
| 10 | "models": { |
| 11 | "type": "array", |
| 12 | "items": { |
| 13 | "type":"string", |
| 14 | "description": "Models that this view requires. These should reference one of the available #models", |
| 15 | "dependences":{} |
| 16 | } |
| 17 | }, |
| 18 | |
| 19 | "persist": { |
| 20 | "type": "boolean", |
| 21 | "description":"Keep this view loaded on the dom or memory, but not necessarily visible" |
| 22 | }, |
| 23 | |
| 24 | "template": { |
| 25 | "type": "string", |
| 26 | "description": "Template to be used with this view" |
| 27 | } |
| 28 | } |
| 29 | } |
| 30 |