@astrato-io/visualizations 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +0 -0
  2. package/THIRD_PARTY_NOTICES.md +94 -4
  3. package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
  4. package/chunks/{LinearProgress-CUZ0D8_t.js → LinearProgress-B1FeWaen.js} +54 -54
  5. package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
  6. package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
  7. package/chunks/{src-Cum_2NLV.js → builder-B6dWSIdD.js} +5779 -5635
  8. package/chunks/{coloring-C16AUZEi.js → coloring-B1XAfg6b.js} +234 -233
  9. package/chunks/{src-BC7cGcJ-.js → definitions-D3OVqmXl.js} +438 -360
  10. package/chunks/{escobar-BGqT1EsE.js → escobar-eDjtGpkC.js} +4645 -4619
  11. package/chunks/filter.compiler-DBsyRBJt.js +70 -0
  12. package/chunks/{filtering-Yq4DEa0t.js → filtering-tqjAyJH5.js} +432 -313
  13. package/chunks/{grouping-type-BX_9Ix5q.js → grouping-type-On4s9Thj.js} +1 -1
  14. package/chunks/handlers-VTBfIZYZ.js +13072 -0
  15. package/chunks/isEqual-BDxAhUo8.js +7514 -0
  16. package/chunks/line.compiler-CzdM5Ld0.js +198 -0
  17. package/chunks/{metadata-CPXdYoln.js → metadata-BGElBy5Z.js} +1 -1
  18. package/chunks/number.compiler-G-R7y16P.js +53 -0
  19. package/chunks/{src-C0LgoUWY.js → operations-CTNUX6Sy.js} +9576 -9432
  20. package/chunks/{range-DrzdfBX4.js → range-CiwTbMig.js} +2 -2
  21. package/chunks/{registry-CExpGJ1N.js → registry-CsQQzukD.js} +153 -153
  22. package/chunks/{requirements-DNhuShLS.js → requirements-DYjZCFyf.js} +1 -1
  23. package/chunks/{shared-CKDL4hx9.js → shared-CBvcC5YV.js} +460 -413
  24. package/chunks/{standalone-D5vnf-9y.js → standalone-0M4HlmDW2.js} +823 -822
  25. package/chunks/standalone-0ashe9w1.js +411 -0
  26. package/chunks/{standalone-C85u7U6I.js → standalone-B7jax8wa.js} +93 -94
  27. package/chunks/standalone-BK0VYU-l.js +463 -0
  28. package/chunks/{standalone-BDCwI6Hn.js → standalone-BMIbT1b2.js} +815 -815
  29. package/chunks/standalone-BZV5vOwA.js +6 -0
  30. package/chunks/standalone-BhDrWj4p.js +1980 -0
  31. package/chunks/{standalone-CNyNHKVx.js → standalone-BtSHCp2U2.js} +97 -98
  32. package/chunks/{standalone-CDQnr6qT.js → standalone-BvaKdky9.js} +95 -96
  33. package/chunks/standalone-BwtM31-f.js +2 -0
  34. package/chunks/{standalone-CY57qwZ-.js → standalone-C3gg736V.js} +153 -153
  35. package/chunks/{standalone-DFPva_ku.js → standalone-CC1VUjO32.js} +60 -60
  36. package/chunks/{standalone-CCNtaJ7s.js → standalone-C_rYnZ0N.js} +41 -41
  37. package/chunks/{standalone-CZynjFG7.js → standalone-CoLrAxRV.js} +3701 -3482
  38. package/chunks/{standalone-jiz0L2Dg.js → standalone-DC-aUgXC.js} +104 -104
  39. package/chunks/standalone-DCtRoTWg.js +675 -0
  40. package/chunks/standalone-DUDFTBqL.js +833 -0
  41. package/chunks/standalone-DhZkX9Td.js +2 -0
  42. package/chunks/{standalone-Dx3MLlrO.js → standalone-DtLElfuM.js} +141 -141
  43. package/chunks/{standalone-BmfMt74U.js → standalone-G9Q4Uczu.js} +192 -192
  44. package/chunks/{standalone-BH5NqDwp.js → standalone-JuLF-OoH.js} +390 -391
  45. package/chunks/standalone-_DeX21JJ.js +383 -0
  46. package/chunks/{standalone-lBm9hQ-q.js → standalone-gFhKZh8m.js} +34 -34
  47. package/chunks/standalone-tDNy-SFH.js +281 -0
  48. package/chunks/{standalone-rJ45Zfl1.js → standalone-v1oxfU20.js} +10 -10
  49. package/chunks/{standalone-BYm1UjLr.js → standalone-vzBY6q0I2.js} +18 -18
  50. package/chunks/table.compiler-tb914oj3.js +222 -0
  51. package/chunks/{ui-D1HQNIBy.js → ui-DQWtv2iM.js} +13485 -3973
  52. package/chunks/{useFieldName-oqQ3bvnO.js → useFieldName-BvdcoJRl.js} +1 -1
  53. package/chunks/{utils-Ba9T0TqC.js → utils-Bg7K-t6K.js} +7306 -6024
  54. package/chunks/{src-DvX5LU9T.js → view-Bn83C8d9.js} +2555 -4831
  55. package/definitions.js +3 -3
  56. package/docs/operations/astrato-app-filter-bar.md +17 -17
  57. package/docs/operations/bar.md +989 -1071
  58. package/docs/operations/combo.md +717 -738
  59. package/docs/operations/date-picker.md +25 -25
  60. package/docs/operations/distribution-gauge.md +471 -607
  61. package/docs/operations/dot.md +787 -879
  62. package/docs/operations/filter.md +139 -163
  63. package/docs/operations/gauge.md +491 -627
  64. package/docs/operations/heatMap.md +834 -916
  65. package/docs/operations/histogram.md +166 -180
  66. package/docs/operations/iframe.md +5 -5
  67. package/docs/operations/image.md +16 -16
  68. package/docs/operations/index.md +12 -12
  69. package/docs/operations/line.md +811 -888
  70. package/docs/operations/number.md +470 -536
  71. package/docs/operations/pie.md +825 -958
  72. package/docs/operations/radar.md +599 -679
  73. package/docs/operations/sankey.md +462 -584
  74. package/docs/operations/scatter.md +823 -929
  75. package/docs/operations/shape.md +34 -34
  76. package/docs/operations/simpleTextObject.md +18 -25
  77. package/docs/operations/slider.md +33 -43
  78. package/docs/operations/table.md +1160 -1150
  79. package/docs/operations/tree.md +354 -361
  80. package/docs/operations/treemap.md +545 -637
  81. package/docs/operations/waterfall.md +369 -379
  82. package/docs/operations/word-cloud.md +512 -583
  83. package/getters.js +3 -3
  84. package/index.js +51 -51
  85. package/metadata.js +3 -3
  86. package/operations.js +7 -7
  87. package/package.json +80 -86
  88. package/src/definitions/index.d.ts +2 -2
  89. package/src/definitions/{shared/lib → model/definitions}/available-fields.d.ts +0 -1
  90. package/src/definitions/{shared/lib/compilers/index.d.ts → model/definitions/compilers/compile.d.ts} +1 -1
  91. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  92. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
  93. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  94. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  95. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  96. package/src/definitions/model/definitions/index.d.ts +23 -0
  97. package/src/definitions/{shared/lib → model/definitions}/registry/compile.d.ts +1 -1
  98. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  99. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  100. package/src/definitions/{shared/lib → model/definitions}/schemas/broad-chart.schema.d.ts +1 -1
  101. package/src/definitions/{shared/lib → model/definitions}/schemas/common.schema.d.ts +0 -1
  102. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  103. package/src/definitions/{shared/lib → model/definitions}/schemas/object.schema.d.ts +6 -6
  104. package/src/definitions/{shared/lib → model/definitions}/types/definition.types.d.ts +1 -1
  105. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  106. package/src/definitions/{shared/lib/registry → model/definitions}/validation.d.ts +1 -1
  107. package/chunks/Radio-Ciu-F4CU.js +0 -957
  108. package/chunks/ToggleButton-BCJc3Jlc.js +0 -153
  109. package/chunks/_baseFlatten-DPXPOrea.js +0 -7076
  110. package/chunks/app-filter-bar.compiler-j_CVoWTa.js +0 -55
  111. package/chunks/bar.compiler-oqaPzIut.js +0 -370
  112. package/chunks/data-item-resolution-1lvYB5ln.js +0 -53
  113. package/chunks/event-bus-KiSiCJrC.js +0 -2683
  114. package/chunks/filter.compiler-CuLtc_02.js +0 -60
  115. package/chunks/gauge-target-type-BkKXAqkX.js +0 -4
  116. package/chunks/interfaces-VUY4_yVO.js +0 -8742
  117. package/chunks/line-settings-DfYTUyPz.js +0 -4
  118. package/chunks/line.compiler-BpA_6Tc7.js +0 -188
  119. package/chunks/number.compiler-DbkWcG4S.js +0 -44
  120. package/chunks/pie-uv42Eqal.js +0 -10
  121. package/chunks/src-Dun_jXtz.js +0 -10295
  122. package/chunks/standalone-87YV_m9n.js +0 -687
  123. package/chunks/standalone-BLVAWLNJ.js +0 -385
  124. package/chunks/standalone-BPomtAVs.js +0 -2
  125. package/chunks/standalone-BXyBcUOQ.js +0 -2
  126. package/chunks/standalone-BllF4rDp.js +0 -383
  127. package/chunks/standalone-BqWyrnZI.js +0 -281
  128. package/chunks/standalone-DQxxNwF8.js +0 -675
  129. package/chunks/standalone-DS9T0FZ-.js +0 -830
  130. package/chunks/standalone-DzixzZAL.js +0 -411
  131. package/chunks/standalone-QJ1kKMnO.js +0 -6
  132. package/chunks/table.compiler-BrXkm4Fz.js +0 -213
  133. package/chunks/toInteger-DVZr-D1j.js +0 -11
  134. package/chunks/treemap-x_zmJoG7.js +0 -23
  135. package/chunks/types-dVVCsDWD.js +0 -4
  136. package/chunks/view-CLqWMV7Z.js +0 -156
  137. package/src/definitions/shared/index.d.ts +0 -5
  138. package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +0 -587
  139. package/src/definitions/shared/lib/registry/index.d.ts +0 -3
  140. package/src/definitions/shared/lib/schemas/index.d.ts +0 -9
  141. package/src/definitions/shared/lib/types/index.d.ts +0 -3
  142. package/src/definitions/{shared/lib → model/definitions}/schemas/app-filter-bar.schema.d.ts +0 -0
  143. package/src/definitions/{shared/lib → model/definitions}/schemas/bar.schema.d.ts +0 -0
  144. package/src/definitions/{shared/lib → model/definitions}/schemas/filter.schema.d.ts +0 -0
  145. package/src/definitions/{shared/lib → model/definitions}/schemas/line.schema.d.ts +0 -0
  146. package/src/definitions/{shared/lib → model/definitions}/schemas/number.schema.d.ts +0 -0
  147. package/src/definitions/{shared/lib → model/definitions}/schemas/table.schema.d.ts +4 -4
  148. /package/src/definitions/{shared/lib → model/definitions}/types/compilation.types.d.ts +0 -0
  149. /package/src/definitions/{shared/lib → model/definitions}/types/descriptor.types.d.ts +0 -0
@@ -2,7 +2,7 @@
2
2
 
3
3
  # `distribution-gauge` operations
4
4
 
5
- Reference for `@astrato-io/visualizations@0.6.4`.
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
6
 
7
7
  [All visualization types](./index.md)
8
8
 
