summaryrefslogtreecommitdiff
path: root/js/dojo-1.7.2/dojox/app/schema/application.json
diff options
context:
space:
mode:
authorTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
committerTristan Zur <tzur@web.web.ccwn.org>2014-03-27 22:27:47 +0100
commitb62676ca5d3d6f6ba3f019ea3f99722e165a98d8 (patch)
tree86722cb80f07d4569f90088eeaea2fc2f6e2ef94 /js/dojo-1.7.2/dojox/app/schema/application.json
Initial commit of intern.ccwn.org contentsHEADmaster
Diffstat (limited to 'js/dojo-1.7.2/dojox/app/schema/application.json')
-rw-r--r--js/dojo-1.7.2/dojox/app/schema/application.json55
1 files changed, 55 insertions, 0 deletions
diff --git a/js/dojo-1.7.2/dojox/app/schema/application.json b/js/dojo-1.7.2/dojox/app/schema/application.json
new file mode 100644
index 0000000..7f8fdd4
--- /dev/null
+++ b/js/dojo-1.7.2/dojox/app/schema/application.json
@@ -0,0 +1,55 @@
+define({
+ "description":"A representation of an Application",
+ "type": "object",
+ "properties":{
+ "author": {"$ref": "http://json-schema.org/card"},
+
+ "description": {
+ "description": "Description of the application represented here",
+ "type": "string"
+ },
+
+ "modules": {
+ "type": "array",
+ "description": "Modules this application requires ",
+ "default": [],
+ "items":{
+ "type": "string",
+ "description": "Module to be loaded and mixed into the application"
+ }
+ },
+
+
+ "defaultScene": {
+ "type": "string"
+ "description": "id of scene to load for this application at startup"
+ },
+
+ "scenes": {
+ "type": "object",
+ "description": "This object contains references to scene objects, which are collections of views and models making up a closely related set of the ui",
+ "additionalProperties":{"$ref":"/jdoe/test/schema/scene.json"}
+ },
+
+ "stores": {
+ "type": "object",
+ "description":"This object contains references to store instances that the rest of the application will use.",
+ "additionalProperties": {"$ref":"/jdoe/test/schema/scene.json"},
+ "default": {}
+ },
+
+ "models": {
+ "type": "object",
+ "description": "This object contains references to model instances the application uses",
+ "additionalProperties":{"$ref":"/jdoe/test/schema/model.json"},
+ "default": {}
+ },
+
+ "views": {
+ "type": "object",
+ "description": "This object contains references to view instances the application uses",
+ "additionalProperties":{"$ref":"/jdoe/test/schema/view.json"},
+ "default": {}
+ }
+ }
+});