@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
  # `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
 
@@ -82,7 +82,6 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
82
82
  ```json
83
83
  {
84
84
  "$schema": "https://json-schema.org/draft/2020-12/schema",
85
- "title": "Add coloring overwrite schema",
86
85
  "anyOf": [
87
86
  {
88
87
  "type": "object",
@@ -92,21 +91,21 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
92
91
  "type": "object",
93
92
  "properties": {
94
93
  "dataItemInternalKey": {
95
- "description": "Internal key of the data item of the dimension to be updated",
96
- "type": "string"
94
+ "type": "string",
95
+ "description": "Internal key of the data item of the dimension to be updated"
97
96
  },
98
97
  "dataItemUniqueSignature": {
99
- "description": "Unique signature of the data item of the dimension to be updated",
100
- "type": "string"
98
+ "type": "string",
99
+ "description": "Unique signature of the data item of the dimension to be updated"
101
100
  }
102
101
  },
103
102
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
104
103
  "additionalProperties": false
105
104
  },
106
105
  "color": {
107
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
108
106
  "type": "string",
109
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
107
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
108
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
110
109
  },
111
110
  "operator": {
112
111
  "description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
@@ -115,14 +114,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
115
114
  },
116
115
  "value": {
117
116
  "description": "Value to compare against",
118
- "anyOf": [
119
- {
120
- "type": "string"
121
- },
122
- {
123
- "type": "number"
124
- }
125
- ]
117
+ "type": ["string", "number"]
126
118
  }
127
119
  },
128
120
  "required": ["color", "value"],
@@ -136,48 +128,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
136
128
  "type": "object",
137
129
  "properties": {
138
130
  "dataItemInternalKey": {
139
- "description": "Internal key of the data item of the dimension to be updated",
140
- "type": "string"
131
+ "type": "string",
132
+ "description": "Internal key of the data item of the dimension to be updated"
141
133
  },
142
134
  "dataItemUniqueSignature": {
143
- "description": "Unique signature of the data item of the dimension to be updated",
144
- "type": "string"
135
+ "type": "string",
136
+ "description": "Unique signature of the data item of the dimension to be updated"
145
137
  }
146
138
  },
147
139
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
148
140
  "additionalProperties": false
149
141
  },
150
142
  "color": {
151
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
152
143
  "type": "string",
153
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
144
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
145
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
154
146
  },
155
147
  "operator": {
156
- "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
157
148
  "type": "string",
158
- "const": "between"
149
+ "const": "between",
150
+ "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
159
151
  },
160
152
  "value": {
161
153
  "description": "Lower bound of the range",
162
- "anyOf": [
163
- {
164
- "type": "string"
165
- },
166
- {
167
- "type": "number"
168
- }
169
- ]
154
+ "type": ["string", "number"]
170
155
  },
171
156
  "secondValue": {
172
157
  "description": "Upper bound of the range",
173
- "anyOf": [
174
- {
175
- "type": "string"
176
- },
177
- {
178
- "type": "number"
179
- }
180
- ]
158
+ "type": ["string", "number"]
181
159
  }
182
160
  },
183
161
  "required": ["color", "operator", "value", "secondValue"],
@@ -191,41 +169,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
191
169
  "type": "object",
192
170
  "properties": {
193
171
  "dataItemInternalKey": {
194
- "description": "Internal key of the data item of the dimension to be updated",
195
- "type": "string"
172
+ "type": "string",
173
+ "description": "Internal key of the data item of the dimension to be updated"
196
174
  },
197
175
  "dataItemUniqueSignature": {
198
- "description": "Unique signature of the data item of the dimension to be updated",
199
- "type": "string"
176
+ "type": "string",
177
+ "description": "Unique signature of the data item of the dimension to be updated"
200
178
  }
201
179
  },
202
180
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
203
181
  "additionalProperties": false
204
182
  },
205
183
  "color": {
206
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
207
184
  "type": "string",
208
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
185
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
186
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
209
187
  },
210
188
  "operator": {
211
- "description": "Match (inList) or exclude (notInList) every value in values",
212
189
  "type": "string",
213
- "enum": ["inList", "notInList"]
190
+ "enum": ["inList", "notInList"],
191
+ "description": "Match (inList) or exclude (notInList) every value in values"
214
192
  },
215
193
  "values": {
216
- "description": "Values to match",
217
194
  "minItems": 1,
218
195
  "type": "array",
219
196
  "items": {
220
- "anyOf": [
221
- {
222
- "type": "string"
223
- },
224
- {
225
- "type": "number"
226
- }
227
- ]
228
- }
197
+ "type": ["string", "number"]
198
+ },
199
+ "description": "Values to match"
229
200
  },
230
201
  "delimiter": {
231
202
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -236,7 +207,8 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
236
207
  "required": ["color", "operator", "values"],
237
208
  "additionalProperties": false
238
209
  }
239
- ]
210
+ ],
211
+ "title": "Add coloring overwrite schema"
240
212
  }
241
213
  ```
242
214
 
@@ -251,47 +223,39 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
251
223
  ```json
252
224
  {
253
225
  "$schema": "https://json-schema.org/draft/2020-12/schema",
254
- "title": "Add coloring rule schema",
255
226
  "anyOf": [
256
227
  {
257
228
  "type": "object",
258
229
  "properties": {
259
230
  "measure": {
260
- "description": "Measure whose value is compared",
261
231
  "type": "object",
262
232
  "properties": {
263
233
  "dataItemInternalKey": {
264
- "description": "Internal key of the data item of the measure to be updated",
265
- "type": "string"
234
+ "type": "string",
235
+ "description": "Internal key of the data item of the measure to be updated"
266
236
  },
267
237
  "dataItemUniqueSignature": {
268
- "description": "Unique signature of the data item of the measure to be updated",
269
- "type": "string"
238
+ "type": "string",
239
+ "description": "Unique signature of the data item of the measure to be updated"
270
240
  }
271
241
  },
272
242
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
273
- "additionalProperties": false
243
+ "additionalProperties": false,
244
+ "description": "Measure whose value is compared"
274
245
  },
275
246
  "color": {
276
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
277
247
  "type": "string",
278
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
248
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
249
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
279
250
  },
280
251
  "operator": {
281
- "description": "How the measure value is compared",
282
252
  "type": "string",
283
- "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
253
+ "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
254
+ "description": "How the measure value is compared"
284
255
  },
285
256
  "value": {
286
257
  "description": "Value to compare against",
287
- "anyOf": [
288
- {
289
- "type": "string"
290
- },
291
- {
292
- "type": "number"
293
- }
294
- ]
258
+ "type": ["string", "number"]
295
259
  }
296
260
  },
297
261
  "required": ["measure", "color", "operator", "value"],
@@ -301,52 +265,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
301
265
  "type": "object",
302
266
  "properties": {
303
267
  "measure": {
304
- "description": "Measure whose value is compared",
305
268
  "type": "object",
306
269
  "properties": {
307
270
  "dataItemInternalKey": {
308
- "description": "Internal key of the data item of the measure to be updated",
309
- "type": "string"
271
+ "type": "string",
272
+ "description": "Internal key of the data item of the measure to be updated"
310
273
  },
311
274
  "dataItemUniqueSignature": {
312
- "description": "Unique signature of the data item of the measure to be updated",
313
- "type": "string"
275
+ "type": "string",
276
+ "description": "Unique signature of the data item of the measure to be updated"
314
277
  }
315
278
  },
316
279
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
317
- "additionalProperties": false
280
+ "additionalProperties": false,
281
+ "description": "Measure whose value is compared"
318
282
  },
319
283
  "color": {
320
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
321
284
  "type": "string",
322
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
285
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
286
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
323
287
  },
324
288
  "operator": {
325
- "description": "Matches measure values from value to secondValue, both inclusive",
326
289
  "type": "string",
327
- "const": "between"
290
+ "const": "between",
291
+ "description": "Matches measure values from value to secondValue, both inclusive"
328
292
  },
329
293
  "value": {
330
294
  "description": "Lower bound of the range",
331
- "anyOf": [
332
- {
333
- "type": "string"
334
- },
335
- {
336
- "type": "number"
337
- }
338
- ]
295
+ "type": ["string", "number"]
339
296
  },
340
297
  "secondValue": {
341
298
  "description": "Upper bound of the range",
342
- "anyOf": [
343
- {
344
- "type": "string"
345
- },
346
- {
347
- "type": "number"
348
- }
349
- ]
299
+ "type": ["string", "number"]
350
300
  }
351
301
  },
352
302
  "required": ["measure", "color", "operator", "value", "secondValue"],
@@ -356,45 +306,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
356
306
  "type": "object",
357
307
  "properties": {
358
308
  "measure": {
359
- "description": "Measure whose value is compared",
360
309
  "type": "object",
361
310
  "properties": {
362
311
  "dataItemInternalKey": {
363
- "description": "Internal key of the data item of the measure to be updated",
364
- "type": "string"
312
+ "type": "string",
313
+ "description": "Internal key of the data item of the measure to be updated"
365
314
  },
366
315
  "dataItemUniqueSignature": {
367
- "description": "Unique signature of the data item of the measure to be updated",
368
- "type": "string"
316
+ "type": "string",
317
+ "description": "Unique signature of the data item of the measure to be updated"
369
318
  }
370
319
  },
371
320
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
372
- "additionalProperties": false
321
+ "additionalProperties": false,
322
+ "description": "Measure whose value is compared"
373
323
  },
374
324
  "color": {
375
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
376
325
  "type": "string",
377
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
326
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
327
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
378
328
  },
379
329
  "operator": {
380
- "description": "Match (inList) or exclude (notInList) every value in values",
381
330
  "type": "string",
382
- "enum": ["inList", "notInList"]
331
+ "enum": ["inList", "notInList"],
332
+ "description": "Match (inList) or exclude (notInList) every value in values"
383
333
  },
384
334
  "values": {
385
- "description": "Values to match",
386
335
  "minItems": 1,
387
336
  "type": "array",
388
337
  "items": {
389
- "anyOf": [
390
- {
391
- "type": "string"
392
- },
393
- {
394
- "type": "number"
395
- }
396
- ]
397
- }
338
+ "type": ["string", "number"]
339
+ },
340
+ "description": "Values to match"
398
341
  },
399
342
  "delimiter": {
400
343
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -405,7 +348,8 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
405
348
  "required": ["measure", "color", "operator", "values"],
406
349
  "additionalProperties": false
407
350
  }
408
- ]
351
+ ],
352
+ "title": "Add coloring rule schema"
409
353
  }
410
354
  ```
411
355
 
@@ -420,16 +364,16 @@ Add a new dimension to the chart
420
364
  ```json
421
365
  {
422
366
  "$schema": "https://json-schema.org/draft/2020-12/schema",
423
- "title": "Add dimension schema",
424
367
  "type": "object",
425
368
  "properties": {
426
369
  "key": {
427
- "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\"",
428
- "type": "string"
370
+ "type": "string",
371
+ "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
429
372
  }
430
373
  },
431
374
  "required": ["key"],
432
- "additionalProperties": false
375
+ "additionalProperties": false,
376
+ "title": "Add dimension schema"
433
377
  }
434
378
  ```
