@astrato-io/visualizations 0.0.0-stage → 0.6.4
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.
- package/CHANGELOG.md +23 -0
- package/LICENSE +93 -0
- package/README.md +843 -2
- package/THIRD_PARTY_NOTICES.md +8387 -0
- package/VISUALIZATION_DEFINITIONS.md +2378 -0
- package/chunks/LinearProgress-CUZ0D8_t.js +253 -0
- package/chunks/Radio-Ciu-F4CU.js +957 -0
- package/chunks/ToggleButton-BCJc3Jlc.js +153 -0
- package/chunks/_baseFlatten-DPXPOrea.js +7076 -0
- package/chunks/accessors-DemrDevR.js +128 -0
- package/chunks/app-filter-bar.compiler-j_CVoWTa.js +55 -0
- package/chunks/bar.compiler-oqaPzIut.js +370 -0
- package/chunks/color-settings-ZIvgNTq1.js +10 -0
- package/chunks/coloring-C16AUZEi.js +663 -0
- package/chunks/data-item-resolution-1lvYB5ln.js +53 -0
- package/chunks/debounce-fn-CUixuz45.js +7 -0
- package/chunks/escobar-BGqT1EsE.js +34580 -0
- package/chunks/event-bus-KiSiCJrC.js +2683 -0
- package/chunks/events-WZut5Ow6.js +4 -0
- package/chunks/extend-BKUkc4_i.js +37 -0
- package/chunks/filter.compiler-CuLtc_02.js +60 -0
- package/chunks/filtering-Yq4DEa0t.js +953 -0
- package/chunks/gauge-target-type-BkKXAqkX.js +4 -0
- package/chunks/grouping-type-BX_9Ix5q.js +3 -0
- package/chunks/interfaces-VUY4_yVO.js +8742 -0
- package/chunks/line-settings-DfYTUyPz.js +4 -0
- package/chunks/line.compiler-BpA_6Tc7.js +188 -0
- package/chunks/metadata-CPXdYoln.js +28 -0
- package/chunks/number.compiler-DbkWcG4S.js +44 -0
- package/chunks/pie-uv42Eqal.js +10 -0
- package/chunks/range-DrzdfBX4.js +22 -0
- package/chunks/registry-CExpGJ1N.js +920 -0
- package/chunks/requirements-DNhuShLS.js +6 -0
- package/chunks/rolldown-runtime-DleVn1XH.js +28 -0
- package/chunks/set-coloring-datafield-B3uIS1Pe.js +8 -0
- package/chunks/shared-CKDL4hx9.js +1171 -0
- package/chunks/src-BC7cGcJ-.js +2024 -0
- package/chunks/src-BOS6SqkZ.js +67 -0
- package/chunks/src-C0LgoUWY.js +26105 -0
- package/chunks/src-Cum_2NLV.js +12145 -0
- package/chunks/src-D9XogOrc.js +422 -0
- package/chunks/src-Dun_jXtz.js +10295 -0
- package/chunks/src-DvX5LU9T.js +14742 -0
- package/chunks/standalone-87YV_m9n.js +687 -0
- package/chunks/standalone-BDCwI6Hn.js +4619 -0
- package/chunks/standalone-BH5NqDwp.js +1763 -0
- package/chunks/standalone-BLVAWLNJ.js +385 -0
- package/chunks/standalone-BPomtAVs.js +2 -0
- package/chunks/standalone-BXyBcUOQ.js +2 -0
- package/chunks/standalone-BYm1UjLr.js +140 -0
- package/chunks/standalone-BllF4rDp.js +383 -0
- package/chunks/standalone-BmfMt74U.js +726 -0
- package/chunks/standalone-BqWyrnZI.js +281 -0
- package/chunks/standalone-C85u7U6I.js +340 -0
- package/chunks/standalone-CCNtaJ7s.js +741 -0
- package/chunks/standalone-CDQnr6qT.js +345 -0
- package/chunks/standalone-CNyNHKVx.js +674 -0
- package/chunks/standalone-CY57qwZ-.js +1129 -0
- package/chunks/standalone-CZynjFG7.js +12979 -0
- package/chunks/standalone-D5vnf-9y.js +3943 -0
- package/chunks/standalone-DFPva_ku.js +299 -0
- package/chunks/standalone-DQxxNwF8.js +675 -0
- package/chunks/standalone-DS9T0FZ-.js +830 -0
- package/chunks/standalone-Dx3MLlrO.js +512 -0
- package/chunks/standalone-DzixzZAL.js +411 -0
- package/chunks/standalone-QJ1kKMnO.js +6 -0
- package/chunks/standalone-jiz0L2Dg.js +3855 -0
- package/chunks/standalone-lBm9hQ-q.js +179 -0
- package/chunks/standalone-rJ45Zfl1.js +68 -0
- package/chunks/stroke-dash-UgMEcCS4.js +6 -0
- package/chunks/table.compiler-BrXkm4Fz.js +213 -0
- package/chunks/toInteger-DVZr-D1j.js +11 -0
- package/chunks/treemap-x_zmJoG7.js +23 -0
- package/chunks/typeof-CJDtcySz.js +13 -0
- package/chunks/types-dVVCsDWD.js +4 -0
- package/chunks/ui-D1HQNIBy.js +54039 -0
- package/chunks/url-utils-B17gj_mr.js +5501 -0
- package/chunks/useFieldName-oqQ3bvnO.js +7 -0
- package/chunks/utils-Ba9T0TqC.js +31097 -0
- package/chunks/view-CLqWMV7Z.js +156 -0
- package/definitions.js +3 -0
- package/docs/operations/astrato-app-filter-bar.md +161 -0
- package/docs/operations/bar.md +7050 -0
- package/docs/operations/combo.md +5825 -0
- package/docs/operations/date-picker.md +644 -0
- package/docs/operations/distribution-gauge.md +3218 -0
- package/docs/operations/dot.md +5662 -0
- package/docs/operations/filter.md +1507 -0
- package/docs/operations/gauge.md +3452 -0
- package/docs/operations/heatMap.md +6026 -0
- package/docs/operations/histogram.md +1870 -0
- package/docs/operations/iframe.md +56 -0
- package/docs/operations/image.md +177 -0
- package/docs/operations/index.md +46 -0
- package/docs/operations/line.md +6468 -0
- package/docs/operations/number.md +3969 -0
- package/docs/operations/pie.md +6089 -0
- package/docs/operations/radar.md +4646 -0
- package/docs/operations/sankey.md +3210 -0
- package/docs/operations/scatter.md +6075 -0
- package/docs/operations/shape.md +315 -0
- package/docs/operations/simpleTextObject.md +706 -0
- package/docs/operations/slider.md +230 -0
- package/docs/operations/table.md +8790 -0
- package/docs/operations/tree.md +2874 -0
- package/docs/operations/treemap.md +3619 -0
- package/docs/operations/waterfall.md +2938 -0
- package/docs/operations/word-cloud.md +3071 -0
- package/getters.js +18 -0
- package/index.js +1183 -0
- package/metadata.js +20 -0
- package/operations.js +64 -0
- package/package.json +191 -4
- package/src/definitions/index.d.ts +2 -0
- package/src/definitions/shared/index.d.ts +5 -0
- package/src/definitions/shared/lib/available-fields.d.ts +36 -0
- package/src/definitions/shared/lib/compilers/index.d.ts +7 -0
- package/src/definitions/shared/lib/registry/compile.d.ts +2 -0
- package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +587 -0
- package/src/definitions/shared/lib/registry/index.d.ts +3 -0
- package/src/definitions/shared/lib/registry/validation.d.ts +3 -0
- package/src/definitions/shared/lib/schemas/app-filter-bar.schema.d.ts +22 -0
- package/src/definitions/shared/lib/schemas/bar.schema.d.ts +73 -0
- package/src/definitions/shared/lib/schemas/broad-chart.schema.d.ts +68 -0
- package/src/definitions/shared/lib/schemas/common.schema.d.ts +304 -0
- package/src/definitions/shared/lib/schemas/filter.schema.d.ts +22 -0
- package/src/definitions/shared/lib/schemas/index.d.ts +9 -0
- package/src/definitions/shared/lib/schemas/line.schema.d.ts +72 -0
- package/src/definitions/shared/lib/schemas/number.schema.d.ts +21 -0
- package/src/definitions/shared/lib/schemas/object.schema.d.ts +215 -0
- package/src/definitions/shared/lib/schemas/table.schema.d.ts +458 -0
- package/src/definitions/shared/lib/types/compilation.types.d.ts +36 -0
- package/src/definitions/shared/lib/types/definition.types.d.ts +2 -0
- package/src/definitions/shared/lib/types/descriptor.types.d.ts +39 -0
- package/src/definitions/shared/lib/types/index.d.ts +3 -0
- package/src/getters/index.d.ts +30 -0
- package/src/index.d.ts +4 -0
- package/src/metadata/index.d.ts +4 -0
- package/src/operations/index.d.ts +30 -0
- package/src/registry/index.d.ts +6 -0
- package/src/runtime/index.d.ts +2 -0
- package/src/types.d.ts +307 -0
- package/src/visualization-catalog.d.ts +82 -0
- package/src/web-components/index.d.ts +12 -0
- package/styles.css +2 -0
|
@@ -0,0 +1,1507 @@
|
|
|
1
|
+
<!-- Generated from operation manifests. Do not edit this file manually. -->
|
|
2
|
+
|
|
3
|
+
# `filter` operations
|
|
4
|
+
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.6.4`.
|
|
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
|
+
"title": "Add filter dimension schema",
|
|
59
|
+
"type": "object",
|
|
60
|
+
"properties": {
|
|
61
|
+
"key": {
|
|
62
|
+
"description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\"",
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"role": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"enum": ["filter-dimension"]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": ["key"],
|
|
71
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Add filter measure schema",
|
|
87
|
+
"anyOf": [
|
|
88
|
+
{
|
|
89
|
+
"type": "object",
|
|
90
|
+
"properties": {
|
|
91
|
+
"sourceKind": {
|
|
92
|
+
"description": "Raw database field from available data `fields`.",
|
|
93
|
+
"type": "string",
|
|
94
|
+
"const": "field"
|
|
95
|
+
},
|
|
96
|
+
"key": {
|
|
97
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"aggregation": {
|
|
101
|
+
"description": "Required for raw database fields. Use one of the aggregation names returned for that field.",
|
|
102
|
+
"type": "string"
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"required": ["sourceKind", "key", "aggregation"],
|
|
106
|
+
"additionalProperties": false
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"sourceKind": {
|
|
112
|
+
"description": "Predefined/user-defined measure from available data `measures`.",
|
|
113
|
+
"type": "string",
|
|
114
|
+
"const": "measure"
|
|
115
|
+
},
|
|
116
|
+
"key": {
|
|
117
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
|
|
118
|
+
"type": "string"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"required": ["sourceKind", "key"],
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "object",
|
|
126
|
+
"properties": {
|
|
127
|
+
"sourceKind": {
|
|
128
|
+
"description": "Predefined calculation from available data `measures`.",
|
|
129
|
+
"type": "string",
|
|
130
|
+
"const": "calculation"
|
|
131
|
+
},
|
|
132
|
+
"key": {
|
|
133
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\"",
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"required": ["sourceKind", "key"],
|
|
138
|
+
"additionalProperties": false
|
|
139
|
+
}
|
|
140
|
+
]
|
|
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
|
+
"title": "Change filter measure aggregation schema",
|
|
156
|
+
"type": "object",
|
|
157
|
+
"properties": {
|
|
158
|
+
"dataItemInternalKey": {
|
|
159
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
160
|
+
"type": "string"
|
|
161
|
+
},
|
|
162
|
+
"dataItemUniqueSignature": {
|
|
163
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
164
|
+
"type": "string"
|
|
165
|
+
},
|
|
166
|
+
"aggregation": {
|
|
167
|
+
"description": "Aggregation function to be used for the measure",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"minLength": 1
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
|
|
173
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Remove filter dimension schema",
|
|
189
|
+
"type": "object",
|
|
190
|
+
"properties": {
|
|
191
|
+
"dataItemInternalKey": {
|
|
192
|
+
"description": "Internal key of the data item of the dimension to be removed",
|
|
193
|
+
"type": "string"
|
|
194
|
+
},
|
|
195
|
+
"dataItemUniqueSignature": {
|
|
196
|
+
"description": "Unique signature of the data item of the dimension to be removed",
|
|
197
|
+
"type": "string"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
201
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Remove filter measure schema",
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"dataItemInternalKey": {
|
|
220
|
+
"description": "Internal key of the data item of the measure to be removed",
|
|
221
|
+
"type": "string"
|
|
222
|
+
},
|
|
223
|
+
"dataItemUniqueSignature": {
|
|
224
|
+
"description": "Unique signature of the data item of the measure to be removed",
|
|
225
|
+
"type": "string"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
229
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Dimension format string schema",
|
|
245
|
+
"type": "object",
|
|
246
|
+
"properties": {
|
|
247
|
+
"dataItemInternalKey": {
|
|
248
|
+
"description": "Internal key of the data item of the dimension to be updated",
|
|
249
|
+
"type": "string"
|
|
250
|
+
},
|
|
251
|
+
"dataItemUniqueSignature": {
|
|
252
|
+
"description": "Unique signature of the data item of the dimension to be updated",
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"formatString": {
|
|
256
|
+
"anyOf": [
|
|
257
|
+
{
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"type": "object",
|
|
262
|
+
"properties": {
|
|
263
|
+
"type": {
|
|
264
|
+
"type": "string",
|
|
265
|
+
"const": "variable"
|
|
266
|
+
},
|
|
267
|
+
"variableName": {
|
|
268
|
+
"type": "string"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
"required": ["type", "variableName"],
|
|
272
|
+
"additionalProperties": false
|
|
273
|
+
}
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
278
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Dimension format type schema",
|
|
294
|
+
"type": "object",
|
|
295
|
+
"properties": {
|
|
296
|
+
"dataItemInternalKey": {
|
|
297
|
+
"description": "Internal key of the data item of the dimension to be updated",
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"dataItemUniqueSignature": {
|
|
301
|
+
"description": "Unique signature of the data item of the dimension to be updated",
|
|
302
|
+
"type": "string"
|
|
303
|
+
},
|
|
304
|
+
"formatType": {
|
|
305
|
+
"anyOf": [
|
|
306
|
+
{
|
|
307
|
+
"type": "string",
|
|
308
|
+
"enum": [
|
|
309
|
+
"custom",
|
|
310
|
+
"inherit",
|
|
311
|
+
"none",
|
|
312
|
+
"defaultNumber",
|
|
313
|
+
"defaultMoney",
|
|
314
|
+
"numberNoDecimal",
|
|
315
|
+
"number1Decimal",
|
|
316
|
+
"number2Decimal",
|
|
317
|
+
"abbreviationAuto",
|
|
318
|
+
"abbreviationNoDecimal",
|
|
319
|
+
"abbreviation1Decimal",
|
|
320
|
+
"abbreviation2Decimal",
|
|
321
|
+
"percentageNoDecimal",
|
|
322
|
+
"percentage1Decimal",
|
|
323
|
+
"percentage2Decimal",
|
|
324
|
+
"money0Decimal",
|
|
325
|
+
"money2Decimal",
|
|
326
|
+
"durationDays",
|
|
327
|
+
"durationHours",
|
|
328
|
+
"durationMinutes",
|
|
329
|
+
"durationSeconds"
|
|
330
|
+
]
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"type": "string",
|
|
334
|
+
"enum": [
|
|
335
|
+
"defaultDate",
|
|
336
|
+
"defaultDatetime",
|
|
337
|
+
"defaultTime",
|
|
338
|
+
"ddmmyyyy",
|
|
339
|
+
"ddmmyyyy2",
|
|
340
|
+
"ddmmyyyy3",
|
|
341
|
+
"yyyymmdd",
|
|
342
|
+
"mmddyyyy",
|
|
343
|
+
"mmddyyyy2",
|
|
344
|
+
"ddmmmmyyyy",
|
|
345
|
+
"ddmmmyyyy",
|
|
346
|
+
"ddmmmyy",
|
|
347
|
+
"mmmmddyyyy",
|
|
348
|
+
"yyyy",
|
|
349
|
+
"yy",
|
|
350
|
+
"mmmyyyy",
|
|
351
|
+
"yyyymmm",
|
|
352
|
+
"yyyymmmm",
|
|
353
|
+
"mmyyyy",
|
|
354
|
+
"yyyymm",
|
|
355
|
+
"mmmmyyyy",
|
|
356
|
+
"yyyywn",
|
|
357
|
+
"wnyyyy",
|
|
358
|
+
"yywn",
|
|
359
|
+
"yyyyq",
|
|
360
|
+
"qyyyy",
|
|
361
|
+
"yyyymmddhhmmss",
|
|
362
|
+
"yyyymmddhmmss",
|
|
363
|
+
"yyyymmddhhmm",
|
|
364
|
+
"yyyymmddhh",
|
|
365
|
+
"yyyymmddhmm",
|
|
366
|
+
"yyyymmddh",
|
|
367
|
+
"ddmmmyyyyhhmmss",
|
|
368
|
+
"ddmmmyyyyhmmss",
|
|
369
|
+
"ddmmmyyyyhhmm",
|
|
370
|
+
"ddmmmyyyyhmm",
|
|
371
|
+
"ddmmmyyyyh",
|
|
372
|
+
"hhmmss",
|
|
373
|
+
"hhmm",
|
|
374
|
+
"hmm",
|
|
375
|
+
"h",
|
|
376
|
+
"hh",
|
|
377
|
+
"hmmss",
|
|
378
|
+
"month",
|
|
379
|
+
"month2",
|
|
380
|
+
"monthn",
|
|
381
|
+
"month3",
|
|
382
|
+
"quarter",
|
|
383
|
+
"quarter2",
|
|
384
|
+
"week1",
|
|
385
|
+
"week2",
|
|
386
|
+
"week3",
|
|
387
|
+
"day",
|
|
388
|
+
"dayOfWeek",
|
|
389
|
+
"hhn",
|
|
390
|
+
"hn"
|
|
391
|
+
]
|
|
392
|
+
}
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
397
|
+
"additionalProperties": false
|
|
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
|
+
"title": "Dimension temporal grouping schema",
|
|
413
|
+
"anyOf": [
|
|
414
|
+
{
|
|
415
|
+
"type": "object",
|
|
416
|
+
"properties": {
|
|
417
|
+
"dataItemInternalKey": {
|
|
418
|
+
"description": "Internal key of the data item of the dimension to be updated",
|
|
419
|
+
"type": "string"
|
|
420
|
+
},
|
|
421
|
+
"dataItemUniqueSignature": {
|
|
422
|
+
"description": "Unique signature of the data item of the dimension to be updated",
|
|
423
|
+
"type": "string"
|
|
424
|
+
},
|
|
425
|
+
"mode": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"const": "none"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode"],
|
|
431
|
+
"additionalProperties": false
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"type": "object",
|
|
435
|
+
"properties": {
|
|
436
|
+
"dataItemInternalKey": {
|
|
437
|
+
"description": "Internal key of the data item of the dimension to be updated",
|
|
438
|
+
"type": "string"
|
|
439
|
+
},
|
|
440
|
+
"dataItemUniqueSignature": {
|
|
441
|
+
"description": "Unique signature of the data item of the dimension to be updated",
|
|
442
|
+
"type": "string"
|
|
443
|
+
},
|
|
444
|
+
"mode": {
|
|
445
|
+
"type": "string",
|
|
446
|
+
"const": "level"
|
|
447
|
+
},
|
|
448
|
+
"dateLevel": {
|
|
449
|
+
"type": "string",
|
|
450
|
+
"enum": [
|
|
451
|
+
"year",
|
|
452
|
+
"year-end",
|
|
453
|
+
"quarter",
|
|
454
|
+
"quarter-end",
|
|
455
|
+
"month",
|
|
456
|
+
"month-end",
|
|
457
|
+
"week",
|
|
458
|
+
"week-end",
|
|
459
|
+
"day",
|
|
460
|
+
"hour",
|
|
461
|
+
"minute",
|
|
462
|
+
"second"
|
|
463
|
+
]
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "dateLevel"],
|
|
467
|
+
"additionalProperties": false
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"type": "object",
|
|
471
|
+
"properties": {
|
|
472
|
+
"dataItemInternalKey": {
|
|
473
|
+
"description": "Internal key of the data item of the dimension to be updated",
|
|
474
|
+
"type": "string"
|
|
475
|
+
},
|
|
476
|
+
"dataItemUniqueSignature": {
|
|
477
|
+
"description": "Unique signature of the data item of the dimension to be updated",
|
|
478
|
+
"type": "string"
|
|
479
|
+
},
|
|
480
|
+
"mode": {
|
|
481
|
+
"type": "string",
|
|
482
|
+
"const": "part"
|
|
483
|
+
},
|
|
484
|
+
"datePart": {
|
|
485
|
+
"type": "string",
|
|
486
|
+
"enum": [
|
|
487
|
+
"year",
|
|
488
|
+
"month",
|
|
489
|
+
"day",
|
|
490
|
+
"dayofweekiso",
|
|
491
|
+
"dayofyear",
|
|
492
|
+
"weekiso",
|
|
493
|
+
"quarter",
|
|
494
|
+
"yearofweekiso",
|
|
495
|
+
"hour",
|
|
496
|
+
"minute",
|
|
497
|
+
"second"
|
|
498
|
+
]
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
|
|
502
|
+
"additionalProperties": false
|
|
503
|
+
}
|
|
504
|
+
]
|
|
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
|
+
"description": "Background color (hex, with optional alpha)",
|
|
520
|
+
"title": "Filter background color schema",
|
|
521
|
+
"anyOf": [
|
|
522
|
+
{
|
|
523
|
+
"type": "string",
|
|
524
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
525
|
+
},
|
|
526
|
+
{
|
|
527
|
+
"type": "null"
|
|
528
|
+
}
|
|
529
|
+
]
|
|
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
|
+
"title": "Filter font style schema",
|
|
636
|
+
"type": "object",
|
|
637
|
+
"properties": {
|
|
638
|
+
"weight": {
|
|
639
|
+
"description": "Font weight",
|
|
640
|
+
"anyOf": [
|
|
641
|
+
{
|
|
642
|
+
"type": "number"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"type": "null"
|
|
646
|
+
}
|
|
647
|
+
]
|
|
648
|
+
},
|
|
649
|
+
"bold": {
|
|
650
|
+
"description": "Bold font. Should take precedence over weight",
|
|
651
|
+
"type": "boolean"
|
|
652
|
+
},
|
|
653
|
+
"italic": {
|
|
654
|
+
"type": "boolean"
|
|
655
|
+
},
|
|
656
|
+
"underlined": {
|
|
657
|
+
"type": "boolean"
|
|
658
|
+
},
|
|
659
|
+
"strikethrough": {
|
|
660
|
+
"type": "boolean"
|
|
661
|
+
},
|
|
662
|
+
"fontFamily": {
|
|
663
|
+
"anyOf": [
|
|
664
|
+
{
|
|
665
|
+
"type": "string"
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"type": "null"
|
|
669
|
+
}
|
|
670
|
+
]
|
|
671
|
+
},
|
|
672
|
+
"fontSize": {
|
|
673
|
+
"type": "number"
|
|
674
|
+
},
|
|
675
|
+
"fontColor": {
|
|
676
|
+
"description": "Font color (hex, with optional alpha)",
|
|
677
|
+
"anyOf": [
|
|
678
|
+
{
|
|
679
|
+
"type": "string",
|
|
680
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"type": "null"
|
|
684
|
+
}
|
|
685
|
+
]
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
"additionalProperties": false
|
|
689
|
+
}
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
## `setFilterMeasureValueLabel`
|
|
693
|
+
|
|
694
|
+
Filter measure value label
|
|
695
|
+
|
|
696
|
+
Set the label shown for a measure value in the filter
|
|
697
|
+
|
|
698
|
+
**Payload schema**
|
|
699
|
+
|
|
700
|
+
```json
|
|
701
|
+
{
|
|
702
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
703
|
+
"title": "Filter measure value label schema",
|
|
704
|
+
"type": "object",
|
|
705
|
+
"properties": {
|
|
706
|
+
"dataItemInternalKey": {
|
|
707
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
708
|
+
"type": "string"
|
|
709
|
+
},
|
|
710
|
+
"dataItemUniqueSignature": {
|
|
711
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
712
|
+
"type": "string"
|
|
713
|
+
},
|
|
714
|
+
"filterValueLabel": {
|
|
715
|
+
"type": "string"
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
719
|
+
"additionalProperties": false
|
|
720
|
+
}
|
|
721
|
+
```
|
|
722
|
+
|
|
723
|
+
## `setFilterMode`
|
|
724
|
+
|
|
725
|
+
Filter mode
|
|
726
|
+
|
|
727
|
+
Set the filter display mode. Supported modes are dropdown and listbox.
|
|
728
|
+
|
|
729
|
+
**Payload schema**
|
|
730
|
+
|
|
731
|
+
```json
|
|
732
|
+
{
|
|
733
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
734
|
+
"title": "Filter mode schema",
|
|
735
|
+
"type": "string",
|
|
736
|
+
"enum": ["dropdown", "listbox"]
|
|
737
|
+
}
|
|
738
|
+
```
|
|
739
|
+
|
|
740
|
+
## `setFilterProgressBarColor`
|
|
741
|
+
|
|
742
|
+
Progress bar color
|
|
743
|
+
|
|
744
|
+
Set the filter progress bar color
|
|
745
|
+
|
|
746
|
+
**Payload schema**
|
|
747
|
+
|
|
748
|
+
```json
|
|
749
|
+
{
|
|
750
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
751
|
+
"description": "Progress bar color (hex, with optional alpha)",
|
|
752
|
+
"title": "Filter progress bar color schema",
|
|
753
|
+
"type": "string",
|
|
754
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
755
|
+
}
|
|
756
|
+
```
|
|
757
|
+
|
|
758
|
+
## `setFilterQuickSelect`
|
|
759
|
+
|
|
760
|
+
Quick select
|
|
761
|
+
|
|
762
|
+
Enable or disable immediate filtering when a value is selected
|
|
763
|
+
|
|
764
|
+
**Payload schema**
|
|
765
|
+
|
|
766
|
+
```json
|
|
767
|
+
{
|
|
768
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
769
|
+
"description": "Enable quick select filtering",
|
|
770
|
+
"title": "Filter quick select schema",
|
|
771
|
+
"type": "boolean"
|
|
772
|
+
}
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
## `setFilterResponsive`
|
|
776
|
+
|
|
777
|
+
Responsive
|
|
778
|
+
|
|
779
|
+
Enable or disable responsive filter sizing
|
|
780
|
+
|
|
781
|
+
**Payload schema**
|
|
782
|
+
|
|
783
|
+
```json
|
|
784
|
+
{
|
|
785
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
786
|
+
"description": "Whether filter is responsive",
|
|
787
|
+
"title": "Filter responsive schema",
|
|
788
|
+
"type": "boolean"
|
|
789
|
+
}
|
|
790
|
+
```
|
|
791
|
+
|
|
792
|
+
## `setFilterSearchable`
|
|
793
|
+
|
|
794
|
+
Searchable
|
|
795
|
+
|
|
796
|
+
Enable or disable search in the filter values
|
|
797
|
+
|
|
798
|
+
**Payload schema**
|
|
799
|
+
|
|
800
|
+
```json
|
|
801
|
+
{
|
|
802
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
803
|
+
"description": "Enable search functionality",
|
|
804
|
+
"title": "Filter searchable schema",
|
|
805
|
+
"type": "boolean"
|
|
806
|
+
}
|
|
807
|
+
```
|
|
808
|
+
|
|
809
|
+
## `setFilterShowMeasureLabel`
|
|
810
|
+
|
|
811
|
+
Show measure label
|
|
812
|
+
|
|
813
|
+
Show or hide the measure label in the filter title
|
|
814
|
+
|
|
815
|
+
**Payload schema**
|
|
816
|
+
|
|
817
|
+
```json
|
|
818
|
+
{
|
|
819
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
820
|
+
"description": "Show measure label in title",
|
|
821
|
+
"title": "Filter show measure label schema",
|
|
822
|
+
"type": "boolean"
|
|
823
|
+
}
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
## `setFilterShowProgressBar`
|
|
827
|
+
|
|
828
|
+
Show progress bar
|
|
829
|
+
|
|
830
|
+
Show or hide progress bars for measure values
|
|
831
|
+
|
|
832
|
+
**Payload schema**
|
|
833
|
+
|
|
834
|
+
```json
|
|
835
|
+
{
|
|
836
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
837
|
+
"description": "Show progress bar for measures",
|
|
838
|
+
"title": "Filter show progress bar schema",
|
|
839
|
+
"type": "boolean"
|
|
840
|
+
}
|
|
841
|
+
```
|
|
842
|
+
|
|
843
|
+
## `setFilterSource`
|
|
844
|
+
|
|
845
|
+
Filter source
|
|
846
|
+
|
|
847
|
+
Set the filter source
|
|
848
|
+
|
|
849
|
+
**Payload schema**
|
|
850
|
+
|
|
851
|
+
```json
|
|
852
|
+
{
|
|
853
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
854
|
+
"description": "Filter source - manual or engine",
|
|
855
|
+
"title": "Filter source schema",
|
|
856
|
+
"type": "string",
|
|
857
|
+
"enum": ["manual", "engine"]
|
|
858
|
+
}
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
## `setMeasureCurrency`
|
|
862
|
+
|
|
863
|
+
Measure currency
|
|
864
|
+
|
|
865
|
+
Set the currency symbol used by a measure formatter
|
|
866
|
+
|
|
867
|
+
**Payload schema**
|
|
868
|
+
|
|
869
|
+
```json
|
|
870
|
+
{
|
|
871
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
872
|
+
"title": "Measure currency schema",
|
|
873
|
+
"type": "object",
|
|
874
|
+
"properties": {
|
|
875
|
+
"dataItemInternalKey": {
|
|
876
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
877
|
+
"type": "string"
|
|
878
|
+
},
|
|
879
|
+
"dataItemUniqueSignature": {
|
|
880
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
881
|
+
"type": "string"
|
|
882
|
+
},
|
|
883
|
+
"currency": {
|
|
884
|
+
"type": "string"
|
|
885
|
+
}
|
|
886
|
+
},
|
|
887
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
888
|
+
"additionalProperties": false
|
|
889
|
+
}
|
|
890
|
+
```
|
|
891
|
+
|
|
892
|
+
## `setMeasureCurrencyIsPrefix`
|
|
893
|
+
|
|
894
|
+
Measure currency is prefix
|
|
895
|
+
|
|
896
|
+
Set whether measure currency symbol is prefixed
|
|
897
|
+
|
|
898
|
+
**Payload schema**
|
|
899
|
+
|
|
900
|
+
```json
|
|
901
|
+
{
|
|
902
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
903
|
+
"title": "Measure currency is prefix schema",
|
|
904
|
+
"type": "object",
|
|
905
|
+
"properties": {
|
|
906
|
+
"dataItemInternalKey": {
|
|
907
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
908
|
+
"type": "string"
|
|
909
|
+
},
|
|
910
|
+
"dataItemUniqueSignature": {
|
|
911
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
912
|
+
"type": "string"
|
|
913
|
+
},
|
|
914
|
+
"currencyIsPrefix": {
|
|
915
|
+
"type": "boolean"
|
|
916
|
+
}
|
|
917
|
+
},
|
|
918
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
919
|
+
"additionalProperties": false
|
|
920
|
+
}
|
|
921
|
+
```
|
|
922
|
+
|
|
923
|
+
## `setMeasureDefinedParameter`
|
|
924
|
+
|
|
925
|
+
Measure defined parameter
|
|
926
|
+
|
|
927
|
+
Configure a Defined parameter of a custom measure using its default, a static value, or an existing compatible workbook variable
|
|
928
|
+
|
|
929
|
+
**Payload schema**
|
|
930
|
+
|
|
931
|
+
```json
|
|
932
|
+
{
|
|
933
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
934
|
+
"title": "Set measure defined parameter schema",
|
|
935
|
+
"type": "object",
|
|
936
|
+
"properties": {
|
|
937
|
+
"dataItemInternalKey": {
|
|
938
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
939
|
+
"type": "string"
|
|
940
|
+
},
|
|
941
|
+
"dataItemUniqueSignature": {
|
|
942
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
943
|
+
"type": "string"
|
|
944
|
+
},
|
|
945
|
+
"collectionKey": {
|
|
946
|
+
"description": "Measure collection to update. Defaults to primary measures.",
|
|
947
|
+
"type": "string",
|
|
948
|
+
"enum": ["measures", "supportingMeasures"]
|
|
949
|
+
},
|
|
950
|
+
"parameterName": {
|
|
951
|
+
"description": "Exact name of a Defined parameter exposed by the measure",
|
|
952
|
+
"type": "string",
|
|
953
|
+
"minLength": 1
|
|
954
|
+
},
|
|
955
|
+
"value": {
|
|
956
|
+
"description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable",
|
|
957
|
+
"anyOf": [
|
|
958
|
+
{
|
|
959
|
+
"type": "object",
|
|
960
|
+
"properties": {
|
|
961
|
+
"type": {
|
|
962
|
+
"type": "string",
|
|
963
|
+
"const": "default"
|
|
964
|
+
}
|
|
965
|
+
},
|
|
966
|
+
"required": ["type"],
|
|
967
|
+
"additionalProperties": false
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
"type": "object",
|
|
971
|
+
"properties": {
|
|
972
|
+
"type": {
|
|
973
|
+
"type": "string",
|
|
974
|
+
"const": "static"
|
|
975
|
+
},
|
|
976
|
+
"value": {
|
|
977
|
+
"anyOf": [
|
|
978
|
+
{
|
|
979
|
+
"type": "string"
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
"type": "number"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
"type": "boolean"
|
|
986
|
+
}
|
|
987
|
+
]
|
|
988
|
+
}
|
|
989
|
+
},
|
|
990
|
+
"required": ["type", "value"],
|
|
991
|
+
"additionalProperties": false
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"type": "object",
|
|
995
|
+
"properties": {
|
|
996
|
+
"type": {
|
|
997
|
+
"type": "string",
|
|
998
|
+
"const": "variable"
|
|
999
|
+
},
|
|
1000
|
+
"variableName": {
|
|
1001
|
+
"description": "Exact name of an existing compatible workbook variable",
|
|
1002
|
+
"type": "string",
|
|
1003
|
+
"minLength": 1
|
|
1004
|
+
}
|
|
1005
|
+
},
|
|
1006
|
+
"required": ["type", "variableName"],
|
|
1007
|
+
"additionalProperties": false
|
|
1008
|
+
}
|
|
1009
|
+
]
|
|
1010
|
+
}
|
|
1011
|
+
},
|
|
1012
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
|
|
1013
|
+
"additionalProperties": false
|
|
1014
|
+
}
|
|
1015
|
+
```
|
|
1016
|
+
|
|
1017
|
+
## `setMeasureFormatString`
|
|
1018
|
+
|
|
1019
|
+
Measure format string
|
|
1020
|
+
|
|
1021
|
+
Set the custom format string for a measure
|
|
1022
|
+
|
|
1023
|
+
**Payload schema**
|
|
1024
|
+
|
|
1025
|
+
```json
|
|
1026
|
+
{
|
|
1027
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1028
|
+
"title": "Measure format string schema",
|
|
1029
|
+
"type": "object",
|
|
1030
|
+
"properties": {
|
|
1031
|
+
"dataItemInternalKey": {
|
|
1032
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
1033
|
+
"type": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"dataItemUniqueSignature": {
|
|
1036
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
1037
|
+
"type": "string"
|
|
1038
|
+
},
|
|
1039
|
+
"formatString": {
|
|
1040
|
+
"anyOf": [
|
|
1041
|
+
{
|
|
1042
|
+
"type": "string"
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
"type": "object",
|
|
1046
|
+
"properties": {
|
|
1047
|
+
"type": {
|
|
1048
|
+
"type": "string",
|
|
1049
|
+
"const": "variable"
|
|
1050
|
+
},
|
|
1051
|
+
"variableName": {
|
|
1052
|
+
"type": "string"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
"required": ["type", "variableName"],
|
|
1056
|
+
"additionalProperties": false
|
|
1057
|
+
}
|
|
1058
|
+
]
|
|
1059
|
+
}
|
|
1060
|
+
},
|
|
1061
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1062
|
+
"additionalProperties": false
|
|
1063
|
+
}
|
|
1064
|
+
```
|
|
1065
|
+
|
|
1066
|
+
## `setMeasureFormatType`
|
|
1067
|
+
|
|
1068
|
+
Measure format type
|
|
1069
|
+
|
|
1070
|
+
Set the format type used by a measure
|
|
1071
|
+
|
|
1072
|
+
**Payload schema**
|
|
1073
|
+
|
|
1074
|
+
```json
|
|
1075
|
+
{
|
|
1076
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1077
|
+
"title": "Measure format type schema",
|
|
1078
|
+
"type": "object",
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"dataItemInternalKey": {
|
|
1081
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
1082
|
+
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
"dataItemUniqueSignature": {
|
|
1085
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"formatType": {
|
|
1089
|
+
"anyOf": [
|
|
1090
|
+
{
|
|
1091
|
+
"type": "string",
|
|
1092
|
+
"enum": [
|
|
1093
|
+
"custom",
|
|
1094
|
+
"inherit",
|
|
1095
|
+
"none",
|
|
1096
|
+
"defaultNumber",
|
|
1097
|
+
"defaultMoney",
|
|
1098
|
+
"numberNoDecimal",
|
|
1099
|
+
"number1Decimal",
|
|
1100
|
+
"number2Decimal",
|
|
1101
|
+
"abbreviationAuto",
|
|
1102
|
+
"abbreviationNoDecimal",
|
|
1103
|
+
"abbreviation1Decimal",
|
|
1104
|
+
"abbreviation2Decimal",
|
|
1105
|
+
"percentageNoDecimal",
|
|
1106
|
+
"percentage1Decimal",
|
|
1107
|
+
"percentage2Decimal",
|
|
1108
|
+
"money0Decimal",
|
|
1109
|
+
"money2Decimal",
|
|
1110
|
+
"durationDays",
|
|
1111
|
+
"durationHours",
|
|
1112
|
+
"durationMinutes",
|
|
1113
|
+
"durationSeconds"
|
|
1114
|
+
]
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"type": "string",
|
|
1118
|
+
"enum": [
|
|
1119
|
+
"defaultDate",
|
|
1120
|
+
"defaultDatetime",
|
|
1121
|
+
"defaultTime",
|
|
1122
|
+
"ddmmyyyy",
|
|
1123
|
+
"ddmmyyyy2",
|
|
1124
|
+
"ddmmyyyy3",
|
|
1125
|
+
"yyyymmdd",
|
|
1126
|
+
"mmddyyyy",
|
|
1127
|
+
"mmddyyyy2",
|
|
1128
|
+
"ddmmmmyyyy",
|
|
1129
|
+
"ddmmmyyyy",
|
|
1130
|
+
"ddmmmyy",
|
|
1131
|
+
"mmmmddyyyy",
|
|
1132
|
+
"yyyy",
|
|
1133
|
+
"yy",
|
|
1134
|
+
"mmmyyyy",
|
|
1135
|
+
"yyyymmm",
|
|
1136
|
+
"yyyymmmm",
|
|
1137
|
+
"mmyyyy",
|
|
1138
|
+
"yyyymm",
|
|
1139
|
+
"mmmmyyyy",
|
|
1140
|
+
"yyyywn",
|
|
1141
|
+
"wnyyyy",
|
|
1142
|
+
"yywn",
|
|
1143
|
+
"yyyyq",
|
|
1144
|
+
"qyyyy",
|
|
1145
|
+
"yyyymmddhhmmss",
|
|
1146
|
+
"yyyymmddhmmss",
|
|
1147
|
+
"yyyymmddhhmm",
|
|
1148
|
+
"yyyymmddhh",
|
|
1149
|
+
"yyyymmddhmm",
|
|
1150
|
+
"yyyymmddh",
|
|
1151
|
+
"ddmmmyyyyhhmmss",
|
|
1152
|
+
"ddmmmyyyyhmmss",
|
|
1153
|
+
"ddmmmyyyyhhmm",
|
|
1154
|
+
"ddmmmyyyyhmm",
|
|
1155
|
+
"ddmmmyyyyh",
|
|
1156
|
+
"hhmmss",
|
|
1157
|
+
"hhmm",
|
|
1158
|
+
"hmm",
|
|
1159
|
+
"h",
|
|
1160
|
+
"hh",
|
|
1161
|
+
"hmmss",
|
|
1162
|
+
"month",
|
|
1163
|
+
"month2",
|
|
1164
|
+
"monthn",
|
|
1165
|
+
"month3",
|
|
1166
|
+
"quarter",
|
|
1167
|
+
"quarter2",
|
|
1168
|
+
"week1",
|
|
1169
|
+
"week2",
|
|
1170
|
+
"week3",
|
|
1171
|
+
"day",
|
|
1172
|
+
"dayOfWeek",
|
|
1173
|
+
"hhn",
|
|
1174
|
+
"hn"
|
|
1175
|
+
]
|
|
1176
|
+
}
|
|
1177
|
+
]
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
1181
|
+
"additionalProperties": false
|
|
1182
|
+
}
|
|
1183
|
+
```
|
|
1184
|
+
|
|
1185
|
+
## `setMeasureNegativeType`
|
|
1186
|
+
|
|
1187
|
+
Measure negative type
|
|
1188
|
+
|
|
1189
|
+
Set how negative values are displayed for a measure formatter
|
|
1190
|
+
|
|
1191
|
+
**Payload schema**
|
|
1192
|
+
|
|
1193
|
+
```json
|
|
1194
|
+
{
|
|
1195
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1196
|
+
"title": "Measure negative type schema",
|
|
1197
|
+
"type": "object",
|
|
1198
|
+
"properties": {
|
|
1199
|
+
"dataItemInternalKey": {
|
|
1200
|
+
"description": "Internal key of the data item of the measure to be updated",
|
|
1201
|
+
"type": "string"
|
|
1202
|
+
},
|
|
1203
|
+
"dataItemUniqueSignature": {
|
|
1204
|
+
"description": "Unique signature of the data item of the measure to be updated",
|
|
1205
|
+
"type": "string"
|
|
1206
|
+
},
|
|
1207
|
+
"negativeType": {
|
|
1208
|
+
"type": "string",
|
|
1209
|
+
"enum": ["symbol", "parenthesis"]
|
|
1210
|
+
}
|
|
1211
|
+
},
|
|
1212
|
+
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1213
|
+
"additionalProperties": false
|
|
1214
|
+
}
|
|
1215
|
+
```
|
|
1216
|
+
|
|
1217
|
+
## `setSortingDirection`
|
|
1218
|
+
|
|
1219
|
+
Sorting direction
|
|
1220
|
+
|
|
1221
|
+
Set sorting direction for all matching sortable items by name
|
|
1222
|
+
|
|
1223
|
+
**Payload schema**
|
|
1224
|
+
|
|
1225
|
+
```json
|
|
1226
|
+
{
|
|
1227
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1228
|
+
"title": "Sorting direction by name schema",
|
|
1229
|
+
"type": "object",
|
|
1230
|
+
"properties": {
|
|
1231
|
+
"name": {
|
|
1232
|
+
"type": "string",
|
|
1233
|
+
"minLength": 1
|
|
1234
|
+
},
|
|
1235
|
+
"sortDirection": {
|
|
1236
|
+
"type": "string",
|
|
1237
|
+
"enum": ["ascending", "descending"]
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
"required": ["name", "sortDirection"],
|
|
1241
|
+
"additionalProperties": false
|
|
1242
|
+
}
|
|
1243
|
+
```
|
|
1244
|
+
|
|
1245
|
+
## `setSortingEnabled`
|
|
1246
|
+
|
|
1247
|
+
Sorting enabled
|
|
1248
|
+
|
|
1249
|
+
Enable or disable sorting for all matching sortable items by name
|
|
1250
|
+
|
|
1251
|
+
**Payload schema**
|
|
1252
|
+
|
|
1253
|
+
```json
|
|
1254
|
+
{
|
|
1255
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1256
|
+
"title": "Sorting enabled by name schema",
|
|
1257
|
+
"type": "object",
|
|
1258
|
+
"properties": {
|
|
1259
|
+
"name": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"minLength": 1
|
|
1262
|
+
},
|
|
1263
|
+
"enabled": {
|
|
1264
|
+
"type": "boolean"
|
|
1265
|
+
}
|
|
1266
|
+
},
|
|
1267
|
+
"required": ["name"],
|
|
1268
|
+
"additionalProperties": false
|
|
1269
|
+
}
|
|
1270
|
+
```
|
|
1271
|
+
|
|
1272
|
+
## `setStaticFilterGroup`
|
|
1273
|
+
|
|
1274
|
+
Set static filter group
|
|
1275
|
+
|
|
1276
|
+
Replace all static filters with a nested AND/OR filter group.
|
|
1277
|
+
|
|
1278
|
+
**Payload schema**
|
|
1279
|
+
|
|
1280
|
+
```json
|
|
1281
|
+
{
|
|
1282
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1283
|
+
"description": "Replace all static filters with this nested AND/OR filter group.",
|
|
1284
|
+
"title": "Set static filter group schema",
|
|
1285
|
+
"$ref": "#/$defs/__schema0",
|
|
1286
|
+
"$defs": {
|
|
1287
|
+
"__schema0": {
|
|
1288
|
+
"type": "object",
|
|
1289
|
+
"properties": {
|
|
1290
|
+
"operator": {
|
|
1291
|
+
"type": "string",
|
|
1292
|
+
"enum": ["and", "or"]
|
|
1293
|
+
},
|
|
1294
|
+
"filters": {
|
|
1295
|
+
"type": "array",
|
|
1296
|
+
"items": {
|
|
1297
|
+
"anyOf": [
|
|
1298
|
+
{
|
|
1299
|
+
"type": "object",
|
|
1300
|
+
"properties": {
|
|
1301
|
+
"fieldKey": {
|
|
1302
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label.",
|
|
1303
|
+
"type": "string"
|
|
1304
|
+
},
|
|
1305
|
+
"operator": {
|
|
1306
|
+
"anyOf": [
|
|
1307
|
+
{
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"enum": [
|
|
1310
|
+
"equals",
|
|
1311
|
+
"doesNotEqual",
|
|
1312
|
+
"greaterThan",
|
|
1313
|
+
"lessThan",
|
|
1314
|
+
"greaterThanOrEqualTo",
|
|
1315
|
+
"lessThanOrEqualTo",
|
|
1316
|
+
"isBetween",
|
|
1317
|
+
"isNotBetween",
|
|
1318
|
+
"isNull",
|
|
1319
|
+
"notNull",
|
|
1320
|
+
"contains",
|
|
1321
|
+
"excludes",
|
|
1322
|
+
"like",
|
|
1323
|
+
"notLike",
|
|
1324
|
+
"startsWith",
|
|
1325
|
+
"endsWith",
|
|
1326
|
+
"predefined_date_range",
|
|
1327
|
+
"previous",
|
|
1328
|
+
"current",
|
|
1329
|
+
"before",
|
|
1330
|
+
"after",
|
|
1331
|
+
"inList",
|
|
1332
|
+
"excludedFromList",
|
|
1333
|
+
"divider"
|
|
1334
|
+
]
|
|
1335
|
+
},
|
|
1336
|
+
{
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"enum": [
|
|
1339
|
+
"ytd",
|
|
1340
|
+
"mtd",
|
|
1341
|
+
"qtd",
|
|
1342
|
+
"wtd",
|
|
1343
|
+
"pytd",
|
|
1344
|
+
"pmtd",
|
|
1345
|
+
"pqtd",
|
|
1346
|
+
"pwtd",
|
|
1347
|
+
"l12m",
|
|
1348
|
+
"l90d",
|
|
1349
|
+
"l30d",
|
|
1350
|
+
"l7d",
|
|
1351
|
+
"cy",
|
|
1352
|
+
"cq",
|
|
1353
|
+
"cm",
|
|
1354
|
+
"py",
|
|
1355
|
+
"pm",
|
|
1356
|
+
"pq",
|
|
1357
|
+
"pw",
|
|
1358
|
+
"today",
|
|
1359
|
+
"yesterday",
|
|
1360
|
+
"mindate",
|
|
1361
|
+
"maxdate"
|
|
1362
|
+
]
|
|
1363
|
+
}
|
|
1364
|
+
]
|
|
1365
|
+
},
|
|
1366
|
+
"values": {
|
|
1367
|
+
"type": "object",
|
|
1368
|
+
"properties": {
|
|
1369
|
+
"value": {
|
|
1370
|
+
"anyOf": [
|
|
1371
|
+
{
|
|
1372
|
+
"type": "string"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"type": "object",
|
|
1376
|
+
"properties": {
|
|
1377
|
+
"type": {
|
|
1378
|
+
"type": "string",
|
|
1379
|
+
"const": "variable"
|
|
1380
|
+
},
|
|
1381
|
+
"variableName": {
|
|
1382
|
+
"type": "string"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"required": ["type", "variableName"],
|
|
1386
|
+
"additionalProperties": false
|
|
1387
|
+
}
|
|
1388
|
+
]
|
|
1389
|
+
},
|
|
1390
|
+
"valueFrom": {
|
|
1391
|
+
"anyOf": [
|
|
1392
|
+
{
|
|
1393
|
+
"type": "string"
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
"type": "object",
|
|
1397
|
+
"properties": {
|
|
1398
|
+
"type": {
|
|
1399
|
+
"type": "string",
|
|
1400
|
+
"const": "variable"
|
|
1401
|
+
},
|
|
1402
|
+
"variableName": {
|
|
1403
|
+
"type": "string"
|
|
1404
|
+
}
|
|
1405
|
+
},
|
|
1406
|
+
"required": ["type", "variableName"],
|
|
1407
|
+
"additionalProperties": false
|
|
1408
|
+
}
|
|
1409
|
+
]
|
|
1410
|
+
},
|
|
1411
|
+
"valueTo": {
|
|
1412
|
+
"anyOf": [
|
|
1413
|
+
{
|
|
1414
|
+
"type": "string"
|
|
1415
|
+
},
|
|
1416
|
+
{
|
|
1417
|
+
"type": "object",
|
|
1418
|
+
"properties": {
|
|
1419
|
+
"type": {
|
|
1420
|
+
"type": "string",
|
|
1421
|
+
"const": "variable"
|
|
1422
|
+
},
|
|
1423
|
+
"variableName": {
|
|
1424
|
+
"type": "string"
|
|
1425
|
+
}
|
|
1426
|
+
},
|
|
1427
|
+
"required": ["type", "variableName"],
|
|
1428
|
+
"additionalProperties": false
|
|
1429
|
+
}
|
|
1430
|
+
]
|
|
1431
|
+
},
|
|
1432
|
+
"secondValue": {
|
|
1433
|
+
"anyOf": [
|
|
1434
|
+
{
|
|
1435
|
+
"type": "string"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"type": "object",
|
|
1439
|
+
"properties": {
|
|
1440
|
+
"type": {
|
|
1441
|
+
"type": "string",
|
|
1442
|
+
"const": "variable"
|
|
1443
|
+
},
|
|
1444
|
+
"variableName": {
|
|
1445
|
+
"type": "string"
|
|
1446
|
+
}
|
|
1447
|
+
},
|
|
1448
|
+
"required": ["type", "variableName"],
|
|
1449
|
+
"additionalProperties": false
|
|
1450
|
+
}
|
|
1451
|
+
]
|
|
1452
|
+
}
|
|
1453
|
+
},
|
|
1454
|
+
"additionalProperties": false
|
|
1455
|
+
},
|
|
1456
|
+
"dateFilter": {
|
|
1457
|
+
"anyOf": [
|
|
1458
|
+
{
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"enum": [
|
|
1461
|
+
"ytd",
|
|
1462
|
+
"mtd",
|
|
1463
|
+
"qtd",
|
|
1464
|
+
"wtd",
|
|
1465
|
+
"pytd",
|
|
1466
|
+
"pmtd",
|
|
1467
|
+
"pqtd",
|
|
1468
|
+
"pwtd",
|
|
1469
|
+
"l12m",
|
|
1470
|
+
"l90d",
|
|
1471
|
+
"l30d",
|
|
1472
|
+
"l7d",
|
|
1473
|
+
"cy",
|
|
1474
|
+
"cq",
|
|
1475
|
+
"cm",
|
|
1476
|
+
"py",
|
|
1477
|
+
"pm",
|
|
1478
|
+
"pq",
|
|
1479
|
+
"pw",
|
|
1480
|
+
"today",
|
|
1481
|
+
"yesterday",
|
|
1482
|
+
"mindate",
|
|
1483
|
+
"maxdate"
|
|
1484
|
+
]
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"type": "null"
|
|
1488
|
+
}
|
|
1489
|
+
]
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
"required": ["fieldKey", "operator", "values"],
|
|
1493
|
+
"additionalProperties": false
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
"$ref": "#/$defs/__schema0"
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1499
|
+
}
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"required": ["operator", "filters"],
|
|
1503
|
+
"additionalProperties": false
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
```
|