@@ -72,7 +72,6 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
72
72
  ```json
73
73
  {
74
74
  "$schema": "https://json-schema.org/draft/2020-12/schema",
75
- "title": "Add coloring overwrite schema",
76
75
  "anyOf": [
77
76
  {
78
77
  "type": "object",
@@ -82,21 +81,21 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
82
81
  "type": "object",
83
82
  "properties": {
84
83
  "dataItemInternalKey": {
85
- "description": "Internal key of the data item of the dimension to be updated",
86
- "type": "string"
84
+ "type": "string",
85
+ "description": "Internal key of the data item of the dimension to be updated"
87
86
  },
88
87
  "dataItemUniqueSignature": {
89
- "description": "Unique signature of the data item of the dimension to be updated",
90
- "type": "string"
88
+ "type": "string",
89
+ "description": "Unique signature of the data item of the dimension to be updated"
91
90
  }
92
91
  },
93
92
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
94
93
  "additionalProperties": false
95
94
  },
96
95
  "color": {
97
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
98
96
  "type": "string",
99
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
97
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
98
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
100
99
  },
101
100
  "operator": {
102
101
  "description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
@@ -105,14 +104,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
105
104
  },
106
105
  "value": {
107
106
  "description": "Value to compare against",
108
- "anyOf": [
109
- {
110
- "type": "string"
111
- },
112
- {
113
- "type": "number"
114
- }
115
- ]
107
+ "type": ["string", "number"]
116
108
  }
117
109
  },
118
110
  "required": ["color", "value"],
@@ -126,48 +118,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
126
118
  "type": "object",
127
119
  "properties": {
128
120
  "dataItemInternalKey": {
129
- "description": "Internal key of the data item of the dimension to be updated",
130
- "type": "string"
121
+ "type": "string",
122
+ "description": "Internal key of the data item of the dimension to be updated"
131
123
  },
132
124
  "dataItemUniqueSignature": {
133
- "description": "Unique signature of the data item of the dimension to be updated",
134
- "type": "string"
125
+ "type": "string",
126
+ "description": "Unique signature of the data item of the dimension to be updated"
135
127
  }
136
128
  },
137
129
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
138
130
  "additionalProperties": false
139
131
  },
140
132
  "color": {
141
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
142
133
  "type": "string",
143
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
134
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
135
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
144
136
  },
145
137
  "operator": {
146
- "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
147
138
  "type": "string",
148
- "const": "between"
139
+ "const": "between",
140
+ "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
149
141
  },
150
142
  "value": {
151
143
  "description": "Lower bound of the range",
152
- "anyOf": [
153
- {
154
- "type": "string"
155
- },
156
- {
157
- "type": "number"
158
- }
159
- ]
144
+ "type": ["string", "number"]
160
145
  },
161
146
  "secondValue": {
162
147
  "description": "Upper bound of the range",
163
- "anyOf": [
164
- {
165
- "type": "string"
166
- },
167
- {
168
- "type": "number"
169
- }
170
- ]
148
+ "type": ["string", "number"]
171
149
  }
172
150
  },
173
151
  "required": ["color", "operator", "value", "secondValue"],
@@ -181,41 +159,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
181
159
  "type": "object",
182
160
  "properties": {
183
161
  "dataItemInternalKey": {
184
- "description": "Internal key of the data item of the dimension to be updated",
185
- "type": "string"
162
+ "type": "string",
163
+ "description": "Internal key of the data item of the dimension to be updated"
186
164
  },
187
165
  "dataItemUniqueSignature": {
188
- "description": "Unique signature of the data item of the dimension to be updated",
189
- "type": "string"
166
+ "type": "string",
167
+ "description": "Unique signature of the data item of the dimension to be updated"
190
168
  }
191
169
  },
192
170
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
193
171
  "additionalProperties": false
194
172
  },
195
173
  "color": {
196
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
197
174
  "type": "string",
198
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
175
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
176
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
199
177
  },
200
178
  "operator": {
201
- "description": "Match (inList) or exclude (notInList) every value in values",
202
179
  "type": "string",
203
- "enum": ["inList", "notInList"]
180
+ "enum": ["inList", "notInList"],
181
+ "description": "Match (inList) or exclude (notInList) every value in values"
204
182
  },
205
183
  "values": {
206
- "description": "Values to match",
207
184
  "minItems": 1,
208
185
  "type": "array",
209
186
  "items": {
210
- "anyOf": [
211
- {
212
- "type": "string"
213
- },
214
- {
215
- "type": "number"
216
- }
217
- ]
218
- }
187
+ "type": ["string", "number"]
188
+ },
189
+ "description": "Values to match"
219
190
  },
220
191
  "delimiter": {
221
192
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -226,7 +197,8 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
226
197
  "required": ["color", "operator", "values"],
227
198
  "additionalProperties": false
228
199
  }
229
- ]
200
+ ],
201
+ "title": "Add coloring overwrite schema"
230
202
  }
231
203
  ```
232
204
 
@@ -241,47 +213,39 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
241
213
  ```json
242
214
  {
243
215
  "$schema": "https://json-schema.org/draft/2020-12/schema",
244
- "title": "Add coloring rule schema",
245
216
  "anyOf": [
246
217
  {
247
218
  "type": "object",
248
219
  "properties": {
249
220
  "measure": {
250
- "description": "Measure whose value is compared",
251
221
  "type": "object",
252
222
  "properties": {
253
223
  "dataItemInternalKey": {
254
- "description": "Internal key of the data item of the measure to be updated",
255
- "type": "string"
224
+ "type": "string",
225
+ "description": "Internal key of the data item of the measure to be updated"
256
226
  },
257
227
  "dataItemUniqueSignature": {
258
- "description": "Unique signature of the data item of the measure to be updated",
259
- "type": "string"
228
+ "type": "string",
229
+ "description": "Unique signature of the data item of the measure to be updated"
260
230
  }
261
231
  },
262
232
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
263
- "additionalProperties": false
233
+ "additionalProperties": false,
234
+ "description": "Measure whose value is compared"
264
235
  },
265
236
  "color": {
266
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
267
237
  "type": "string",
268
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
238
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
239
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
269
240
  },
270
241
  "operator": {
271
- "description": "How the measure value is compared",
272
242
  "type": "string",
273
- "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
243
+ "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
244
+ "description": "How the measure value is compared"
274
245
  },
275
246
  "value": {
276
247
  "description": "Value to compare against",
277
- "anyOf": [
278
- {
279
- "type": "string"
280
- },
281
- {
282
- "type": "number"
283
- }
284
- ]
248
+ "type": ["string", "number"]
285
249
  }
286
250
  },
287
251
  "required": ["measure", "color", "operator", "value"],
@@ -291,52 +255,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
291
255
  "type": "object",
292
256
  "properties": {
293
257
  "measure": {
294
- "description": "Measure whose value is compared",
295
258
  "type": "object",
296
259
  "properties": {
297
260
  "dataItemInternalKey": {
298
- "description": "Internal key of the data item of the measure to be updated",
299
- "type": "string"
261
+ "type": "string",
262
+ "description": "Internal key of the data item of the measure to be updated"
300
263
  },
301
264
  "dataItemUniqueSignature": {
302
- "description": "Unique signature of the data item of the measure to be updated",
303
- "type": "string"
265
+ "type": "string",
266
+ "description": "Unique signature of the data item of the measure to be updated"
304
267
  }
305
268
  },
306
269
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
307
- "additionalProperties": false
270
+ "additionalProperties": false,
271
+ "description": "Measure whose value is compared"
308
272
  },
309
273
  "color": {
310
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
311
274
  "type": "string",
312
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
275
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
276
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
313
277
  },
314
278
  "operator": {
315
- "description": "Matches measure values from value to secondValue, both inclusive",
316
279
  "type": "string",
317
- "const": "between"
280
+ "const": "between",
281
+ "description": "Matches measure values from value to secondValue, both inclusive"
318
282
  },
319
283
  "value": {
320
284
  "description": "Lower bound of the range",
321
- "anyOf": [
322
- {
323
- "type": "string"
324
- },
325
- {
326
- "type": "number"
327
- }
328
- ]
285
+ "type": ["string", "number"]
329
286
  },
330
287
  "secondValue": {
331
288
  "description": "Upper bound of the range",
332
- "anyOf": [
333
- {
334
- "type": "string"
335
- },
336
- {
337
- "type": "number"
338
- }
339
- ]
289
+ "type": ["string", "number"]
340
290
  }
341
291
  },
342
292
  "required": ["measure", "color", "operator", "value", "secondValue"],
@@ -346,45 +296,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
346
296
  "type": "object",
347
297
  "properties": {
348
298
  "measure": {
349
- "description": "Measure whose value is compared",
350
299
  "type": "object",
351
300
  "properties": {
352
301
  "dataItemInternalKey": {
353
- "description": "Internal key of the data item of the measure to be updated",
354
- "type": "string"
302
+ "type": "string",
303
+ "description": "Internal key of the data item of the measure to be updated"
355
304
  },
356
305
  "dataItemUniqueSignature": {
357
- "description": "Unique signature of the data item of the measure to be updated",
358
- "type": "string"
306
+ "type": "string",
307
+ "description": "Unique signature of the data item of the measure to be updated"
359
308
  }
360
309
  },
361
310
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
362
- "additionalProperties": false
311
+ "additionalProperties": false,
312
+ "description": "Measure whose value is compared"
363
313
  },
364
314
  "color": {
365
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
366
315
  "type": "string",
367
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
316
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
317
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
368
318
  },
369
319
  "operator": {
370
- "description": "Match (inList) or exclude (notInList) every value in values",
371
320
  "type": "string",
372
- "enum": ["inList", "notInList"]
321
+ "enum": ["inList", "notInList"],
322
+ "description": "Match (inList) or exclude (notInList) every value in values"
373
323
  },
374
324
  "values": {
375
- "description": "Values to match",
376
325
  "minItems": 1,
377
326
  "type": "array",
378
327
  "items": {
379
- "anyOf": [
380
- {
381
- "type": "string"
382
- },
383
- {
384
- "type": "number"
385
- }
386
- ]
387
- }
328
+ "type": ["string", "number"]
329
+ },
330
+ "description": "Values to match"
388
331
  },
389
332
  "delimiter": {
390
333
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -395,7 +338,8 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
395
338
  "required": ["measure", "color", "operator", "values"],
396
339
  "additionalProperties": false
397
340
  }
398
- ]
341
+ ],
342
+ "title": "Add coloring rule schema"
399
343
  }
400
344
  ```
401
345
 
@@ -410,16 +354,16 @@ Add a new dimension to the chart
410
354
  ```json
411
355
  {
412
356
  "$schema": "https://json-schema.org/draft/2020-12/schema",
413
- "title": "Add dimension schema",
414
357
  "type": "object",
415
358
  "properties": {
416
359
  "key": {
417
- "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\"",
418
- "type": "string"
360
+ "type": "string",
361
+ "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
419
362
  }
420
363
  },
421
364
  "required": ["key"],
422
- "additionalProperties": false
365
+ "additionalProperties": false,
366
+ "title": "Add dimension schema"
423
367
  }
424
368
  ```
425
369
 