435
379
 
@@ -444,23 +388,22 @@ Add a new measure to the chart
444
388
  ```json
445
389
  {
446
390
  "$schema": "https://json-schema.org/draft/2020-12/schema",
447
- "title": "Add measure schema",
448
- "anyOf": [
391
+ "oneOf": [
449
392
  {
450
393
  "type": "object",
451
394
  "properties": {
452
395
  "sourceKind": {
453
- "description": "Raw database field from available data `fields`.",
454
396
  "type": "string",
455
- "const": "field"
397
+ "const": "field",
398
+ "description": "Raw database field from available data `fields`."
456
399
  },
457
400
  "key": {
458
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
459
- "type": "string"
401
+ "type": "string",
402
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
460
403
  },
461
404
  "aggregation": {
462
- "description": "Required for raw database fields. Use one of the aggregation names returned for that field.",
463
- "type": "string"
405
+ "type": "string",
406
+ "description": "Required for raw database fields. Use one of the aggregation names returned for that field."
464
407
  },
465
408
  "role": {
466
409
  "type": "string",
@@ -474,13 +417,13 @@ Add a new measure to the chart
474
417
  "type": "object",
475
418
  "properties": {
476
419
  "sourceKind": {
477
- "description": "Predefined/user-defined measure from available data `measures`.",
478
420
  "type": "string",
479
- "const": "measure"
421
+ "const": "measure",
422
+ "description": "Predefined/user-defined measure from available data `measures`."
480
423
  },
481
424
  "key": {
482
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
483
- "type": "string"
425
+ "type": "string",
426
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
484
427
  },
485
428
  "role": {
486
429
  "type": "string",
@@ -494,13 +437,13 @@ Add a new measure to the chart
494
437
  "type": "object",
495
438
  "properties": {
496
439
  "sourceKind": {
497
- "description": "Predefined calculation from available data `measures`.",
498
440
  "type": "string",
499
- "const": "calculation"
441
+ "const": "calculation",
442
+ "description": "Predefined calculation from available data `measures`."
500
443
  },
501
444
  "key": {
502
- "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
503
- "type": "string"
445
+ "type": "string",
446
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
504
447
  },
505
448
  "role": {
506
449
  "type": "string",
@@ -510,7 +453,8 @@ Add a new measure to the chart
510
453
  "required": ["sourceKind", "key", "role"],
511
454
  "additionalProperties": false
512
455
  }
513
- ]
456
+ ],
457
+ "title": "Add measure schema"
514
458
  }
515
459
  ```
516
460
 
@@ -525,22 +469,19 @@ Add another measure filter before aggregation. Keeps existing filters.
525
469
  ```json
526
470
  {
527
471
  "$schema": "https://json-schema.org/draft/2020-12/schema",
528
- "description": "Add another measure filter before aggregation. Keeps existing filters.",
529
- "title": "Add measure filter schema",
530
472
  "anyOf": [
531
473
  {
532
474
  "type": "object",
533
475
  "properties": {
534
476
  "measureName": {
535
- "description": "Visible measure name or label",
536
- "type": "string"
477
+ "type": "string",
478
+ "description": "Visible measure name or label"
537
479
  },
538
480
  "fieldKey": {
539
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
540
- "type": "string"
481
+ "type": "string",
482
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
541
483
  },
542
484
  "operator": {
543
- "description": "Filter operator that requires a value",
544
485
  "type": "string",
545
486
  "enum": [
546
487
  "equals",
@@ -555,10 +496,10 @@ Add another measure filter before aggregation. Keeps existing filters.
555
496
  "notLike",
556
497
  "startsWith",
557
498
  "endsWith"
558
- ]
499
+ ],
500
+ "description": "Filter operator that requires a value"
559
501
  },
560
502
  "value": {
561
- "description": "Filter value",
562
503
  "anyOf": [
563
504
  {
564
505
  "type": "string"
@@ -577,7 +518,8 @@ Add another measure filter before aggregation. Keeps existing filters.
577
518
  "required": ["type", "variableName"],
578
519
  "additionalProperties": false
579
520
  }
580
- ]
521
+ ],
522
+ "description": "Filter value"
581
523
  }
582
524
  },
583
525
  "required": ["measureName", "fieldKey", "operator", "value"],
@@ -587,20 +529,19 @@ Add another measure filter before aggregation. Keeps existing filters.
587
529
  "type": "object",
588
530
  "properties": {
589
531
  "measureName": {
590
- "description": "Visible measure name or label",
591
- "type": "string"
532
+ "type": "string",
533
+ "description": "Visible measure name or label"
592
534
  },
593
535
  "fieldKey": {
594
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
595
- "type": "string"
536
+ "type": "string",
537
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
596
538
  },
597
539
  "operator": {
598
- "description": "Filter operator that requires valueFrom and valueTo",
599
540
  "type": "string",
600
- "enum": ["isBetween", "isNotBetween"]
541
+ "enum": ["isBetween", "isNotBetween"],
542
+ "description": "Filter operator that requires valueFrom and valueTo"
601
543
  },
602
544
  "valueFrom": {
603
- "description": "Lower filter value",
604
545
  "anyOf": [
605
546
  {
606
547
  "type": "string"
@@ -619,10 +560,10 @@ Add another measure filter before aggregation. Keeps existing filters.
619
560
  "required": ["type", "variableName"],
620
561
  "additionalProperties": false
621
562
  }
622
- ]
563
+ ],
564
+ "description": "Lower filter value"
623
565
  },
624
566
  "valueTo": {
625
- "description": "Upper filter value",
626
567
  "anyOf": [
627
568
  {
628
569
  "type": "string"
@@ -641,7 +582,8 @@ Add another measure filter before aggregation. Keeps existing filters.
641
582
  "required": ["type", "variableName"],
642
583
  "additionalProperties": false
643
584
  }
644
- ]
585
+ ],
586
+ "description": "Upper filter value"
645
587
  }
646
588
  },
647
589
  "required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
@@ -651,25 +593,25 @@ Add another measure filter before aggregation. Keeps existing filters.
651
593
  "type": "object",
652
594
  "properties": {
653
595
  "measureName": {
654
- "description": "Visible measure name or label",
655
- "type": "string"
596
+ "type": "string",
597
+ "description": "Visible measure name or label"
656
598
  },
657
599
  "fieldKey": {
658
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
659
- "type": "string"
600
+ "type": "string",
601
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
660
602
  },
661
603
  "operator": {
662
- "description": "Filter operator that requires a list of values",
663
604
  "type": "string",
664
- "enum": ["inList", "excludedFromList"]
605
+ "enum": ["inList", "excludedFromList"],
606
+ "description": "Filter operator that requires a list of values"
665
607
  },
666
608
  "values": {
667
- "description": "Filter values",
668
609
  "minItems": 1,
669
610
  "type": "array",
670
611
  "items": {
671
612
  "type": "string"
672
- }
613
+ },
614
+ "description": "Filter values"
673
615
  }
674
616
  },
675
617
  "required": ["measureName", "fieldKey", "operator", "values"],
@@ -679,23 +621,25 @@ Add another measure filter before aggregation. Keeps existing filters.
679
621
  "type": "object",
680
622
  "properties": {
681
623
  "measureName": {
682
- "description": "Visible measure name or label",
683
- "type": "string"
624
+ "type": "string",
625
+ "description": "Visible measure name or label"
684
626
  },
685
627
  "fieldKey": {
686
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
687
- "type": "string"
628
+ "type": "string",
629
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
688
630
  },
689
631
  "operator": {
690
- "description": "Filter operator that does not require values",
691
632
  "type": "string",
692
- "enum": ["isNull", "notNull"]
633
+ "enum": ["isNull", "notNull"],
634
+ "description": "Filter operator that does not require values"
693
635
  }
694
636
  },
695
637
  "required": ["measureName", "fieldKey", "operator"],
696
638
  "additionalProperties": false
697
639
  }
698
- ]
640
+ ],
641
+ "description": "Add another measure filter before aggregation. Keeps existing filters.",
642
+ "title": "Add measure filter schema"
699
643
  }
700
644
  ```
701
645
 
@@ -710,18 +654,15 @@ Add another result filter after aggregation. Keeps existing result filters.
710
654
  ```json
711
655
  {
712
656
  "$schema": "https://json-schema.org/draft/2020-12/schema",
713
- "description": "Add another result filter after aggregation. Keeps existing result filters.",
714
- "title": "Add result filter schema",
715
657
  "anyOf": [
716
658
  {
717
659
  "type": "object",
718
660
  "properties": {
719
661
  "measureName": {
720
- "description": "Visible measure name or label",
721
- "type": "string"
662
+ "type": "string",
663
+ "description": "Visible measure name or label"
722
664
  },
723
665
  "operator": {
724
- "description": "Filter operator that requires a value",
725
666
  "type": "string",
726
667
  "enum": [
727
668
  "equals",
@@ -736,10 +677,10 @@ Add another result filter after aggregation. Keeps existing result filters.
736
677
  "notLike",
737
678
  "startsWith",
738
679
  "endsWith"
739
- ]
680
+ ],
681
+ "description": "Filter operator that requires a value"
740
682
  },
741
683
  "value": {
742
- "description": "Filter value",
743
684
  "anyOf": [
744
685
  {
745
686
  "type": "string"
@@ -758,7 +699,8 @@ Add another result filter after aggregation. Keeps existing result filters.
758
699
  "required": ["type", "variableName"],
759
700
  "additionalProperties": false
760
701
  }
761
- ]
702
+ ],
703
+ "description": "Filter value"
762
704
  }
763
705
  },
764
706
  "required": ["measureName", "operator", "value"],
@@ -768,16 +710,15 @@ Add another result filter after aggregation. Keeps existing result filters.
768
710
  "type": "object",
769
711
  "properties": {
770
712
  "measureName": {
771
- "description": "Visible measure name or label",
772
- "type": "string"
713
+ "type": "string",
714
+ "description": "Visible measure name or label"
773
715
  },
774
716
  "operator": {
775
- "description": "Filter operator that requires valueFrom and valueTo",
776
717
  "type": "string",
777
- "enum": ["isBetween", "isNotBetween"]
718
+ "enum": ["isBetween", "isNotBetween"],
719
+ "description": "Filter operator that requires valueFrom and valueTo"
778
720
  },
779
721
  "valueFrom": {
780
- "description": "Lower filter value",
781
722
  "anyOf": [
782
723
  {
783
724
  "type": "string"
@@ -796,10 +737,10 @@ Add another result filter after aggregation. Keeps existing result filters.
796
737
  "required": ["type", "variableName"],
797
738
  "additionalProperties": false
798
739
  }
799
- ]
740
+ ],
741
+ "description": "Lower filter value"
800
742
  },
801
743
  "valueTo": {
802
- "description": "Upper filter value",
803
744
  "anyOf": [
804
745
  {
805
746
  "type": "string"
@@ -818,7 +759,8 @@ Add another result filter after aggregation. Keeps existing result filters.
818
759
  "required": ["type", "variableName"],
819
760
  "additionalProperties": false
820
761
  }
821
- ]
762
+ ],
763
+ "description": "Upper filter value"
822
764
  }
823
765
  },
824
766
  "required": ["measureName", "operator", "valueFrom", "valueTo"],
@@ -828,21 +770,21 @@ Add another result filter after aggregation. Keeps existing result filters.
828
770
  "type": "object",
829
771
  "properties": {
830
772
  "measureName": {
831
- "description": "Visible measure name or label",
832
- "type": "string"
773
+ "type": "string",
774
+ "description": "Visible measure name or label"
833
775
  },
834
776
  "operator": {
835
- "description": "Filter operator that requires a list of values",
836
777
  "type": "string",
837
- "enum": ["inList", "excludedFromList"]
778
+ "enum": ["inList", "excludedFromList"],
779
+ "description": "Filter operator that requires a list of values"
838
780
  },
839
781
  "values": {
840
- "description": "Filter values",
841
782
  "minItems": 1,
842
783
  "type": "array",
843
784
  "items": {
844
785
  "type": "string"
845
- }
786
+ },
787
+ "description": "Filter values"
846
788
  }
847
789
  },
848
790
  "required": ["measureName", "operator", "values"],
@@ -852,19 +794,21 @@ Add another result filter after aggregation. Keeps existing result filters.
852
794
  "type": "object",
853
795
  "properties": {
854
796
  "measureName": {
855
- "description": "Visible measure name or label",
856
- "type": "string"
797
+ "type": "string",
798
+ "description": "Visible measure name or label"
857
799
  },
858
800
  "operator": {
859
- "description": "Filter operator that does not require values",
860
801
  "type": "string",
861
- "enum": ["isNull", "notNull"]
802
+ "enum": ["isNull", "notNull"],
803
+ "description": "Filter operator that does not require values"
862
804
  }
863
805
  },
864
806
  "required": ["measureName", "operator"],
865
807
  "additionalProperties": false
866
808
  }
867
- ]
809
+ ],
810
+ "description": "Add another result filter after aggregation. Keeps existing result filters.",
811
+ "title": "Add result filter schema"
868
812
  }
869
813
  ```
