view.json 671 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "description": "Base View Schema for defining View Instances in an application",
  3. "type": "object",
  4. "properties": {
  5. "type": {
  6. "type":"string",
  7. "description": "The Name of the Class to be used for this view"
  8. },
  9. "models": {
  10. "type": "array",
  11. "items": {
  12. "type":"string",
  13. "description": "Models that this view requires. These should reference one of the available #models",
  14. "dependences":{}
  15. }
  16. },
  17. "persist": {
  18. "type": "boolean",
  19. "description":"Keep this view loaded on the dom or memory, but not necessarily visible"
  20. },
  21. "template": {
  22. "type": "string",
  23. "description": "Template to be used with this view"
  24. }
  25. }
  26. }