@@ -434,23 +378,22 @@ Add a new measure to the chart
434
378
  ```json
435
379
  {
436
380
  "$schema": "https://json-schema.org/draft/2020-12/schema",
437
- "title": "Add measure schema",
438
- "anyOf": [
381
+ "oneOf": [
439
382
  {
440
383
  "type": "object",
441
384
  "properties": {
442
385
  "sourceKind": {
443
- "description": "Raw database field from available data `fields`.",
444
386
  "type": "string",
445
- "const": "field"
387
+ "const": "field",
388
+ "description": "Raw database field from available data `fields`."
446
389
  },
447
390
  "key": {
448
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
449
- "type": "string"
391
+ "type": "string",
392
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
450
393
  },
451
394
  "aggregation": {
452
- "description": "Required for raw database fields. Use one of the aggregation names returned for that field.",
453
- "type": "string"
395
+ "type": "string",
396
+ "description": "Required for raw database fields. Use one of the aggregation names returned for that field."
454
397
  },
455
398
  "role": {
456
399
  "type": "string",
@@ -464,13 +407,13 @@ Add a new measure to the chart
464
407
  "type": "object",
465
408
  "properties": {
466
409
  "sourceKind": {
467
- "description": "Predefined/user-defined measure from available data `measures`.",
468
410
  "type": "string",
469
- "const": "measure"
411
+ "const": "measure",
412
+ "description": "Predefined/user-defined measure from available data `measures`."
470
413
  },
471
414
  "key": {
472
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
473
- "type": "string"
415
+ "type": "string",
416
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
474
417
  },
475
418
  "role": {
476
419
  "type": "string",
@@ -484,13 +427,13 @@ Add a new measure to the chart
484
427
  "type": "object",
485
428
  "properties": {
486
429
  "sourceKind": {
487
- "description": "Predefined calculation from available data `measures`.",
488
430
  "type": "string",
489
- "const": "calculation"
431
+ "const": "calculation",
432
+ "description": "Predefined calculation from available data `measures`."
490
433
  },
491
434
  "key": {
492
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
493
- "type": "string"
435
+ "type": "string",
436
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
494
437
  },
495
438
  "role": {
496
439
  "type": "string",
@@ -500,7 +443,8 @@ Add a new measure to the chart
500
443
  "required": ["sourceKind", "key", "role"],
501
444
  "additionalProperties": false
502
445
  }
503
- ]
446
+ ],
447
+ "title": "Add measure schema"
504
448
  }
505
449
  ```
506
450
 
@@ -515,22 +459,19 @@ Add another measure filter before aggregation. Keeps existing filters.
515
459
  ```json
516
460
  {
517
461
  "$schema": "https://json-schema.org/draft/2020-12/schema",
518
- "description": "Add another measure filter before aggregation. Keeps existing filters.",
519
- "title": "Add measure filter schema",
520
462
  "anyOf": [
521
463
  {
522
464
  "type": "object",
523
465
  "properties": {
524
466
  "measureName": {
525
- "description": "Visible measure name or label",
526
- "type": "string"
467
+ "type": "string",
468
+ "description": "Visible measure name or label"
527
469
  },
528
470
  "fieldKey": {
529
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
530
- "type": "string"
471
+ "type": "string",
472
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
531
473
  },
532
474
  "operator": {
533
- "description": "Filter operator that requires a value",
534
475
  "type": "string",
535
476
  "enum": [
536
477
  "equals",
@@ -545,10 +486,10 @@ Add another measure filter before aggregation. Keeps existing filters.
545
486
  "notLike",
546
487
  "startsWith",
547
488
  "endsWith"
548
- ]
489
+ ],
490
+ "description": "Filter operator that requires a value"
549
491
  },
550
492
  "value": {
551
- "description": "Filter value",
552
493
  "anyOf": [
553
494
  {
554
495
  "type": "string"
@@ -567,7 +508,8 @@ Add another measure filter before aggregation. Keeps existing filters.
567
508
  "required": ["type", "variableName"],
568
509
  "additionalProperties": false
569
510
  }
570
- ]
511
+ ],
512
+ "description": "Filter value"
571
513
  }
572
514
  },
573
515
  "required": ["measureName", "fieldKey", "operator", "value"],
@@ -577,20 +519,19 @@ Add another measure filter before aggregation. Keeps existing filters.
577
519
  "type": "object",
578
520
  "properties": {
579
521
  "measureName": {
580
- "description": "Visible measure name or label",
581
- "type": "string"
522
+ "type": "string",
523
+ "description": "Visible measure name or label"
582
524
  },
583
525
  "fieldKey": {
584
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
585
- "type": "string"
526
+ "type": "string",
527
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
586
528
  },
587
529
  "operator": {
588
- "description": "Filter operator that requires valueFrom and valueTo",
589
530
  "type": "string",
590
- "enum": ["isBetween", "isNotBetween"]
531
+ "enum": ["isBetween", "isNotBetween"],
532
+ "description": "Filter operator that requires valueFrom and valueTo"
591
533
  },
592
534
  "valueFrom": {
593
- "description": "Lower filter value",
594
535
  "anyOf": [
595
536
  {
596
537
  "type": "string"
@@ -609,10 +550,10 @@ Add another measure filter before aggregation. Keeps existing filters.
609
550
  "required": ["type", "variableName"],
610
551
  "additionalProperties": false
611
552
  }
612
- ]
553
+ ],
554
+ "description": "Lower filter value"
613
555
  },
614
556
  "valueTo": {
615
- "description": "Upper filter value",
616
557
  "anyOf": [
617
558
  {
618
559
  "type": "string"
@@ -631,7 +572,8 @@ Add another measure filter before aggregation. Keeps existing filters.
631
572
  "required": ["type", "variableName"],
632
573
  "additionalProperties": false
633
574
  }
634
- ]
575
+ ],
576
+ "description": "Upper filter value"
635
577
  }
636
578
  },
637
579
  "required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
@@ -641,25 +583,25 @@ Add another measure filter before aggregation. Keeps existing filters.
641
583
  "type": "object",
642
584
  "properties": {
643
585
  "measureName": {
644
- "description": "Visible measure name or label",
645
- "type": "string"
586
+ "type": "string",
587
+ "description": "Visible measure name or label"
646
588
  },
647
589
  "fieldKey": {
648
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
649
- "type": "string"
590
+ "type": "string",
591
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
650
592
  },
651
593
  "operator": {
652
- "description": "Filter operator that requires a list of values",
653
594
  "type": "string",
654
- "enum": ["inList", "excludedFromList"]
595
+ "enum": ["inList", "excludedFromList"],
596
+ "description": "Filter operator that requires a list of values"
655
597
  },
656
598
  "values": {
657
- "description": "Filter values",
658
599
  "minItems": 1,
659
600
  "type": "array",
660
601
  "items": {
661
602
  "type": "string"
662
- }
603
+ },
604
+ "description": "Filter values"
663
605
  }
664
606
  },
665
607
  "required": ["measureName", "fieldKey", "operator", "values"],
@@ -669,23 +611,25 @@ Add another measure filter before aggregation. Keeps existing filters.
669
611
  "type": "object",
670
612
  "properties": {
671
613
  "measureName": {
672
- "description": "Visible measure name or label",
673
- "type": "string"
614
+ "type": "string",
615
+ "description": "Visible measure name or label"
674
616
  },
675
617
  "fieldKey": {
676
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
677
- "type": "string"
618
+ "type": "string",
619
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
678
620
  },
679
621
  "operator": {
680
- "description": "Filter operator that does not require values",
681
622
  "type": "string",
682
- "enum": ["isNull", "notNull"]
623
+ "enum": ["isNull", "notNull"],
624
+ "description": "Filter operator that does not require values"
683
625
  }
684
626
  },
685
627
  "required": ["measureName", "fieldKey", "operator"],
686
628
  "additionalProperties": false
687
629
  }
688
- ]
630
+ ],
631
+ "description": "Add another measure filter before aggregation. Keeps existing filters.",
632
+ "title": "Add measure filter schema"
689
633
  }
690
634
  ```
691
635
 
@@ -700,18 +644,15 @@ Add another result filter after aggregation. Keeps existing result filters.
700
644
  ```json
701
645
  {
702
646
  "$schema": "https://json-schema.org/draft/2020-12/schema",
703
- "description": "Add another result filter after aggregation. Keeps existing result filters.",
704
- "title": "Add result filter schema",
705
647
  "anyOf": [
706
648
  {
707
649
  "type": "object",
708
650
  "properties": {
709
651
  "measureName": {
710
- "description": "Visible measure name or label",
711
- "type": "string"
652
+ "type": "string",
653
+ "description": "Visible measure name or label"
712
654
  },
713
655
  "operator": {
714
- "description": "Filter operator that requires a value",
715
656
  "type": "string",
716
657
  "enum": [
717
658
  "equals",
@@ -726,10 +667,10 @@ Add another result filter after aggregation. Keeps existing result filters.
726
667
  "notLike",
727
668
  "startsWith",
728
669
  "endsWith"
729
- ]
670
+ ],
671
+ "description": "Filter operator that requires a value"
730
672
  },
731
673
  "value": {
732
- "description": "Filter value",
733
674
  "anyOf": [
734
675
  {
735
676
  "type": "string"
@@ -748,7 +689,8 @@ Add another result filter after aggregation. Keeps existing result filters.
748
689
  "required": ["type", "variableName"],
749
690
  "additionalProperties": false
750
691
  }
751
- ]
692
+ ],
693
+ "description": "Filter value"
752
694
  }
753
695
  },
754
696
  "required": ["measureName", "operator", "value"],
@@ -758,16 +700,15 @@ Add another result filter after aggregation. Keeps existing result filters.
758
700
  "type": "object",
759
701
  "properties": {
760
702
  "measureName": {
761
- "description": "Visible measure name or label",
762
- "type": "string"
703
+ "type": "string",
704
+ "description": "Visible measure name or label"
763
705
  },
764
706
  "operator": {
765
- "description": "Filter operator that requires valueFrom and valueTo",
766
707
  "type": "string",
767
- "enum": ["isBetween", "isNotBetween"]
708
+ "enum": ["isBetween", "isNotBetween"],
709
+ "description": "Filter operator that requires valueFrom and valueTo"
768
710
  },
769
711
  "valueFrom": {
770
- "description": "Lower filter value",
771
712
  "anyOf": [
772
713
  {
773
714
  "type": "string"
@@ -786,10 +727,10 @@ Add another result filter after aggregation. Keeps existing result filters.
786
727
  "required": ["type", "variableName"],
787
728
  "additionalProperties": false
788
729
  }
789
- ]
730
+ ],
731
+ "description": "Lower filter value"
790
732
  },
791
733
  "valueTo": {
792
- "description": "Upper filter value",
793
734
  "anyOf": [
794
735
  {
795
736
  "type": "string"
@@ -808,7 +749,8 @@ Add another result filter after aggregation. Keeps existing result filters.
808
749
  "required": ["type", "variableName"],
809
750
  "additionalProperties": false
810
751
  }
811
- ]
752
+ ],
753
+ "description": "Upper filter value"
812
754
  }
813
755
  },
814
756
  "required": ["measureName", "operator", "valueFrom", "valueTo"],
@@ -818,21 +760,21 @@ Add another result filter after aggregation. Keeps existing result filters.
818
760
  "type": "object",
819
761
  "properties": {
820
762
  "measureName": {
821
- "description": "Visible measure name or label",
822
- "type": "string"
763
+ "type": "string",
764
+ "description": "Visible measure name or label"
823
765
  },
824
766
  "operator": {
825
- "description": "Filter operator that requires a list of values",
826
767
  "type": "string",
827
- "enum": ["inList", "excludedFromList"]
768
+ "enum": ["inList", "excludedFromList"],
769
+ "description": "Filter operator that requires a list of values"
828
770
  },
829
771
  "values": {
830
- "description": "Filter values",
831
772
  "minItems": 1,
832
773
  "type": "array",
833
774
  "items": {
834
775
  "type": "string"
835
- }
776
+ },
777
+ "description": "Filter values"
836
778
  }
837
779
  },
838
780
  "required": ["measureName", "operator", "values"],
@@ -842,19 +784,21 @@ Add another result filter after aggregation. Keeps existing result filters.
842
784
  "type": "object",
843
785
  "properties": {
844
786
  "measureName": {
845
- "description": "Visible measure name or label",
846
- "type": "string"
787
+ "type": "string",
788
+ "description": "Visible measure name or label"
847
789
  },
848
790
  "operator": {
849
- "description": "Filter operator that does not require values",
850
791
  "type": "string",
851
- "enum": ["isNull", "notNull"]
792
+ "enum": ["isNull", "notNull"],
793
+ "description": "Filter operator that does not require values"
852
794
  }
853
795
  },
854
796
  "required": ["measureName", "operator"],
855
797
  "additionalProperties": false
856
798
  }
857
- ]
799
+ ],
800
+ "description": "Add another result filter after aggregation. Keeps existing result filters.",
801
+ "title": "Add result filter schema"
858
802
  }
859
803
  ```