870
814
 
@@ -879,25 +823,25 @@ Change how a measure is aggregated
879
823
  ```json
880
824
  {
881
825
  "$schema": "https://json-schema.org/draft/2020-12/schema",
882
- "title": "Change measure aggregation schema",
883
826
  "type": "object",
884
827
  "properties": {
885
828
  "dataItemInternalKey": {
886
- "description": "Internal key of the data item of the measure to be updated",
887
- "type": "string"
829
+ "type": "string",
830
+ "description": "Internal key of the data item of the measure to be updated"
888
831
  },
889
832
  "dataItemUniqueSignature": {
890
- "description": "Unique signature of the data item of the measure to be updated",
891
- "type": "string"
833
+ "type": "string",
834
+ "description": "Unique signature of the data item of the measure to be updated"
892
835
  },
893
836
  "aggregation": {
894
- "description": "Aggregation function to be used for the measure",
895
837
  "type": "string",
896
- "minLength": 1
838
+ "minLength": 1,
839
+ "description": "Aggregation function to be used for the measure"
897
840
  }
898
841
  },
899
842
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
900
- "additionalProperties": false
843
+ "additionalProperties": false,
844
+ "title": "Change measure aggregation schema"
901
845
  }
902
846
  ```
903
847
 
@@ -912,21 +856,21 @@ Clear measure filters before aggregation. Use fieldKey for one field; omit it fo
912
856
  ```json
913
857
  {
914
858
  "$schema": "https://json-schema.org/draft/2020-12/schema",
915
- "description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
916
- "title": "Clear measure filter schema",
917
859
  "type": "object",
918
860
  "properties": {
919
861
  "measureName": {
920
- "description": "Visible measure name or label",
921
- "type": "string"
862
+ "type": "string",
863
+ "description": "Visible measure name or label"
922
864
  },
923
865
  "fieldKey": {
924
- "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.",
925
- "type": "string"
866
+ "type": "string",
867
+ "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."
926
868
  }
927
869
  },
928
870
  "required": ["measureName"],
929
- "additionalProperties": false
871
+ "additionalProperties": false,
872
+ "description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
873
+ "title": "Clear measure filter schema"
930
874
  }
931
875
  ```
932
876
 
@@ -941,17 +885,17 @@ Clear all result filters for one measure.
941
885
  ```json
942
886
  {
943
887
  "$schema": "https://json-schema.org/draft/2020-12/schema",
944
- "description": "Clear all result filters for one measure.",
945
- "title": "Clear result filter schema",
946
888
  "type": "object",
947
889
  "properties": {
948
890
  "measureName": {
949
- "description": "Visible measure name or label",
950
- "type": "string"
891
+ "type": "string",
892
+ "description": "Visible measure name or label"
951
893
  }
952
894
  },
953
895
  "required": ["measureName"],
954
- "additionalProperties": false
896
+ "additionalProperties": false,
897
+ "description": "Clear all result filters for one measure.",
898
+ "title": "Clear result filter schema"
955
899
  }
956
900
  ```
957
901
 
@@ -966,20 +910,20 @@ Create a copy of an existing dimension
966
910
  ```json
967
911
  {
968
912
  "$schema": "https://json-schema.org/draft/2020-12/schema",
969
- "title": "Duplicate dimension schema",
970
913
  "type": "object",
971
914
  "properties": {
972
915
  "dataItemInternalKey": {
973
- "description": "Internal key of the data item of the dimension to be duplicated",
974
- "type": "string"
916
+ "type": "string",
917
+ "description": "Internal key of the data item of the dimension to be duplicated"
975
918
  },
976
919
  "dataItemUniqueSignature": {
977
- "description": "Unique signature of the data item of the dimension to be duplicated",
978
- "type": "string"
920
+ "type": "string",
921
+ "description": "Unique signature of the data item of the dimension to be duplicated"
979
922
  }
980
923
  },
981
924
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
982
- "additionalProperties": false
925
+ "additionalProperties": false,
926
+ "title": "Duplicate dimension schema"
983
927
  }
984
928
  ```
985
929
 
@@ -994,20 +938,20 @@ Create a copy of an existing measure
994
938
  ```json
995
939
  {
996
940
  "$schema": "https://json-schema.org/draft/2020-12/schema",
997
- "title": "Duplicate measure schema",
998
941
  "type": "object",
999
942
  "properties": {
1000
943
  "dataItemInternalKey": {
1001
- "description": "Internal key of the data item of the measure to be duplicated",
1002
- "type": "string"
944
+ "type": "string",
945
+ "description": "Internal key of the data item of the measure to be duplicated"
1003
946
  },
1004
947
  "dataItemUniqueSignature": {
1005
- "description": "Unique signature of the data item of the measure to be duplicated",
1006
- "type": "string"
948
+ "type": "string",
949
+ "description": "Unique signature of the data item of the measure to be duplicated"
1007
950
  }
1008
951
  },
1009
952
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1010
- "additionalProperties": false
953
+ "additionalProperties": false,
954
+ "title": "Duplicate measure schema"
1011
955
  }
1012
956
  ```
1013
957
 
@@ -1022,18 +966,18 @@ Remove one value color by its position, as returned by getColoringOverwrites
1022
966
  ```json
1023
967
  {
1024
968
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1025
- "title": "Remove coloring overwrite schema",
1026
969
  "type": "object",
1027
970
  "properties": {
1028
971
  "index": {
1029
- "description": "Zero-based position of the entry to remove",
1030
972
  "type": "integer",
1031
973
  "minimum": 0,
1032
- "maximum": 9007199254740991
974
+ "maximum": 9007199254740991,
975
+ "description": "Zero-based position of the entry to remove"
1033
976
  }
1034
977
  },
1035
978
  "required": ["index"],
1036
- "additionalProperties": false
979
+ "additionalProperties": false,
980
+ "title": "Remove coloring overwrite schema"
1037
981
  }
1038
982
  ```
1039
983
 
@@ -1048,18 +992,18 @@ Remove one measure color rule by its position, as returned by getColoringRules
1048
992
  ```json
1049
993
  {
1050
994
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1051
- "title": "Remove coloring rule schema",
1052
995
  "type": "object",
1053
996
  "properties": {
1054
997
  "index": {
1055
- "description": "Zero-based position of the entry to remove",
1056
998
  "type": "integer",
1057
999
  "minimum": 0,
1058
- "maximum": 9007199254740991
1000
+ "maximum": 9007199254740991,
1001
+ "description": "Zero-based position of the entry to remove"
1059
1002
  }
1060
1003
  },
1061
1004
  "required": ["index"],
1062
- "additionalProperties": false
1005
+ "additionalProperties": false,
1006
+ "title": "Remove coloring rule schema"
1063
1007
  }
1064
1008
  ```
1065
1009
 
@@ -1074,20 +1018,20 @@ Remove a dimension from the chart
1074
1018
  ```json
1075
1019
  {
1076
1020
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1077
- "title": "Remove dimension schema",
1078
1021
  "type": "object",
1079
1022
  "properties": {
1080
1023
  "dataItemInternalKey": {
1081
- "description": "Internal key of the data item of the dimension to be removed",
1082
- "type": "string"
1024
+ "type": "string",
1025
+ "description": "Internal key of the data item of the dimension to be removed"
1083
1026
  },
1084
1027
  "dataItemUniqueSignature": {
1085
- "description": "Unique signature of the data item of the dimension to be removed",
1086
- "type": "string"
1028
+ "type": "string",
1029
+ "description": "Unique signature of the data item of the dimension to be removed"
1087
1030
  }
1088
1031
  },
1089
1032
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1090
- "additionalProperties": false
1033
+ "additionalProperties": false,
1034
+ "title": "Remove dimension schema"
1091
1035
  }
1092
1036
  ```
1093
1037
 
@@ -1102,20 +1046,20 @@ Remove a measure from the chart
1102
1046
  ```json
1103
1047
  {
1104
1048
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1105
- "title": "Remove measure schema",
1106
1049
  "type": "object",
1107
1050
  "properties": {
1108
1051
  "dataItemInternalKey": {
1109
- "description": "Internal key of the data item of the measure to be removed",
1110
- "type": "string"
1052
+ "type": "string",
1053
+ "description": "Internal key of the data item of the measure to be removed"
1111
1054
  },
1112
1055
  "dataItemUniqueSignature": {
1113
- "description": "Unique signature of the data item of the measure to be removed",
1114
- "type": "string"
1056
+ "type": "string",
1057
+ "description": "Unique signature of the data item of the measure to be removed"
1115
1058
  }
1116
1059
  },
1117
1060
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1118
- "additionalProperties": false
1061
+ "additionalProperties": false,
1062
+ "title": "Remove measure schema"
1119
1063
  }
1120
1064
  ```
