@astrato-io/visualizations 0.0.0-stage → 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 (139) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/LICENSE +93 -0
  3. package/README.md +843 -2
  4. package/THIRD_PARTY_NOTICES.md +8477 -0
  5. package/VISUALIZATION_DEFINITIONS.md +2378 -0
  6. package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
  7. package/chunks/LinearProgress-B1FeWaen.js +253 -0
  8. package/chunks/accessors-DemrDevR.js +128 -0
  9. package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
  10. package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
  11. package/chunks/builder-B6dWSIdD.js +12289 -0
  12. package/chunks/color-settings-ZIvgNTq1.js +10 -0
  13. package/chunks/coloring-B1XAfg6b.js +664 -0
  14. package/chunks/debounce-fn-CUixuz45.js +7 -0
  15. package/chunks/definitions-D3OVqmXl.js +2102 -0
  16. package/chunks/escobar-eDjtGpkC.js +34606 -0
  17. package/chunks/events-WZut5Ow6.js +4 -0
  18. package/chunks/extend-BKUkc4_i.js +37 -0
  19. package/chunks/filter.compiler-DBsyRBJt.js +70 -0
  20. package/chunks/filtering-tqjAyJH5.js +1072 -0
  21. package/chunks/grouping-type-On4s9Thj.js +3 -0
  22. package/chunks/handlers-VTBfIZYZ.js +13072 -0
  23. package/chunks/isEqual-BDxAhUo8.js +7514 -0
  24. package/chunks/line.compiler-CzdM5Ld0.js +198 -0
  25. package/chunks/metadata-BGElBy5Z.js +28 -0
  26. package/chunks/number.compiler-G-R7y16P.js +53 -0
  27. package/chunks/operations-CTNUX6Sy.js +26249 -0
  28. package/chunks/range-CiwTbMig.js +22 -0
  29. package/chunks/registry-CsQQzukD.js +920 -0
  30. package/chunks/requirements-DYjZCFyf.js +6 -0
  31. package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
  32. package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
  33. package/chunks/shared-CBvcC5YV.js +1218 -0
  34. package/chunks/src-BOS6SqkZ.js +67 -0
  35. package/chunks/src-D9XogOrc.js +422 -0
  36. package/chunks/standalone-0M4HlmDW2.js +3944 -0
  37. package/chunks/standalone-0ashe9w1.js +411 -0
  38. package/chunks/standalone-B7jax8wa.js +339 -0
  39. package/chunks/standalone-BK0VYU-l.js +463 -0
  40. package/chunks/standalone-BMIbT1b2.js +4619 -0
  41. package/chunks/standalone-BZV5vOwA.js +6 -0
  42. package/chunks/standalone-BhDrWj4p.js +1980 -0
  43. package/chunks/standalone-BtSHCp2U2.js +673 -0
  44. package/chunks/standalone-BvaKdky9.js +344 -0
  45. package/chunks/standalone-BwtM31-f.js +2 -0
  46. package/chunks/standalone-C3gg736V.js +1129 -0
  47. package/chunks/standalone-CC1VUjO32.js +299 -0
  48. package/chunks/standalone-C_rYnZ0N.js +741 -0
  49. package/chunks/standalone-CoLrAxRV.js +13198 -0
  50. package/chunks/standalone-DC-aUgXC.js +3855 -0
  51. package/chunks/standalone-DCtRoTWg.js +675 -0
  52. package/chunks/standalone-DUDFTBqL.js +833 -0
  53. package/chunks/standalone-DhZkX9Td.js +2 -0
  54. package/chunks/standalone-DtLElfuM.js +512 -0
  55. package/chunks/standalone-G9Q4Uczu.js +726 -0
  56. package/chunks/standalone-JuLF-OoH.js +1762 -0
  57. package/chunks/standalone-_DeX21JJ.js +383 -0
  58. package/chunks/standalone-gFhKZh8m.js +179 -0
  59. package/chunks/standalone-tDNy-SFH.js +281 -0
  60. package/chunks/standalone-v1oxfU20.js +68 -0
  61. package/chunks/standalone-vzBY6q0I2.js +140 -0
  62. package/chunks/stroke-dash-UgMEcCS4.js +6 -0
  63. package/chunks/table.compiler-tb914oj3.js +222 -0
  64. package/chunks/typeof-CJDtcySz.js +13 -0
  65. package/chunks/ui-DQWtv2iM.js +63551 -0
  66. package/chunks/url-utils-B17gj_mr.js +5501 -0
  67. package/chunks/useFieldName-BvdcoJRl.js +7 -0
  68. package/chunks/utils-Bg7K-t6K.js +32379 -0
  69. package/chunks/view-Bn83C8d9.js +12466 -0
  70. package/definitions.js +3 -0
  71. package/docs/operations/astrato-app-filter-bar.md +161 -0
  72. package/docs/operations/bar.md +6968 -0
  73. package/docs/operations/combo.md +5804 -0
  74. package/docs/operations/date-picker.md +644 -0
  75. package/docs/operations/distribution-gauge.md +3082 -0
  76. package/docs/operations/dot.md +5570 -0
  77. package/docs/operations/filter.md +1483 -0
  78. package/docs/operations/gauge.md +3316 -0
  79. package/docs/operations/heatMap.md +5944 -0
  80. package/docs/operations/histogram.md +1856 -0
  81. package/docs/operations/iframe.md +56 -0
  82. package/docs/operations/image.md +177 -0
  83. package/docs/operations/index.md +46 -0
  84. package/docs/operations/line.md +6391 -0
  85. package/docs/operations/number.md +3903 -0
  86. package/docs/operations/pie.md +5956 -0
  87. package/docs/operations/radar.md +4566 -0
  88. package/docs/operations/sankey.md +3088 -0
  89. package/docs/operations/scatter.md +5969 -0
  90. package/docs/operations/shape.md +315 -0
  91. package/docs/operations/simpleTextObject.md +699 -0
  92. package/docs/operations/slider.md +220 -0
  93. package/docs/operations/table.md +8800 -0
  94. package/docs/operations/tree.md +2867 -0
  95. package/docs/operations/treemap.md +3527 -0
  96. package/docs/operations/waterfall.md +2928 -0
  97. package/docs/operations/word-cloud.md +3000 -0
  98. package/getters.js +18 -0
  99. package/index.js +1183 -0
  100. package/metadata.js +20 -0
  101. package/operations.js +64 -0
  102. package/package.json +185 -4
  103. package/src/definitions/index.d.ts +2 -0
  104. package/src/definitions/model/definitions/available-fields.d.ts +35 -0
  105. package/src/definitions/model/definitions/compilers/compile.d.ts +7 -0
  106. package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
  107. package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
  108. package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
  109. package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
  110. package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
  111. package/src/definitions/model/definitions/index.d.ts +23 -0
  112. package/src/definitions/model/definitions/registry/compile.d.ts +2 -0
  113. package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
  114. package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
  115. package/src/definitions/model/definitions/schemas/app-filter-bar.schema.d.ts +22 -0
  116. package/src/definitions/model/definitions/schemas/bar.schema.d.ts +73 -0
  117. package/src/definitions/model/definitions/schemas/broad-chart.schema.d.ts +68 -0
  118. package/src/definitions/model/definitions/schemas/common.schema.d.ts +303 -0
  119. package/src/definitions/model/definitions/schemas/filter.schema.d.ts +22 -0
  120. package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
  121. package/src/definitions/model/definitions/schemas/line.schema.d.ts +72 -0
  122. package/src/definitions/model/definitions/schemas/number.schema.d.ts +21 -0
  123. package/src/definitions/model/definitions/schemas/object.schema.d.ts +215 -0
  124. package/src/definitions/model/definitions/schemas/table.schema.d.ts +458 -0
  125. package/src/definitions/model/definitions/types/compilation.types.d.ts +36 -0
  126. package/src/definitions/model/definitions/types/definition.types.d.ts +2 -0
  127. package/src/definitions/model/definitions/types/descriptor.types.d.ts +39 -0
  128. package/src/definitions/model/definitions/types/index.d.ts +3 -0
  129. package/src/definitions/model/definitions/validation.d.ts +3 -0
  130. package/src/getters/index.d.ts +30 -0
  131. package/src/index.d.ts +4 -0
  132. package/src/metadata/index.d.ts +4 -0
  133. package/src/operations/index.d.ts +30 -0
  134. package/src/registry/index.d.ts +6 -0
  135. package/src/runtime/index.d.ts +2 -0
  136. package/src/types.d.ts +307 -0
  137. package/src/visualization-catalog.d.ts +82 -0
  138. package/src/web-components/index.d.ts +12 -0
  139. package/styles.css +2 -0