860
804
 
@@ -869,25 +813,25 @@ Change how a measure is aggregated
869
813
  ```json
870
814
  {
871
815
  "$schema": "https://json-schema.org/draft/2020-12/schema",
872
- "title": "Change measure aggregation schema",
873
816
  "type": "object",
874
817
  "properties": {
875
818
  "dataItemInternalKey": {
876
- "description": "Internal key of the data item of the measure to be updated",
877
- "type": "string"
819
+ "type": "string",
820
+ "description": "Internal key of the data item of the measure to be updated"
878
821
  },
879
822
  "dataItemUniqueSignature": {
880
- "description": "Unique signature of the data item of the measure to be updated",
881
- "type": "string"
823
+ "type": "string",
824
+ "description": "Unique signature of the data item of the measure to be updated"
882
825
  },
883
826
  "aggregation": {
884
- "description": "Aggregation function to be used for the measure",
885
827
  "type": "string",
886
- "minLength": 1
828
+ "minLength": 1,
829
+ "description": "Aggregation function to be used for the measure"
887
830
  }
888
831
  },
889
832
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
890
- "additionalProperties": false
833
+ "additionalProperties": false,
834
+ "title": "Change measure aggregation schema"
891
835
  }
892
836
  ```
893
837
 
@@ -902,21 +846,21 @@ Clear measure filters before aggregation. Use fieldKey for one field; omit it fo
902
846
  ```json
903
847
  {
904
848
  "$schema": "https://json-schema.org/draft/2020-12/schema",
905
- "description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
906
- "title": "Clear measure filter schema",
907
849
  "type": "object",
908
850
  "properties": {
909
851
  "measureName": {
910
- "description": "Visible measure name or label",
911
- "type": "string"
852
+ "type": "string",
853
+ "description": "Visible measure name or label"
912
854
  },
913
855
  "fieldKey": {
914
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label. Omit to clear all filters on the measure.",
915
- "type": "string"
856
+ "type": "string",
857
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label. Omit to clear all filters on the measure."
916
858
  }
917
859
  },
918
860
  "required": ["measureName"],
919
- "additionalProperties": false
861
+ "additionalProperties": false,
862
+ "description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
863
+ "title": "Clear measure filter schema"
920
864
  }
921
865
  ```
922
866
 
@@ -931,17 +875,17 @@ Clear all result filters for one measure.
931
875
  ```json
932
876
  {
933
877
  "$schema": "https://json-schema.org/draft/2020-12/schema",
934
- "description": "Clear all result filters for one measure.",
935
- "title": "Clear result filter schema",
936
878
  "type": "object",
937
879
  "properties": {
938
880
  "measureName": {
939
- "description": "Visible measure name or label",
940
- "type": "string"
881
+ "type": "string",
882
+ "description": "Visible measure name or label"
941
883
  }
942
884
  },
943
885
  "required": ["measureName"],
944
- "additionalProperties": false
886
+ "additionalProperties": false,
887
+ "description": "Clear all result filters for one measure.",
888
+ "title": "Clear result filter schema"
945
889
  }
946
890
  ```
947
891
 
@@ -956,20 +900,20 @@ Create a copy of an existing dimension
956
900
  ```json
957
901
  {
958
902
  "$schema": "https://json-schema.org/draft/2020-12/schema",
959
- "title": "Duplicate dimension schema",
960
903
  "type": "object",
961
904
  "properties": {
962
905
  "dataItemInternalKey": {
963
- "description": "Internal key of the data item of the dimension to be duplicated",
964
- "type": "string"
906
+ "type": "string",
907
+ "description": "Internal key of the data item of the dimension to be duplicated"
965
908
  },
966
909
  "dataItemUniqueSignature": {
967
- "description": "Unique signature of the data item of the dimension to be duplicated",
968
- "type": "string"
910
+ "type": "string",
911
+ "description": "Unique signature of the data item of the dimension to be duplicated"
969
912
  }
970
913
  },
971
914
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
972
- "additionalProperties": false
915
+ "additionalProperties": false,
916
+ "title": "Duplicate dimension schema"
973
917
  }
974
918
  ```
975
919
 
@@ -984,20 +928,20 @@ Create a copy of an existing measure
984
928
  ```json
985
929
  {
986
930
  "$schema": "https://json-schema.org/draft/2020-12/schema",
987
- "title": "Duplicate measure schema",
988
931
  "type": "object",
989
932
  "properties": {
990
933
  "dataItemInternalKey": {
991
- "description": "Internal key of the data item of the measure to be duplicated",
992
- "type": "string"
934
+ "type": "string",
935
+ "description": "Internal key of the data item of the measure to be duplicated"
993
936
  },
994
937
  "dataItemUniqueSignature": {
995
- "description": "Unique signature of the data item of the measure to be duplicated",
996
- "type": "string"
938
+ "type": "string",
939
+ "description": "Unique signature of the data item of the measure to be duplicated"
997
940
  }
998
941
  },
999
942
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1000
- "additionalProperties": false
943
+ "additionalProperties": false,
944
+ "title": "Duplicate measure schema"
1001
945
  }
1002
946
  ```
1003
947
 
@@ -1012,18 +956,18 @@ Remove one value color by its position, as returned by getColoringOverwrites
1012
956
  ```json
1013
957
  {
1014
958
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1015
- "title": "Remove coloring overwrite schema",
1016
959
  "type": "object",
1017
960
  "properties": {
1018
961
  "index": {
1019
- "description": "Zero-based position of the entry to remove",
1020
962
  "type": "integer",
1021
963
  "minimum": 0,
1022
- "maximum": 9007199254740991
964
+ "maximum": 9007199254740991,
965
+ "description": "Zero-based position of the entry to remove"
1023
966
  }
1024
967
  },
1025
968
  "required": ["index"],
1026
- "additionalProperties": false
969
+ "additionalProperties": false,
970
+ "title": "Remove coloring overwrite schema"
1027
971
  }
1028
972
  ```
1029
973
 
@@ -1038,18 +982,18 @@ Remove one measure color rule by its position, as returned by getColoringRules
1038
982
  ```json
1039
983
  {
1040
984
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1041
- "title": "Remove coloring rule schema",
1042
985
  "type": "object",
1043
986
  "properties": {
1044
987
  "index": {
1045
- "description": "Zero-based position of the entry to remove",
1046
988
  "type": "integer",
1047
989
  "minimum": 0,
1048
- "maximum": 9007199254740991
990
+ "maximum": 9007199254740991,
991
+ "description": "Zero-based position of the entry to remove"
1049
992
  }
1050
993
  },
1051
994
  "required": ["index"],
1052
- "additionalProperties": false
995
+ "additionalProperties": false,
996
+ "title": "Remove coloring rule schema"
1053
997
  }
1054
998
  ```
1055
999
 
@@ -1064,20 +1008,20 @@ Remove a dimension from the chart
1064
1008
  ```json
1065
1009
  {
1066
1010
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1067
- "title": "Remove dimension schema",
1068
1011
  "type": "object",
1069
1012
  "properties": {
1070
1013
  "dataItemInternalKey": {
1071
- "description": "Internal key of the data item of the dimension to be removed",
1072
- "type": "string"
1014
+ "type": "string",
1015
+ "description": "Internal key of the data item of the dimension to be removed"
1073
1016
  },
1074
1017
  "dataItemUniqueSignature": {
1075
- "description": "Unique signature of the data item of the dimension to be removed",
1076
- "type": "string"
1018
+ "type": "string",
1019
+ "description": "Unique signature of the data item of the dimension to be removed"
1077
1020
  }
1078
1021
  },
1079
1022
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1080
- "additionalProperties": false
1023
+ "additionalProperties": false,
1024
+ "title": "Remove dimension schema"
1081
1025
  }
1082
1026
  ```
1083
1027
 
@@ -1092,20 +1036,20 @@ Remove a measure from the chart
1092
1036
  ```json
1093
1037
  {
1094
1038
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1095
- "title": "Remove measure schema",
1096
1039
  "type": "object",
1097
1040
  "properties": {
1098
1041
  "dataItemInternalKey": {
1099
- "description": "Internal key of the data item of the measure to be removed",
1100
- "type": "string"
1042
+ "type": "string",
1043
+ "description": "Internal key of the data item of the measure to be removed"
1101
1044
  },
1102
1045
  "dataItemUniqueSignature": {
1103
- "description": "Unique signature of the data item of the measure to be removed",
1104
- "type": "string"
1046
+ "type": "string",
1047
+ "description": "Unique signature of the data item of the measure to be removed"
1105
1048
  }
1106
1049
  },
1107
1050
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1108
- "additionalProperties": false
1051
+ "additionalProperties": false,
1052
+ "title": "Remove measure schema"
1109
1053
  }
1110
1054
  ```
1111
1055
 
@@ -1120,10 +1064,10 @@ Reset the chart palette back to the workbook theme default
1120
1064
  ```json
1121
1065
  {
1122
1066
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1123
- "title": "Reset chart palette schema",
1124
1067
  "type": "object",
1125
1068
  "properties": {},
1126
- "additionalProperties": false
1069
+ "additionalProperties": false,
1070
+ "title": "Reset chart palette schema"
1127
1071
  }
1128
1072
  ```
1129
1073
 
@@ -1138,16 +1082,16 @@ Turn the chart animations on or off. They are on by default; the host can still
1138
1082
  ```json
1139
1083
  {
1140
1084
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1141
- "title": "Set animation enabled schema",
1142
1085
  "type": "object",
1143
1086
  "properties": {
1144
1087
  "enabled": {
1145
- "description": "Whether the chart animates when it first renders and when its data changes",
1146
- "type": "boolean"
1088
+ "type": "boolean",
1089
+ "description": "Whether the chart animates when it first renders and when its data changes"
1147
1090
  }
1148
1091
  },
1149
1092
  "required": ["enabled"],
1150
- "additionalProperties": false
1093
+ "additionalProperties": false,
1094
+ "title": "Set animation enabled schema"
1151
1095
  }
1152
1096
  ```
1153
1097
 
@@ -1162,9 +1106,9 @@ Apply an existing palette using a built-in palette name or a theme palette label
1162
1106
  ```json
1163
1107
  {
1164
1108
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1165
- "title": "Chart palette schema",
1166
1109
  "type": "string",
1167
- "minLength": 1
1110
+ "minLength": 1,
1111
+ "title": "Chart palette schema"
1168
1112
  }
1169
1113
  ```
1170
1114
 