1121
1065
 
@@ -1130,20 +1074,20 @@ Remove a measure color override
1130
1074
  ```json
1131
1075
  {
1132
1076
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1133
- "title": "Remove measure graph color schema",
1134
1077
  "type": "object",
1135
1078
  "properties": {
1136
1079
  "dataItemInternalKey": {
1137
- "description": "Internal key of the data item of the measure to be updated",
1138
- "type": "string"
1080
+ "type": "string",
1081
+ "description": "Internal key of the data item of the measure to be updated"
1139
1082
  },
1140
1083
  "dataItemUniqueSignature": {
1141
- "description": "Unique signature of the data item of the measure to be updated",
1142
- "type": "string"
1084
+ "type": "string",
1085
+ "description": "Unique signature of the data item of the measure to be updated"
1143
1086
  }
1144
1087
  },
1145
1088
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1146
- "additionalProperties": false
1089
+ "additionalProperties": false,
1090
+ "title": "Remove measure graph color schema"
1147
1091
  }
1148
1092
  ```
1149
1093
 
@@ -1158,10 +1102,10 @@ Reset the chart palette back to the workbook theme default
1158
1102
  ```json
1159
1103
  {
1160
1104
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1161
- "title": "Reset chart palette schema",
1162
1105
  "type": "object",
1163
1106
  "properties": {},
1164
- "additionalProperties": false
1107
+ "additionalProperties": false,
1108
+ "title": "Reset chart palette schema"
1165
1109
  }
1166
1110
  ```
1167
1111
 
@@ -1176,16 +1120,16 @@ Turn the chart animations on or off. They are on by default; the host can still
1176
1120
  ```json
1177
1121
  {
1178
1122
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1179
- "title": "Set animation enabled schema",
1180
1123
  "type": "object",
1181
1124
  "properties": {
1182
1125
  "enabled": {
1183
- "description": "Whether the chart animates when it first renders and when its data changes",
1184
- "type": "boolean"
1126
+ "type": "boolean",
1127
+ "description": "Whether the chart animates when it first renders and when its data changes"
1185
1128
  }
1186
1129
  },
1187
1130
  "required": ["enabled"],
1188
- "additionalProperties": false
1131
+ "additionalProperties": false,
1132
+ "title": "Set animation enabled schema"
1189
1133
  }
1190
1134
  ```
1191
1135
 
@@ -1200,9 +1144,9 @@ Apply an existing palette using a built-in palette name or a theme palette label
1200
1144
  ```json
1201
1145
  {
1202
1146
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1203
- "title": "Chart palette schema",
1204
1147
  "type": "string",
1205
- "minLength": 1
1148
+ "minLength": 1,
1149
+ "title": "Chart palette schema"
1206
1150
  }
1207
1151
  ```
1208
1152
 
@@ -1217,9 +1161,9 @@ Set the single color used by the chart
1217
1161
  ```json
1218
1162
  {
1219
1163
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1220
- "title": "Coloring color schema",
1221
1164
  "type": "string",
1222
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1165
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1166
+ "title": "Coloring color schema"
1223
1167
  }
1224
1168
  ```
1225
1169
 
@@ -1234,11 +1178,9 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1234
1178
  ```json
1235
1179
  {
1236
1180
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1237
- "title": "Set coloring overwrites schema",
1238
1181
  "type": "object",
1239
1182
  "properties": {
1240
1183
  "overwrites": {
1241
- "description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all",
1242
1184
  "type": "array",
1243
1185
  "items": {
1244
1186
  "anyOf": [
@@ -1250,21 +1192,21 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1250
1192
  "type": "object",
1251
1193
  "properties": {
1252
1194
  "dataItemInternalKey": {
1253
- "description": "Internal key of the data item of the dimension to be updated",
1254
- "type": "string"
1195
+ "type": "string",
1196
+ "description": "Internal key of the data item of the dimension to be updated"
1255
1197
  },
1256
1198
  "dataItemUniqueSignature": {
1257
- "description": "Unique signature of the data item of the dimension to be updated",
1258
- "type": "string"
1199
+ "type": "string",
1200
+ "description": "Unique signature of the data item of the dimension to be updated"
1259
1201
  }
1260
1202
  },
1261
1203
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1262
1204
  "additionalProperties": false
1263
1205
  },
1264
1206
  "color": {
1265
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1266
1207
  "type": "string",
1267
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1208
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1209
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1268
1210
  },
1269
1211
  "operator": {
1270
1212
  "description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
@@ -1282,14 +1224,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1282
1224
  },
1283
1225
  "value": {
1284
1226
  "description": "Value to compare against",
1285
- "anyOf": [
1286
- {
1287
- "type": "string"
1288
- },
1289
- {
1290
- "type": "number"
1291
- }
1292
- ]
1227
+ "type": ["string", "number"]
1293
1228
  }
1294
1229
  },
1295
1230
  "required": ["color", "value"],
@@ -1303,48 +1238,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1303
1238
  "type": "object",
1304
1239
  "properties": {
1305
1240
  "dataItemInternalKey": {
1306
- "description": "Internal key of the data item of the dimension to be updated",
1307
- "type": "string"
1241
+ "type": "string",
1242
+ "description": "Internal key of the data item of the dimension to be updated"
1308
1243
  },
1309
1244
  "dataItemUniqueSignature": {
1310
- "description": "Unique signature of the data item of the dimension to be updated",
1311
- "type": "string"
1245
+ "type": "string",
1246
+ "description": "Unique signature of the data item of the dimension to be updated"
1312
1247
  }
1313
1248
  },
1314
1249
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1315
1250
  "additionalProperties": false
1316
1251
  },
1317
1252
  "color": {
1318
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1319
1253
  "type": "string",
1320
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1254
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1255
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1321
1256
  },
1322
1257
  "operator": {
1323
- "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
1324
1258
  "type": "string",
1325
- "const": "between"
1259
+ "const": "between",
1260
+ "description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
1326
1261
  },
1327
1262
  "value": {
1328
1263
  "description": "Lower bound of the range",
1329
- "anyOf": [
1330
- {
1331
- "type": "string"
1332
- },
1333
- {
1334
- "type": "number"
1335
- }
1336
- ]
1264
+ "type": ["string", "number"]
1337
1265
  },
1338
1266
  "secondValue": {
1339
1267
  "description": "Upper bound of the range",
1340
- "anyOf": [
1341
- {
1342
- "type": "string"
1343
- },
1344
- {
1345
- "type": "number"
1346
- }
1347
- ]
1268
+ "type": ["string", "number"]
1348
1269
  }
1349
1270
  },
1350
1271
  "required": ["color", "operator", "value", "secondValue"],
@@ -1358,41 +1279,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1358
1279
  "type": "object",
1359
1280
  "properties": {
1360
1281
  "dataItemInternalKey": {
1361
- "description": "Internal key of the data item of the dimension to be updated",
1362
- "type": "string"
1282
+ "type": "string",
1283
+ "description": "Internal key of the data item of the dimension to be updated"
1363
1284
  },
1364
1285
  "dataItemUniqueSignature": {
1365
- "description": "Unique signature of the data item of the dimension to be updated",
1366
- "type": "string"
1286
+ "type": "string",
1287
+ "description": "Unique signature of the data item of the dimension to be updated"
1367
1288
  }
1368
1289
  },
1369
1290
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1370
1291
  "additionalProperties": false
1371
1292
  },
1372
1293
  "color": {
1373
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1374
1294
  "type": "string",
1375
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1295
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1296
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1376
1297
  },
1377
1298
  "operator": {
1378
- "description": "Match (inList) or exclude (notInList) every value in values",
1379
1299
  "type": "string",
1380
- "enum": ["inList", "notInList"]
1300
+ "enum": ["inList", "notInList"],
1301
+ "description": "Match (inList) or exclude (notInList) every value in values"
1381
1302
  },
1382
1303
  "values": {
1383
- "description": "Values to match",
1384
1304
  "minItems": 1,
1385
1305
  "type": "array",
1386
1306
  "items": {
1387
- "anyOf": [
1388
- {
1389
- "type": "string"
1390
- },
1391
- {
1392
- "type": "number"
1393
- }
1394
- ]
1395
- }
1307
+ "type": ["string", "number"]
1308
+ },
1309
+ "description": "Values to match"
1396
1310
  },
1397
1311
  "delimiter": {
1398
1312
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -1404,11 +1318,13 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
1404
1318
  "additionalProperties": false
1405
1319
  }
1406
1320
  ]
1407
- }
1321
+ },
1322
+ "description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all"
1408
1323
  }
1409
1324
  },
1410
1325
  "required": ["overwrites"],
1411
- "additionalProperties": false
1326
+ "additionalProperties": false,
1327
+ "title": "Set coloring overwrites schema"
1412
1328
  }
1413
1329
  ```
1414
1330
 
