summaryrefslogtreecommitdiff
path: root/js/dojo-1.7.2/dojox/app/schema/application.json
blob: 7f8fdd402c8434294d5e5908eaee563e7f16bcf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
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": {}
		}
	}
});