diff options
Diffstat (limited to 'js/dojo/dojox/app/schema/view.json')
| -rw-r--r-- | js/dojo/dojox/app/schema/view.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/js/dojo/dojox/app/schema/view.json b/js/dojo/dojox/app/schema/view.json new file mode 100644 index 0000000..b6c1c54 --- /dev/null +++ b/js/dojo/dojox/app/schema/view.json @@ -0,0 +1,30 @@ +{ + "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" + } + } +} + |
