dataSourcesSchema.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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": "dataSourcesSchema.json",
  4. "$schema": "http://json-schema.org/draft-07/schema#",
  5. "title": "dataSources",
  6. "description": "The data source of the dashboard specification, representing ...",
  7. "type": "object",
  8. "properties": {
  9. "version": {
  10. "type": "string"
  11. },
  12. "sources": {
  13. "description": "The sources of ...",
  14. "type": "array",
  15. "minItems": 0,
  16. "items": {
  17. "properties" : {
  18. "id": {
  19. "$ref": "schemaDefs.json#/definitions/modelId"
  20. },
  21. "assetId": {
  22. "$ref": "schemaDefs.json#/definitions/assetId"
  23. },
  24. "type": {
  25. "type": "string",
  26. "enum": ["uploadedFile", "data_asset"]
  27. },
  28. "name": {
  29. "$ref": "schemaDefs.json#/definitions/name"
  30. },
  31. "shaping": {
  32. "type": "object",
  33. "properties": {
  34. "shapingId": {
  35. "type": "string",
  36. "enum": ["__initialShapingID__"]
  37. },
  38. "moserJSON": {
  39. "type": "object",
  40. "properties": {
  41. "version": { "type": "string" },
  42. "container": { "type": "string" },
  43. "use": {
  44. "type": "array",
  45. "items": {}
  46. },
  47. "useSpec": {
  48. "type": "array",
  49. "items": {
  50. "type": "object",
  51. "properties": {
  52. "identifier": { "type": "string" },
  53. "type": {
  54. "type": "string",
  55. "enum": ["wa_data_asset"]
  56. },
  57. "storeID": { "$ref": "schemaDefs.json#/definitions/assetId" },
  58. "imports": { "type": "string" }
  59. }
  60. }
  61. },
  62. }
  63. },
  64. "embeddedModuleUpToDate": { "type": "boolean" }
  65. }
  66. }
  67. }
  68. },
  69. "uniqueItems": true
  70. }
  71. },
  72. "required": ["version", "sources"]
  73. }