@@ -1440,11 +1356,9 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1440
1356
  ```json
1441
1357
  {
1442
1358
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1443
- "title": "Set coloring rules schema",
1444
1359
  "type": "object",
1445
1360
  "properties": {
1446
1361
  "rules": {
1447
- "description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all",
1448
1362
  "type": "array",
1449
1363
  "items": {
1450
1364
  "anyOf": [
@@ -1452,41 +1366,34 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1452
1366
  "type": "object",
1453
1367
  "properties": {
1454
1368
  "measure": {
1455
- "description": "Measure whose value is compared",
1456
1369
  "type": "object",
1457
1370
  "properties": {
1458
1371
  "dataItemInternalKey": {
1459
- "description": "Internal key of the data item of the measure to be updated",
1460
- "type": "string"
1372
+ "type": "string",
1373
+ "description": "Internal key of the data item of the measure to be updated"
1461
1374
  },
1462
1375
  "dataItemUniqueSignature": {
1463
- "description": "Unique signature of the data item of the measure to be updated",
1464
- "type": "string"
1376
+ "type": "string",
1377
+ "description": "Unique signature of the data item of the measure to be updated"
1465
1378
  }
1466
1379
  },
1467
1380
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1468
- "additionalProperties": false
1381
+ "additionalProperties": false,
1382
+ "description": "Measure whose value is compared"
1469
1383
  },
1470
1384
  "color": {
1471
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1472
1385
  "type": "string",
1473
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1386
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1387
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1474
1388
  },
1475
1389
  "operator": {
1476
- "description": "How the measure value is compared",
1477
1390
  "type": "string",
1478
- "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
1391
+ "enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
1392
+ "description": "How the measure value is compared"
1479
1393
  },
1480
1394
  "value": {
1481
1395
  "description": "Value to compare against",
1482
- "anyOf": [
1483
- {
1484
- "type": "string"
1485
- },
1486
- {
1487
- "type": "number"
1488
- }
1489
- ]
1396
+ "type": ["string", "number"]
1490
1397
  }
1491
1398
  },
1492
1399
  "required": ["measure", "color", "operator", "value"],
@@ -1496,52 +1403,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1496
1403
  "type": "object",
1497
1404
  "properties": {
1498
1405
  "measure": {
1499
- "description": "Measure whose value is compared",
1500
1406
  "type": "object",
1501
1407
  "properties": {
1502
1408
  "dataItemInternalKey": {
1503
- "description": "Internal key of the data item of the measure to be updated",
1504
- "type": "string"
1409
+ "type": "string",
1410
+ "description": "Internal key of the data item of the measure to be updated"
1505
1411
  },
1506
1412
  "dataItemUniqueSignature": {
1507
- "description": "Unique signature of the data item of the measure to be updated",
1508
- "type": "string"
1413
+ "type": "string",
1414
+ "description": "Unique signature of the data item of the measure to be updated"
1509
1415
  }
1510
1416
  },
1511
1417
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1512
- "additionalProperties": false
1418
+ "additionalProperties": false,
1419
+ "description": "Measure whose value is compared"
1513
1420
  },
1514
1421
  "color": {
1515
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1516
1422
  "type": "string",
1517
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1423
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1424
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1518
1425
  },
1519
1426
  "operator": {
1520
- "description": "Matches measure values from value to secondValue, both inclusive",
1521
1427
  "type": "string",
1522
- "const": "between"
1428
+ "const": "between",
1429
+ "description": "Matches measure values from value to secondValue, both inclusive"
1523
1430
  },
1524
1431
  "value": {
1525
1432
  "description": "Lower bound of the range",
1526
- "anyOf": [
1527
- {
1528
- "type": "string"
1529
- },
1530
- {
1531
- "type": "number"
1532
- }
1533
- ]
1433
+ "type": ["string", "number"]
1534
1434
  },
1535
1435
  "secondValue": {
1536
1436
  "description": "Upper bound of the range",
1537
- "anyOf": [
1538
- {
1539
- "type": "string"
1540
- },
1541
- {
1542
- "type": "number"
1543
- }
1544
- ]
1437
+ "type": ["string", "number"]
1545
1438
  }
1546
1439
  },
1547
1440
  "required": ["measure", "color", "operator", "value", "secondValue"],
@@ -1551,45 +1444,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1551
1444
  "type": "object",
1552
1445
  "properties": {
1553
1446
  "measure": {
1554
- "description": "Measure whose value is compared",
1555
1447
  "type": "object",
1556
1448
  "properties": {
1557
1449
  "dataItemInternalKey": {
1558
- "description": "Internal key of the data item of the measure to be updated",
1559
- "type": "string"
1450
+ "type": "string",
1451
+ "description": "Internal key of the data item of the measure to be updated"
1560
1452
  },
1561
1453
  "dataItemUniqueSignature": {
1562
- "description": "Unique signature of the data item of the measure to be updated",
1563
- "type": "string"
1454
+ "type": "string",
1455
+ "description": "Unique signature of the data item of the measure to be updated"
1564
1456
  }
1565
1457
  },
1566
1458
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1567
- "additionalProperties": false
1459
+ "additionalProperties": false,
1460
+ "description": "Measure whose value is compared"
1568
1461
  },
1569
1462
  "color": {
1570
- "description": "Color applied when the condition matches, eg. \"#0F766E\"",
1571
1463
  "type": "string",
1572
- "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
1464
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
1465
+ "description": "Color applied when the condition matches, eg. \"#0F766E\""
1573
1466
  },
1574
1467
  "operator": {
1575
- "description": "Match (inList) or exclude (notInList) every value in values",
1576
1468
  "type": "string",
1577
- "enum": ["inList", "notInList"]
1469
+ "enum": ["inList", "notInList"],
1470
+ "description": "Match (inList) or exclude (notInList) every value in values"
1578
1471
  },
1579
1472
  "values": {
1580
- "description": "Values to match",
1581
1473
  "minItems": 1,
1582
1474
  "type": "array",
1583
1475
  "items": {
1584
- "anyOf": [
1585
- {
1586
- "type": "string"
1587
- },
1588
- {
1589
- "type": "number"
1590
- }
1591
- ]
1592
- }
1476
+ "type": ["string", "number"]
1477
+ },
1478
+ "description": "Values to match"
1593
1479
  },
1594
1480
  "delimiter": {
1595
1481
  "description": "Separator the values are stored with; defaults to \",\". No value may contain it",
@@ -1601,11 +1487,13 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
1601
1487
  "additionalProperties": false
1602
1488
  }
1603
1489
  ]
1604
- }
1490
+ },
1491
+ "description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all"
1605
1492
  }
1606
1493
  },
1607
1494
  "required": ["rules"],
1608
- "additionalProperties": false
1495
+ "additionalProperties": false,
1496
+ "title": "Set coloring rules schema"
1609
1497
  }
1610
1498
  ```
1611
1499
 
@@ -1620,9 +1508,9 @@ Set the order categorical colors and legend items follow: "alpha-asc" sorts asce
1620
1508
  ```json
1621
1509
  {
1622
1510
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1623
- "title": "Coloring sort order schema",
1624
1511
  "type": "string",
1625
- "enum": ["alpha-asc", "data"]
1512
+ "enum": ["alpha-asc", "data"],
1513
+ "title": "Coloring sort order schema"
1626
1514
  }
1627
1515
  ```
1628
1516
 
@@ -1637,9 +1525,9 @@ Set how colors are applied to the chart
1637
1525
  ```json
1638
1526
  {
1639
1527
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1640
- "title": "Coloring type schema",
1641
1528
  "type": "string",
1642
- "enum": ["single", "categorical", "gradient", "perEachMeasure", "perEachDimension"]
1529
+ "enum": ["single", "categorical", "gradient", "perEachMeasure", "perEachDimension"],
1530
+ "title": "Coloring type schema"
1643
1531
  }
1644
1532
  ```
1645
1533
 
@@ -1654,7 +1542,6 @@ Replace the whole custom categorical palette with a provided list of colors and
1654
1542
  ```json
1655
1543
  {
1656
1544
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1657
- "title": "Custom palette colors schema",
1658
1545
  "type": "object",
1659
1546
  "properties": {
1660
1547
  "colors": {
@@ -1667,7 +1554,8 @@ Replace the whole custom categorical palette with a provided list of colors and
1667
1554
  }
1668
1555
  },
1669
1556
  "required": ["colors"],
1670
- "additionalProperties": false
1557
+ "additionalProperties": false,
1558
+ "title": "Custom palette colors schema"
1671
1559
  }
1672
1560
  ```
1673
1561
 
@@ -1682,16 +1570,15 @@ Set the custom display format string for a dimension. This changes label formatt
1682
1570
  ```json
1683
1571
  {
1684
1572
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1685
- "title": "Dimension format string schema",
1686
1573
  "type": "object",
1687
1574
  "properties": {
1688
1575
  "dataItemInternalKey": {
1689
- "description": "Internal key of the data item of the dimension to be updated",
1690
- "type": "string"
1576
+ "type": "string",
1577
+ "description": "Internal key of the data item of the dimension to be updated"
1691
1578
  },
1692
1579
  "dataItemUniqueSignature": {
1693
- "description": "Unique signature of the data item of the dimension to be updated",
1694
- "type": "string"
1580
+ "type": "string",
1581
+ "description": "Unique signature of the data item of the dimension to be updated"
1695
1582
  },
1696
1583
  "formatString": {
1697
1584
  "anyOf": [
@@ -1716,7 +1603,8 @@ Set the custom display format string for a dimension. This changes label formatt
1716
1603
  }
1717
1604
  },
1718
1605
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1719
- "additionalProperties": false
1606
+ "additionalProperties": false,
1607
+ "title": "Dimension format string schema"
1720
1608
  }
1721
1609
  ```
1722
1610
 
@@ -1731,16 +1619,15 @@ Set the display format type used by a dimension. This changes label formatting o
1731
1619
  ```json
1732
1620
  {
1733
1621
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1734
- "title": "Dimension format type schema",
1735
1622
  "type": "object",
1736
1623
  "properties": {
1737
1624
  "dataItemInternalKey": {
1738
- "description": "Internal key of the data item of the dimension to be updated",
1739
- "type": "string"
1625
+ "type": "string",
1626
+ "description": "Internal key of the data item of the dimension to be updated"
1740
1627
  },
1741
1628
  "dataItemUniqueSignature": {
1742
- "description": "Unique signature of the data item of the dimension to be updated",
1743
- "type": "string"
1629
+ "type": "string",
1630
+ "description": "Unique signature of the data item of the dimension to be updated"
1744
1631
  },
1745
1632
  "formatType": {
1746
1633
  "anyOf": [
@@ -1835,7 +1722,8 @@ Set the display format type used by a dimension. This changes label formatting o
1835
1722
  }
1836
1723
  },
1837
1724
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
1838
- "additionalProperties": false
1725
+ "additionalProperties": false,
1726
+ "title": "Dimension format type schema"
1839
1727
  }
1840
1728
  ```
1841
1729
 
@@ -1850,18 +1738,17 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1850
1738
  ```json
1851
1739
  {
1852
1740
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1853
- "title": "Dimension temporal grouping schema",
1854
- "anyOf": [
1741
+ "oneOf": [
1855
1742
  {
1856
1743
  "type": "object",
1857
1744
  "properties": {
1858
1745
  "dataItemInternalKey": {
1859
- "description": "Internal key of the data item of the dimension to be updated",
1860
- "type": "string"
1746
+ "type": "string",
1747
+ "description": "Internal key of the data item of the dimension to be updated"
1861
1748
  },
1862
1749
  "dataItemUniqueSignature": {
1863
- "description": "Unique signature of the data item of the dimension to be updated",
1864
- "type": "string"
1750
+ "type": "string",
1751
+ "description": "Unique signature of the data item of the dimension to be updated"
1865
1752
  },
1866
1753
  "mode": {
1867
1754
  "type": "string",
@@ -1875,12 +1762,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1875
1762
  "type": "object",
1876
1763
  "properties": {
1877
1764
  "dataItemInternalKey": {
1878
- "description": "Internal key of the data item of the dimension to be updated",
1879
- "type": "string"
1765
+ "type": "string",
1766
+ "description": "Internal key of the data item of the dimension to be updated"
1880
1767
  },
1881
1768
  "dataItemUniqueSignature": {
1882
- "description": "Unique signature of the data item of the dimension to be updated",
1883
- "type": "string"
1769
+ "type": "string",
1770
+ "description": "Unique signature of the data item of the dimension to be updated"
1884
1771
  },
1885
1772
  "mode": {
1886
1773
  "type": "string",
@@ -1911,12 +1798,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1911
1798
  "type": "object",
1912
1799
  "properties": {
1913
1800
  "dataItemInternalKey": {
1914
- "description": "Internal key of the data item of the dimension to be updated",
1915
- "type": "string"
1801
+ "type": "string",
1802
+ "description": "Internal key of the data item of the dimension to be updated"
1916
1803
  },
1917
1804
  "dataItemUniqueSignature": {
1918
- "description": "Unique signature of the data item of the dimension to be updated",
1919
- "type": "string"
1805
+ "type": "string",
1806
+ "description": "Unique signature of the data item of the dimension to be updated"
1920
1807
  },
1921
1808
  "mode": {
1922
1809
  "type": "string",
@@ -1942,7 +1829,8 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
1942
1829
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
1943
1830
  "additionalProperties": false
1944
1831
  }
1945
- ]
1832
+ ],
1833
+ "title": "Dimension temporal grouping schema"
1946
1834
  }
1947
1835
  ```
