| 1 | { |
| 2 | "description":"A representation of an Application", |
| 3 | "type": "object", |
| 4 | "properties":{ |
| 5 | "author": {"$ref": "http://json-schema.org/card"}, |
| 6 | |
| 7 | "description": { |
| 8 | "description": "Description of the application represented here", |
| 9 | "type": "string" |
| 10 | }, |
| 11 | |
| 12 | "modules": { |
| 13 | "type": "array", |
| 14 | "description": "Modules this application requires ", |
| 15 | "default": [], |
| 16 | "items":{ |
| 17 | "type": "string", |
| 18 | "description": "Module to be loaded and mixed into the application" |
| 19 | } |
| 20 | }, |
| 21 | |
| 22 | |
| 23 | "defaultScene": { |
| 24 | "type": "string", |
| 25 | "description": "id of scene to load for this application at startup" |
| 26 | }, |
| 27 | |
| 28 | "scenes": { |
| 29 | "type": "object", |
| 30 | "description": "This object contains references to scene objects, which are collections of views and models making up a closely related set of the ui", |
| 31 | "additionalProperties":{"$ref":"/jdoe/test/schema/scene.json"} |
| 32 | }, |
| 33 | |
| 34 | "stores": { |
| 35 | "type": "object", |
| 36 | "description":"This object contains references to store instances that the rest of the application will use.", |
| 37 | "additionalProperties": {"$ref":"/jdoe/test/schema/scene.json"}, |
| 38 | "default": {} |
| 39 | }, |
| 40 | |
| 41 | "models": { |
| 42 | "type": "object", |
| 43 | "description": "This object contains references to model instances the application uses", |
| 44 | "additionalProperties":{"$ref":"/jdoe/test/schema/model.json"}, |
| 45 | "default": {} |
| 46 | }, |
| 47 | |
| 48 | "views": { |
| 49 | "type": "object", |
| 50 | "description": "This object contains references to view instances the application uses", |
| 51 | "additionalProperties":{"$ref":"/jdoe/test/schema/view.json"}, |
| 52 | "default": {} |
| 53 | } |
| 54 | } |
| 55 | } |