@@ -1179,11 +1123,9 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1179
1123
  ```json
1180
1124
  {
1181
1125
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1182
- "title": "Set coloring overwrites schema",
1183
1126
  "type": "object",
1184
1127
  "properties": {
1185
1128
  "overwrites": {
1186
- "description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all",
1187
1129
  "type": "array",
1188
1130
  "items": {
1189
1131
  "anyOf": [
@@ -1195,21 +1137,21 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1195
1137
  "type": "object",
1196
1138
  "properties": {
1197
1139
  "dataItemInternalKey": {
1198
- "description": "Internal key of the data item of the dimension to be updated",
1199
- "type": "string"
1140
+ "type": "string",
1141
+ "description": "Internal key of the data item of the dimension to be updated"
1200
1142
  },
1201
1143
  "dataItemUniqueSignature": {
1202
- "description": "Unique signature of the data item of the dimension to be updated",
1203
- "type": "string"
1144
+ "type": "string",
1145
+ "description": "Unique signature of the data item of the dimension to be updated"
1204
1146
  }
1205
1147
  },
1206
1148
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1207
1149
  "additionalProperties": false
1208
1150
  },
1209
1151
  "color": {
1210
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1211
1152
  "type": "string",
1212
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1153
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1154
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1213
1155
  },
1214
1156
  "operator": {
1215
1157
  "description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
@@ -1227,14 +1169,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1227
1169
  },
1228
1170
  "value": {
1229
1171
  "description": "Value to compare against",
1230
- "anyOf": [
1231
- {
1232
- "type": "string"
1233
- },
1234
- {
1235
- "type": "number"
1236
- }
1237
- ]
1172
+ "type": ["string", "number"]
1238
1173
  }
1239
1174
  },
1240
1175
  "required": ["color", "value"],
@@ -1248,48 +1183,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1248
1183
  "type": "object",
1249
1184
  "properties": {
1250
1185
  "dataItemInternalKey": {
1251
- "description": "Internal key of the data item of the dimension to be updated",
1252
- "type": "string"
1186
+ "type": "string",
1187
+ "description": "Internal key of the data item of the dimension to be updated"
1253
1188
  },
1254
1189
  "dataItemUniqueSignature": {
1255
- "description": "Unique signature of the data item of the dimension to be updated",
1256
- "type": "string"
1190
+ "type": "string",
1191
+ "description": "Unique signature of the data item of the dimension to be updated"
1257
1192
  }
1258
1193
  },
1259
1194
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1260
1195
  "additionalProperties": false
1261
1196
  },
1262
1197
  "color": {
1263
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1264
1198
  "type": "string",
1265
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1199
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1200
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1266
1201
  },
1267
1202
  "operator": {
1268
- "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
1269
1203
  "type": "string",
1270
- "const": "between"
1204
+ "const": "between",
1205
+ "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
1271
1206
  },
1272
1207
  "value": {
1273
1208
  "description": "Lower bound of the range",
1274
- "anyOf": [
1275
- {
1276
- "type": "string"
1277
- },
1278
- {
1279
- "type": "number"
1280
- }
1281
- ]
1209
+ "type": ["string", "number"]
1282
1210
  },
1283
1211
  "secondValue": {
1284
1212
  "description": "Upper bound of the range",
1285
- "anyOf": [
1286
- {
1287
- "type": "string"
1288
- },
1289
- {
1290
- "type": "number"
1291
- }
1292
- ]
1213
+ "type": ["string", "number"]
1293
1214
  }
1294
1215
  },
1295
1216
  "required": ["color", "operator", "value", "secondValue"],
@@ -1303,41 +1224,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1303
1224
  "type": "object",
1304
1225
  "properties": {
1305
1226
  "dataItemInternalKey": {
1306
- "description": "Internal key of the data item of the dimension to be updated",
1307
- "type": "string"
1227
+ "type": "string",
1228
+ "description": "Internal key of the data item of the dimension to be updated"
1308
1229
  },
1309
1230
  "dataItemUniqueSignature": {
1310
- "description": "Unique signature of the data item of the dimension to be updated",
1311
- "type": "string"
1231
+ "type": "string",
1232
+ "description": "Unique signature of the data item of the dimension to be updated"
1312
1233
  }
1313
1234
  },
1314
1235
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1315
1236
  "additionalProperties": false
1316
1237
  },
1317
1238
  "color": {
1318
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1319
1239
  "type": "string",
1320
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1240
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1241
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1321
1242
  },
1322
1243
  "operator": {
1323
- "description": "Match (inList) or exclude (notInList) every value in values",
1324
1244
  "type": "string",
1325
- "enum": ["inList", "notInList"]
1245
+ "enum": ["inList", "notInList"],
1246
+ "description": "Match (inList) or exclude (notInList) every value in values"
1326
1247
  },
1327
1248
  "values": {
1328
- "description": "Values to match",
1329
1249
  "minItems": 1,
1330
1250
  "type": "array",
1331
1251
  "items": {
1332
- "anyOf": [
1333
- {
1334
- "type": "string"
1335
- },
1336
- {
1337
- "type": "number"
1338
- }
1339
- ]
1340
- }
1252
+ "type": ["string", "number"]
1253
+ },
1254
+ "description": "Values to match"
1341
1255
  },
1342
1256
  "delimiter": {
1343
1257
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -1349,11 +1263,13 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1349
1263
  "additionalProperties": false
1350
1264
  }
1351
1265
  ]
1352
- }
1266
+ },
1267
+ "description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all"
1353
1268
  }
1354
1269
  },
1355
1270
  "required": ["overwrites"],
1356
- "additionalProperties": false
1271
+ "additionalProperties": false,
1272
+ "title": "Set coloring overwrites schema"
1357
1273
  }
1358
1274
  ```
1359
1275
 
@@ -1368,11 +1284,9 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1368
1284
  ```json
1369
1285
  {
1370
1286
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1371
- "title": "Set coloring rules schema",
1372
1287
  "type": "object",
1373
1288
  "properties": {
1374
1289
  "rules": {
1375
- "description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all",
1376
1290
  "type": "array",
1377
1291
  "items": {
1378
1292
  "anyOf": [
@@ -1380,41 +1294,34 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1380
1294
  "type": "object",
1381
1295
  "properties": {
1382
1296
  "measure": {
1383
- "description": "Measure whose value is compared",
1384
1297
  "type": "object",
1385
1298
  "properties": {
1386
1299
  "dataItemInternalKey": {
1387
- "description": "Internal key of the data item of the measure to be updated",
1388
- "type": "string"
1300
+ "type": "string",
1301
+ "description": "Internal key of the data item of the measure to be updated"
1389
1302
  },
1390
1303
  "dataItemUniqueSignature": {
1391
- "description": "Unique signature of the data item of the measure to be updated",
1392
- "type": "string"
1304
+ "type": "string",
1305
+ "description": "Unique signature of the data item of the measure to be updated"
1393
1306
  }
1394
1307
  },
1395
1308
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1396
- "additionalProperties": false
1309
+ "additionalProperties": false,
1310
+ "description": "Measure whose value is compared"
1397
1311
  },
1398
1312
  "color": {
1399
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1400
1313
  "type": "string",
1401
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1314
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1315
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1402
1316
  },
1403
1317
  "operator": {
1404
- "description": "How the measure value is compared",
1405
1318
  "type": "string",
1406
- "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
1319
+ "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
1320
+ "description": "How the measure value is compared"
1407
1321
  },
1408
1322
  "value": {
1409
1323
  "description": "Value to compare against",
1410
- "anyOf": [
1411
- {
1412
- "type": "string"
1413
- },
1414
- {
1415
- "type": "number"
1416
- }
1417
- ]
1324
+ "type": ["string", "number"]
1418
1325
  }
1419
1326
  },
1420
1327
  "required": ["measure", "color", "operator", "value"],
@@ -1424,52 +1331,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1424
1331
  "type": "object",
1425
1332
  "properties": {
1426
1333
  "measure": {
1427
- "description": "Measure whose value is compared",
1428
1334
  "type": "object",
1429
1335
  "properties": {
1430
1336
  "dataItemInternalKey": {
1431
- "description": "Internal key of the data item of the measure to be updated",
1432
- "type": "string"
1337
+ "type": "string",
1338
+ "description": "Internal key of the data item of the measure to be updated"
1433
1339
  },
1434
1340
  "dataItemUniqueSignature": {
1435
- "description": "Unique signature of the data item of the measure to be updated",
1436
- "type": "string"
1341
+ "type": "string",
1342
+ "description": "Unique signature of the data item of the measure to be updated"
1437
1343
  }
1438
1344
  },
1439
1345
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1440
- "additionalProperties": false
1346
+ "additionalProperties": false,
1347
+ "description": "Measure whose value is compared"
1441
1348
  },
1442
1349
  "color": {
1443
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1444
1350
  "type": "string",
1445
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1351
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1352
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1446
1353
  },
1447
1354
  "operator": {
1448
- "description": "Matches measure values from value to secondValue, both inclusive",
1449
1355
  "type": "string",
1450
- "const": "between"
1356
+ "const": "between",
1357
+ "description": "Matches measure values from value to secondValue, both inclusive"
1451
1358
  },
1452
1359
  "value": {
1453
1360
  "description": "Lower bound of the range",
1454
- "anyOf": [
1455
- {
1456
- "type": "string"
1457
- },
1458
- {
1459
- "type": "number"
1460
- }
1461
- ]
1361
+ "type": ["string", "number"]
1462
1362
  },
1463
1363
  "secondValue": {
1464
1364
  "description": "Upper bound of the range",
1465
- "anyOf": [
1466
- {
1467
- "type": "string"
1468
- },
1469
- {
1470
- "type": "number"
1471
- }
1472
- ]
1365
+ "type": ["string", "number"]
1473
1366
  }
1474
1367
  },
1475
1368
  "required": ["measure", "color", "operator", "value", "secondValue"],
@@ -1479,45 +1372,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1479
1372
  "type": "object",
1480
1373
  "properties": {
1481
1374
  "measure": {
1482
- "description": "Measure whose value is compared",
1483
1375
  "type": "object",
1484
1376
  "properties": {
1485
1377
  "dataItemInternalKey": {
1486
- "description": "Internal key of the data item of the measure to be updated",
1487
- "type": "string"
1378
+ "type": "string",
1379
+ "description": "Internal key of the data item of the measure to be updated"
1488
1380
  },
1489
1381
  "dataItemUniqueSignature": {
1490
- "description": "Unique signature of the data item of the measure to be updated",
1491
- "type": "string"
1382
+ "type": "string",
1383
+ "description": "Unique signature of the data item of the measure to be updated"
1492
1384
  }
1493
1385
  },
1494
1386
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1495
- "additionalProperties": false
1387
+ "additionalProperties": false,
1388
+ "description": "Measure whose value is compared"
1496
1389
  },
1497
1390
  "color": {
1498
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1499
1391
  "type": "string",
1500
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1392
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1393
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1501
1394
  },
1502
1395
  "operator": {
1503
- "description": "Match (inList) or exclude (notInList) every value in values",
1504
1396
  "type": "string",
1505
- "enum": ["inList", "notInList"]
1397
+ "enum": ["inList", "notInList"],
1398
+ "description": "Match (inList) or exclude (notInList) every value in values"
1506
1399
  },
1507
1400
  "values": {
1508
- "description": "Values to match",
1509
1401
  "minItems": 1,
1510
1402
  "type": "array",
1511
1403
  "items": {
1512
- "anyOf": [
1513
- {
1514
- "type": "string"
1515
- },
1516
- {
1517
- "type": "number"
1518
- }
1519
- ]
1520
- }
1404
+ "type": ["string", "number"]
1405
+ },
1406
+ "description": "Values to match"
1521
1407
  },
1522
1408
  "delimiter": {
1523
1409
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -1529,11 +1415,13 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1529
1415
  "additionalProperties": false
1530
1416
  }
1531
1417
  ]
1532
- }
1418
+ },
1419
+ "description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all"
1533
1420
  }
1534
1421
  },
1535
1422
  "required": ["rules"],
1536
- "additionalProperties": false
1423
+ "additionalProperties": false,
1424
+ "title": "Set coloring rules schema"
1537
1425
  }
1538
1426
  ```
1539
1427
 
@@ -1548,9 +1436,9 @@ Set how colors are applied to the chart
1548
1436
  ```json
1549
1437
  {
1550
1438
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1551
- "title": "Coloring type schema",
1552
1439
  "type": "string",
1553
- "enum": ["perEachMeasure"]
1440
+ "enum": ["perEachMeasure"],
1441
+ "title": "Coloring type schema"
1554
1442
  }
1555
1443
  ```
1556
1444
 
@@ -1565,7 +1453,6 @@ Replace the whole custom categorical palette with a provided list of colors and
1565
1453
  ```json
1566
1454
  {
1567
1455
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1568
- "title": "Custom palette colors schema",
1569
1456
  "type": "object",
1570
1457
  "properties": {
1571
1458
  "colors": {
@@ -1578,7 +1465,8 @@ Replace the whole custom categorical palette with a provided list of colors and
1578
1465
  }
1579
1466
  },
1580
1467
  "required": ["colors"],
1581
- "additionalProperties": false
1468
+ "additionalProperties": false,
1469
+ "title": "Custom palette colors schema"
1582
1470
  }
1583
1471
  ```