1948
1836
 
@@ -1957,8 +1845,8 @@ Render the gauge as bars instead of radial arcs
1957
1845
  ```json
1958
1846
  {
1959
1847
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1960
- "title": "Gauge bar mode schema",
1961
- "type": "boolean"
1848
+ "type": "boolean",
1849
+ "title": "Gauge bar mode schema"
1962
1850
  }
1963
1851
  ```
1964
1852
 
@@ -1973,8 +1861,8 @@ Compare multiple gauge values in one visualization
1973
1861
  ```json
1974
1862
  {
1975
1863
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1976
- "title": "Gauge comparison mode schema",
1977
- "type": "boolean"
1864
+ "type": "boolean",
1865
+ "title": "Gauge comparison mode schema"
1978
1866
  }
1979
1867
  ```
1980
1868
 
@@ -2058,9 +1946,9 @@ Select how the gauge target is provided
2058
1946
  ```json
2059
1947
  {
2060
1948
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2061
- "title": "Gauge target type schema",
2062
1949
  "type": "string",
2063
- "enum": ["auto", "manual", "data", "perMeasure"]
1950
+ "enum": ["auto", "manual", "data", "perMeasure"],
1951
+ "title": "Gauge target type schema"
2064
1952
  }
2065
1953
  ```
2066
1954
 
@@ -2075,9 +1963,9 @@ Show or hide the chart legend
2075
1963
  ```json
2076
1964
  {
2077
1965
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1966
+ "type": "boolean",
2078
1967
  "description": "Enable legend",
2079
- "title": "Legend enabled schema",
2080
- "type": "boolean"
1968
+ "title": "Legend enabled schema"
2081
1969
  }
2082
1970
  ```
2083
1971
 
@@ -2092,8 +1980,6 @@ Change the color of legend text labels
2092
1980
  ```json
2093
1981
  {
2094
1982
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2095
- "description": "Legend item label font color (hexadecimal color code)",
2096
- "title": "Legend item label fill schema",
2097
1983
  "anyOf": [
2098
1984
  {
2099
1985
  "type": "string",
@@ -2102,7 +1988,9 @@ Change the color of legend text labels
2102
1988
  {
2103
1989
  "type": "null"
2104
1990
  }
2105
- ]
1991
+ ],
1992
+ "description": "Legend item label font color (hexadecimal color code)",
1993
+ "title": "Legend item label fill schema"
2106
1994
  }
2107
1995
  ```
2108
1996
 
@@ -2117,8 +2005,8 @@ Adjust the font size of legend labels
2117
2005
  ```json
2118
2006
  {
2119
2007
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2120
- "title": "Legend item label font size schema",
2121
- "type": "number"
2008
+ "type": "number",
2009
+ "title": "Legend item label font size schema"
2122
2010
  }
2123
2011
  ```
2124
2012
 
@@ -2152,14 +2040,7 @@ Set the maximum number of characters shown in legend labels
2152
2040
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2153
2041
  "description": "Maximum number of glyphs in the legend item label",
2154
2042
  "title": "Legend item label max glyph count schema",
2155
- "anyOf": [
2156
- {
2157
- "type": "number"
2158
- },
2159
- {
2160
- "type": "null"
2161
- }
2162
- ]
2043
+ "type": ["number", "null"]
2163
2044
  }
2164
2045
  ```
2165
2046
 
@@ -2174,10 +2055,10 @@ Change where the legend appears on the chart
2174
2055
  ```json
2175
2056
  {
2176
2057
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2177
- "description": "Legend position",
2178
- "title": "Legend position schema",
2179
2058
  "type": "string",
2180
- "enum": ["left", "right", "top", "bottom"]
2059
+ "enum": ["left", "right", "top", "bottom"],
2060
+ "description": "Legend position",
2061
+ "title": "Legend position schema"
2181
2062
  }
2182
2063
  ```
2183
2064
 
@@ -2194,14 +2075,7 @@ Set a custom title for the legend
2194
2075
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2195
2076
  "description": "Legend title text",
2196
2077
  "title": "Legend title schema",
2197
- "anyOf": [
2198
- {
2199
- "type": "string"
2200
- },
2201
- {
2202
- "type": "null"
2203
- }
2204
- ]
2078
+ "type": ["string", "null"]
2205
2079
  }
2206
2080
  ```
2207
2081
 
@@ -2216,23 +2090,23 @@ Set the currency symbol used by a measure formatter
2216
2090
  ```json
2217
2091
  {
2218
2092
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2219
- "title": "Measure currency schema",
2220
2093
  "type": "object",
2221
2094
  "properties": {
2222
2095
  "dataItemInternalKey": {
2223
- "description": "Internal key of the data item of the measure to be updated",
2224
- "type": "string"
2096
+ "type": "string",
2097
+ "description": "Internal key of the data item of the measure to be updated"
2225
2098
  },
2226
2099
  "dataItemUniqueSignature": {
2227
- "description": "Unique signature of the data item of the measure to be updated",
2228
- "type": "string"
2100
+ "type": "string",
2101
+ "description": "Unique signature of the data item of the measure to be updated"
2229
2102
  },
2230
2103
  "currency": {
2231
2104
  "type": "string"
2232
2105
  }
2233
2106
  },
2234
2107
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2235
- "additionalProperties": false
2108
+ "additionalProperties": false,
2109
+ "title": "Measure currency schema"
2236
2110
  }
2237
2111
  ```
2238
2112
 
@@ -2247,23 +2121,23 @@ Set whether measure currency symbol is prefixed
2247
2121
  ```json
2248
2122
  {
2249
2123
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2250
- "title": "Measure currency is prefix schema",
2251
2124
  "type": "object",
2252
2125
  "properties": {
2253
2126
  "dataItemInternalKey": {
2254
- "description": "Internal key of the data item of the measure to be updated",
2255
- "type": "string"
2127
+ "type": "string",
2128
+ "description": "Internal key of the data item of the measure to be updated"
2256
2129
  },
2257
2130
  "dataItemUniqueSignature": {
2258
- "description": "Unique signature of the data item of the measure to be updated",
2259
- "type": "string"
2131
+ "type": "string",
2132
+ "description": "Unique signature of the data item of the measure to be updated"
2260
2133
  },
2261
2134
  "currencyIsPrefix": {
2262
2135
  "type": "boolean"
2263
2136
  }
2264
2137
  },
2265
2138
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2266
- "additionalProperties": false
2139
+ "additionalProperties": false,
2140
+ "title": "Measure currency is prefix schema"
2267
2141
  }
2268
2142
  ```
2269
2143
 
@@ -2278,16 +2152,15 @@ Configure a Defined parameter of a custom measure using its default, a static va
2278
2152
  ```json
2279
2153
  {
2280
2154
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2281
- "title": "Set measure defined parameter schema",
2282
2155
  "type": "object",
2283
2156
  "properties": {
2284
2157
  "dataItemInternalKey": {
2285
- "description": "Internal key of the data item of the measure to be updated",
2286
- "type": "string"
2158
+ "type": "string",
2159
+ "description": "Internal key of the data item of the measure to be updated"
2287
2160
  },
2288
2161
  "dataItemUniqueSignature": {
2289
- "description": "Unique signature of the data item of the measure to be updated",
2290
- "type": "string"
2162
+ "type": "string",
2163
+ "description": "Unique signature of the data item of the measure to be updated"
2291
2164
  },
2292
2165
  "collectionKey": {
2293
2166
  "description": "Measure collection to update. Defaults to primary measures.",
@@ -2295,13 +2168,12 @@ Configure a Defined parameter of a custom measure using its default, a static va
2295
2168
  "enum": ["measures", "supportingMeasures"]
2296
2169
  },
2297
2170
  "parameterName": {
2298
- "description": "Exact name of a Defined parameter exposed by the measure",
2299
2171
  "type": "string",
2300
- "minLength": 1
2172
+ "minLength": 1,
2173
+ "description": "Exact name of a Defined parameter exposed by the measure"
2301
2174
  },
2302
2175
  "value": {
2303
- "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable",
2304
- "anyOf": [
2176
+ "oneOf": [
2305
2177
  {
2306
2178
  "type": "object",
2307
2179
  "properties": {
@@ -2321,17 +2193,7 @@ Configure a Defined parameter of a custom measure using its default, a static va
2321
2193
  "const": "static"
2322
2194
  },
2323
2195
  "value": {
2324
- "anyOf": [
2325
- {
2326
- "type": "string"
2327
- },
2328
- {
2329
- "type": "number"
2330
- },
2331
- {
2332
- "type": "boolean"
2333
- }
2334
- ]
2196
+ "type": ["string", "number", "boolean"]
2335
2197
  }
2336
2198
  },
2337
2199
  "required": ["type", "value"],
@@ -2345,19 +2207,21 @@ Configure a Defined parameter of a custom measure using its default, a static va
2345
2207
  "const": "variable"
2346
2208
  },
2347
2209
  "variableName": {
2348
- "description": "Exact name of an existing compatible workbook variable",
2349
2210
  "type": "string",
2350
- "minLength": 1
2211
+ "minLength": 1,
2212
+ "description": "Exact name of an existing compatible workbook variable"
2351
2213
  }
2352
2214
  },
2353
2215
  "required": ["type", "variableName"],
2354
2216
  "additionalProperties": false
2355
2217
  }
2356
- ]
2218
+ ],
2219
+ "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
2357
2220
  }
2358
2221
  },
2359
2222
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
2360
- "additionalProperties": false
2223
+ "additionalProperties": false,
2224
+ "title": "Set measure defined parameter schema"
2361
2225
  }
2362
2226
  ```
2363
2227
 
