pageContextSchema.json 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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": "pageContextSchema.json",
  4. "$schema": "http://json-schema.org/draft-07/schema#",
  5. "title": "pageContext set",
  6. "description": "The page context of the dashboard specification, representing ...",
  7. "type": "array",
  8. "items": {
  9. "title": "pageContext",
  10. "type": "object",
  11. "properties": {
  12. "origin": {
  13. "type": "string"
  14. },
  15. "table": {
  16. "type": "string"
  17. },
  18. "alias": {
  19. "type": "string"
  20. },
  21. "sourceId": {
  22. "type": "string"
  23. },
  24. "exclude": {
  25. "type": "boolean"
  26. },
  27. "isNamedSet": {
  28. "type": "boolean"
  29. },
  30. "tupleSet": {
  31. "type": "string"
  32. },
  33. "dataType": {
  34. "type": "string",
  35. "enum": ["DOUBLE", "INTEGER", "STRING"]
  36. },
  37. "scope": {
  38. "type": "string"
  39. },
  40. "usage": {
  41. "type": "string"
  42. },
  43. "conditions": {
  44. "description": "...",
  45. "type": "array",
  46. "minItems": 0,
  47. "items": {
  48. "type": "object",
  49. "properties": {
  50. "attributeUniqueNames": {
  51. "type": "array",
  52. "minItems": 1,
  53. "items": { "type": "string" }
  54. },
  55. "from": {
  56. "type": "array",
  57. "minItems": 1,
  58. "items": { "type": "string" }
  59. },
  60. "to": {
  61. "type": "array",
  62. "minItems": 1,
  63. "items": { "type": "string" }
  64. },
  65. "invert": {"type": "boolean"}
  66. }
  67. },
  68. "uniqueItems": true
  69. },
  70. "hierarchyNames": {
  71. "description": "...",
  72. "type": "array",
  73. "minItems": 1,
  74. "items": { "type": "string" },
  75. "uniqueItems": true
  76. },
  77. "hierarchyUniqueNames": {
  78. "description": "...",
  79. "type": "array",
  80. "minItems": 1,
  81. "items": { "type": "string" },
  82. "uniqueItems": true
  83. },
  84. "hierarchies": {
  85. "description": "...",
  86. "type": "array",
  87. "minItems": 1,
  88. "items": {
  89. "type": "object",
  90. "properties": {
  91. "hierarchyUniqueName": {"type": "string"}
  92. }
  93. }
  94. }
  95. }
  96. }
  97. }