1584
1472
 
@@ -1593,16 +1481,15 @@ Set the custom display format string for a dimension. This changes label formatt
1593
1481
  ```json
1594
1482
  {
1595
1483
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1596
- "title": "Dimension format string schema",
1597
1484
  "type": "object",
1598
1485
  "properties": {
1599
1486
  "dataItemInternalKey": {
1600
- "description": "Internal key of the data item of the dimension to be updated",
1601
- "type": "string"
1487
+ "type": "string",
1488
+ "description": "Internal key of the data item of the dimension to be updated"
1602
1489
  },
1603
1490
  "dataItemUniqueSignature": {
1604
- "description": "Unique signature of the data item of the dimension to be updated",
1605
- "type": "string"
1491
+ "type": "string",
1492
+ "description": "Unique signature of the data item of the dimension to be updated"
1606
1493
  },
1607
1494
  "formatString": {
1608
1495
  "anyOf": [
@@ -1627,7 +1514,8 @@ Set the custom display format string for a dimension. This changes label formatt
1627
1514
  }
1628
1515
  },
1629
1516
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1630
- "additionalProperties": false
1517
+ "additionalProperties": false,
1518
+ "title": "Dimension format string schema"
1631
1519
  }
1632
1520
  ```
1633
1521
 
@@ -1642,16 +1530,15 @@ Set the display format type used by a dimension. This changes label formatting o
1642
1530
  ```json
1643
1531
  {
1644
1532
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1645
- "title": "Dimension format type schema",
1646
1533
  "type": "object",
1647
1534
  "properties": {
1648
1535
  "dataItemInternalKey": {
1649
- "description": "Internal key of the data item of the dimension to be updated",
1650
- "type": "string"
1536
+ "type": "string",
1537
+ "description": "Internal key of the data item of the dimension to be updated"
1651
1538
  },
1652
1539
  "dataItemUniqueSignature": {
1653
- "description": "Unique signature of the data item of the dimension to be updated",
1654
- "type": "string"
1540
+ "type": "string",
1541
+ "description": "Unique signature of the data item of the dimension to be updated"
1655
1542
  },
1656
1543
  "formatType": {
1657
1544
  "anyOf": [
@@ -1746,7 +1633,8 @@ Set the display format type used by a dimension. This changes label formatting o
1746
1633
  }
1747
1634
  },
1748
1635
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
1749
- "additionalProperties": false
1636
+ "additionalProperties": false,
1637
+ "title": "Dimension format type schema"
1750
1638
  }
1751
1639
  ```
1752
1640
 
@@ -1761,18 +1649,17 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1761
1649
  ```json
1762
1650
  {
1763
1651
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1764
- "title": "Dimension temporal grouping schema",
1765
- "anyOf": [
1652
+ "oneOf": [
1766
1653
  {
1767
1654
  "type": "object",
1768
1655
  "properties": {
1769
1656
  "dataItemInternalKey": {
1770
- "description": "Internal key of the data item of the dimension to be updated",
1771
- "type": "string"
1657
+ "type": "string",
1658
+ "description": "Internal key of the data item of the dimension to be updated"
1772
1659
  },
1773
1660
  "dataItemUniqueSignature": {
1774
- "description": "Unique signature of the data item of the dimension to be updated",
1775
- "type": "string"
1661
+ "type": "string",
1662
+ "description": "Unique signature of the data item of the dimension to be updated"
1776
1663
  },
1777
1664
  "mode": {
1778
1665
  "type": "string",
@@ -1786,12 +1673,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1786
1673
  "type": "object",
1787
1674
  "properties": {
1788
1675
  "dataItemInternalKey": {
1789
- "description": "Internal key of the data item of the dimension to be updated",
1790
- "type": "string"
1676
+ "type": "string",
1677
+ "description": "Internal key of the data item of the dimension to be updated"
1791
1678
  },
1792
1679
  "dataItemUniqueSignature": {
1793
- "description": "Unique signature of the data item of the dimension to be updated",
1794
- "type": "string"
1680
+ "type": "string",
1681
+ "description": "Unique signature of the data item of the dimension to be updated"
1795
1682
  },
1796
1683
  "mode": {
1797
1684
  "type": "string",
@@ -1822,12 +1709,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1822
1709
  "type": "object",
1823
1710
  "properties": {
1824
1711
  "dataItemInternalKey": {
1825
- "description": "Internal key of the data item of the dimension to be updated",
1826
- "type": "string"
1712
+ "type": "string",
1713
+ "description": "Internal key of the data item of the dimension to be updated"
1827
1714
  },
1828
1715
  "dataItemUniqueSignature": {
1829
- "description": "Unique signature of the data item of the dimension to be updated",
1830
- "type": "string"
1716
+ "type": "string",
1717
+ "description": "Unique signature of the data item of the dimension to be updated"
1831
1718
  },
1832
1719
  "mode": {
1833
1720
  "type": "string",
@@ -1853,7 +1740,8 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1853
1740
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
1854
1741
  "additionalProperties": false
1855
1742
  }
1856
- ]
1743
+ ],
1744
+ "title": "Dimension temporal grouping schema"
1857
1745
  }
1858
1746
  ```
1859
1747
 
@@ -1868,8 +1756,8 @@ Render the distribution gauge as bars instead of radial arcs
1868
1756
  ```json
1869
1757
  {
1870
1758
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1871
- "title": "Distribution gauge bar mode schema",
1872
- "type": "boolean"
1759
+ "type": "boolean",
1760
+ "title": "Distribution gauge bar mode schema"
1873
1761
  }
1874
1762
  ```
1875
1763
 
@@ -1884,8 +1772,8 @@ Compare all configured gauge values
1884
1772
  ```json
1885
1773
  {
1886
1774
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1887
- "title": "Distribution gauge comparison mode schema",
1888
- "type": "boolean"
1775
+ "type": "boolean",
1776
+ "title": "Distribution gauge comparison mode schema"
1889
1777
  }
1890
1778
  ```
1891
1779
 
@@ -1900,9 +1788,9 @@ Show or hide the chart legend
1900
1788
  ```json
1901
1789
  {
1902
1790
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1791
+ "type": "boolean",
1903
1792
  "description": "Enable legend",
1904
- "title": "Legend enabled schema",
1905
- "type": "boolean"
1793
+ "title": "Legend enabled schema"
1906
1794
  }
1907
1795
  ```
1908
1796
 
@@ -1917,8 +1805,6 @@ Change the color of legend text labels
1917
1805
  ```json
1918
1806
  {
1919
1807
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1920
- "description": "Legend item label font color (hexadecimal color code)",
1921
- "title": "Legend item label fill schema",
1922
1808
  "anyOf": [
1923
1809
  {
1924
1810
  "type": "string",
@@ -1927,7 +1813,9 @@ Change the color of legend text labels
1927
1813
  {
1928
1814
  "type": "null"
1929
1815
  }
1930
- ]
1816
+ ],
1817
+ "description": "Legend item label font color (hexadecimal color code)",
1818
+ "title": "Legend item label fill schema"
1931
1819
  }
1932
1820
  ```
1933
1821
 
@@ -1942,8 +1830,8 @@ Adjust the font size of legend labels
1942
1830
  ```json
1943
1831
  {
1944
1832
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1945
- "title": "Legend item label font size schema",
1946
- "type": "number"
1833
+ "type": "number",
1834
+ "title": "Legend item label font size schema"
1947
1835
  }
1948
1836
  ```
1949
1837
 
@@ -1977,14 +1865,7 @@ Set the maximum number of characters shown in legend labels
1977
1865
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1978
1866
  "description": "Maximum number of glyphs in the legend item label",
1979
1867
  "title": "Legend item label max glyph count schema",
1980
- "anyOf": [
1981
- {
1982
- "type": "number"
1983
- },
1984
- {
1985
- "type": "null"
1986
- }
1987
- ]
1868
+ "type": ["number", "null"]
1988
1869
  }
1989
1870
  ```
1990
1871
 
@@ -1999,10 +1880,10 @@ Change where the legend appears on the chart
1999
1880
  ```json
2000
1881
  {
2001
1882
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2002
- "description": "Legend position",
2003
- "title": "Legend position schema",
2004
1883
  "type": "string",
2005
- "enum": ["left", "right", "top", "bottom"]
1884
+ "enum": ["left", "right", "top", "bottom"],
1885
+ "description": "Legend position",
1886
+ "title": "Legend position schema"
2006
1887
  }
2007
1888
  ```
2008
1889
 
@@ -2019,14 +1900,7 @@ Set a custom title for the legend
2019
1900
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2020
1901
  "description": "Legend title text",
2021
1902
  "title": "Legend title schema",
2022
- "anyOf": [
2023
- {
2024
- "type": "string"
2025
- },
2026
- {
2027
- "type": "null"
2028
- }
2029
- ]
1903
+ "type": ["string", "null"]
2030
1904
  }
2031
1905
  ```
2032
1906
 
@@ -2041,23 +1915,23 @@ Set the currency symbol used by a measure formatter
2041
1915
  ```json
2042
1916
  {
2043
1917
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2044
- "title": "Measure currency schema",
2045
1918
  "type": "object",
2046
1919
  "properties": {
2047
1920
  "dataItemInternalKey": {
2048
- "description": "Internal key of the data item of the measure to be updated",
2049
- "type": "string"
1921
+ "type": "string",
1922
+ "description": "Internal key of the data item of the measure to be updated"
2050
1923
  },
2051
1924
  "dataItemUniqueSignature": {
2052
- "description": "Unique signature of the data item of the measure to be updated",
2053
- "type": "string"
1925
+ "type": "string",
1926
+ "description": "Unique signature of the data item of the measure to be updated"
2054
1927
  },
2055
1928
  "currency": {
2056
1929
  "type": "string"
2057
1930
  }
2058
1931
  },
2059
1932
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2060
- "additionalProperties": false
1933
+ "additionalProperties": false,
1934
+ "title": "Measure currency schema"
2061
1935
  }
2062
1936
  ```
2063
1937
 
@@ -2072,23 +1946,23 @@ Set whether measure currency symbol is prefixed
2072
1946
  ```json
2073
1947
  {
2074
1948
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2075
- "title": "Measure currency is prefix schema",
2076
1949
  "type": "object",
2077
1950
  "properties": {
2078
1951
  "dataItemInternalKey": {
2079
- "description": "Internal key of the data item of the measure to be updated",
2080
- "type": "string"
1952
+ "type": "string",
1953
+ "description": "Internal key of the data item of the measure to be updated"
2081
1954
  },
2082
1955
  "dataItemUniqueSignature": {
2083
- "description": "Unique signature of the data item of the measure to be updated",
2084
- "type": "string"
1956
+ "type": "string",
1957
+ "description": "Unique signature of the data item of the measure to be updated"
2085
1958
  },
2086
1959
  "currencyIsPrefix": {
2087
1960
  "type": "boolean"
2088
1961
  }
2089
1962
  },
2090
1963
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2091
- "additionalProperties": false
1964
+ "additionalProperties": false,
1965
+ "title": "Measure currency is prefix schema"
2092
1966
  }
2093
1967
  ```
2094
1968
 
