application.json 1.5 KB

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