@@ -2372,22 +2236,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2372
2236
  ```json
2373
2237
  {
2374
2238
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2375
- "description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
2376
- "title": "Set measure filter schema",
2377
2239
  "anyOf": [
2378
2240
  {
2379
2241
  "type": "object",
2380
2242
  "properties": {
2381
2243
  "measureName": {
2382
- "description": "Visible measure name or label",
2383
- "type": "string"
2244
+ "type": "string",
2245
+ "description": "Visible measure name or label"
2384
2246
  },
2385
2247
  "fieldKey": {
2386
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2387
- "type": "string"
2248
+ "type": "string",
2249
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2388
2250
  },
2389
2251
  "operator": {
2390
- "description": "Filter operator that requires a value",
2391
2252
  "type": "string",
2392
2253
  "enum": [
2393
2254
  "equals",
@@ -2402,10 +2263,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2402
2263
  "notLike",
2403
2264
  "startsWith",
2404
2265
  "endsWith"
2405
- ]
2266
+ ],
2267
+ "description": "Filter operator that requires a value"
2406
2268
  },
2407
2269
  "value": {
2408
- "description": "Filter value",
2409
2270
  "anyOf": [
2410
2271
  {
2411
2272
  "type": "string"
@@ -2424,7 +2285,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2424
2285
  "required": ["type", "variableName"],
2425
2286
  "additionalProperties": false
2426
2287
  }
2427
- ]
2288
+ ],
2289
+ "description": "Filter value"
2428
2290
  }
2429
2291
  },
2430
2292
  "required": ["measureName", "fieldKey", "operator", "value"],
@@ -2434,20 +2296,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2434
2296
  "type": "object",
2435
2297
  "properties": {
2436
2298
  "measureName": {
2437
- "description": "Visible measure name or label",
2438
- "type": "string"
2299
+ "type": "string",
2300
+ "description": "Visible measure name or label"
2439
2301
  },
2440
2302
  "fieldKey": {
2441
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2442
- "type": "string"
2303
+ "type": "string",
2304
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2443
2305
  },
2444
2306
  "operator": {
2445
- "description": "Filter operator that requires valueFrom and valueTo",
2446
2307
  "type": "string",
2447
- "enum": ["isBetween", "isNotBetween"]
2308
+ "enum": ["isBetween", "isNotBetween"],
2309
+ "description": "Filter operator that requires valueFrom and valueTo"
2448
2310
  },
2449
2311
  "valueFrom": {
2450
- "description": "Lower filter value",
2451
2312
  "anyOf": [
2452
2313
  {
2453
2314
  "type": "string"
@@ -2466,10 +2327,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2466
2327
  "required": ["type", "variableName"],
2467
2328
  "additionalProperties": false
2468
2329
  }
2469
- ]
2330
+ ],
2331
+ "description": "Lower filter value"
2470
2332
  },
2471
2333
  "valueTo": {
2472
- "description": "Upper filter value",
2473
2334
  "anyOf": [
2474
2335
  {
2475
2336
  "type": "string"
@@ -2488,7 +2349,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2488
2349
  "required": ["type", "variableName"],
2489
2350
  "additionalProperties": false
2490
2351
  }
2491
- ]
2352
+ ],
2353
+ "description": "Upper filter value"
2492
2354
  }
2493
2355
  },
2494
2356
  "required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
@@ -2498,25 +2360,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2498
2360
  "type": "object",
2499
2361
  "properties": {
2500
2362
  "measureName": {
2501
- "description": "Visible measure name or label",
2502
- "type": "string"
2363
+ "type": "string",
2364
+ "description": "Visible measure name or label"
2503
2365
  },
2504
2366
  "fieldKey": {
2505
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2506
- "type": "string"
2367
+ "type": "string",
2368
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2507
2369
  },
2508
2370
  "operator": {
2509
- "description": "Filter operator that requires a list of values",
2510
2371
  "type": "string",
2511
- "enum": ["inList", "excludedFromList"]
2372
+ "enum": ["inList", "excludedFromList"],
2373
+ "description": "Filter operator that requires a list of values"
2512
2374
  },
2513
2375
  "values": {
2514
- "description": "Filter values",
2515
2376
  "minItems": 1,
2516
2377
  "type": "array",
2517
2378
  "items": {
2518
2379
  "type": "string"
2519
- }
2380
+ },
2381
+ "description": "Filter values"
2520
2382
  }
2521
2383
  },
2522
2384
  "required": ["measureName", "fieldKey", "operator", "values"],
@@ -2526,23 +2388,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
2526
2388
  "type": "object",
2527
2389
  "properties": {
2528
2390
  "measureName": {
2529
- "description": "Visible measure name or label",
2530
- "type": "string"
2391
+ "type": "string",
2392
+ "description": "Visible measure name or label"
2531
2393
  },
2532
2394
  "fieldKey": {
2533
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
2534
- "type": "string"
2395
+ "type": "string",
2396
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
2535
2397
  },
2536
2398
  "operator": {
2537
- "description": "Filter operator that does not require values",
2538
2399
  "type": "string",
2539
- "enum": ["isNull", "notNull"]
2400
+ "enum": ["isNull", "notNull"],
2401
+ "description": "Filter operator that does not require values"
2540
2402
  }
2541
2403
  },
2542
2404
  "required": ["measureName", "fieldKey", "operator"],
2543
2405
  "additionalProperties": false
2544
2406
  }
2545
- ]
2407
+ ],
2408
+ "description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
2409
+ "title": "Set measure filter schema"
2546
2410
  }
2547
2411
  ```
2548
2412
 
@@ -2557,16 +2421,15 @@ Set the custom format string for a measure
2557
2421
  ```json
2558
2422
  {
2559
2423
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2560
- "title": "Measure format string schema",
2561
2424
  "type": "object",
2562
2425
  "properties": {
2563
2426
  "dataItemInternalKey": {
2564
- "description": "Internal key of the data item of the measure to be updated",
2565
- "type": "string"
2427
+ "type": "string",
2428
+ "description": "Internal key of the data item of the measure to be updated"
2566
2429
  },
2567
2430
  "dataItemUniqueSignature": {
2568
- "description": "Unique signature of the data item of the measure to be updated",
2569
- "type": "string"
2431
+ "type": "string",
2432
+ "description": "Unique signature of the data item of the measure to be updated"
2570
2433
  },
2571
2434
  "formatString": {
2572
2435
  "anyOf": [
@@ -2591,7 +2454,8 @@ Set the custom format string for a measure
2591
2454
  }
2592
2455
  },
2593
2456
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2594
- "additionalProperties": false
2457
+ "additionalProperties": false,
2458
+ "title": "Measure format string schema"
2595
2459
  }
2596
2460
  ```
2597
2461
 
@@ -2606,16 +2470,15 @@ Set the format type used by a measure
2606
2470
  ```json
2607
2471
  {
2608
2472
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2609
- "title": "Measure format type schema",
2610
2473
  "type": "object",
2611
2474
  "properties": {
2612
2475
  "dataItemInternalKey": {
2613
- "description": "Internal key of the data item of the measure to be updated",
2614
- "type": "string"
2476
+ "type": "string",
2477
+ "description": "Internal key of the data item of the measure to be updated"
2615
2478
  },
2616
2479
  "dataItemUniqueSignature": {
2617
- "description": "Unique signature of the data item of the measure to be updated",
2618
- "type": "string"
2480
+ "type": "string",
2481
+ "description": "Unique signature of the data item of the measure to be updated"
2619
2482
  },
2620
2483
  "formatType": {
2621
2484
  "anyOf": [
@@ -2710,7 +2573,8 @@ Set the format type used by a measure
2710
2573
  }
2711
2574
  },
2712
2575
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
2713
- "additionalProperties": false
2576
+ "additionalProperties": false,
2577
+ "title": "Measure format type schema"
2714
2578
  }
2715
2579
  ```
2716
2580
 
@@ -2725,16 +2589,15 @@ Set a color override for a measure
2725
2589
  ```json
2726
2590
  {
2727
2591
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2728
- "title": "Measure graph color schema",
2729
2592
  "type": "object",
2730
2593
  "properties": {
2731
2594
  "dataItemInternalKey": {
2732
- "description": "Internal key of the data item of the measure to be updated",
2733
- "type": "string"
2595
+ "type": "string",
2596
+ "description": "Internal key of the data item of the measure to be updated"
2734
2597
  },
2735
2598
  "dataItemUniqueSignature": {
2736
- "description": "Unique signature of the data item of the measure to be updated",
2737
- "type": "string"
2599
+ "type": "string",
2600
+ "description": "Unique signature of the data item of the measure to be updated"
2738
2601
  },
2739
2602
  "graphColor": {
2740
2603
  "type": "string",
@@ -2742,7 +2605,8 @@ Set a color override for a measure
2742
2605
  }
2743
2606
  },
2744
2607
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "graphColor"],
2745
- "additionalProperties": false
2608
+ "additionalProperties": false,
2609
+ "title": "Measure graph color schema"
2746
2610
  }
2747
2611
  ```
2748
2612
 
@@ -2757,16 +2621,15 @@ Set how negative values are displayed for a measure formatter
2757
2621
  ```json
2758
2622
  {
2759
2623
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2760
- "title": "Measure negative type schema",
2761
2624
  "type": "object",
2762
2625
  "properties": {
2763
2626
  "dataItemInternalKey": {
2764
- "description": "Internal key of the data item of the measure to be updated",
2765
- "type": "string"
2627
+ "type": "string",
2628
+ "description": "Internal key of the data item of the measure to be updated"
2766
2629
  },
2767
2630
  "dataItemUniqueSignature": {
2768
- "description": "Unique signature of the data item of the measure to be updated",
2769
- "type": "string"
2631
+ "type": "string",
2632
+ "description": "Unique signature of the data item of the measure to be updated"
2770
2633
  },
2771
2634
  "negativeType": {
2772
2635
  "type": "string",
@@ -2774,7 +2637,8 @@ Set how negative values are displayed for a measure formatter
2774
2637
  }
2775
2638
  },
2776
2639
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
2777
- "additionalProperties": false
2640
+ "additionalProperties": false,
2641
+ "title": "Measure negative type schema"
2778
2642
  }
2779
2643
  ```
2780
2644
 
