widgetsFragmentSchema.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. "copyright": "Licensed Materials - Property of IBM. IBM Cognos Products: BI Cloud (C) Copyright IBM Corp. 2018. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.",
  3. "$id": "widgetsFragmentSchema.json",
  4. "$schema": "http://json-schema.org/draft-07/schema#",
  5. "title": "widget set",
  6. "description": "The widget fragment of the dashboard specification, representing ...",
  7. "type": "array",
  8. "items": {
  9. "type": "object",
  10. "properties": {
  11. "id": { "$ref": "schemaDefs.json#/definitions/modelId" },
  12. "type": {"$ref": "widgetsTemplateSchema.json#/definitions/widgetType" },
  13. "data": {
  14. "type": "object",
  15. "properties": {
  16. "dataViews": {
  17. "type": "array",
  18. "items": {
  19. "type": "object",
  20. "properties": {
  21. "id": { "$ref": "schemaDefs.json#/definitions/modelId" },
  22. "modelRef": { "$ref": "schemaDefs.json#/definitions/modelId" },
  23. "dataItems": {
  24. "type": "array",
  25. "items": { "$ref": "widgetsSchema.json#/definitions/widgetData" }
  26. }
  27. }
  28. }
  29. }
  30. }
  31. },
  32. "visTypeLocked": { "$ref": "widgetsTemplateSchema.json#/definitions/visTypeLocked" },
  33. "slotmapping": { "$ref": "widgetsSchema.json#/definitions/slotmapping" },
  34. "possibleKeyDrivers": { "$ref": "widgetsSchema.json#/definitions/possibleKeyDrivers" },
  35. "name": { "$ref": "schemaDefs.json#/definitions/name" },
  36. "localFilters": { "$ref": "widgetsSchema.json#/definitions/localFilters" },
  37. "properties": { "$ref": "widgetsTemplateSchema.json#/definitions/properties" },
  38. "borderColor": { "$ref": "schemaDefs.json#/definitions/name" },
  39. "titleAlign": { "$ref": "widgetsTemplateSchema.json#/definitions/titleAlign" },
  40. "titleState": { "$ref": "schemaDefs.json#/definitions/name" },
  41. "content": { "$ref": "widgetsTemplateSchema.json#/definitions/content" }
  42. }
  43. }
  44. }