@@ -2103,16 +1977,15 @@ Configure a Defined parameter of a custom measure using its default, a static va
2103
1977
  ```json
2104
1978
  {
2105
1979
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2106
- "title": "Set measure defined parameter schema",
2107
1980
  "type": "object",
2108
1981
  "properties": {
2109
1982
  "dataItemInternalKey": {
2110
- "description": "Internal key of the data item of the measure to be updated",
2111
- "type": "string"
1983
+ "type": "string",
1984
+ "description": "Internal key of the data item of the measure to be updated"
2112
1985
  },
2113
1986
  "dataItemUniqueSignature": {
2114
- "description": "Unique signature of the data item of the measure to be updated",
2115
- "type": "string"
1987
+ "type": "string",
1988
+ "description": "Unique signature of the data item of the measure to be updated"
2116
1989
  },
2117
1990
  "collectionKey": {
2118
1991
  "description": "Measure collection to update. Defaults to primary measures.",
@@ -2120,13 +1993,12 @@ Configure a Defined parameter of a custom measure using its default, a static va
2120
1993
  "enum": ["measures", "supportingMeasures"]
2121
1994
  },
2122
1995
  "parameterName": {
2123
- "description": "Exact name of a Defined parameter exposed by the measure",
2124
1996
  "type": "string",
2125
- "minLength": 1
1997
+ "minLength": 1,
1998
+ "description": "Exact name of a Defined parameter exposed by the measure"
2126
1999
  },
2127
2000
  "value": {
2128
- "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable",
2129
- "anyOf": [
2001
+ "oneOf": [
2130
2002
  {
2131
2003
  "type": "object",
2132
2004
  "properties": {
@@ -2146,17 +2018,7 @@ Configure a Defined parameter of a custom measure using its default, a static va
2146
2018
  "const": "static"
2147
2019
  },
2148
2020
  "value": {
2149
- "anyOf": [
2150
- {
2151
- "type": "string"
2152
- },
2153
- {
2154
- "type": "number"
2155
- },
2156
- {
2157
- "type": "boolean"
2158
- }
2159
- ]
2021
+ "type": ["string", "number", "boolean"]
2160
2022
  }
2161
2023
  },
2162
2024
  "required": ["type", "value"],
@@ -2170,19 +2032,21 @@ Configure a Defined parameter of a custom measure using its default, a static va
2170
2032
  "const": "variable"
2171
2033
  },
2172
2034
  "variableName": {
2173
- "description": "Exact name of an existing compatible workbook variable",
2174
2035
  "type": "string",
2175
- "minLength": 1
2036
+ "minLength": 1,
2037
+ "description": "Exact name of an existing compatible workbook variable"
2176
2038
  }
2177
2039
  },
2178
2040
  "required": ["type", "variableName"],
2179
2041
  "additionalProperties": false
2180
2042
  }
2181
- ]
2043
+ ],
2044
+ "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
2182
2045
  }
2183
2046
  },
2184
2047
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
2185
- "additionalProperties": false
2048
+ "additionalProperties": false,
2049
+ "title": "Set measure defined parameter schema"
2186
2050
  }
2187
2051
  ```
2188
2052
 
@@ -2197,22 +2061,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2197
2061
  ```json
2198
2062
  {
2199
2063
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2200
- "description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
2201
- "title": "Set measure filter schema",
2202
2064
  "anyOf": [
2203
2065
  {
2204
2066
  "type": "object",
2205
2067
  "properties": {
2206
2068
  "measureName": {
2207
- "description": "Visible measure name or label",
2208
- "type": "string"
2069
+ "type": "string",
2070
+ "description": "Visible measure name or label"
2209
2071
  },
2210
2072
  "fieldKey": {
2211
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2212
- "type": "string"
2073
+ "type": "string",
2074
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2213
2075
  },
2214
2076
  "operator": {
2215
- "description": "Filter operator that requires a value",
2216
2077
  "type": "string",
2217
2078
  "enum": [
2218
2079
  "equals",
@@ -2227,10 +2088,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2227
2088
  "notLike",
2228
2089
  "startsWith",
2229
2090
  "endsWith"
2230
- ]
2091
+ ],
2092
+ "description": "Filter operator that requires a value"
2231
2093
  },
2232
2094
  "value": {
2233
- "description": "Filter value",
2234
2095
  "anyOf": [
2235
2096
  {
2236
2097
  "type": "string"
@@ -2249,7 +2110,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2249
2110
  "required": ["type", "variableName"],
2250
2111
  "additionalProperties": false
2251
2112
  }
2252
- ]
2113
+ ],
2114
+ "description": "Filter value"
2253
2115
  }
2254
2116
  },
2255
2117
  "required": ["measureName", "fieldKey", "operator", "value"],
@@ -2259,20 +2121,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2259
2121
  "type": "object",
2260
2122
  "properties": {
2261
2123
  "measureName": {
2262
- "description": "Visible measure name or label",
2263
- "type": "string"
2124
+ "type": "string",
2125
+ "description": "Visible measure name or label"
2264
2126
  },
2265
2127
  "fieldKey": {
2266
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2267
- "type": "string"
2128
+ "type": "string",
2129
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2268
2130
  },
2269
2131
  "operator": {
2270
- "description": "Filter operator that requires valueFrom and valueTo",
2271
2132
  "type": "string",
2272
- "enum": ["isBetween", "isNotBetween"]
2133
+ "enum": ["isBetween", "isNotBetween"],
2134
+ "description": "Filter operator that requires valueFrom and valueTo"
2273
2135
  },
2274
2136
  "valueFrom": {
2275
- "description": "Lower filter value",
2276
2137
  "anyOf": [
2277
2138
  {
2278
2139
  "type": "string"
@@ -2291,10 +2152,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2291
2152
  "required": ["type", "variableName"],
2292
2153
  "additionalProperties": false
2293
2154
  }
2294
- ]
2155
+ ],
2156
+ "description": "Lower filter value"
2295
2157
  },
2296
2158
  "valueTo": {
2297
- "description": "Upper filter value",
2298
2159
  "anyOf": [
2299
2160
  {
2300
2161
  "type": "string"
@@ -2313,7 +2174,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2313
2174
  "required": ["type", "variableName"],
2314
2175
  "additionalProperties": false
2315
2176
  }
2316
- ]
2177
+ ],
2178
+ "description": "Upper filter value"
2317
2179
  }
2318
2180
  },
2319
2181
  "required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
@@ -2323,25 +2185,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2323
2185
  "type": "object",
2324
2186
  "properties": {
2325
2187
  "measureName": {
2326
- "description": "Visible measure name or label",
2327
- "type": "string"
2188
+ "type": "string",
2189
+ "description": "Visible measure name or label"
2328
2190
  },
2329
2191
  "fieldKey": {
2330
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2331
- "type": "string"
2192
+ "type": "string",
2193
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2332
2194
  },
2333
2195
  "operator": {
2334
- "description": "Filter operator that requires a list of values",
2335
2196
  "type": "string",
2336
- "enum": ["inList", "excludedFromList"]
2197
+ "enum": ["inList", "excludedFromList"],
2198
+ "description": "Filter operator that requires a list of values"
2337
2199
  },
2338
2200
  "values": {
2339
- "description": "Filter values",
2340
2201
  "minItems": 1,
2341
2202
  "type": "array",
2342
2203
  "items": {
2343
2204
  "type": "string"
2344
- }
2205
+ },
2206
+ "description": "Filter values"
2345
2207
  }
2346
2208
  },
2347
2209
  "required": ["measureName", "fieldKey", "operator", "values"],
@@ -2351,23 +2213,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2351
2213
  "type": "object",
2352
2214
  "properties": {
2353
2215
  "measureName": {
2354
- "description": "Visible measure name or label",
2355
- "type": "string"
2216
+ "type": "string",
2217
+ "description": "Visible measure name or label"
2356
2218
  },
2357
2219
  "fieldKey": {
2358
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2359
- "type": "string"
2220
+ "type": "string",
2221
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2360
2222
  },
2361
2223
  "operator": {
2362
- "description": "Filter operator that does not require values",
2363
2224
  "type": "string",
2364
- "enum": ["isNull", "notNull"]
2225
+ "enum": ["isNull", "notNull"],
2226
+ "description": "Filter operator that does not require values"
2365
2227
  }
2366
2228
  },
2367
2229
  "required": ["measureName", "fieldKey", "operator"],
2368
2230
  "additionalProperties": false
2369
2231
  }
2370
- ]
2232
+ ],
2233
+ "description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
2234
+ "title": "Set measure filter schema"
2371
2235
  }
2372
2236
  ```
2373
2237
 
@@ -2382,16 +2246,15 @@ Set the custom format string for a measure
2382
2246
  ```json
2383
2247
  {
2384
2248
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2385
- "title": "Measure format string schema",
2386
2249
  "type": "object",
2387
2250
  "properties": {
2388
2251
  "dataItemInternalKey": {
2389
- "description": "Internal key of the data item of the measure to be updated",
2390
- "type": "string"
2252
+ "type": "string",
2253
+ "description": "Internal key of the data item of the measure to be updated"
2391
2254
  },
2392
2255
  "dataItemUniqueSignature": {
2393
- "description": "Unique signature of the data item of the measure to be updated",
2394
- "type": "string"
2256
+ "type": "string",
2257
+ "description": "Unique signature of the data item of the measure to be updated"
2395
2258
  },
2396
2259
  "formatString": {
2397
2260
  "anyOf": [
@@ -2416,7 +2279,8 @@ Set the custom format string for a measure
2416
2279
  }
2417
2280
  },
2418
2281
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2419
- "additionalProperties": false
2282
+ "additionalProperties": false,
2283
+ "title": "Measure format string schema"
2420
2284
  }
2421
2285
  ```
2422
2286
 
@@ -2431,16 +2295,15 @@ Set the format type used by a measure
2431
2295
  ```json
2432
2296
  {
2433
2297
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2434
- "title": "Measure format type schema",
2435
2298
  "type": "object",
2436
2299
  "properties": {
2437
2300
  "dataItemInternalKey": {
2438
- "description": "Internal key of the data item of the measure to be updated",
2439
- "type": "string"
2301
+ "type": "string",
2302
+ "description": "Internal key of the data item of the measure to be updated"
2440
2303
  },
2441
2304
  "dataItemUniqueSignature": {
2442
- "description": "Unique signature of the data item of the measure to be updated",
2443
- "type": "string"
2305
+ "type": "string",
2306
+ "description": "Unique signature of the data item of the measure to be updated"
2444
2307
  },
2445
2308
  "formatType": {
2446
2309
  "anyOf": [
@@ -2535,7 +2398,8 @@ Set the format type used by a measure
2535
2398
  }
2536
2399
  },
2537
2400
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
2538
- "additionalProperties": false
2401
+ "additionalProperties": false,
2402
+ "title": "Measure format type schema"
2539
2403
  }
2540
2404
  ```
2541
2405
 
@@ -2550,16 +2414,15 @@ Set how negative values are displayed for a measure formatter
2550
2414
  ```json
2551
2415
  {
2552
2416
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2553
- "title": "Measure negative type schema",
2554
2417
  "type": "object",
2555
2418
  "properties": {
2556
2419
  "dataItemInternalKey": {
2557
- "description": "Internal key of the data item of the measure to be updated",
2558
- "type": "string"
2420
+ "type": "string",
2421
+ "description": "Internal key of the data item of the measure to be updated"
2559
2422
  },
2560
2423
  "dataItemUniqueSignature": {
2561
- "description": "Unique signature of the data item of the measure to be updated",
2562
- "type": "string"
2424
+ "type": "string",
2425
+ "description": "Unique signature of the data item of the measure to be updated"
2563
2426
  },
2564
2427
  "negativeType": {
2565
2428
  "type": "string",
@@ -2567,7 +2430,8 @@ Set how negative values are displayed for a measure formatter
2567
2430
  }
2568
2431
  },
2569
2432
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2570
- "additionalProperties": false
2433
+ "additionalProperties": false,
2434
+ "title": "Measure negative type schema"
2571
2435
  }
2572
2436
  ```
2573
2437
 