@@ -0,0 +1,1483 @@
1
+ <!-- Generated from operation manifests. Do not edit this file manually. -->
2
+
3
+ # `filter` operations
4
+
5
+ Reference for `@astrato-io/visualizations@0.6.5`.
6
+
7
+ [All visualization types](./index.md)
8
+
9
+ Use each schema below for the request’s `payload`, not for the whole operation request. Names and payloads are specific to this visualization type. An operation can still require particular fields or chart state; see its description.
10
+
11
+ ## Available operations
12
+
13
+ - [`addFilterDimension`](#addfilterdimension)
14
+ - [`addFilterMeasure`](#addfiltermeasure)
15
+ - [`changeFilterMeasureAggregation`](#changefiltermeasureaggregation)
16
+ - [`removeFilterDimension`](#removefilterdimension)
17
+ - [`removeFilterMeasure`](#removefiltermeasure)
18
+ - [`setDimensionFormatString`](#setdimensionformatstring)
19
+ - [`setDimensionFormatType`](#setdimensionformattype)
20
+ - [`setDimensionTemporalGrouping`](#setdimensiontemporalgrouping)
21
+ - [`setFilterBackgroundColor`](#setfilterbackgroundcolor)
22
+ - [`setFilterBorderColor`](#setfilterbordercolor)
23
+ - [`setFilterBorderEnabled`](#setfilterborderenabled)
24
+ - [`setFilterBorderRadius`](#setfilterborderradius)
25
+ - [`setFilterBorderStyle`](#setfilterborderstyle)
26
+ - [`setFilterBorderWidth`](#setfilterborderwidth)
27
+ - [`setFilterFontStyle`](#setfilterfontstyle)
28
+ - [`setFilterMeasureValueLabel`](#setfiltermeasurevaluelabel)
29
+ - [`setFilterMode`](#setfiltermode)
30
+ - [`setFilterProgressBarColor`](#setfilterprogressbarcolor)
31
+ - [`setFilterQuickSelect`](#setfilterquickselect)
32
+ - [`setFilterResponsive`](#setfilterresponsive)
33
+ - [`setFilterSearchable`](#setfiltersearchable)
34
+ - [`setFilterShowMeasureLabel`](#setfiltershowmeasurelabel)
35
+ - [`setFilterShowProgressBar`](#setfiltershowprogressbar)
36
+ - [`setFilterSource`](#setfiltersource)
37
+ - [`setMeasureCurrency`](#setmeasurecurrency)
38
+ - [`setMeasureCurrencyIsPrefix`](#setmeasurecurrencyisprefix)
39
+ - [`setMeasureDefinedParameter`](#setmeasuredefinedparameter)
40
+ - [`setMeasureFormatString`](#setmeasureformatstring)
41
+ - [`setMeasureFormatType`](#setmeasureformattype)
42
+ - [`setMeasureNegativeType`](#setmeasurenegativetype)
43
+ - [`setSortingDirection`](#setsortingdirection)
44
+ - [`setSortingEnabled`](#setsortingenabled)
45
+ - [`setStaticFilterGroup`](#setstaticfiltergroup)
46
+
47
+ ## `addFilterDimension`
48
+
49
+ Add filter dimension
50
+
51
+ Add one primary dimension to the filter. Only the filter-dimension role is supported; filter-image dimensions are not supported.
52
+
53
+ **Payload schema**
54
+
55
+ ```json
56
+ {
57
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
58
+ "type": "object",
59
+ "properties": {
60
+ "key": {
61
+ "type": "string",
62
+ "description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
63
+ },
64
+ "role": {
65
+ "type": "string",
66
+ "enum": ["filter-dimension"]
67
+ }
68
+ },
69
+ "required": ["key"],
70
+ "additionalProperties": false,
71
+ "title": "Add filter dimension schema"
72
+ }
73
+ ```
74
+
75
+ ## `addFilterMeasure`
76
+
77
+ Add filter measure
78
+
79
+ Add a measure to display additional values in the filter
80
+
81
+ **Payload schema**
82
+
83
+ ```json
84
+ {
85
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
86
+ "oneOf": [
87
+ {
88
+ "type": "object",
89
+ "properties": {
90
+ "sourceKind": {
91
+ "type": "string",
92
+ "const": "field",
93
+ "description": "Raw database field from available data `fields`."
94
+ },
95
+ "key": {
96
+ "type": "string",
97
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
98
+ },
99
+ "aggregation": {
100
+ "type": "string",
101
+ "description": "Required for raw database fields. Use one of the aggregation names returned for that field."
102
+ }
103
+ },
104
+ "required": ["sourceKind", "key", "aggregation"],
105
+ "additionalProperties": false
106
+ },
107
+ {
108
+ "type": "object",
109
+ "properties": {
110
+ "sourceKind": {
111
+ "type": "string",
112
+ "const": "measure",
113
+ "description": "Predefined/user-defined measure from available data `measures`."
114
+ },
115
+ "key": {
116
+ "type": "string",
117
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
118
+ }
119
+ },
120
+ "required": ["sourceKind", "key"],
121
+ "additionalProperties": false
122
+ },
123
+ {
124
+ "type": "object",
125
+ "properties": {
126
+ "sourceKind": {
127
+ "type": "string",
128
+ "const": "calculation",
129
+ "description": "Predefined calculation from available data `measures`."
130
+ },
131
+ "key": {
132
+ "type": "string",
133
+ "description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
134
+ }
135
+ },
136
+ "required": ["sourceKind", "key"],
137
+ "additionalProperties": false
138
+ }
139
+ ],
140
+ "title": "Add filter measure schema"
141
+ }
142
+ ```
143
+
144
+ ## `changeFilterMeasureAggregation`
145
+
146
+ Filter measure aggregation
147
+
148
+ Change how a filter measure is aggregated
149
+
150
+ **Payload schema**
151
+
152
+ ```json
153
+ {
154
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
155
+ "type": "object",
156
+ "properties": {
157
+ "dataItemInternalKey": {
158
+ "type": "string",
159
+ "description": "Internal key of the data item of the measure to be updated"
160
+ },
161
+ "dataItemUniqueSignature": {
162
+ "type": "string",
163
+ "description": "Unique signature of the data item of the measure to be updated"
164
+ },
165
+ "aggregation": {
166
+ "type": "string",
167
+ "minLength": 1,
168
+ "description": "Aggregation function to be used for the measure"
169
+ }
170
+ },
171
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
172
+ "additionalProperties": false,
173
+ "title": "Change filter measure aggregation schema"
174
+ }
175
+ ```
176
+
177
+ ## `removeFilterDimension`
178
+
179
+ Remove filter dimension
180
+
181
+ Remove a primary dimension from the filter
182
+
183
+ **Payload schema**
184
+
185
+ ```json
186
+ {
187
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
188
+ "type": "object",
189
+ "properties": {
190
+ "dataItemInternalKey": {
191
+ "type": "string",
192
+ "description": "Internal key of the data item of the dimension to be removed"
193
+ },
194
+ "dataItemUniqueSignature": {
195
+ "type": "string",
196
+ "description": "Unique signature of the data item of the dimension to be removed"
197
+ }
198
+ },
199
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
200
+ "additionalProperties": false,
201
+ "title": "Remove filter dimension schema"
202
+ }
203
+ ```
204
+
205
+ ## `removeFilterMeasure`
206
+
207
+ Remove filter measure
208
+
209
+ Remove a measure from the filter
210
+
211
+ **Payload schema**
212
+
213
+ ```json
214
+ {
215
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
216
+ "type": "object",
217
+ "properties": {
218
+ "dataItemInternalKey": {
219
+ "type": "string",
220
+ "description": "Internal key of the data item of the measure to be removed"
221
+ },
222
+ "dataItemUniqueSignature": {
223
+ "type": "string",
224
+ "description": "Unique signature of the data item of the measure to be removed"
225
+ }
226
+ },
227
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
228
+ "additionalProperties": false,
229
+ "title": "Remove filter measure schema"
230
+ }
231
+ ```
232
+
233
+ ## `setDimensionFormatString`
234
+
235
+ Dimension format string
236
+
237
+ Set the custom display format string for a dimension. This changes label formatting only and does not change temporal grouping.
238
+
239
+ **Payload schema**
240
+
241
+ ```json
242
+ {
243
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
244
+ "type": "object",
245
+ "properties": {
246
+ "dataItemInternalKey": {
247
+ "type": "string",
248
+ "description": "Internal key of the data item of the dimension to be updated"
249
+ },
250
+ "dataItemUniqueSignature": {
251
+ "type": "string",
252
+ "description": "Unique signature of the data item of the dimension to be updated"
253
+ },
254
+ "formatString": {
255
+ "anyOf": [
256
+ {
257
+ "type": "string"
258
+ },
259
+ {
260
+ "type": "object",
261
+ "properties": {
262
+ "type": {
263
+ "type": "string",
264
+ "const": "variable"
265
+ },
266
+ "variableName": {
267
+ "type": "string"
268
+ }
269
+ },
270
+ "required": ["type", "variableName"],
271
+ "additionalProperties": false
272
+ }
273
+ ]
274
+ }
275
+ },
276
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
277
+ "additionalProperties": false,
278
+ "title": "Dimension format string schema"
279
+ }
280
+ ```
281
+
282
+ ## `setDimensionFormatType`
283
+
284
+ Dimension format type
285
+
286
+ Set the display format type used by a dimension. This changes label formatting only and does not change temporal grouping.
287
+
288
+ **Payload schema**
289
+
290
+ ```json
291
+ {
292
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
293
+ "type": "object",
294
+ "properties": {
295
+ "dataItemInternalKey": {
296
+ "type": "string",
297
+ "description": "Internal key of the data item of the dimension to be updated"
298
+ },
299
+ "dataItemUniqueSignature": {
300
+ "type": "string",
301
+ "description": "Unique signature of the data item of the dimension to be updated"
302
+ },
303
+ "formatType": {
304
+ "anyOf": [
305
+ {
306
+ "type": "string",
307
+ "enum": [
308
+ "custom",
309
+ "inherit",
310
+ "none",
311
+ "defaultNumber",
312
+ "defaultMoney",
313
+ "numberNoDecimal",
314
+ "number1Decimal",
315
+ "number2Decimal",
316
+ "abbreviationAuto",
317
+ "abbreviationNoDecimal",
318
+ "abbreviation1Decimal",
319
+ "abbreviation2Decimal",
320
+ "percentageNoDecimal",
321
+ "percentage1Decimal",
322
+ "percentage2Decimal",
323
+ "money0Decimal",
324
+ "money2Decimal",
325
+ "durationDays",
326
+ "durationHours",
327
+ "durationMinutes",
328
+ "durationSeconds"
329
+ ]
330
+ },
331
+ {
332
+ "type": "string",
333
+ "enum": [
334
+ "defaultDate",
335
+ "defaultDatetime",
336
+ "defaultTime",
337
+ "ddmmyyyy",
338
+ "ddmmyyyy2",
339
+ "ddmmyyyy3",
340
+ "yyyymmdd",
341
+ "mmddyyyy",
342
+ "mmddyyyy2",
343
+ "ddmmmmyyyy",
344
+ "ddmmmyyyy",
345
+ "ddmmmyy",
346
+ "mmmmddyyyy",
347
+ "yyyy",
348
+ "yy",
349
+ "mmmyyyy",
350
+ "yyyymmm",
351
+ "yyyymmmm",
352
+ "mmyyyy",
353
+ "yyyymm",
354
+ "mmmmyyyy",
355
+ "yyyywn",
356
+ "wnyyyy",
357
+ "yywn",
358
+ "yyyyq",
359
+ "qyyyy",
360
+ "yyyymmddhhmmss",
361
+ "yyyymmddhmmss",
362
+ "yyyymmddhhmm",
363
+ "yyyymmddhh",
364
+ "yyyymmddhmm",
365
+ "yyyymmddh",
366
+ "ddmmmyyyyhhmmss",
367
+ "ddmmmyyyyhmmss",
368
+ "ddmmmyyyyhhmm",
369
+ "ddmmmyyyyhmm",
370
+ "ddmmmyyyyh",
371
+ "hhmmss",
372
+ "hhmm",
373
+ "hmm",
374
+ "h",
375
+ "hh",
376
+ "hmmss",
377
+ "month",
378
+ "month2",
379
+ "monthn",
380
+ "month3",
381
+ "quarter",
382
+ "quarter2",
383
+ "week1",
384
+ "week2",
385
+ "week3",
386
+ "day",
387
+ "dayOfWeek",
388
+ "hhn",
389
+ "hn"
390
+ ]
391
+ }
392
+ ]
393
+ }
394
+ },
395
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
396
+ "additionalProperties": false,
397
+ "title": "Dimension format type schema"
398
+ }
399
+ ```
400
+
401
+ ## `setDimensionTemporalGrouping`
402
+
403
+ Dimension temporal grouping
404
+
405
+ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel for year-aware buckets such as month-over-time, mode "part" with datePart for date parts such as month-of-year, or mode "none" to clear temporal grouping.
406
+
407
+ **Payload schema**
408
+
409
+ ```json
410
+ {
411
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
412
+ "oneOf": [
413
+ {
414
+ "type": "object",
415
+ "properties": {
416
+ "dataItemInternalKey": {
417
+ "type": "string",
418
+ "description": "Internal key of the data item of the dimension to be updated"
419
+ },
420
+ "dataItemUniqueSignature": {
421
+ "type": "string",
422
+ "description": "Unique signature of the data item of the dimension to be updated"
423
+ },
424
+ "mode": {
425
+ "type": "string",
426
+ "const": "none"
427
+ }
428
+ },
429
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode"],
430
+ "additionalProperties": false
431
+ },
432
+ {
433
+ "type": "object",
434
+ "properties": {
435
+ "dataItemInternalKey": {
436
+ "type": "string",
437
+ "description": "Internal key of the data item of the dimension to be updated"
438
+ },
439
+ "dataItemUniqueSignature": {
440
+ "type": "string",
441
+ "description": "Unique signature of the data item of the dimension to be updated"
442
+ },
443
+ "mode": {
444
+ "type": "string",
445
+ "const": "level"
446
+ },
447
+ "dateLevel": {
448
+ "type": "string",
449
+ "enum": [
450
+ "year",
451
+ "year-end",
452
+ "quarter",
453
+ "quarter-end",
454
+ "month",
455
+ "month-end",
456
+ "week",
457
+ "week-end",
458
+ "day",
459
+ "hour",
460
+ "minute",
461
+ "second"
462
+ ]
463
+ }
464
+ },
465
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "dateLevel"],
466
+ "additionalProperties": false
467
+ },
468
+ {
469
+ "type": "object",
470
+ "properties": {
471
+ "dataItemInternalKey": {
472
+ "type": "string",
473
+ "description": "Internal key of the data item of the dimension to be updated"
474
+ },
475
+ "dataItemUniqueSignature": {
476
+ "type": "string",
477
+ "description": "Unique signature of the data item of the dimension to be updated"
478
+ },
479
+ "mode": {
480
+ "type": "string",
481
+ "const": "part"
482
+ },
483
+ "datePart": {
484
+ "type": "string",
485
+ "enum": [
486
+ "year",
487
+ "month",
488
+ "day",
489
+ "dayofweekiso",
490
+ "dayofyear",
491
+ "weekiso",
492
+ "quarter",
493
+ "yearofweekiso",
494
+ "hour",
495
+ "minute",
496
+ "second"
497
+ ]
498
+ }
499
+ },
500
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
501
+ "additionalProperties": false
502
+ }
503
+ ],
504
+ "title": "Dimension temporal grouping schema"
505
+ }
506
+ ```
507
+
508
+ ## `setFilterBackgroundColor`
509
+
510
+ Background color
511
+
512
+ Set the filter background color
513
+
514
+ **Payload schema**
515
+
516
+ ```json
517
+ {
518
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
519
+ "anyOf": [
520
+ {
521
+ "type": "string",
522
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
523
+ },
524
+ {
525
+ "type": "null"
526
+ }
527
+ ],
528
+ "description": "Background color (hex, with optional alpha)",
529
+ "title": "Filter background color schema"
530
+ }
531
+ ```
532
+
533
+ ## `setFilterBorderColor`
534
+
535
+ Border color
536
+
537
+ Set the filter border color
538
+
539
+ **Payload schema**
540
+
541
+ ```json
542
+ {
543
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
544
+ "description": "Border color",
545
+ "title": "Filter border color schema",
546
+ "type": "string",
547
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
548
+ }
549
+ ```
550
+
551
+ ## `setFilterBorderEnabled`
552
+
553
+ Border enabled
554
+
555
+ Enable or disable the filter border
556
+
557
+ **Payload schema**
558
+
559
+ ```json
560
+ {
561
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
562
+ "description": "Whether border is enabled",
563
+ "title": "Filter border enabled schema",
564
+ "type": "boolean"
565
+ }
566
+ ```
567
+
568
+ ## `setFilterBorderRadius`
569
+
570
+ Border radius
571
+
572
+ Set the filter border radius in pixels
573
+
574
+ **Payload schema**
575
+
576
+ ```json
577
+ {
578
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
579
+ "description": "Border radius in pixels",
580
+ "title": "Filter border radius schema",
581
+ "type": "number",
582
+ "minimum": 0,
583
+ "maximum": 100
584
+ }
585
+ ```
586
+
587
+ ## `setFilterBorderStyle`
588
+
589
+ Border style
590
+
591
+ Set the filter border style
592
+
593
+ **Payload schema**
594
+
595
+ ```json
596
+ {
597
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
598
+ "description": "Border style - line, dashed, dotted",
599
+ "title": "Filter border style schema",
600
+ "type": "string",
601
+ "enum": ["line", "dashed", "dotted"]
602
+ }
603
+ ```
604
+
605
+ ## `setFilterBorderWidth`
606
+
607
+ Border width
608
+
609
+ Set the filter border width in pixels
610
+
611
+ **Payload schema**
612
+
613
+ ```json
614
+ {
615
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
616
+ "description": "Border width in pixels",
617
+ "title": "Filter border width schema",
618
+ "type": "number",
619
+ "minimum": 1,
620
+ "maximum": 20
621
+ }
622
+ ```
623
+
624
+ ## `setFilterFontStyle`
625
+
626
+ Filter font style
627
+
628
+ Update filter font family, size, color, or style
629
+
630
+ **Payload schema**
631
+
632
+ ```json
633
+ {
634
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
635
+ "type": "object",
636
+ "properties": {
637
+ "weight": {
638
+ "description": "Font weight",
639
+ "type": ["number", "null"]
640
+ },
641
+ "bold": {
642
+ "description": "Bold font. Should take precedence over weight",
643
+ "type": "boolean"
644
+ },
645
+ "italic": {
646
+ "type": "boolean"
647
+ },
648
+ "underlined": {
649
+ "type": "boolean"
650
+ },
651
+ "strikethrough": {
652
+ "type": "boolean"
653
+ },
654
+ "fontFamily": {
655
+ "type": ["string", "null"]
656
+ },
657
+ "fontSize": {
658
+ "type": "number"
659
+ },
660
+ "fontColor": {
661
+ "anyOf": [
662
+ {
663
+ "type": "string",
664
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
665
+ },
666
+ {
667
+ "type": "null"
668
+ }
669
+ ],
670
+ "description": "Font color (hex, with optional alpha)"
671
+ }
672
+ },
673
+ "additionalProperties": false,
674
+ "title": "Filter font style schema"
675
+ }
676
+ ```
677
+
678
+ ## `setFilterMeasureValueLabel`
679
+
680
+ Filter measure value label
681
+
682
+ Set the label shown for a measure value in the filter
683
+
684
+ **Payload schema**
685
+
686
+ ```json
687
+ {
688
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
689
+ "type": "object",
690
+ "properties": {
691
+ "dataItemInternalKey": {
692
+ "type": "string",
693
+ "description": "Internal key of the data item of the measure to be updated"
694
+ },
695
+ "dataItemUniqueSignature": {
696
+ "type": "string",
697
+ "description": "Unique signature of the data item of the measure to be updated"
698
+ },
699
+ "filterValueLabel": {
700
+ "type": "string"
701
+ }
702
+ },
703
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
704
+ "additionalProperties": false,
705
+ "title": "Filter measure value label schema"
706
+ }
707
+ ```
708
+
709
+ ## `setFilterMode`
710
+
711
+ Filter mode
712
+
713
+ Set the filter display mode. Supported modes are dropdown and listbox.
714
+
715
+ **Payload schema**
716
+
717
+ ```json
718
+ {
719
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
720
+ "type": "string",
721
+ "enum": ["dropdown", "listbox"],
722
+ "title": "Filter mode schema"
723
+ }
724
+ ```
725
+
726
+ ## `setFilterProgressBarColor`
727
+
728
+ Progress bar color
729
+
730
+ Set the filter progress bar color
731
+
732
+ **Payload schema**
733
+
734
+ ```json
735
+ {
736
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
737
+ "description": "Progress bar color (hex, with optional alpha)",
738
+ "title": "Filter progress bar color schema",
739
+ "type": "string",
740
+ "pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
741
+ }
742
+ ```
743
+
744
+ ## `setFilterQuickSelect`
745
+
746
+ Quick select
747
+
748
+ Enable or disable immediate filtering when a value is selected
749
+
750
+ **Payload schema**
751
+
752
+ ```json
753
+ {
754
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
755
+ "description": "Enable quick select filtering",
756
+ "title": "Filter quick select schema",
757
+ "type": "boolean"
758
+ }
759
+ ```
760
+
761
+ ## `setFilterResponsive`
762
+
763
+ Responsive
764
+
765
+ Enable or disable responsive filter sizing
766
+
767
+ **Payload schema**
768
+
769
+ ```json
770
+ {
771
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
772
+ "description": "Whether filter is responsive",
773
+ "title": "Filter responsive schema",
774
+ "type": "boolean"
775
+ }
776
+ ```
777
+
778
+ ## `setFilterSearchable`
779
+
780
+ Searchable
781
+
782
+ Enable or disable search in the filter values
783
+
784
+ **Payload schema**
785
+
786
+ ```json
787
+ {
788
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
789
+ "description": "Enable search functionality",
790
+ "title": "Filter searchable schema",
791
+ "type": "boolean"
792
+ }
793
+ ```
794
+
795
+ ## `setFilterShowMeasureLabel`
796
+
797
+ Show measure label
798
+
799
+ Show or hide the measure label in the filter title
800
+
801
+ **Payload schema**
802
+
803
+ ```json
804
+ {
805
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
806
+ "description": "Show measure label in title",
807
+ "title": "Filter show measure label schema",
808
+ "type": "boolean"
809
+ }
810
+ ```
811
+
812
+ ## `setFilterShowProgressBar`
813
+
814
+ Show progress bar
815
+
816
+ Show or hide progress bars for measure values
817
+
818
+ **Payload schema**
819
+
820
+ ```json
821
+ {
822
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
823
+ "description": "Show progress bar for measures",
824
+ "title": "Filter show progress bar schema",
825
+ "type": "boolean"
826
+ }
827
+ ```
828
+
829
+ ## `setFilterSource`
830
+
831
+ Filter source
832
+
833
+ Set the filter source
834
+
835
+ **Payload schema**
836
+
837
+ ```json
838
+ {
839
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
840
+ "type": "string",
841
+ "enum": ["manual", "engine"],
842
+ "description": "Filter source - manual or engine",
843
+ "title": "Filter source schema"
844
+ }
845
+ ```
846
+
847
+ ## `setMeasureCurrency`
848
+
849
+ Measure currency
850
+
851
+ Set the currency symbol used by a measure formatter
852
+
853
+ **Payload schema**
854
+
855
+ ```json
856
+ {
857
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
858
+ "type": "object",
859
+ "properties": {
860
+ "dataItemInternalKey": {
861
+ "type": "string",
862
+ "description": "Internal key of the data item of the measure to be updated"
863
+ },
864
+ "dataItemUniqueSignature": {
865
+ "type": "string",
866
+ "description": "Unique signature of the data item of the measure to be updated"
867
+ },
868
+ "currency": {
869
+ "type": "string"
870
+ }
871
+ },
872
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
873
+ "additionalProperties": false,
874
+ "title": "Measure currency schema"
875
+ }
876
+ ```
877
+
878
+ ## `setMeasureCurrencyIsPrefix`
879
+
880
+ Measure currency is prefix
881
+
882
+ Set whether measure currency symbol is prefixed
883
+
884
+ **Payload schema**
885
+
886
+ ```json
887
+ {
888
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
889
+ "type": "object",
890
+ "properties": {
891
+ "dataItemInternalKey": {
892
+ "type": "string",
893
+ "description": "Internal key of the data item of the measure to be updated"
894
+ },
895
+ "dataItemUniqueSignature": {
896
+ "type": "string",
897
+ "description": "Unique signature of the data item of the measure to be updated"
898
+ },
899
+ "currencyIsPrefix": {
900
+ "type": "boolean"
901
+ }
902
+ },
903
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
904
+ "additionalProperties": false,
905
+ "title": "Measure currency is prefix schema"
906
+ }
907
+ ```
908
+
909
+ ## `setMeasureDefinedParameter`
910
+
911
+ Measure defined parameter
912
+
913
+ Configure a Defined parameter of a custom measure using its default, a static value, or an existing compatible workbook variable
914
+
915
+ **Payload schema**
916
+
917
+ ```json
918
+ {
919
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
920
+ "type": "object",
921
+ "properties": {
922
+ "dataItemInternalKey": {
923
+ "type": "string",
924
+ "description": "Internal key of the data item of the measure to be updated"
925
+ },
926
+ "dataItemUniqueSignature": {
927
+ "type": "string",
928
+ "description": "Unique signature of the data item of the measure to be updated"
929
+ },
930
+ "collectionKey": {
931
+ "description": "Measure collection to update. Defaults to primary measures.",
932
+ "type": "string",
933
+ "enum": ["measures", "supportingMeasures"]
934
+ },
935
+ "parameterName": {
936
+ "type": "string",
937
+ "minLength": 1,
938
+ "description": "Exact name of a Defined parameter exposed by the measure"
939
+ },
940
+ "value": {
941
+ "oneOf": [
942
+ {
943
+ "type": "object",
944
+ "properties": {
945
+ "type": {
946
+ "type": "string",
947
+ "const": "default"
948
+ }
949
+ },
950
+ "required": ["type"],
951
+ "additionalProperties": false
952
+ },
953
+ {
954
+ "type": "object",
955
+ "properties": {
956
+ "type": {
957
+ "type": "string",
958
+ "const": "static"
959
+ },
960
+ "value": {
961
+ "type": ["string", "number", "boolean"]
962
+ }
963
+ },
964
+ "required": ["type", "value"],
965
+ "additionalProperties": false
966
+ },
967
+ {
968
+ "type": "object",
969
+ "properties": {
970
+ "type": {
971
+ "type": "string",
972
+ "const": "variable"
973
+ },
974
+ "variableName": {
975
+ "type": "string",
976
+ "minLength": 1,
977
+ "description": "Exact name of an existing compatible workbook variable"
978
+ }
979
+ },
980
+ "required": ["type", "variableName"],
981
+ "additionalProperties": false
982
+ }
983
+ ],
984
+ "description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
985
+ }
986
+ },
987
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
988
+ "additionalProperties": false,
989
+ "title": "Set measure defined parameter schema"
990
+ }
991
+ ```
992
+
993
+ ## `setMeasureFormatString`
994
+
995
+ Measure format string
996
+
997
+ Set the custom format string for a measure
998
+
999
+ **Payload schema**
1000
+
1001
+ ```json
1002
+ {
1003
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1004
+ "type": "object",
1005
+ "properties": {
1006
+ "dataItemInternalKey": {
1007
+ "type": "string",
1008
+ "description": "Internal key of the data item of the measure to be updated"
1009
+ },
1010
+ "dataItemUniqueSignature": {
1011
+ "type": "string",
1012
+ "description": "Unique signature of the data item of the measure to be updated"
1013
+ },
1014
+ "formatString": {
1015
+ "anyOf": [
1016
+ {
1017
+ "type": "string"
1018
+ },
1019
+ {
1020
+ "type": "object",
1021
+ "properties": {
1022
+ "type": {
1023
+ "type": "string",
1024
+ "const": "variable"
1025
+ },
1026
+ "variableName": {
1027
+ "type": "string"
1028
+ }
1029
+ },
1030
+ "required": ["type", "variableName"],
1031
+ "additionalProperties": false
1032
+ }
1033
+ ]
1034
+ }
1035
+ },
1036
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1037
+ "additionalProperties": false,
1038
+ "title": "Measure format string schema"
1039
+ }
1040
+ ```
1041
+
1042
+ ## `setMeasureFormatType`
1043
+
1044
+ Measure format type
1045
+
1046
+ Set the format type used by a measure
1047
+
1048
+ **Payload schema**
1049
+
1050
+ ```json
1051
+ {
1052
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1053
+ "type": "object",
1054
+ "properties": {
1055
+ "dataItemInternalKey": {
1056
+ "type": "string",
1057
+ "description": "Internal key of the data item of the measure to be updated"
1058
+ },
1059
+ "dataItemUniqueSignature": {
1060
+ "type": "string",
1061
+ "description": "Unique signature of the data item of the measure to be updated"
1062
+ },
1063
+ "formatType": {
1064
+ "anyOf": [
1065
+ {
1066
+ "type": "string",
1067
+ "enum": [
1068
+ "custom",
1069
+ "inherit",
1070
+ "none",
1071
+ "defaultNumber",
1072
+ "defaultMoney",
1073
+ "numberNoDecimal",
1074
+ "number1Decimal",
1075
+ "number2Decimal",
1076
+ "abbreviationAuto",
1077
+ "abbreviationNoDecimal",
1078
+ "abbreviation1Decimal",
1079
+ "abbreviation2Decimal",
1080
+ "percentageNoDecimal",
1081
+ "percentage1Decimal",
1082
+ "percentage2Decimal",
1083
+ "money0Decimal",
1084
+ "money2Decimal",
1085
+ "durationDays",
1086
+ "durationHours",
1087
+ "durationMinutes",
1088
+ "durationSeconds"
1089
+ ]
1090
+ },
1091
+ {
1092
+ "type": "string",
1093
+ "enum": [
1094
+ "defaultDate",
1095
+ "defaultDatetime",
1096
+ "defaultTime",
1097
+ "ddmmyyyy",
1098
+ "ddmmyyyy2",
1099
+ "ddmmyyyy3",
1100
+ "yyyymmdd",
1101
+ "mmddyyyy",
1102
+ "mmddyyyy2",
1103
+ "ddmmmmyyyy",
1104
+ "ddmmmyyyy",
1105
+ "ddmmmyy",
1106
+ "mmmmddyyyy",
1107
+ "yyyy",
1108
+ "yy",
1109
+ "mmmyyyy",
1110
+ "yyyymmm",
1111
+ "yyyymmmm",
1112
+ "mmyyyy",
1113
+ "yyyymm",
1114
+ "mmmmyyyy",
1115
+ "yyyywn",
1116
+ "wnyyyy",
1117
+ "yywn",
1118
+ "yyyyq",
1119
+ "qyyyy",
1120
+ "yyyymmddhhmmss",
1121
+ "yyyymmddhmmss",
1122
+ "yyyymmddhhmm",
1123
+ "yyyymmddhh",
1124
+ "yyyymmddhmm",
1125
+ "yyyymmddh",
1126
+ "ddmmmyyyyhhmmss",
1127
+ "ddmmmyyyyhmmss",
1128
+ "ddmmmyyyyhhmm",
1129
+ "ddmmmyyyyhmm",
1130
+ "ddmmmyyyyh",
1131
+ "hhmmss",
1132
+ "hhmm",
1133
+ "hmm",
1134
+ "h",
1135
+ "hh",
1136
+ "hmmss",
1137
+ "month",
1138
+ "month2",
1139
+ "monthn",
1140
+ "month3",
1141
+ "quarter",
1142
+ "quarter2",
1143
+ "week1",
1144
+ "week2",
1145
+ "week3",
1146
+ "day",
1147
+ "dayOfWeek",
1148
+ "hhn",
1149
+ "hn"
1150
+ ]
1151
+ }
1152
+ ]
1153
+ }
1154
+ },
1155
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
1156
+ "additionalProperties": false,
1157
+ "title": "Measure format type schema"
1158
+ }
1159
+ ```
1160
+
1161
+ ## `setMeasureNegativeType`
1162
+
1163
+ Measure negative type
1164
+
1165
+ Set how negative values are displayed for a measure formatter
1166
+
1167
+ **Payload schema**
1168
+
1169
+ ```json
1170
+ {
1171
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1172
+ "type": "object",
1173
+ "properties": {
1174
+ "dataItemInternalKey": {
1175
+ "type": "string",
1176
+ "description": "Internal key of the data item of the measure to be updated"
1177
+ },
1178
+ "dataItemUniqueSignature": {
1179
+ "type": "string",
1180
+ "description": "Unique signature of the data item of the measure to be updated"
1181
+ },
1182
+ "negativeType": {
1183
+ "type": "string",
1184
+ "enum": ["symbol", "parenthesis"]
1185
+ }
1186
+ },
1187
+ "required": ["dataItemInternalKey", "dataItemUniqueSignature"],
1188
+ "additionalProperties": false,
1189
+ "title": "Measure negative type schema"
1190
+ }
1191
+ ```
1192
+
1193
+ ## `setSortingDirection`
1194
+
1195
+ Sorting direction
1196
+
1197
+ Set sorting direction for all matching sortable items by name
1198
+
1199
+ **Payload schema**
1200
+
1201
+ ```json
1202
+ {
1203
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1204
+ "type": "object",
1205
+ "properties": {
1206
+ "name": {
1207
+ "type": "string",
1208
+ "minLength": 1
1209
+ },
1210
+ "sortDirection": {
1211
+ "type": "string",
1212
+ "enum": ["ascending", "descending"]
1213
+ }
1214
+ },
1215
+ "required": ["name", "sortDirection"],
1216
+ "additionalProperties": false,
1217
+ "title": "Sorting direction by name schema"
1218
+ }
1219
+ ```
1220
+
1221
+ ## `setSortingEnabled`
1222
+
1223
+ Sorting enabled
1224
+
1225
+ Enable or disable sorting for all matching sortable items by name
1226
+
1227
+ **Payload schema**
1228
+
1229
+ ```json
1230
+ {
1231
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1232
+ "type": "object",
1233
+ "properties": {
1234
+ "name": {
1235
+ "type": "string",
1236
+ "minLength": 1
1237
+ },
1238
+ "enabled": {
1239
+ "type": "boolean"
1240
+ }
1241
+ },
1242
+ "required": ["name"],
1243
+ "additionalProperties": false,
1244
+ "title": "Sorting enabled by name schema"
1245
+ }
1246
+ ```
1247
+
1248
+ ## `setStaticFilterGroup`
1249
+
1250
+ Set static filter group
1251
+
1252
+ Replace all static filters with a nested AND/OR filter group.
1253
+
1254
+ **Payload schema**
1255
+
1256
+ ```json
1257
+ {
1258
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
1259
+ "description": "Replace all static filters with this nested AND/OR filter group.",
1260
+ "title": "Set static filter group schema",
1261
+ "$ref": "#/$defs/__schema0",
1262
+ "$defs": {
1263
+ "__schema0": {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "operator": {
1267
+ "type": "string",
1268
+ "enum": ["and", "or"]
1269
+ },
1270
+ "filters": {
1271
+ "type": "array",
1272
+ "items": {
1273
+ "anyOf": [
1274
+ {
1275
+ "type": "object",
1276
+ "properties": {
1277
+ "fieldKey": {
1278
+ "type": "string",
1279
+ "description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
1280
+ },
1281
+ "operator": {
1282
+ "anyOf": [
1283
+ {
1284
+ "type": "string",
1285
+ "enum": [
1286
+ "equals",
1287
+ "doesNotEqual",
1288
+ "greaterThan",
1289
+ "lessThan",
1290
+ "greaterThanOrEqualTo",
1291
+ "lessThanOrEqualTo",
1292
+ "isBetween",
1293
+ "isNotBetween",
1294
+ "isNull",
1295
+ "notNull",
1296
+ "contains",
1297
+ "excludes",
1298
+ "like",
1299
+ "notLike",
1300
+ "startsWith",
1301
+ "endsWith",
1302
+ "predefined_date_range",
1303
+ "previous",
1304
+ "current",
1305
+ "before",
1306
+ "after",
1307
+ "inList",
1308
+ "excludedFromList",
1309
+ "divider"
1310
+ ]
1311
+ },
1312
+ {
1313
+ "type": "string",
1314
+ "enum": [
1315
+ "ytd",
1316
+ "mtd",
1317
+ "qtd",
1318
+ "wtd",
1319
+ "pytd",
1320
+ "pmtd",
1321
+ "pqtd",
1322
+ "pwtd",
1323
+ "l12m",
1324
+ "l90d",
1325
+ "l30d",
1326
+ "l7d",
1327
+ "cy",
1328
+ "cq",
1329
+ "cm",
1330
+ "py",
1331
+ "pm",
1332
+ "pq",
1333
+ "pw",
1334
+ "today",
1335
+ "yesterday",
1336
+ "mindate",
1337
+ "maxdate"
1338
+ ]
1339
+ }
1340
+ ]
1341
+ },
1342
+ "values": {
1343
+ "type": "object",
1344
+ "properties": {
1345
+ "value": {
1346
+ "anyOf": [
1347
+ {
1348
+ "type": "string"
1349
+ },
1350
+ {
1351
+ "type": "object",
1352
+ "properties": {
1353
+ "type": {
1354
+ "type": "string",
1355
+ "const": "variable"
1356
+ },
1357
+ "variableName": {
1358
+ "type": "string"
1359
+ }
1360
+ },
1361
+ "required": ["type", "variableName"],
1362
+ "additionalProperties": false
1363
+ }
1364
+ ]
1365
+ },
1366
+ "valueFrom": {
1367
+ "anyOf": [
1368
+ {
1369
+ "type": "string"
1370
+ },
1371
+ {
1372
+ "type": "object",
1373
+ "properties": {
1374
+ "type": {
1375
+ "type": "string",
1376
+ "const": "variable"
1377
+ },
1378
+ "variableName": {
1379
+ "type": "string"
1380
+ }
1381
+ },
1382
+ "required": ["type", "variableName"],
1383
+ "additionalProperties": false
1384
+ }
1385
+ ]
1386
+ },
1387
+ "valueTo": {
1388
+ "anyOf": [
1389
+ {
1390
+ "type": "string"
1391
+ },
1392
+ {
1393
+ "type": "object",
1394
+ "properties": {
1395
+ "type": {
1396
+ "type": "string",
1397
+ "const": "variable"
1398
+ },
1399
+ "variableName": {
1400
+ "type": "string"
1401
+ }
1402
+ },
1403
+ "required": ["type", "variableName"],
1404
+ "additionalProperties": false
1405
+ }
1406
+ ]
1407
+ },
1408
+ "secondValue": {
1409
+ "anyOf": [
1410
+ {
1411
+ "type": "string"
1412
+ },
1413
+ {
1414
+ "type": "object",
1415
+ "properties": {
1416
+ "type": {
1417
+ "type": "string",
1418
+ "const": "variable"
1419
+ },
1420
+ "variableName": {
1421
+ "type": "string"
1422
+ }
1423
+ },
1424
+ "required": ["type", "variableName"],
1425
+ "additionalProperties": false
1426
+ }
1427
+ ]
1428
+ }
1429
+ },
1430
+ "additionalProperties": false
1431
+ },
1432
+ "dateFilter": {
1433
+ "anyOf": [
1434
+ {
1435
+ "type": "string",
1436
+ "enum": [
1437
+ "ytd",
1438
+ "mtd",
1439
+ "qtd",
1440
+ "wtd",
1441
+ "pytd",
1442
+ "pmtd",
1443
+ "pqtd",
1444
+ "pwtd",
1445
+ "l12m",
1446
+ "l90d",
1447
+ "l30d",
1448
+ "l7d",
1449
+ "cy",
1450
+ "cq",
1451
+ "cm",
1452
+ "py",
1453
+ "pm",
1454
+ "pq",
1455
+ "pw",
1456
+ "today",
1457
+ "yesterday",
1458
+ "mindate",
1459
+ "maxdate"
1460
+ ]
1461
+ },
1462
+ {
1463
+ "type": "null"
1464
+ }
1465
+ ]
1466
+ }
1467
+ },
1468
+ "required": ["fieldKey", "operator", "values"],
1469
+ "additionalProperties": false
1470
+ },
1471
+ {
1472
+ "$ref": "#/$defs/__schema0"
1473
+ }
1474
+ ]
1475
+ }
1476
+ }
1477
+ },
1478
+ "required": ["operator", "filters"],
1479
+ "additionalProperties": false
1480
+ }
1481
+ }
1482
+ }
1483
+ ```