@@ -2789,18 +2653,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2789
2653
  ```json
2790
2654
  {
2791
2655
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2792
- "description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
2793
- "title": "Set result filter schema",
2794
2656
  "anyOf": [
2795
2657
  {
2796
2658
  "type": "object",
2797
2659
  "properties": {
2798
2660
  "measureName": {
2799
- "description": "Visible measure name or label",
2800
- "type": "string"
2661
+ "type": "string",
2662
+ "description": "Visible measure name or label"
2801
2663
  },
2802
2664
  "operator": {
2803
- "description": "Filter operator that requires a value",
2804
2665
  "type": "string",
2805
2666
  "enum": [
2806
2667
  "equals",
@@ -2815,10 +2676,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2815
2676
  "notLike",
2816
2677
  "startsWith",
2817
2678
  "endsWith"
2818
- ]
2679
+ ],
2680
+ "description": "Filter operator that requires a value"
2819
2681
  },
2820
2682
  "value": {
2821
- "description": "Filter value",
2822
2683
  "anyOf": [
2823
2684
  {
2824
2685
  "type": "string"
@@ -2837,7 +2698,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2837
2698
  "required": ["type", "variableName"],
2838
2699
  "additionalProperties": false
2839
2700
  }
2840
- ]
2701
+ ],
2702
+ "description": "Filter value"
2841
2703
  }
2842
2704
  },
2843
2705
  "required": ["measureName", "operator", "value"],
@@ -2847,16 +2709,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2847
2709
  "type": "object",
2848
2710
  "properties": {
2849
2711
  "measureName": {
2850
- "description": "Visible measure name or label",
2851
- "type": "string"
2712
+ "type": "string",
2713
+ "description": "Visible measure name or label"
2852
2714
  },
2853
2715
  "operator": {
2854
- "description": "Filter operator that requires valueFrom and valueTo",
2855
2716
  "type": "string",
2856
- "enum": ["isBetween", "isNotBetween"]
2717
+ "enum": ["isBetween", "isNotBetween"],
2718
+ "description": "Filter operator that requires valueFrom and valueTo"
2857
2719
  },
2858
2720
  "valueFrom": {
2859
- "description": "Lower filter value",
2860
2721
  "anyOf": [
2861
2722
  {
2862
2723
  "type": "string"
@@ -2875,10 +2736,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2875
2736
  "required": ["type", "variableName"],
2876
2737
  "additionalProperties": false
2877
2738
  }
2878
- ]
2739
+ ],
2740
+ "description": "Lower filter value"
2879
2741
  },
2880
2742
  "valueTo": {
2881
- "description": "Upper filter value",
2882
2743
  "anyOf": [
2883
2744
  {
2884
2745
  "type": "string"
@@ -2897,7 +2758,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2897
2758
  "required": ["type", "variableName"],
2898
2759
  "additionalProperties": false
2899
2760
  }
2900
- ]
2761
+ ],
2762
+ "description": "Upper filter value"
2901
2763
  }
2902
2764
  },
2903
2765
  "required": ["measureName", "operator", "valueFrom", "valueTo"],
@@ -2907,21 +2769,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2907
2769
  "type": "object",
2908
2770
  "properties": {
2909
2771
  "measureName": {
2910
- "description": "Visible measure name or label",
2911
- "type": "string"
2772
+ "type": "string",
2773
+ "description": "Visible measure name or label"
2912
2774
  },
2913
2775
  "operator": {
2914
- "description": "Filter operator that requires a list of values",
2915
2776
  "type": "string",
2916
- "enum": ["inList", "excludedFromList"]
2777
+ "enum": ["inList", "excludedFromList"],
2778
+ "description": "Filter operator that requires a list of values"
2917
2779
  },
2918
2780
  "values": {
2919
- "description": "Filter values",
2920
2781
  "minItems": 1,
2921
2782
  "type": "array",
2922
2783
  "items": {
2923
2784
  "type": "string"
2924
- }
2785
+ },
2786
+ "description": "Filter values"
2925
2787
  }
2926
2788
  },
2927
2789
  "required": ["measureName", "operator", "values"],
@@ -2931,19 +2793,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
2931
2793
  "type": "object",
2932
2794
  "properties": {
2933
2795
  "measureName": {
2934
- "description": "Visible measure name or label",
2935
- "type": "string"
2796
+ "type": "string",
2797
+ "description": "Visible measure name or label"
2936
2798
  },
2937
2799
  "operator": {
2938
- "description": "Filter operator that does not require values",
2939
2800
  "type": "string",
2940
- "enum": ["isNull", "notNull"]
2801
+ "enum": ["isNull", "notNull"],
2802
+ "description": "Filter operator that does not require values"
2941
2803
  }
2942
2804
  },
2943
2805
  "required": ["measureName", "operator"],
2944
2806
  "additionalProperties": false
2945
2807
  }
2946
- ]
2808
+ ],
2809
+ "description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
2810
+ "title": "Set result filter schema"
2947
2811
  }
2948
2812
  ```
2949
2813
 
@@ -2958,7 +2822,6 @@ Set sorting direction for all matching sortable items by name
2958
2822
  ```json
2959
2823
  {
2960
2824
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2961
- "title": "Sorting direction by name schema",
2962
2825
  "type": "object",
2963
2826
  "properties": {
2964
2827
  "name": {
@@ -2971,7 +2834,8 @@ Set sorting direction for all matching sortable items by name
2971
2834
  }
2972
2835
  },
2973
2836
  "required": ["name", "sortDirection"],
2974
- "additionalProperties": false
2837
+ "additionalProperties": false,
2838
+ "title": "Sorting direction by name schema"
2975
2839
  }
2976
2840
  ```
2977
2841
 
@@ -2986,7 +2850,6 @@ Enable or disable sorting for all matching sortable items by name
2986
2850
  ```json
2987
2851
  {
2988
2852
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2989
- "title": "Sorting enabled by name schema",
2990
2853
  "type": "object",
2991
2854
  "properties": {
2992
2855
  "name": {
@@ -2998,7 +2861,8 @@ Enable or disable sorting for all matching sortable items by name
2998
2861
  }
2999
2862
  },
3000
2863
  "required": ["name"],
3001
- "additionalProperties": false
2864
+ "additionalProperties": false,
2865
+ "title": "Sorting enabled by name schema"
3002
2866
  }
3003
2867
  ```
3004
2868
 
@@ -3032,8 +2896,8 @@ Replace all static filters with a nested AND/OR filter group.
3032
2896
  "type": "object",
3033
2897
  "properties": {
3034
2898
  "fieldKey": {
3035
- "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
3036
- "type": "string"
2899
+ "type": "string",
2900
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
3037
2901
  },
3038
2902
  "operator": {
3039
2903
  "anyOf": [
@@ -3250,7 +3114,6 @@ Enable or disable all matching supporting measures by name
3250
3114
  ```json
3251
3115
  {
3252
3116
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3253
- "title": "Supporting measure enabled by name schema",
3254
3117
  "type": "object",
3255
3118
  "properties": {
3256
3119
  "name": {
@@ -3262,7 +3125,8 @@ Enable or disable all matching supporting measures by name
3262
3125
  }
3263
3126
  },
3264
3127
  "required": ["name", "enabled"],
3265
- "additionalProperties": false
3128
+ "additionalProperties": false,
3129
+ "title": "Supporting measure enabled by name schema"
3266
3130
  }
3267
3131
  ```
3268
3132
 
@@ -3277,24 +3141,24 @@ Enable or disable a dimension in the chart
3277
3141
  ```json
3278
3142
  {
3279
3143
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3280
- "title": "Toggle dimension schema",
3281
3144
  "type": "object",
3282
3145
  "properties": {
3283
3146
  "dataItemInternalKey": {
3284
- "description": "Internal key of the data item of the dimension to be toggled",
3285
- "type": "string"
3147
+ "type": "string",
3148
+ "description": "Internal key of the data item of the dimension to be toggled"
3286
3149
  },
3287
3150
  "dataItemUniqueSignature": {
3288
- "description": "Unique signature of the data item of the dimension to be toggled",
3289
- "type": "string"
3151
+ "type": "string",
3152
+ "description": "Unique signature of the data item of the dimension to be toggled"
3290
3153
  },
3291
3154
  "enabled": {
3292
- "description": "Whether the dimension should be enabled or disabled",
3293
- "type": "boolean"
3155
+ "type": "boolean",
3156
+ "description": "Whether the dimension should be enabled or disabled"
3294
3157
  }
3295
3158
  },
3296
3159
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "enabled"],
3297
- "additionalProperties": false
3160
+ "additionalProperties": false,
3161
+ "title": "Toggle dimension schema"
3298
3162
  }
3299
3163
  ```
3300
3164
 
@@ -3309,7 +3173,6 @@ Enable, disable, or toggle a dimension or measure by its name
3309
3173
  ```json
3310
3174
  {
3311
3175
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3312
- "title": "Toggle dimension or measure by name schema",
3313
3176
  "type": "object",
3314
3177
  "properties": {
3315
3178
  "name": {
@@ -3321,7 +3184,8 @@ Enable, disable, or toggle a dimension or measure by its name
3321
3184
  }
3322
3185
  },
3323
3186
  "required": ["name", "operation"],
3324
- "additionalProperties": false
3187
+ "additionalProperties": false,
3188
+ "title": "Toggle dimension or measure by name schema"
3325
3189
  }
3326
3190
  ```
3327
3191
 
@@ -3336,20 +3200,20 @@ Enable or disable a measure in the chart
3336
3200
  ```json
3337
3201
  {
3338
3202
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3339
- "title": "Toggle measure schema",
3340
3203
  "type": "object",
3341
3204
  "properties": {
3342
3205
  "dataItemInternalKey": {
3343
- "description": "Internal key of the data item of the measure to be toggled",
3344
- "type": "string"
3206
+ "type": "string",
3207
+ "description": "Internal key of the data item of the measure to be toggled"
3345
3208
  },
3346
3209
  "dataItemUniqueSignature": {
3347
- "description": "Unique signature of the data item of the measure to be toggled",
3348
- "type": "string"
3210
+ "type": "string",
3211
+ "description": "Unique signature of the data item of the measure to be toggled"
3349
3212
  }
3350
3213
  },
3351
3214
  "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
3352
- "additionalProperties": false
3215
+ "additionalProperties": false,
3216
+ "title": "Toggle measure schema"
3353
3217
  }
3354
3218
  ```
3355
3219
 
@@ -3364,16 +3228,15 @@ Modify properties of an existing dimension
3364
3228
  ```json
3365
3229
  {
3366
3230
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3367
- "title": "Update dimension schema",
3368
3231
  "type": "object",
3369
3232
  "properties": {
3370
3233
  "dataItemInternalKey": {
3371
- "description": "Internal key of the data item of the dimension to be updated",
3372
- "type": "string"
3234
+ "type": "string",
3235
+ "description": "Internal key of the data item of the dimension to be updated"
3373
3236
  },
3374
3237
  "dataItemUniqueSignature": {
3375
- "description": "Unique signature of the data item of the dimension to be updated",
3376
- "type": "string"
3238
+ "type": "string",
3239
+ "description": "Unique signature of the data item of the dimension to be updated"
3377
3240
  },
3378
3241
  "changes": {
3379
3242
  "type": "object",
@@ -3399,7 +3262,8 @@ Modify properties of an existing dimension
3399
3262
  }
3400
3263
  },
3401
3264
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
3402
- "additionalProperties": false
3265
+ "additionalProperties": false,
3266
+ "title": "Update dimension schema"
3403
3267
  }
3404
3268
  ```
3405
3269
 
@@ -3414,16 +3278,15 @@ Modify properties of an existing measure
3414
3278
  ```json
3415
3279
  {
3416
3280
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3417
- "title": "Update measure schema",
3418
3281
  "type": "object",
3419
3282
  "properties": {
3420
3283
  "dataItemInternalKey": {
3421
- "description": "Internal key of the data item of the measure to be updated",
3422
- "type": "string"
3284
+ "type": "string",
3285
+ "description": "Internal key of the data item of the measure to be updated"
3423
3286
  },
3424
3287
  "dataItemUniqueSignature": {
3425
- "description": "Unique signature of the data item of the measure to be updated",
3426
- "type": "string"
3288
+ "type": "string",
3289
+ "description": "Unique signature of the data item of the measure to be updated"
3427
3290
  },
3428
3291
  "changes": {
3429
3292
  "type": "object",
@@ -3447,6 +3310,7 @@ Modify properties of an existing measure
3447
3310
  }
3448
3311
  },
3449
3312
  "required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
3450
- "additionalProperties": false
3313
+ "additionalProperties": false,
3314
+ "title": "Update measure schema"
3451
3315
  }
3452
3316
  ```