@@ -2582,18 +2446,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2582
2446
  ```json
2583
2447
  {
2584
2448
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2585
- "description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
2586
- "title": "Set result filter schema",
2587
2449
  "anyOf": [
2588
2450
  {
2589
2451
  "type": "object",
2590
2452
  "properties": {
2591
2453
  "measureName": {
2592
- "description": "Visible measure name or label",
2593
- "type": "string"
2454
+ "type": "string",
2455
+ "description": "Visible measure name or label"
2594
2456
  },
2595
2457
  "operator": {
2596
- "description": "Filter operator that requires a value",
2597
2458
  "type": "string",
2598
2459
  "enum": [
2599
2460
  "equals",
@@ -2608,10 +2469,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2608
2469
  "notLike",
2609
2470
  "startsWith",
2610
2471
  "endsWith"
2611
- ]
2472
+ ],
2473
+ "description": "Filter operator that requires a value"
2612
2474
  },
2613
2475
  "value": {
2614
- "description": "Filter value",
2615
2476
  "anyOf": [
2616
2477
  {
2617
2478
  "type": "string"
@@ -2630,7 +2491,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2630
2491
  "required": ["type", "variableName"],
2631
2492
  "additionalProperties": false
2632
2493
  }
2633
- ]
2494
+ ],
2495
+ "description": "Filter value"
2634
2496
  }
2635
2497
  },
2636
2498
  "required": ["measureName", "operator", "value"],
@@ -2640,16 +2502,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2640
2502
  "type": "object",
2641
2503
  "properties": {
2642
2504
  "measureName": {
2643
- "description": "Visible measure name or label",
2644
- "type": "string"
2505
+ "type": "string",
2506
+ "description": "Visible measure name or label"
2645
2507
  },
2646
2508
  "operator": {
2647
- "description": "Filter operator that requires valueFrom and valueTo",
2648
2509
  "type": "string",
2649
- "enum": ["isBetween", "isNotBetween"]
2510
+ "enum": ["isBetween", "isNotBetween"],
2511
+ "description": "Filter operator that requires valueFrom and valueTo"
2650
2512
  },
2651
2513
  "valueFrom": {
2652
- "description": "Lower filter value",
2653
2514
  "anyOf": [
2654
2515
  {
2655
2516
  "type": "string"
@@ -2668,10 +2529,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2668
2529
  "required": ["type", "variableName"],
2669
2530
  "additionalProperties": false
2670
2531
  }
2671
- ]
2532
+ ],
2533
+ "description": "Lower filter value"
2672
2534
  },
2673
2535
  "valueTo": {
2674
- "description": "Upper filter value",
2675
2536
  "anyOf": [
2676
2537
  {
2677
2538
  "type": "string"
@@ -2690,7 +2551,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2690
2551
  "required": ["type", "variableName"],
2691
2552
  "additionalProperties": false
2692
2553
  }
2693
- ]
2554
+ ],
2555
+ "description": "Upper filter value"
2694
2556
  }
2695
2557
  },
2696
2558
  "required": ["measureName", "operator", "valueFrom", "valueTo"],
@@ -2700,21 +2562,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2700
2562
  "type": "object",
2701
2563
  "properties": {
2702
2564
  "measureName": {
2703
- "description": "Visible measure name or label",
2704
- "type": "string"
2565
+ "type": "string",
2566
+ "description": "Visible measure name or label"
2705
2567
  },
2706
2568
  "operator": {
2707
- "description": "Filter operator that requires a list of values",
2708
2569
  "type": "string",
2709
- "enum": ["inList", "excludedFromList"]
2570
+ "enum": ["inList", "excludedFromList"],
2571
+ "description": "Filter operator that requires a list of values"
2710
2572
  },
2711
2573
  "values": {
2712
- "description": "Filter values",
2713
2574
  "minItems": 1,
2714
2575
  "type": "array",
2715
2576
  "items": {
2716
2577
  "type": "string"
2717
- }
2578
+ },
2579
+ "description": "Filter values"
2718
2580
  }
2719
2581
  },
2720
2582
  "required": ["measureName", "operator", "values"],
@@ -2724,19 +2586,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2724
2586
  "type": "object",
2725
2587
  "properties": {
2726
2588
  "measureName": {
2727
- "description": "Visible measure name or label",
2728
- "type": "string"
2589
+ "type": "string",
2590
+ "description": "Visible measure name or label"
2729
2591
  },
2730
2592
  "operator": {
2731
- "description": "Filter operator that does not require values",
2732
2593
  "type": "string",
2733
- "enum": ["isNull", "notNull"]
2594
+ "enum": ["isNull", "notNull"],
2595
+ "description": "Filter operator that does not require values"
2734
2596
  }
2735
2597
  },
2736
2598
  "required": ["measureName", "operator"],
2737
2599
  "additionalProperties": false
2738
2600
  }
2739
- ]
2601
+ ],
2602
+ "description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
2603
+ "title": "Set result filter schema"
2740
2604
  }
2741
2605
  ```
2742
2606
 
@@ -2751,7 +2615,6 @@ Set sorting direction for all matching sortable items by name
2751
2615
  ```json
2752
2616
  {
2753
2617
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2754
- "title": "Sorting direction by name schema",
2755
2618
  "type": "object",
2756
2619
  "properties": {
2757
2620
  "name": {
@@ -2764,7 +2627,8 @@ Set sorting direction for all matching sortable items by name
2764
2627
  }
2765
2628
  },
2766
2629
  "required": ["name", "sortDirection"],
2767
- "additionalProperties": false
2630
+ "additionalProperties": false,
2631
+ "title": "Sorting direction by name schema"
2768
2632
  }
2769
2633
  ```
2770
2634
 
@@ -2779,7 +2643,6 @@ Enable or disable sorting for all matching sortable items by name
2779
2643
  ```json
2780
2644
  {
2781
2645
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2782
- "title": "Sorting enabled by name schema",
2783
2646
  "type": "object",
2784
2647
  "properties": {
2785
2648
  "name": {
@@ -2791,7 +2654,8 @@ Enable or disable sorting for all matching sortable items by name
2791
2654
  }
2792
2655
  },
2793
2656
  "required": ["name"],
2794
- "additionalProperties": false
2657
+ "additionalProperties": false,
2658
+ "title": "Sorting enabled by name schema"
2795
2659
  }
2796
2660
  ```
2797
2661
 
@@ -2825,8 +2689,8 @@ Replace all static filters with a nested AND/OR filter group.
2825
2689
  "type": "object",
2826
2690
  "properties": {
2827
2691
  "fieldKey": {
2828
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2829
- "type": "string"
2692
+ "type": "string",
2693
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2830
2694
  },
2831
2695
  "operator": {
2832
2696
  "anyOf": [
@@ -3043,24 +2907,24 @@ Enable or disable a dimension in the chart
3043
2907
  ```json
3044
2908
  {
3045
2909
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3046
- "title": "Toggle dimension schema",
3047
2910
  "type": "object",
3048
2911
  "properties": {
3049
2912
  "dataItemInternalKey": {
3050
- "description": "Internal key of the data item of the dimension to be toggled",
3051
- "type": "string"
2913
+ "type": "string",
2914
+ "description": "Internal key of the data item of the dimension to be toggled"
3052
2915
  },
3053
2916
  "dataItemUniqueSignature": {
3054
- "description": "Unique signature of the data item of the dimension to be toggled",
3055
- "type": "string"
2917
+ "type": "string",
2918
+ "description": "Unique signature of the data item of the dimension to be toggled"
3056
2919
  },
3057
2920
  "enabled": {
3058
- "description": "Whether the dimension should be enabled or disabled",
3059
- "type": "boolean"
2921
+ "type": "boolean",
2922
+ "description": "Whether the dimension should be enabled or disabled"
3060
2923
  }
3061
2924
  },
3062
2925
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "enabled"],
3063
- "additionalProperties": false
2926
+ "additionalProperties": false,
2927
+ "title": "Toggle dimension schema"
3064
2928
  }
3065
2929
  ```
3066
2930
 
@@ -3075,7 +2939,6 @@ Enable, disable, or toggle a dimension or measure by its name
3075
2939
  ```json
3076
2940
  {
3077
2941
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3078
- "title": "Toggle dimension or measure by name schema",
3079
2942
  "type": "object",
3080
2943
  "properties": {
3081
2944
  "name": {
@@ -3087,7 +2950,8 @@ Enable, disable, or toggle a dimension or measure by its name
3087
2950
  }
3088
2951
  },
3089
2952
  "required": ["name", "operation"],
3090
- "additionalProperties": false
2953
+ "additionalProperties": false,
2954
+ "title": "Toggle dimension or measure by name schema"
3091
2955
  }
3092
2956
  ```
3093
2957
 
@@ -3102,20 +2966,20 @@ Enable or disable a measure in the chart
3102
2966
  ```json
3103
2967
  {
3104
2968
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3105
- "title": "Toggle measure schema",
3106
2969
  "type": "object",
3107
2970
  "properties": {
3108
2971
  "dataItemInternalKey": {
3109
- "description": "Internal key of the data item of the measure to be toggled",
3110
- "type": "string"
2972
+ "type": "string",
2973
+ "description": "Internal key of the data item of the measure to be toggled"
3111
2974
  },
3112
2975
  "dataItemUniqueSignature": {
3113
- "description": "Unique signature of the data item of the measure to be toggled",
3114
- "type": "string"
2976
+ "type": "string",
2977
+ "description": "Unique signature of the data item of the measure to be toggled"
3115
2978
  }
3116
2979
  },
3117
2980
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
3118
- "additionalProperties": false
2981
+ "additionalProperties": false,
2982
+ "title": "Toggle measure schema"
3119
2983
  }
3120
2984
  ```
3121
2985
 
@@ -3130,16 +2994,15 @@ Modify properties of an existing dimension
3130
2994
  ```json
3131
2995
  {
3132
2996
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3133
- "title": "Update dimension schema",
3134
2997
  "type": "object",
3135
2998
  "properties": {
3136
2999
  "dataItemInternalKey": {
3137
- "description": "Internal key of the data item of the dimension to be updated",
3138
- "type": "string"
3000
+ "type": "string",
3001
+ "description": "Internal key of the data item of the dimension to be updated"
3139
3002
  },
3140
3003
  "dataItemUniqueSignature": {
3141
- "description": "Unique signature of the data item of the dimension to be updated",
3142
- "type": "string"
3004
+ "type": "string",
3005
+ "description": "Unique signature of the data item of the dimension to be updated"
3143
3006
  },
3144
3007
  "changes": {
3145
3008
  "type": "object",
@@ -3165,7 +3028,8 @@ Modify properties of an existing dimension
3165
3028
  }
3166
3029
  },
3167
3030
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
3168
- "additionalProperties": false
3031
+ "additionalProperties": false,
3032
+ "title": "Update dimension schema"
3169
3033
  }
3170
3034
  ```
3171
3035
 
@@ -3180,16 +3044,15 @@ Modify properties of an existing measure
3180
3044
  ```json
3181
3045
  {
3182
3046
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3183
- "title": "Update measure schema",
3184
3047
  "type": "object",
3185
3048
  "properties": {
3186
3049
  "dataItemInternalKey": {
3187
- "description": "Internal key of the data item of the measure to be updated",
3188
- "type": "string"
3050
+ "type": "string",
3051
+ "description": "Internal key of the data item of the measure to be updated"
3189
3052
  },
3190
3053
  "dataItemUniqueSignature": {
3191
- "description": "Unique signature of the data item of the measure to be updated",
3192
- "type": "string"
3054
+ "type": "string",
3055
+ "description": "Unique signature of the data item of the measure to be updated"
3193
3056
  },
3194
3057
  "changes": {
3195
3058
  "type": "object",
@@ -3213,6 +3076,7 @@ Modify properties of an existing measure
3213
3076
  }
3214
3077
  },
3215
3078
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
3216
- "additionalProperties": false
3079
+ "additionalProperties": false,
3080
+ "title": "Update measure schema"
3217
3081
  }
3218
3082
  ```