@astrato-io/visualizations 0.6.4 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -0
- package/THIRD_PARTY_NOTICES.md +94 -4
- package/chunks/ClickAwayListener-BbeNMAvj.js +52 -0
- package/chunks/{LinearProgress-CUZ0D8_t.js → LinearProgress-B1FeWaen.js} +54 -54
- package/chunks/app-filter-bar.compiler-BGJ7HAbr.js +64 -0
- package/chunks/bar.compiler-CT0ZbQKc.js +374 -0
- package/chunks/{src-Cum_2NLV.js → builder-B6dWSIdD.js} +5779 -5635
- package/chunks/{coloring-C16AUZEi.js → coloring-B1XAfg6b.js} +234 -233
- package/chunks/{src-BC7cGcJ-.js → definitions-D3OVqmXl.js} +438 -360
- package/chunks/{escobar-BGqT1EsE.js → escobar-eDjtGpkC.js} +4645 -4619
- package/chunks/filter.compiler-DBsyRBJt.js +70 -0
- package/chunks/{filtering-Yq4DEa0t.js → filtering-tqjAyJH5.js} +432 -313
- package/chunks/{grouping-type-BX_9Ix5q.js → grouping-type-On4s9Thj.js} +1 -1
- package/chunks/handlers-VTBfIZYZ.js +13072 -0
- package/chunks/isEqual-BDxAhUo8.js +7514 -0
- package/chunks/line.compiler-CzdM5Ld0.js +198 -0
- package/chunks/{metadata-CPXdYoln.js → metadata-BGElBy5Z.js} +1 -1
- package/chunks/number.compiler-G-R7y16P.js +53 -0
- package/chunks/{src-C0LgoUWY.js → operations-CTNUX6Sy.js} +9576 -9432
- package/chunks/{range-DrzdfBX4.js → range-CiwTbMig.js} +2 -2
- package/chunks/{registry-CExpGJ1N.js → registry-CsQQzukD.js} +153 -153
- package/chunks/{requirements-DNhuShLS.js → requirements-DYjZCFyf.js} +1 -1
- package/chunks/{shared-CKDL4hx9.js → shared-CBvcC5YV.js} +460 -413
- package/chunks/{standalone-D5vnf-9y.js → standalone-0M4HlmDW2.js} +823 -822
- package/chunks/standalone-0ashe9w1.js +411 -0
- package/chunks/{standalone-C85u7U6I.js → standalone-B7jax8wa.js} +93 -94
- package/chunks/standalone-BK0VYU-l.js +463 -0
- package/chunks/{standalone-BDCwI6Hn.js → standalone-BMIbT1b2.js} +815 -815
- package/chunks/standalone-BZV5vOwA.js +6 -0
- package/chunks/standalone-BhDrWj4p.js +1980 -0
- package/chunks/{standalone-CNyNHKVx.js → standalone-BtSHCp2U2.js} +97 -98
- package/chunks/{standalone-CDQnr6qT.js → standalone-BvaKdky9.js} +95 -96
- package/chunks/standalone-BwtM31-f.js +2 -0
- package/chunks/{standalone-CY57qwZ-.js → standalone-C3gg736V.js} +153 -153
- package/chunks/{standalone-DFPva_ku.js → standalone-CC1VUjO32.js} +60 -60
- package/chunks/{standalone-CCNtaJ7s.js → standalone-C_rYnZ0N.js} +41 -41
- package/chunks/{standalone-CZynjFG7.js → standalone-CoLrAxRV.js} +3701 -3482
- package/chunks/{standalone-jiz0L2Dg.js → standalone-DC-aUgXC.js} +104 -104
- package/chunks/standalone-DCtRoTWg.js +675 -0
- package/chunks/standalone-DUDFTBqL.js +833 -0
- package/chunks/standalone-DhZkX9Td.js +2 -0
- package/chunks/{standalone-Dx3MLlrO.js → standalone-DtLElfuM.js} +141 -141
- package/chunks/{standalone-BmfMt74U.js → standalone-G9Q4Uczu.js} +192 -192
- package/chunks/{standalone-BH5NqDwp.js → standalone-JuLF-OoH.js} +390 -391
- package/chunks/standalone-_DeX21JJ.js +383 -0
- package/chunks/{standalone-lBm9hQ-q.js → standalone-gFhKZh8m.js} +34 -34
- package/chunks/standalone-tDNy-SFH.js +281 -0
- package/chunks/{standalone-rJ45Zfl1.js → standalone-v1oxfU20.js} +10 -10
- package/chunks/{standalone-BYm1UjLr.js → standalone-vzBY6q0I2.js} +18 -18
- package/chunks/table.compiler-tb914oj3.js +222 -0
- package/chunks/{ui-D1HQNIBy.js → ui-DQWtv2iM.js} +13485 -3973
- package/chunks/{useFieldName-oqQ3bvnO.js → useFieldName-BvdcoJRl.js} +1 -1
- package/chunks/{utils-Ba9T0TqC.js → utils-Bg7K-t6K.js} +7306 -6024
- package/chunks/{src-DvX5LU9T.js → view-Bn83C8d9.js} +2555 -4831
- package/definitions.js +3 -3
- package/docs/operations/astrato-app-filter-bar.md +17 -17
- package/docs/operations/bar.md +989 -1071
- package/docs/operations/combo.md +717 -738
- package/docs/operations/date-picker.md +25 -25
- package/docs/operations/distribution-gauge.md +471 -607
- package/docs/operations/dot.md +787 -879
- package/docs/operations/filter.md +139 -163
- package/docs/operations/gauge.md +491 -627
- package/docs/operations/heatMap.md +834 -916
- package/docs/operations/histogram.md +166 -180
- package/docs/operations/iframe.md +5 -5
- package/docs/operations/image.md +16 -16
- package/docs/operations/index.md +12 -12
- package/docs/operations/line.md +811 -888
- package/docs/operations/number.md +470 -536
- package/docs/operations/pie.md +825 -958
- package/docs/operations/radar.md +599 -679
- package/docs/operations/sankey.md +462 -584
- package/docs/operations/scatter.md +823 -929
- package/docs/operations/shape.md +34 -34
- package/docs/operations/simpleTextObject.md +18 -25
- package/docs/operations/slider.md +33 -43
- package/docs/operations/table.md +1160 -1150
- package/docs/operations/tree.md +354 -361
- package/docs/operations/treemap.md +545 -637
- package/docs/operations/waterfall.md +369 -379
- package/docs/operations/word-cloud.md +512 -583
- package/getters.js +3 -3
- package/index.js +51 -51
- package/metadata.js +3 -3
- package/operations.js +7 -7
- package/package.json +80 -86
- package/src/definitions/index.d.ts +2 -2
- package/src/definitions/{shared/lib → model/definitions}/available-fields.d.ts +0 -1
- package/src/definitions/{shared/lib/compilers/index.d.ts → model/definitions/compilers/compile.d.ts} +1 -1
- package/src/definitions/model/definitions/data-item-resolution.d.ts +19 -0
- package/src/definitions/model/definitions/descriptors/descriptor-metadata.d.ts +1341 -0
- package/src/definitions/model/definitions/descriptors/json-schema.d.ts +2 -0
- package/src/definitions/model/definitions/diagnostics.d.ts +5 -0
- package/src/definitions/model/definitions/field-suggestions.d.ts +2 -0
- package/src/definitions/model/definitions/index.d.ts +23 -0
- package/src/definitions/{shared/lib → model/definitions}/registry/compile.d.ts +1 -1
- package/src/definitions/model/definitions/registry/descriptor-registry.d.ts +3 -0
- package/src/definitions/model/definitions/schema-registry.d.ts +660 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/broad-chart.schema.d.ts +1 -1
- package/src/definitions/{shared/lib → model/definitions}/schemas/common.schema.d.ts +0 -1
- package/src/definitions/model/definitions/schemas/index.d.ts +9 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/object.schema.d.ts +6 -6
- package/src/definitions/{shared/lib → model/definitions}/types/definition.types.d.ts +1 -1
- package/src/definitions/model/definitions/types/index.d.ts +3 -0
- package/src/definitions/{shared/lib/registry → model/definitions}/validation.d.ts +1 -1
- package/chunks/Radio-Ciu-F4CU.js +0 -957
- package/chunks/ToggleButton-BCJc3Jlc.js +0 -153
- package/chunks/_baseFlatten-DPXPOrea.js +0 -7076
- package/chunks/app-filter-bar.compiler-j_CVoWTa.js +0 -55
- package/chunks/bar.compiler-oqaPzIut.js +0 -370
- package/chunks/data-item-resolution-1lvYB5ln.js +0 -53
- package/chunks/event-bus-KiSiCJrC.js +0 -2683
- package/chunks/filter.compiler-CuLtc_02.js +0 -60
- package/chunks/gauge-target-type-BkKXAqkX.js +0 -4
- package/chunks/interfaces-VUY4_yVO.js +0 -8742
- package/chunks/line-settings-DfYTUyPz.js +0 -4
- package/chunks/line.compiler-BpA_6Tc7.js +0 -188
- package/chunks/number.compiler-DbkWcG4S.js +0 -44
- package/chunks/pie-uv42Eqal.js +0 -10
- package/chunks/src-Dun_jXtz.js +0 -10295
- package/chunks/standalone-87YV_m9n.js +0 -687
- package/chunks/standalone-BLVAWLNJ.js +0 -385
- package/chunks/standalone-BPomtAVs.js +0 -2
- package/chunks/standalone-BXyBcUOQ.js +0 -2
- package/chunks/standalone-BllF4rDp.js +0 -383
- package/chunks/standalone-BqWyrnZI.js +0 -281
- package/chunks/standalone-DQxxNwF8.js +0 -675
- package/chunks/standalone-DS9T0FZ-.js +0 -830
- package/chunks/standalone-DzixzZAL.js +0 -411
- package/chunks/standalone-QJ1kKMnO.js +0 -6
- package/chunks/table.compiler-BrXkm4Fz.js +0 -213
- package/chunks/toInteger-DVZr-D1j.js +0 -11
- package/chunks/treemap-x_zmJoG7.js +0 -23
- package/chunks/types-dVVCsDWD.js +0 -4
- package/chunks/view-CLqWMV7Z.js +0 -156
- package/src/definitions/shared/index.d.ts +0 -5
- package/src/definitions/shared/lib/registry/descriptor-registry.d.ts +0 -587
- package/src/definitions/shared/lib/registry/index.d.ts +0 -3
- package/src/definitions/shared/lib/schemas/index.d.ts +0 -9
- package/src/definitions/shared/lib/types/index.d.ts +0 -3
- package/src/definitions/{shared/lib → model/definitions}/schemas/app-filter-bar.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/bar.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/filter.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/line.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/number.schema.d.ts +0 -0
- package/src/definitions/{shared/lib → model/definitions}/schemas/table.schema.d.ts +4 -4
- /package/src/definitions/{shared/lib → model/definitions}/types/compilation.types.d.ts +0 -0
- /package/src/definitions/{shared/lib → model/definitions}/types/descriptor.types.d.ts +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# `sankey` operations
|
|
4
4
|
|
|
5
|
-
Reference for `@astrato-io/visualizations@0.6.
|
|
5
|
+
Reference for `@astrato-io/visualizations@0.6.5`.
|
|
6
6
|
|
|
7
7
|
[All visualization types](./index.md)
|
|
8
8
|
|
|
@@ -71,7 +71,6 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
71
71
|
```json
|
|
72
72
|
{
|
|
73
73
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
74
|
-
"title": "Add coloring overwrite schema",
|
|
75
74
|
"anyOf": [
|
|
76
75
|
{
|
|
77
76
|
"type": "object",
|
|
@@ -81,21 +80,21 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
81
80
|
"type": "object",
|
|
82
81
|
"properties": {
|
|
83
82
|
"dataItemInternalKey": {
|
|
84
|
-
"
|
|
85
|
-
"
|
|
83
|
+
"type": "string",
|
|
84
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
86
85
|
},
|
|
87
86
|
"dataItemUniqueSignature": {
|
|
88
|
-
"
|
|
89
|
-
"
|
|
87
|
+
"type": "string",
|
|
88
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
90
89
|
}
|
|
91
90
|
},
|
|
92
91
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
93
92
|
"additionalProperties": false
|
|
94
93
|
},
|
|
95
94
|
"color": {
|
|
96
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
97
95
|
"type": "string",
|
|
98
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
96
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
97
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
99
98
|
},
|
|
100
99
|
"operator": {
|
|
101
100
|
"description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
|
|
@@ -104,14 +103,7 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
104
103
|
},
|
|
105
104
|
"value": {
|
|
106
105
|
"description": "Value to compare against",
|
|
107
|
-
"
|
|
108
|
-
{
|
|
109
|
-
"type": "string"
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
"type": "number"
|
|
113
|
-
}
|
|
114
|
-
]
|
|
106
|
+
"type": ["string", "number"]
|
|
115
107
|
}
|
|
116
108
|
},
|
|
117
109
|
"required": ["color", "value"],
|
|
@@ -125,48 +117,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
125
117
|
"type": "object",
|
|
126
118
|
"properties": {
|
|
127
119
|
"dataItemInternalKey": {
|
|
128
|
-
"
|
|
129
|
-
"
|
|
120
|
+
"type": "string",
|
|
121
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
130
122
|
},
|
|
131
123
|
"dataItemUniqueSignature": {
|
|
132
|
-
"
|
|
133
|
-
"
|
|
124
|
+
"type": "string",
|
|
125
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
134
126
|
}
|
|
135
127
|
},
|
|
136
128
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
137
129
|
"additionalProperties": false
|
|
138
130
|
},
|
|
139
131
|
"color": {
|
|
140
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
141
132
|
"type": "string",
|
|
142
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
133
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
134
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
143
135
|
},
|
|
144
136
|
"operator": {
|
|
145
|
-
"description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
|
|
146
137
|
"type": "string",
|
|
147
|
-
"const": "between"
|
|
138
|
+
"const": "between",
|
|
139
|
+
"description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
|
|
148
140
|
},
|
|
149
141
|
"value": {
|
|
150
142
|
"description": "Lower bound of the range",
|
|
151
|
-
"
|
|
152
|
-
{
|
|
153
|
-
"type": "string"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"type": "number"
|
|
157
|
-
}
|
|
158
|
-
]
|
|
143
|
+
"type": ["string", "number"]
|
|
159
144
|
},
|
|
160
145
|
"secondValue": {
|
|
161
146
|
"description": "Upper bound of the range",
|
|
162
|
-
"
|
|
163
|
-
{
|
|
164
|
-
"type": "string"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"type": "number"
|
|
168
|
-
}
|
|
169
|
-
]
|
|
147
|
+
"type": ["string", "number"]
|
|
170
148
|
}
|
|
171
149
|
},
|
|
172
150
|
"required": ["color", "operator", "value", "secondValue"],
|
|
@@ -180,41 +158,34 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
180
158
|
"type": "object",
|
|
181
159
|
"properties": {
|
|
182
160
|
"dataItemInternalKey": {
|
|
183
|
-
"
|
|
184
|
-
"
|
|
161
|
+
"type": "string",
|
|
162
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
185
163
|
},
|
|
186
164
|
"dataItemUniqueSignature": {
|
|
187
|
-
"
|
|
188
|
-
"
|
|
165
|
+
"type": "string",
|
|
166
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
189
167
|
}
|
|
190
168
|
},
|
|
191
169
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
192
170
|
"additionalProperties": false
|
|
193
171
|
},
|
|
194
172
|
"color": {
|
|
195
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
196
173
|
"type": "string",
|
|
197
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
174
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
175
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
198
176
|
},
|
|
199
177
|
"operator": {
|
|
200
|
-
"description": "Match (inList) or exclude (notInList) every value in values",
|
|
201
178
|
"type": "string",
|
|
202
|
-
"enum": ["inList", "notInList"]
|
|
179
|
+
"enum": ["inList", "notInList"],
|
|
180
|
+
"description": "Match (inList) or exclude (notInList) every value in values"
|
|
203
181
|
},
|
|
204
182
|
"values": {
|
|
205
|
-
"description": "Values to match",
|
|
206
183
|
"minItems": 1,
|
|
207
184
|
"type": "array",
|
|
208
185
|
"items": {
|
|
209
|
-
"
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"type": "number"
|
|
215
|
-
}
|
|
216
|
-
]
|
|
217
|
-
}
|
|
186
|
+
"type": ["string", "number"]
|
|
187
|
+
},
|
|
188
|
+
"description": "Values to match"
|
|
218
189
|
},
|
|
219
190
|
"delimiter": {
|
|
220
191
|
"description": "Separator the values are stored with; defaults to \",\". No value may contain it",
|
|
@@ -225,7 +196,8 @@ Append one value color, eg. color the dimension value "Happy" dark teal. Value c
|
|
|
225
196
|
"required": ["color", "operator", "values"],
|
|
226
197
|
"additionalProperties": false
|
|
227
198
|
}
|
|
228
|
-
]
|
|
199
|
+
],
|
|
200
|
+
"title": "Add coloring overwrite schema"
|
|
229
201
|
}
|
|
230
202
|
```
|
|
231
203
|
|
|
@@ -240,47 +212,39 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
240
212
|
```json
|
|
241
213
|
{
|
|
242
214
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
243
|
-
"title": "Add coloring rule schema",
|
|
244
215
|
"anyOf": [
|
|
245
216
|
{
|
|
246
217
|
"type": "object",
|
|
247
218
|
"properties": {
|
|
248
219
|
"measure": {
|
|
249
|
-
"description": "Measure whose value is compared",
|
|
250
220
|
"type": "object",
|
|
251
221
|
"properties": {
|
|
252
222
|
"dataItemInternalKey": {
|
|
253
|
-
"
|
|
254
|
-
"
|
|
223
|
+
"type": "string",
|
|
224
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
255
225
|
},
|
|
256
226
|
"dataItemUniqueSignature": {
|
|
257
|
-
"
|
|
258
|
-
"
|
|
227
|
+
"type": "string",
|
|
228
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
259
229
|
}
|
|
260
230
|
},
|
|
261
231
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
262
|
-
"additionalProperties": false
|
|
232
|
+
"additionalProperties": false,
|
|
233
|
+
"description": "Measure whose value is compared"
|
|
263
234
|
},
|
|
264
235
|
"color": {
|
|
265
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
266
236
|
"type": "string",
|
|
267
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
237
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
238
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
268
239
|
},
|
|
269
240
|
"operator": {
|
|
270
|
-
"description": "How the measure value is compared",
|
|
271
241
|
"type": "string",
|
|
272
|
-
"enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
|
|
242
|
+
"enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
|
|
243
|
+
"description": "How the measure value is compared"
|
|
273
244
|
},
|
|
274
245
|
"value": {
|
|
275
246
|
"description": "Value to compare against",
|
|
276
|
-
"
|
|
277
|
-
{
|
|
278
|
-
"type": "string"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"type": "number"
|
|
282
|
-
}
|
|
283
|
-
]
|
|
247
|
+
"type": ["string", "number"]
|
|
284
248
|
}
|
|
285
249
|
},
|
|
286
250
|
"required": ["measure", "color", "operator", "value"],
|
|
@@ -290,52 +254,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
290
254
|
"type": "object",
|
|
291
255
|
"properties": {
|
|
292
256
|
"measure": {
|
|
293
|
-
"description": "Measure whose value is compared",
|
|
294
257
|
"type": "object",
|
|
295
258
|
"properties": {
|
|
296
259
|
"dataItemInternalKey": {
|
|
297
|
-
"
|
|
298
|
-
"
|
|
260
|
+
"type": "string",
|
|
261
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
299
262
|
},
|
|
300
263
|
"dataItemUniqueSignature": {
|
|
301
|
-
"
|
|
302
|
-
"
|
|
264
|
+
"type": "string",
|
|
265
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
303
266
|
}
|
|
304
267
|
},
|
|
305
268
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
306
|
-
"additionalProperties": false
|
|
269
|
+
"additionalProperties": false,
|
|
270
|
+
"description": "Measure whose value is compared"
|
|
307
271
|
},
|
|
308
272
|
"color": {
|
|
309
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
310
273
|
"type": "string",
|
|
311
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
274
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
275
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
312
276
|
},
|
|
313
277
|
"operator": {
|
|
314
|
-
"description": "Matches measure values from value to secondValue, both inclusive",
|
|
315
278
|
"type": "string",
|
|
316
|
-
"const": "between"
|
|
279
|
+
"const": "between",
|
|
280
|
+
"description": "Matches measure values from value to secondValue, both inclusive"
|
|
317
281
|
},
|
|
318
282
|
"value": {
|
|
319
283
|
"description": "Lower bound of the range",
|
|
320
|
-
"
|
|
321
|
-
{
|
|
322
|
-
"type": "string"
|
|
323
|
-
},
|
|
324
|
-
{
|
|
325
|
-
"type": "number"
|
|
326
|
-
}
|
|
327
|
-
]
|
|
284
|
+
"type": ["string", "number"]
|
|
328
285
|
},
|
|
329
286
|
"secondValue": {
|
|
330
287
|
"description": "Upper bound of the range",
|
|
331
|
-
"
|
|
332
|
-
{
|
|
333
|
-
"type": "string"
|
|
334
|
-
},
|
|
335
|
-
{
|
|
336
|
-
"type": "number"
|
|
337
|
-
}
|
|
338
|
-
]
|
|
288
|
+
"type": ["string", "number"]
|
|
339
289
|
}
|
|
340
290
|
},
|
|
341
291
|
"required": ["measure", "color", "operator", "value", "secondValue"],
|
|
@@ -345,45 +295,38 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
345
295
|
"type": "object",
|
|
346
296
|
"properties": {
|
|
347
297
|
"measure": {
|
|
348
|
-
"description": "Measure whose value is compared",
|
|
349
298
|
"type": "object",
|
|
350
299
|
"properties": {
|
|
351
300
|
"dataItemInternalKey": {
|
|
352
|
-
"
|
|
353
|
-
"
|
|
301
|
+
"type": "string",
|
|
302
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
354
303
|
},
|
|
355
304
|
"dataItemUniqueSignature": {
|
|
356
|
-
"
|
|
357
|
-
"
|
|
305
|
+
"type": "string",
|
|
306
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
358
307
|
}
|
|
359
308
|
},
|
|
360
309
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
361
|
-
"additionalProperties": false
|
|
310
|
+
"additionalProperties": false,
|
|
311
|
+
"description": "Measure whose value is compared"
|
|
362
312
|
},
|
|
363
313
|
"color": {
|
|
364
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
365
314
|
"type": "string",
|
|
366
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
315
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
316
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
367
317
|
},
|
|
368
318
|
"operator": {
|
|
369
|
-
"description": "Match (inList) or exclude (notInList) every value in values",
|
|
370
319
|
"type": "string",
|
|
371
|
-
"enum": ["inList", "notInList"]
|
|
320
|
+
"enum": ["inList", "notInList"],
|
|
321
|
+
"description": "Match (inList) or exclude (notInList) every value in values"
|
|
372
322
|
},
|
|
373
323
|
"values": {
|
|
374
|
-
"description": "Values to match",
|
|
375
324
|
"minItems": 1,
|
|
376
325
|
"type": "array",
|
|
377
326
|
"items": {
|
|
378
|
-
"
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"type": "number"
|
|
384
|
-
}
|
|
385
|
-
]
|
|
386
|
-
}
|
|
327
|
+
"type": ["string", "number"]
|
|
328
|
+
},
|
|
329
|
+
"description": "Values to match"
|
|
387
330
|
},
|
|
388
331
|
"delimiter": {
|
|
389
332
|
"description": "Separator the values are stored with; defaults to \",\". No value may contain it",
|
|
@@ -394,7 +337,8 @@ Append one measure color rule, eg. color marks red when Sales is below 100. Earl
|
|
|
394
337
|
"required": ["measure", "color", "operator", "values"],
|
|
395
338
|
"additionalProperties": false
|
|
396
339
|
}
|
|
397
|
-
]
|
|
340
|
+
],
|
|
341
|
+
"title": "Add coloring rule schema"
|
|
398
342
|
}
|
|
399
343
|
```
|
|
400
344
|
|
|
@@ -409,16 +353,16 @@ Add a new dimension to the chart
|
|
|
409
353
|
```json
|
|
410
354
|
{
|
|
411
355
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
412
|
-
"title": "Add dimension schema",
|
|
413
356
|
"type": "object",
|
|
414
357
|
"properties": {
|
|
415
358
|
"key": {
|
|
416
|
-
"
|
|
417
|
-
"
|
|
359
|
+
"type": "string",
|
|
360
|
+
"description": "Engine key of the field to be added as a dimension, eg. \"[Cars].[Horsepower]\""
|
|
418
361
|
}
|
|
419
362
|
},
|
|
420
363
|
"required": ["key"],
|
|
421
|
-
"additionalProperties": false
|
|
364
|
+
"additionalProperties": false,
|
|
365
|
+
"title": "Add dimension schema"
|
|
422
366
|
}
|
|
423
367
|
```
|
|
424
368
|
|
|
@@ -433,23 +377,22 @@ Add a new measure to the chart
|
|
|
433
377
|
```json
|
|
434
378
|
{
|
|
435
379
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
436
|
-
"
|
|
437
|
-
"anyOf": [
|
|
380
|
+
"oneOf": [
|
|
438
381
|
{
|
|
439
382
|
"type": "object",
|
|
440
383
|
"properties": {
|
|
441
384
|
"sourceKind": {
|
|
442
|
-
"description": "Raw database field from available data `fields`.",
|
|
443
385
|
"type": "string",
|
|
444
|
-
"const": "field"
|
|
386
|
+
"const": "field",
|
|
387
|
+
"description": "Raw database field from available data `fields`."
|
|
445
388
|
},
|
|
446
389
|
"key": {
|
|
447
|
-
"
|
|
448
|
-
"
|
|
390
|
+
"type": "string",
|
|
391
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
449
392
|
},
|
|
450
393
|
"aggregation": {
|
|
451
|
-
"
|
|
452
|
-
"
|
|
394
|
+
"type": "string",
|
|
395
|
+
"description": "Required for raw database fields. Use one of the aggregation names returned for that field."
|
|
453
396
|
}
|
|
454
397
|
},
|
|
455
398
|
"required": ["sourceKind", "key", "aggregation"],
|
|
@@ -459,13 +402,13 @@ Add a new measure to the chart
|
|
|
459
402
|
"type": "object",
|
|
460
403
|
"properties": {
|
|
461
404
|
"sourceKind": {
|
|
462
|
-
"description": "Predefined/user-defined measure from available data `measures`.",
|
|
463
405
|
"type": "string",
|
|
464
|
-
"const": "measure"
|
|
406
|
+
"const": "measure",
|
|
407
|
+
"description": "Predefined/user-defined measure from available data `measures`."
|
|
465
408
|
},
|
|
466
409
|
"key": {
|
|
467
|
-
"
|
|
468
|
-
"
|
|
410
|
+
"type": "string",
|
|
411
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
469
412
|
}
|
|
470
413
|
},
|
|
471
414
|
"required": ["sourceKind", "key"],
|
|
@@ -475,19 +418,20 @@ Add a new measure to the chart
|
|
|
475
418
|
"type": "object",
|
|
476
419
|
"properties": {
|
|
477
420
|
"sourceKind": {
|
|
478
|
-
"description": "Predefined calculation from available data `measures`.",
|
|
479
421
|
"type": "string",
|
|
480
|
-
"const": "calculation"
|
|
422
|
+
"const": "calculation",
|
|
423
|
+
"description": "Predefined calculation from available data `measures`."
|
|
481
424
|
},
|
|
482
425
|
"key": {
|
|
483
|
-
"
|
|
484
|
-
"
|
|
426
|
+
"type": "string",
|
|
427
|
+
"description": "Engine key of the item to be added as a measure, eg. \"[Cars].[Horsepower]\""
|
|
485
428
|
}
|
|
486
429
|
},
|
|
487
430
|
"required": ["sourceKind", "key"],
|
|
488
431
|
"additionalProperties": false
|
|
489
432
|
}
|
|
490
|
-
]
|
|
433
|
+
],
|
|
434
|
+
"title": "Add measure schema"
|
|
491
435
|
}
|
|
492
436
|
```
|
|
493
437
|
|
|
@@ -502,22 +446,19 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
502
446
|
```json
|
|
503
447
|
{
|
|
504
448
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
505
|
-
"description": "Add another measure filter before aggregation. Keeps existing filters.",
|
|
506
|
-
"title": "Add measure filter schema",
|
|
507
449
|
"anyOf": [
|
|
508
450
|
{
|
|
509
451
|
"type": "object",
|
|
510
452
|
"properties": {
|
|
511
453
|
"measureName": {
|
|
512
|
-
"
|
|
513
|
-
"
|
|
454
|
+
"type": "string",
|
|
455
|
+
"description": "Visible measure name or label"
|
|
514
456
|
},
|
|
515
457
|
"fieldKey": {
|
|
516
|
-
"
|
|
517
|
-
"
|
|
458
|
+
"type": "string",
|
|
459
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
518
460
|
},
|
|
519
461
|
"operator": {
|
|
520
|
-
"description": "Filter operator that requires a value",
|
|
521
462
|
"type": "string",
|
|
522
463
|
"enum": [
|
|
523
464
|
"equals",
|
|
@@ -532,10 +473,10 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
532
473
|
"notLike",
|
|
533
474
|
"startsWith",
|
|
534
475
|
"endsWith"
|
|
535
|
-
]
|
|
476
|
+
],
|
|
477
|
+
"description": "Filter operator that requires a value"
|
|
536
478
|
},
|
|
537
479
|
"value": {
|
|
538
|
-
"description": "Filter value",
|
|
539
480
|
"anyOf": [
|
|
540
481
|
{
|
|
541
482
|
"type": "string"
|
|
@@ -554,7 +495,8 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
554
495
|
"required": ["type", "variableName"],
|
|
555
496
|
"additionalProperties": false
|
|
556
497
|
}
|
|
557
|
-
]
|
|
498
|
+
],
|
|
499
|
+
"description": "Filter value"
|
|
558
500
|
}
|
|
559
501
|
},
|
|
560
502
|
"required": ["measureName", "fieldKey", "operator", "value"],
|
|
@@ -564,20 +506,19 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
564
506
|
"type": "object",
|
|
565
507
|
"properties": {
|
|
566
508
|
"measureName": {
|
|
567
|
-
"
|
|
568
|
-
"
|
|
509
|
+
"type": "string",
|
|
510
|
+
"description": "Visible measure name or label"
|
|
569
511
|
},
|
|
570
512
|
"fieldKey": {
|
|
571
|
-
"
|
|
572
|
-
"
|
|
513
|
+
"type": "string",
|
|
514
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
573
515
|
},
|
|
574
516
|
"operator": {
|
|
575
|
-
"description": "Filter operator that requires valueFrom and valueTo",
|
|
576
517
|
"type": "string",
|
|
577
|
-
"enum": ["isBetween", "isNotBetween"]
|
|
518
|
+
"enum": ["isBetween", "isNotBetween"],
|
|
519
|
+
"description": "Filter operator that requires valueFrom and valueTo"
|
|
578
520
|
},
|
|
579
521
|
"valueFrom": {
|
|
580
|
-
"description": "Lower filter value",
|
|
581
522
|
"anyOf": [
|
|
582
523
|
{
|
|
583
524
|
"type": "string"
|
|
@@ -596,10 +537,10 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
596
537
|
"required": ["type", "variableName"],
|
|
597
538
|
"additionalProperties": false
|
|
598
539
|
}
|
|
599
|
-
]
|
|
540
|
+
],
|
|
541
|
+
"description": "Lower filter value"
|
|
600
542
|
},
|
|
601
543
|
"valueTo": {
|
|
602
|
-
"description": "Upper filter value",
|
|
603
544
|
"anyOf": [
|
|
604
545
|
{
|
|
605
546
|
"type": "string"
|
|
@@ -618,7 +559,8 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
618
559
|
"required": ["type", "variableName"],
|
|
619
560
|
"additionalProperties": false
|
|
620
561
|
}
|
|
621
|
-
]
|
|
562
|
+
],
|
|
563
|
+
"description": "Upper filter value"
|
|
622
564
|
}
|
|
623
565
|
},
|
|
624
566
|
"required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
|
|
@@ -628,25 +570,25 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
628
570
|
"type": "object",
|
|
629
571
|
"properties": {
|
|
630
572
|
"measureName": {
|
|
631
|
-
"
|
|
632
|
-
"
|
|
573
|
+
"type": "string",
|
|
574
|
+
"description": "Visible measure name or label"
|
|
633
575
|
},
|
|
634
576
|
"fieldKey": {
|
|
635
|
-
"
|
|
636
|
-
"
|
|
577
|
+
"type": "string",
|
|
578
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
637
579
|
},
|
|
638
580
|
"operator": {
|
|
639
|
-
"description": "Filter operator that requires a list of values",
|
|
640
581
|
"type": "string",
|
|
641
|
-
"enum": ["inList", "excludedFromList"]
|
|
582
|
+
"enum": ["inList", "excludedFromList"],
|
|
583
|
+
"description": "Filter operator that requires a list of values"
|
|
642
584
|
},
|
|
643
585
|
"values": {
|
|
644
|
-
"description": "Filter values",
|
|
645
586
|
"minItems": 1,
|
|
646
587
|
"type": "array",
|
|
647
588
|
"items": {
|
|
648
589
|
"type": "string"
|
|
649
|
-
}
|
|
590
|
+
},
|
|
591
|
+
"description": "Filter values"
|
|
650
592
|
}
|
|
651
593
|
},
|
|
652
594
|
"required": ["measureName", "fieldKey", "operator", "values"],
|
|
@@ -656,23 +598,25 @@ Add another measure filter before aggregation. Keeps existing filters.
|
|
|
656
598
|
"type": "object",
|
|
657
599
|
"properties": {
|
|
658
600
|
"measureName": {
|
|
659
|
-
"
|
|
660
|
-
"
|
|
601
|
+
"type": "string",
|
|
602
|
+
"description": "Visible measure name or label"
|
|
661
603
|
},
|
|
662
604
|
"fieldKey": {
|
|
663
|
-
"
|
|
664
|
-
"
|
|
605
|
+
"type": "string",
|
|
606
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
665
607
|
},
|
|
666
608
|
"operator": {
|
|
667
|
-
"description": "Filter operator that does not require values",
|
|
668
609
|
"type": "string",
|
|
669
|
-
"enum": ["isNull", "notNull"]
|
|
610
|
+
"enum": ["isNull", "notNull"],
|
|
611
|
+
"description": "Filter operator that does not require values"
|
|
670
612
|
}
|
|
671
613
|
},
|
|
672
614
|
"required": ["measureName", "fieldKey", "operator"],
|
|
673
615
|
"additionalProperties": false
|
|
674
616
|
}
|
|
675
|
-
]
|
|
617
|
+
],
|
|
618
|
+
"description": "Add another measure filter before aggregation. Keeps existing filters.",
|
|
619
|
+
"title": "Add measure filter schema"
|
|
676
620
|
}
|
|
677
621
|
```
|
|
678
622
|
|
|
@@ -687,18 +631,15 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
687
631
|
```json
|
|
688
632
|
{
|
|
689
633
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
690
|
-
"description": "Add another result filter after aggregation. Keeps existing result filters.",
|
|
691
|
-
"title": "Add result filter schema",
|
|
692
634
|
"anyOf": [
|
|
693
635
|
{
|
|
694
636
|
"type": "object",
|
|
695
637
|
"properties": {
|
|
696
638
|
"measureName": {
|
|
697
|
-
"
|
|
698
|
-
"
|
|
639
|
+
"type": "string",
|
|
640
|
+
"description": "Visible measure name or label"
|
|
699
641
|
},
|
|
700
642
|
"operator": {
|
|
701
|
-
"description": "Filter operator that requires a value",
|
|
702
643
|
"type": "string",
|
|
703
644
|
"enum": [
|
|
704
645
|
"equals",
|
|
@@ -713,10 +654,10 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
713
654
|
"notLike",
|
|
714
655
|
"startsWith",
|
|
715
656
|
"endsWith"
|
|
716
|
-
]
|
|
657
|
+
],
|
|
658
|
+
"description": "Filter operator that requires a value"
|
|
717
659
|
},
|
|
718
660
|
"value": {
|
|
719
|
-
"description": "Filter value",
|
|
720
661
|
"anyOf": [
|
|
721
662
|
{
|
|
722
663
|
"type": "string"
|
|
@@ -735,7 +676,8 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
735
676
|
"required": ["type", "variableName"],
|
|
736
677
|
"additionalProperties": false
|
|
737
678
|
}
|
|
738
|
-
]
|
|
679
|
+
],
|
|
680
|
+
"description": "Filter value"
|
|
739
681
|
}
|
|
740
682
|
},
|
|
741
683
|
"required": ["measureName", "operator", "value"],
|
|
@@ -745,16 +687,15 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
745
687
|
"type": "object",
|
|
746
688
|
"properties": {
|
|
747
689
|
"measureName": {
|
|
748
|
-
"
|
|
749
|
-
"
|
|
690
|
+
"type": "string",
|
|
691
|
+
"description": "Visible measure name or label"
|
|
750
692
|
},
|
|
751
693
|
"operator": {
|
|
752
|
-
"description": "Filter operator that requires valueFrom and valueTo",
|
|
753
694
|
"type": "string",
|
|
754
|
-
"enum": ["isBetween", "isNotBetween"]
|
|
695
|
+
"enum": ["isBetween", "isNotBetween"],
|
|
696
|
+
"description": "Filter operator that requires valueFrom and valueTo"
|
|
755
697
|
},
|
|
756
698
|
"valueFrom": {
|
|
757
|
-
"description": "Lower filter value",
|
|
758
699
|
"anyOf": [
|
|
759
700
|
{
|
|
760
701
|
"type": "string"
|
|
@@ -773,10 +714,10 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
773
714
|
"required": ["type", "variableName"],
|
|
774
715
|
"additionalProperties": false
|
|
775
716
|
}
|
|
776
|
-
]
|
|
717
|
+
],
|
|
718
|
+
"description": "Lower filter value"
|
|
777
719
|
},
|
|
778
720
|
"valueTo": {
|
|
779
|
-
"description": "Upper filter value",
|
|
780
721
|
"anyOf": [
|
|
781
722
|
{
|
|
782
723
|
"type": "string"
|
|
@@ -795,7 +736,8 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
795
736
|
"required": ["type", "variableName"],
|
|
796
737
|
"additionalProperties": false
|
|
797
738
|
}
|
|
798
|
-
]
|
|
739
|
+
],
|
|
740
|
+
"description": "Upper filter value"
|
|
799
741
|
}
|
|
800
742
|
},
|
|
801
743
|
"required": ["measureName", "operator", "valueFrom", "valueTo"],
|
|
@@ -805,21 +747,21 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
805
747
|
"type": "object",
|
|
806
748
|
"properties": {
|
|
807
749
|
"measureName": {
|
|
808
|
-
"
|
|
809
|
-
"
|
|
750
|
+
"type": "string",
|
|
751
|
+
"description": "Visible measure name or label"
|
|
810
752
|
},
|
|
811
753
|
"operator": {
|
|
812
|
-
"description": "Filter operator that requires a list of values",
|
|
813
754
|
"type": "string",
|
|
814
|
-
"enum": ["inList", "excludedFromList"]
|
|
755
|
+
"enum": ["inList", "excludedFromList"],
|
|
756
|
+
"description": "Filter operator that requires a list of values"
|
|
815
757
|
},
|
|
816
758
|
"values": {
|
|
817
|
-
"description": "Filter values",
|
|
818
759
|
"minItems": 1,
|
|
819
760
|
"type": "array",
|
|
820
761
|
"items": {
|
|
821
762
|
"type": "string"
|
|
822
|
-
}
|
|
763
|
+
},
|
|
764
|
+
"description": "Filter values"
|
|
823
765
|
}
|
|
824
766
|
},
|
|
825
767
|
"required": ["measureName", "operator", "values"],
|
|
@@ -829,19 +771,21 @@ Add another result filter after aggregation. Keeps existing result filters.
|
|
|
829
771
|
"type": "object",
|
|
830
772
|
"properties": {
|
|
831
773
|
"measureName": {
|
|
832
|
-
"
|
|
833
|
-
"
|
|
774
|
+
"type": "string",
|
|
775
|
+
"description": "Visible measure name or label"
|
|
834
776
|
},
|
|
835
777
|
"operator": {
|
|
836
|
-
"description": "Filter operator that does not require values",
|
|
837
778
|
"type": "string",
|
|
838
|
-
"enum": ["isNull", "notNull"]
|
|
779
|
+
"enum": ["isNull", "notNull"],
|
|
780
|
+
"description": "Filter operator that does not require values"
|
|
839
781
|
}
|
|
840
782
|
},
|
|
841
783
|
"required": ["measureName", "operator"],
|
|
842
784
|
"additionalProperties": false
|
|
843
785
|
}
|
|
844
|
-
]
|
|
786
|
+
],
|
|
787
|
+
"description": "Add another result filter after aggregation. Keeps existing result filters.",
|
|
788
|
+
"title": "Add result filter schema"
|
|
845
789
|
}
|
|
846
790
|
```
|
|
847
791
|
|
|
@@ -856,25 +800,25 @@ Change how a measure is aggregated
|
|
|
856
800
|
```json
|
|
857
801
|
{
|
|
858
802
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
859
|
-
"title": "Change measure aggregation schema",
|
|
860
803
|
"type": "object",
|
|
861
804
|
"properties": {
|
|
862
805
|
"dataItemInternalKey": {
|
|
863
|
-
"
|
|
864
|
-
"
|
|
806
|
+
"type": "string",
|
|
807
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
865
808
|
},
|
|
866
809
|
"dataItemUniqueSignature": {
|
|
867
|
-
"
|
|
868
|
-
"
|
|
810
|
+
"type": "string",
|
|
811
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
869
812
|
},
|
|
870
813
|
"aggregation": {
|
|
871
|
-
"description": "Aggregation function to be used for the measure",
|
|
872
814
|
"type": "string",
|
|
873
|
-
"minLength": 1
|
|
815
|
+
"minLength": 1,
|
|
816
|
+
"description": "Aggregation function to be used for the measure"
|
|
874
817
|
}
|
|
875
818
|
},
|
|
876
819
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "aggregation"],
|
|
877
|
-
"additionalProperties": false
|
|
820
|
+
"additionalProperties": false,
|
|
821
|
+
"title": "Change measure aggregation schema"
|
|
878
822
|
}
|
|
879
823
|
```
|
|
880
824
|
|
|
@@ -889,21 +833,21 @@ Clear measure filters before aggregation. Use fieldKey for one field; omit it fo
|
|
|
889
833
|
```json
|
|
890
834
|
{
|
|
891
835
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
892
|
-
"description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
|
|
893
|
-
"title": "Clear measure filter schema",
|
|
894
836
|
"type": "object",
|
|
895
837
|
"properties": {
|
|
896
838
|
"measureName": {
|
|
897
|
-
"
|
|
898
|
-
"
|
|
839
|
+
"type": "string",
|
|
840
|
+
"description": "Visible measure name or label"
|
|
899
841
|
},
|
|
900
842
|
"fieldKey": {
|
|
901
|
-
"
|
|
902
|
-
"
|
|
843
|
+
"type": "string",
|
|
844
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label. Omit to clear all filters on the measure."
|
|
903
845
|
}
|
|
904
846
|
},
|
|
905
847
|
"required": ["measureName"],
|
|
906
|
-
"additionalProperties": false
|
|
848
|
+
"additionalProperties": false,
|
|
849
|
+
"description": "Clear measure filters before aggregation. Use fieldKey for one field; omit it for all.",
|
|
850
|
+
"title": "Clear measure filter schema"
|
|
907
851
|
}
|
|
908
852
|
```
|
|
909
853
|
|
|
@@ -918,17 +862,17 @@ Clear all result filters for one measure.
|
|
|
918
862
|
```json
|
|
919
863
|
{
|
|
920
864
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
921
|
-
"description": "Clear all result filters for one measure.",
|
|
922
|
-
"title": "Clear result filter schema",
|
|
923
865
|
"type": "object",
|
|
924
866
|
"properties": {
|
|
925
867
|
"measureName": {
|
|
926
|
-
"
|
|
927
|
-
"
|
|
868
|
+
"type": "string",
|
|
869
|
+
"description": "Visible measure name or label"
|
|
928
870
|
}
|
|
929
871
|
},
|
|
930
872
|
"required": ["measureName"],
|
|
931
|
-
"additionalProperties": false
|
|
873
|
+
"additionalProperties": false,
|
|
874
|
+
"description": "Clear all result filters for one measure.",
|
|
875
|
+
"title": "Clear result filter schema"
|
|
932
876
|
}
|
|
933
877
|
```
|
|
934
878
|
|
|
@@ -943,20 +887,20 @@ Create a copy of an existing dimension
|
|
|
943
887
|
```json
|
|
944
888
|
{
|
|
945
889
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
946
|
-
"title": "Duplicate dimension schema",
|
|
947
890
|
"type": "object",
|
|
948
891
|
"properties": {
|
|
949
892
|
"dataItemInternalKey": {
|
|
950
|
-
"
|
|
951
|
-
"
|
|
893
|
+
"type": "string",
|
|
894
|
+
"description": "Internal key of the data item of the dimension to be duplicated"
|
|
952
895
|
},
|
|
953
896
|
"dataItemUniqueSignature": {
|
|
954
|
-
"
|
|
955
|
-
"
|
|
897
|
+
"type": "string",
|
|
898
|
+
"description": "Unique signature of the data item of the dimension to be duplicated"
|
|
956
899
|
}
|
|
957
900
|
},
|
|
958
901
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
959
|
-
"additionalProperties": false
|
|
902
|
+
"additionalProperties": false,
|
|
903
|
+
"title": "Duplicate dimension schema"
|
|
960
904
|
}
|
|
961
905
|
```
|
|
962
906
|
|
|
@@ -971,20 +915,20 @@ Create a copy of an existing measure
|
|
|
971
915
|
```json
|
|
972
916
|
{
|
|
973
917
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
974
|
-
"title": "Duplicate measure schema",
|
|
975
918
|
"type": "object",
|
|
976
919
|
"properties": {
|
|
977
920
|
"dataItemInternalKey": {
|
|
978
|
-
"
|
|
979
|
-
"
|
|
921
|
+
"type": "string",
|
|
922
|
+
"description": "Internal key of the data item of the measure to be duplicated"
|
|
980
923
|
},
|
|
981
924
|
"dataItemUniqueSignature": {
|
|
982
|
-
"
|
|
983
|
-
"
|
|
925
|
+
"type": "string",
|
|
926
|
+
"description": "Unique signature of the data item of the measure to be duplicated"
|
|
984
927
|
}
|
|
985
928
|
},
|
|
986
929
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
987
|
-
"additionalProperties": false
|
|
930
|
+
"additionalProperties": false,
|
|
931
|
+
"title": "Duplicate measure schema"
|
|
988
932
|
}
|
|
989
933
|
```
|
|
990
934
|
|
|
@@ -999,18 +943,18 @@ Remove one value color by its position, as returned by getColoringOverwrites
|
|
|
999
943
|
```json
|
|
1000
944
|
{
|
|
1001
945
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1002
|
-
"title": "Remove coloring overwrite schema",
|
|
1003
946
|
"type": "object",
|
|
1004
947
|
"properties": {
|
|
1005
948
|
"index": {
|
|
1006
|
-
"description": "Zero-based position of the entry to remove",
|
|
1007
949
|
"type": "integer",
|
|
1008
950
|
"minimum": 0,
|
|
1009
|
-
"maximum": 9007199254740991
|
|
951
|
+
"maximum": 9007199254740991,
|
|
952
|
+
"description": "Zero-based position of the entry to remove"
|
|
1010
953
|
}
|
|
1011
954
|
},
|
|
1012
955
|
"required": ["index"],
|
|
1013
|
-
"additionalProperties": false
|
|
956
|
+
"additionalProperties": false,
|
|
957
|
+
"title": "Remove coloring overwrite schema"
|
|
1014
958
|
}
|
|
1015
959
|
```
|
|
1016
960
|
|
|
@@ -1025,18 +969,18 @@ Remove one measure color rule by its position, as returned by getColoringRules
|
|
|
1025
969
|
```json
|
|
1026
970
|
{
|
|
1027
971
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1028
|
-
"title": "Remove coloring rule schema",
|
|
1029
972
|
"type": "object",
|
|
1030
973
|
"properties": {
|
|
1031
974
|
"index": {
|
|
1032
|
-
"description": "Zero-based position of the entry to remove",
|
|
1033
975
|
"type": "integer",
|
|
1034
976
|
"minimum": 0,
|
|
1035
|
-
"maximum": 9007199254740991
|
|
977
|
+
"maximum": 9007199254740991,
|
|
978
|
+
"description": "Zero-based position of the entry to remove"
|
|
1036
979
|
}
|
|
1037
980
|
},
|
|
1038
981
|
"required": ["index"],
|
|
1039
|
-
"additionalProperties": false
|
|
982
|
+
"additionalProperties": false,
|
|
983
|
+
"title": "Remove coloring rule schema"
|
|
1040
984
|
}
|
|
1041
985
|
```
|
|
1042
986
|
|
|
@@ -1051,20 +995,20 @@ Remove a dimension from the chart
|
|
|
1051
995
|
```json
|
|
1052
996
|
{
|
|
1053
997
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1054
|
-
"title": "Remove dimension schema",
|
|
1055
998
|
"type": "object",
|
|
1056
999
|
"properties": {
|
|
1057
1000
|
"dataItemInternalKey": {
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
1001
|
+
"type": "string",
|
|
1002
|
+
"description": "Internal key of the data item of the dimension to be removed"
|
|
1060
1003
|
},
|
|
1061
1004
|
"dataItemUniqueSignature": {
|
|
1062
|
-
"
|
|
1063
|
-
"
|
|
1005
|
+
"type": "string",
|
|
1006
|
+
"description": "Unique signature of the data item of the dimension to be removed"
|
|
1064
1007
|
}
|
|
1065
1008
|
},
|
|
1066
1009
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1067
|
-
"additionalProperties": false
|
|
1010
|
+
"additionalProperties": false,
|
|
1011
|
+
"title": "Remove dimension schema"
|
|
1068
1012
|
}
|
|
1069
1013
|
```
|
|
1070
1014
|
|
|
@@ -1079,20 +1023,20 @@ Remove a measure from the chart
|
|
|
1079
1023
|
```json
|
|
1080
1024
|
{
|
|
1081
1025
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1082
|
-
"title": "Remove measure schema",
|
|
1083
1026
|
"type": "object",
|
|
1084
1027
|
"properties": {
|
|
1085
1028
|
"dataItemInternalKey": {
|
|
1086
|
-
"
|
|
1087
|
-
"
|
|
1029
|
+
"type": "string",
|
|
1030
|
+
"description": "Internal key of the data item of the measure to be removed"
|
|
1088
1031
|
},
|
|
1089
1032
|
"dataItemUniqueSignature": {
|
|
1090
|
-
"
|
|
1091
|
-
"
|
|
1033
|
+
"type": "string",
|
|
1034
|
+
"description": "Unique signature of the data item of the measure to be removed"
|
|
1092
1035
|
}
|
|
1093
1036
|
},
|
|
1094
1037
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1095
|
-
"additionalProperties": false
|
|
1038
|
+
"additionalProperties": false,
|
|
1039
|
+
"title": "Remove measure schema"
|
|
1096
1040
|
}
|
|
1097
1041
|
```
|
|
1098
1042
|
|
|
@@ -1107,10 +1051,10 @@ Reset the chart palette back to the workbook theme default
|
|
|
1107
1051
|
```json
|
|
1108
1052
|
{
|
|
1109
1053
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1110
|
-
"title": "Reset chart palette schema",
|
|
1111
1054
|
"type": "object",
|
|
1112
1055
|
"properties": {},
|
|
1113
|
-
"additionalProperties": false
|
|
1056
|
+
"additionalProperties": false,
|
|
1057
|
+
"title": "Reset chart palette schema"
|
|
1114
1058
|
}
|
|
1115
1059
|
```
|
|
1116
1060
|
|
|
@@ -1125,16 +1069,16 @@ Turn the chart animations on or off. They are on by default; the host can still
|
|
|
1125
1069
|
```json
|
|
1126
1070
|
{
|
|
1127
1071
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1128
|
-
"title": "Set animation enabled schema",
|
|
1129
1072
|
"type": "object",
|
|
1130
1073
|
"properties": {
|
|
1131
1074
|
"enabled": {
|
|
1132
|
-
"
|
|
1133
|
-
"
|
|
1075
|
+
"type": "boolean",
|
|
1076
|
+
"description": "Whether the chart animates when it first renders and when its data changes"
|
|
1134
1077
|
}
|
|
1135
1078
|
},
|
|
1136
1079
|
"required": ["enabled"],
|
|
1137
|
-
"additionalProperties": false
|
|
1080
|
+
"additionalProperties": false,
|
|
1081
|
+
"title": "Set animation enabled schema"
|
|
1138
1082
|
}
|
|
1139
1083
|
```
|
|
1140
1084
|
|
|
@@ -1149,9 +1093,9 @@ Apply an existing palette using a built-in palette name or a theme palette label
|
|
|
1149
1093
|
```json
|
|
1150
1094
|
{
|
|
1151
1095
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1152
|
-
"title": "Chart palette schema",
|
|
1153
1096
|
"type": "string",
|
|
1154
|
-
"minLength": 1
|
|
1097
|
+
"minLength": 1,
|
|
1098
|
+
"title": "Chart palette schema"
|
|
1155
1099
|
}
|
|
1156
1100
|
```
|
|
1157
1101
|
|
|
@@ -1166,9 +1110,9 @@ Set the single color used by the chart
|
|
|
1166
1110
|
```json
|
|
1167
1111
|
{
|
|
1168
1112
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1169
|
-
"title": "Coloring color schema",
|
|
1170
1113
|
"type": "string",
|
|
1171
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1114
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1115
|
+
"title": "Coloring color schema"
|
|
1172
1116
|
}
|
|
1173
1117
|
```
|
|
1174
1118
|
|
|
@@ -1183,11 +1127,9 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1183
1127
|
```json
|
|
1184
1128
|
{
|
|
1185
1129
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1186
|
-
"title": "Set coloring overwrites schema",
|
|
1187
1130
|
"type": "object",
|
|
1188
1131
|
"properties": {
|
|
1189
1132
|
"overwrites": {
|
|
1190
|
-
"description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all",
|
|
1191
1133
|
"type": "array",
|
|
1192
1134
|
"items": {
|
|
1193
1135
|
"anyOf": [
|
|
@@ -1199,21 +1141,21 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1199
1141
|
"type": "object",
|
|
1200
1142
|
"properties": {
|
|
1201
1143
|
"dataItemInternalKey": {
|
|
1202
|
-
"
|
|
1203
|
-
"
|
|
1144
|
+
"type": "string",
|
|
1145
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1204
1146
|
},
|
|
1205
1147
|
"dataItemUniqueSignature": {
|
|
1206
|
-
"
|
|
1207
|
-
"
|
|
1148
|
+
"type": "string",
|
|
1149
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1208
1150
|
}
|
|
1209
1151
|
},
|
|
1210
1152
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1211
1153
|
"additionalProperties": false
|
|
1212
1154
|
},
|
|
1213
1155
|
"color": {
|
|
1214
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1215
1156
|
"type": "string",
|
|
1216
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1157
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1158
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1217
1159
|
},
|
|
1218
1160
|
"operator": {
|
|
1219
1161
|
"description": "How the dimension value is compared; defaults to equals. contains, startsWith and endsWith compare text, greater and less compare numbers",
|
|
@@ -1231,14 +1173,7 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1231
1173
|
},
|
|
1232
1174
|
"value": {
|
|
1233
1175
|
"description": "Value to compare against",
|
|
1234
|
-
"
|
|
1235
|
-
{
|
|
1236
|
-
"type": "string"
|
|
1237
|
-
},
|
|
1238
|
-
{
|
|
1239
|
-
"type": "number"
|
|
1240
|
-
}
|
|
1241
|
-
]
|
|
1176
|
+
"type": ["string", "number"]
|
|
1242
1177
|
}
|
|
1243
1178
|
},
|
|
1244
1179
|
"required": ["color", "value"],
|
|
@@ -1252,48 +1187,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1252
1187
|
"type": "object",
|
|
1253
1188
|
"properties": {
|
|
1254
1189
|
"dataItemInternalKey": {
|
|
1255
|
-
"
|
|
1256
|
-
"
|
|
1190
|
+
"type": "string",
|
|
1191
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1257
1192
|
},
|
|
1258
1193
|
"dataItemUniqueSignature": {
|
|
1259
|
-
"
|
|
1260
|
-
"
|
|
1194
|
+
"type": "string",
|
|
1195
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1261
1196
|
}
|
|
1262
1197
|
},
|
|
1263
1198
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1264
1199
|
"additionalProperties": false
|
|
1265
1200
|
},
|
|
1266
1201
|
"color": {
|
|
1267
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1268
1202
|
"type": "string",
|
|
1269
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1203
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1204
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1270
1205
|
},
|
|
1271
1206
|
"operator": {
|
|
1272
|
-
"description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)",
|
|
1273
1207
|
"type": "string",
|
|
1274
|
-
"const": "between"
|
|
1208
|
+
"const": "between",
|
|
1209
|
+
"description": "Matches numeric values from value (inclusive) up to secondValue (exclusive)"
|
|
1275
1210
|
},
|
|
1276
1211
|
"value": {
|
|
1277
1212
|
"description": "Lower bound of the range",
|
|
1278
|
-
"
|
|
1279
|
-
{
|
|
1280
|
-
"type": "string"
|
|
1281
|
-
},
|
|
1282
|
-
{
|
|
1283
|
-
"type": "number"
|
|
1284
|
-
}
|
|
1285
|
-
]
|
|
1213
|
+
"type": ["string", "number"]
|
|
1286
1214
|
},
|
|
1287
1215
|
"secondValue": {
|
|
1288
1216
|
"description": "Upper bound of the range",
|
|
1289
|
-
"
|
|
1290
|
-
{
|
|
1291
|
-
"type": "string"
|
|
1292
|
-
},
|
|
1293
|
-
{
|
|
1294
|
-
"type": "number"
|
|
1295
|
-
}
|
|
1296
|
-
]
|
|
1217
|
+
"type": ["string", "number"]
|
|
1297
1218
|
}
|
|
1298
1219
|
},
|
|
1299
1220
|
"required": ["color", "operator", "value", "secondValue"],
|
|
@@ -1307,41 +1228,34 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1307
1228
|
"type": "object",
|
|
1308
1229
|
"properties": {
|
|
1309
1230
|
"dataItemInternalKey": {
|
|
1310
|
-
"
|
|
1311
|
-
"
|
|
1231
|
+
"type": "string",
|
|
1232
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1312
1233
|
},
|
|
1313
1234
|
"dataItemUniqueSignature": {
|
|
1314
|
-
"
|
|
1315
|
-
"
|
|
1235
|
+
"type": "string",
|
|
1236
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1316
1237
|
}
|
|
1317
1238
|
},
|
|
1318
1239
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1319
1240
|
"additionalProperties": false
|
|
1320
1241
|
},
|
|
1321
1242
|
"color": {
|
|
1322
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1323
1243
|
"type": "string",
|
|
1324
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1244
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1245
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1325
1246
|
},
|
|
1326
1247
|
"operator": {
|
|
1327
|
-
"description": "Match (inList) or exclude (notInList) every value in values",
|
|
1328
1248
|
"type": "string",
|
|
1329
|
-
"enum": ["inList", "notInList"]
|
|
1249
|
+
"enum": ["inList", "notInList"],
|
|
1250
|
+
"description": "Match (inList) or exclude (notInList) every value in values"
|
|
1330
1251
|
},
|
|
1331
1252
|
"values": {
|
|
1332
|
-
"description": "Values to match",
|
|
1333
1253
|
"minItems": 1,
|
|
1334
1254
|
"type": "array",
|
|
1335
1255
|
"items": {
|
|
1336
|
-
"
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
},
|
|
1340
|
-
{
|
|
1341
|
-
"type": "number"
|
|
1342
|
-
}
|
|
1343
|
-
]
|
|
1344
|
-
}
|
|
1256
|
+
"type": ["string", "number"]
|
|
1257
|
+
},
|
|
1258
|
+
"description": "Values to match"
|
|
1345
1259
|
},
|
|
1346
1260
|
"delimiter": {
|
|
1347
1261
|
"description": "Separator the values are stored with; defaults to \",\". No value may contain it",
|
|
@@ -1353,11 +1267,13 @@ Replace all value colors, eg. color the dimension value "Happy" dark teal. Value
|
|
|
1353
1267
|
"additionalProperties": false
|
|
1354
1268
|
}
|
|
1355
1269
|
]
|
|
1356
|
-
}
|
|
1270
|
+
},
|
|
1271
|
+
"description": "Ordered list of value colors; the first matching entry wins. An empty list removes them all"
|
|
1357
1272
|
}
|
|
1358
1273
|
},
|
|
1359
1274
|
"required": ["overwrites"],
|
|
1360
|
-
"additionalProperties": false
|
|
1275
|
+
"additionalProperties": false,
|
|
1276
|
+
"title": "Set coloring overwrites schema"
|
|
1361
1277
|
}
|
|
1362
1278
|
```
|
|
1363
1279
|
|
|
@@ -1372,11 +1288,9 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1372
1288
|
```json
|
|
1373
1289
|
{
|
|
1374
1290
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1375
|
-
"title": "Set coloring rules schema",
|
|
1376
1291
|
"type": "object",
|
|
1377
1292
|
"properties": {
|
|
1378
1293
|
"rules": {
|
|
1379
|
-
"description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all",
|
|
1380
1294
|
"type": "array",
|
|
1381
1295
|
"items": {
|
|
1382
1296
|
"anyOf": [
|
|
@@ -1384,41 +1298,34 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1384
1298
|
"type": "object",
|
|
1385
1299
|
"properties": {
|
|
1386
1300
|
"measure": {
|
|
1387
|
-
"description": "Measure whose value is compared",
|
|
1388
1301
|
"type": "object",
|
|
1389
1302
|
"properties": {
|
|
1390
1303
|
"dataItemInternalKey": {
|
|
1391
|
-
"
|
|
1392
|
-
"
|
|
1304
|
+
"type": "string",
|
|
1305
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1393
1306
|
},
|
|
1394
1307
|
"dataItemUniqueSignature": {
|
|
1395
|
-
"
|
|
1396
|
-
"
|
|
1308
|
+
"type": "string",
|
|
1309
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1397
1310
|
}
|
|
1398
1311
|
},
|
|
1399
1312
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1400
|
-
"additionalProperties": false
|
|
1313
|
+
"additionalProperties": false,
|
|
1314
|
+
"description": "Measure whose value is compared"
|
|
1401
1315
|
},
|
|
1402
1316
|
"color": {
|
|
1403
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1404
1317
|
"type": "string",
|
|
1405
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1318
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1319
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1406
1320
|
},
|
|
1407
1321
|
"operator": {
|
|
1408
|
-
"description": "How the measure value is compared",
|
|
1409
1322
|
"type": "string",
|
|
1410
|
-
"enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"]
|
|
1323
|
+
"enum": ["equals", "not-equals", "greater", "less", "greater-equals", "less-equals"],
|
|
1324
|
+
"description": "How the measure value is compared"
|
|
1411
1325
|
},
|
|
1412
1326
|
"value": {
|
|
1413
1327
|
"description": "Value to compare against",
|
|
1414
|
-
"
|
|
1415
|
-
{
|
|
1416
|
-
"type": "string"
|
|
1417
|
-
},
|
|
1418
|
-
{
|
|
1419
|
-
"type": "number"
|
|
1420
|
-
}
|
|
1421
|
-
]
|
|
1328
|
+
"type": ["string", "number"]
|
|
1422
1329
|
}
|
|
1423
1330
|
},
|
|
1424
1331
|
"required": ["measure", "color", "operator", "value"],
|
|
@@ -1428,52 +1335,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1428
1335
|
"type": "object",
|
|
1429
1336
|
"properties": {
|
|
1430
1337
|
"measure": {
|
|
1431
|
-
"description": "Measure whose value is compared",
|
|
1432
1338
|
"type": "object",
|
|
1433
1339
|
"properties": {
|
|
1434
1340
|
"dataItemInternalKey": {
|
|
1435
|
-
"
|
|
1436
|
-
"
|
|
1341
|
+
"type": "string",
|
|
1342
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1437
1343
|
},
|
|
1438
1344
|
"dataItemUniqueSignature": {
|
|
1439
|
-
"
|
|
1440
|
-
"
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1441
1347
|
}
|
|
1442
1348
|
},
|
|
1443
1349
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1444
|
-
"additionalProperties": false
|
|
1350
|
+
"additionalProperties": false,
|
|
1351
|
+
"description": "Measure whose value is compared"
|
|
1445
1352
|
},
|
|
1446
1353
|
"color": {
|
|
1447
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1448
1354
|
"type": "string",
|
|
1449
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1355
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1356
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1450
1357
|
},
|
|
1451
1358
|
"operator": {
|
|
1452
|
-
"description": "Matches measure values from value to secondValue, both inclusive",
|
|
1453
1359
|
"type": "string",
|
|
1454
|
-
"const": "between"
|
|
1360
|
+
"const": "between",
|
|
1361
|
+
"description": "Matches measure values from value to secondValue, both inclusive"
|
|
1455
1362
|
},
|
|
1456
1363
|
"value": {
|
|
1457
1364
|
"description": "Lower bound of the range",
|
|
1458
|
-
"
|
|
1459
|
-
{
|
|
1460
|
-
"type": "string"
|
|
1461
|
-
},
|
|
1462
|
-
{
|
|
1463
|
-
"type": "number"
|
|
1464
|
-
}
|
|
1465
|
-
]
|
|
1365
|
+
"type": ["string", "number"]
|
|
1466
1366
|
},
|
|
1467
1367
|
"secondValue": {
|
|
1468
1368
|
"description": "Upper bound of the range",
|
|
1469
|
-
"
|
|
1470
|
-
{
|
|
1471
|
-
"type": "string"
|
|
1472
|
-
},
|
|
1473
|
-
{
|
|
1474
|
-
"type": "number"
|
|
1475
|
-
}
|
|
1476
|
-
]
|
|
1369
|
+
"type": ["string", "number"]
|
|
1477
1370
|
}
|
|
1478
1371
|
},
|
|
1479
1372
|
"required": ["measure", "color", "operator", "value", "secondValue"],
|
|
@@ -1483,45 +1376,38 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1483
1376
|
"type": "object",
|
|
1484
1377
|
"properties": {
|
|
1485
1378
|
"measure": {
|
|
1486
|
-
"description": "Measure whose value is compared",
|
|
1487
1379
|
"type": "object",
|
|
1488
1380
|
"properties": {
|
|
1489
1381
|
"dataItemInternalKey": {
|
|
1490
|
-
"
|
|
1491
|
-
"
|
|
1382
|
+
"type": "string",
|
|
1383
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1492
1384
|
},
|
|
1493
1385
|
"dataItemUniqueSignature": {
|
|
1494
|
-
"
|
|
1495
|
-
"
|
|
1386
|
+
"type": "string",
|
|
1387
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1496
1388
|
}
|
|
1497
1389
|
},
|
|
1498
1390
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1499
|
-
"additionalProperties": false
|
|
1391
|
+
"additionalProperties": false,
|
|
1392
|
+
"description": "Measure whose value is compared"
|
|
1500
1393
|
},
|
|
1501
1394
|
"color": {
|
|
1502
|
-
"description": "Color applied when the condition matches, eg. \"#0F766E\"",
|
|
1503
1395
|
"type": "string",
|
|
1504
|
-
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$"
|
|
1396
|
+
"pattern": "^#([0-9a-fA-F]{6}|[0-9a-fA-F]{8})$",
|
|
1397
|
+
"description": "Color applied when the condition matches, eg. \"#0F766E\""
|
|
1505
1398
|
},
|
|
1506
1399
|
"operator": {
|
|
1507
|
-
"description": "Match (inList) or exclude (notInList) every value in values",
|
|
1508
1400
|
"type": "string",
|
|
1509
|
-
"enum": ["inList", "notInList"]
|
|
1401
|
+
"enum": ["inList", "notInList"],
|
|
1402
|
+
"description": "Match (inList) or exclude (notInList) every value in values"
|
|
1510
1403
|
},
|
|
1511
1404
|
"values": {
|
|
1512
|
-
"description": "Values to match",
|
|
1513
1405
|
"minItems": 1,
|
|
1514
1406
|
"type": "array",
|
|
1515
1407
|
"items": {
|
|
1516
|
-
"
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
},
|
|
1520
|
-
{
|
|
1521
|
-
"type": "number"
|
|
1522
|
-
}
|
|
1523
|
-
]
|
|
1524
|
-
}
|
|
1408
|
+
"type": ["string", "number"]
|
|
1409
|
+
},
|
|
1410
|
+
"description": "Values to match"
|
|
1525
1411
|
},
|
|
1526
1412
|
"delimiter": {
|
|
1527
1413
|
"description": "Separator the values are stored with; defaults to \",\". No value may contain it",
|
|
@@ -1533,11 +1419,13 @@ Replace all measure color rules, eg. color marks red when Sales is below 100. Ru
|
|
|
1533
1419
|
"additionalProperties": false
|
|
1534
1420
|
}
|
|
1535
1421
|
]
|
|
1536
|
-
}
|
|
1422
|
+
},
|
|
1423
|
+
"description": "Ordered list of measure color rules; the first matching rule wins. An empty list removes them all"
|
|
1537
1424
|
}
|
|
1538
1425
|
},
|
|
1539
1426
|
"required": ["rules"],
|
|
1540
|
-
"additionalProperties": false
|
|
1427
|
+
"additionalProperties": false,
|
|
1428
|
+
"title": "Set coloring rules schema"
|
|
1541
1429
|
}
|
|
1542
1430
|
```
|
|
1543
1431
|
|
|
@@ -1552,9 +1440,9 @@ Set how colors are applied to the chart
|
|
|
1552
1440
|
```json
|
|
1553
1441
|
{
|
|
1554
1442
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1555
|
-
"title": "Coloring type schema",
|
|
1556
1443
|
"type": "string",
|
|
1557
|
-
"enum": ["single", "perEachDimension"]
|
|
1444
|
+
"enum": ["single", "perEachDimension"],
|
|
1445
|
+
"title": "Coloring type schema"
|
|
1558
1446
|
}
|
|
1559
1447
|
```
|
|
1560
1448
|
|
|
@@ -1569,7 +1457,6 @@ Replace the whole custom categorical palette with a provided list of colors and
|
|
|
1569
1457
|
```json
|
|
1570
1458
|
{
|
|
1571
1459
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1572
|
-
"title": "Custom palette colors schema",
|
|
1573
1460
|
"type": "object",
|
|
1574
1461
|
"properties": {
|
|
1575
1462
|
"colors": {
|
|
@@ -1582,7 +1469,8 @@ Replace the whole custom categorical palette with a provided list of colors and
|
|
|
1582
1469
|
}
|
|
1583
1470
|
},
|
|
1584
1471
|
"required": ["colors"],
|
|
1585
|
-
"additionalProperties": false
|
|
1472
|
+
"additionalProperties": false,
|
|
1473
|
+
"title": "Custom palette colors schema"
|
|
1586
1474
|
}
|
|
1587
1475
|
```
|
|
1588
1476
|
|
|
@@ -1597,16 +1485,15 @@ Set the custom display format string for a dimension. This changes label formatt
|
|
|
1597
1485
|
```json
|
|
1598
1486
|
{
|
|
1599
1487
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1600
|
-
"title": "Dimension format string schema",
|
|
1601
1488
|
"type": "object",
|
|
1602
1489
|
"properties": {
|
|
1603
1490
|
"dataItemInternalKey": {
|
|
1604
|
-
"
|
|
1605
|
-
"
|
|
1491
|
+
"type": "string",
|
|
1492
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1606
1493
|
},
|
|
1607
1494
|
"dataItemUniqueSignature": {
|
|
1608
|
-
"
|
|
1609
|
-
"
|
|
1495
|
+
"type": "string",
|
|
1496
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1610
1497
|
},
|
|
1611
1498
|
"formatString": {
|
|
1612
1499
|
"anyOf": [
|
|
@@ -1631,7 +1518,8 @@ Set the custom display format string for a dimension. This changes label formatt
|
|
|
1631
1518
|
}
|
|
1632
1519
|
},
|
|
1633
1520
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1634
|
-
"additionalProperties": false
|
|
1521
|
+
"additionalProperties": false,
|
|
1522
|
+
"title": "Dimension format string schema"
|
|
1635
1523
|
}
|
|
1636
1524
|
```
|
|
1637
1525
|
|
|
@@ -1646,16 +1534,15 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
1646
1534
|
```json
|
|
1647
1535
|
{
|
|
1648
1536
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1649
|
-
"title": "Dimension format type schema",
|
|
1650
1537
|
"type": "object",
|
|
1651
1538
|
"properties": {
|
|
1652
1539
|
"dataItemInternalKey": {
|
|
1653
|
-
"
|
|
1654
|
-
"
|
|
1540
|
+
"type": "string",
|
|
1541
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1655
1542
|
},
|
|
1656
1543
|
"dataItemUniqueSignature": {
|
|
1657
|
-
"
|
|
1658
|
-
"
|
|
1544
|
+
"type": "string",
|
|
1545
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1659
1546
|
},
|
|
1660
1547
|
"formatType": {
|
|
1661
1548
|
"anyOf": [
|
|
@@ -1750,7 +1637,8 @@ Set the display format type used by a dimension. This changes label formatting o
|
|
|
1750
1637
|
}
|
|
1751
1638
|
},
|
|
1752
1639
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
1753
|
-
"additionalProperties": false
|
|
1640
|
+
"additionalProperties": false,
|
|
1641
|
+
"title": "Dimension format type schema"
|
|
1754
1642
|
}
|
|
1755
1643
|
```
|
|
1756
1644
|
|
|
@@ -1765,18 +1653,17 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
1765
1653
|
```json
|
|
1766
1654
|
{
|
|
1767
1655
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1768
|
-
"
|
|
1769
|
-
"anyOf": [
|
|
1656
|
+
"oneOf": [
|
|
1770
1657
|
{
|
|
1771
1658
|
"type": "object",
|
|
1772
1659
|
"properties": {
|
|
1773
1660
|
"dataItemInternalKey": {
|
|
1774
|
-
"
|
|
1775
|
-
"
|
|
1661
|
+
"type": "string",
|
|
1662
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1776
1663
|
},
|
|
1777
1664
|
"dataItemUniqueSignature": {
|
|
1778
|
-
"
|
|
1779
|
-
"
|
|
1665
|
+
"type": "string",
|
|
1666
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1780
1667
|
},
|
|
1781
1668
|
"mode": {
|
|
1782
1669
|
"type": "string",
|
|
@@ -1790,12 +1677,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
1790
1677
|
"type": "object",
|
|
1791
1678
|
"properties": {
|
|
1792
1679
|
"dataItemInternalKey": {
|
|
1793
|
-
"
|
|
1794
|
-
"
|
|
1680
|
+
"type": "string",
|
|
1681
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1795
1682
|
},
|
|
1796
1683
|
"dataItemUniqueSignature": {
|
|
1797
|
-
"
|
|
1798
|
-
"
|
|
1684
|
+
"type": "string",
|
|
1685
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1799
1686
|
},
|
|
1800
1687
|
"mode": {
|
|
1801
1688
|
"type": "string",
|
|
@@ -1826,12 +1713,12 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
1826
1713
|
"type": "object",
|
|
1827
1714
|
"properties": {
|
|
1828
1715
|
"dataItemInternalKey": {
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1716
|
+
"type": "string",
|
|
1717
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
1831
1718
|
},
|
|
1832
1719
|
"dataItemUniqueSignature": {
|
|
1833
|
-
"
|
|
1834
|
-
"
|
|
1720
|
+
"type": "string",
|
|
1721
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
1835
1722
|
},
|
|
1836
1723
|
"mode": {
|
|
1837
1724
|
"type": "string",
|
|
@@ -1857,7 +1744,8 @@ Set the temporal grouping of a date dimension. Use mode "level" with dateLevel f
|
|
|
1857
1744
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "mode", "datePart"],
|
|
1858
1745
|
"additionalProperties": false
|
|
1859
1746
|
}
|
|
1860
|
-
]
|
|
1747
|
+
],
|
|
1748
|
+
"title": "Dimension temporal grouping schema"
|
|
1861
1749
|
}
|
|
1862
1750
|
```
|
|
1863
1751
|
|
|
@@ -1872,23 +1760,23 @@ Set the currency symbol used by a measure formatter
|
|
|
1872
1760
|
```json
|
|
1873
1761
|
{
|
|
1874
1762
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1875
|
-
"title": "Measure currency schema",
|
|
1876
1763
|
"type": "object",
|
|
1877
1764
|
"properties": {
|
|
1878
1765
|
"dataItemInternalKey": {
|
|
1879
|
-
"
|
|
1880
|
-
"
|
|
1766
|
+
"type": "string",
|
|
1767
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1881
1768
|
},
|
|
1882
1769
|
"dataItemUniqueSignature": {
|
|
1883
|
-
"
|
|
1884
|
-
"
|
|
1770
|
+
"type": "string",
|
|
1771
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1885
1772
|
},
|
|
1886
1773
|
"currency": {
|
|
1887
1774
|
"type": "string"
|
|
1888
1775
|
}
|
|
1889
1776
|
},
|
|
1890
1777
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1891
|
-
"additionalProperties": false
|
|
1778
|
+
"additionalProperties": false,
|
|
1779
|
+
"title": "Measure currency schema"
|
|
1892
1780
|
}
|
|
1893
1781
|
```
|
|
1894
1782
|
|
|
@@ -1903,23 +1791,23 @@ Set whether measure currency symbol is prefixed
|
|
|
1903
1791
|
```json
|
|
1904
1792
|
{
|
|
1905
1793
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1906
|
-
"title": "Measure currency is prefix schema",
|
|
1907
1794
|
"type": "object",
|
|
1908
1795
|
"properties": {
|
|
1909
1796
|
"dataItemInternalKey": {
|
|
1910
|
-
"
|
|
1911
|
-
"
|
|
1797
|
+
"type": "string",
|
|
1798
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1912
1799
|
},
|
|
1913
1800
|
"dataItemUniqueSignature": {
|
|
1914
|
-
"
|
|
1915
|
-
"
|
|
1801
|
+
"type": "string",
|
|
1802
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1916
1803
|
},
|
|
1917
1804
|
"currencyIsPrefix": {
|
|
1918
1805
|
"type": "boolean"
|
|
1919
1806
|
}
|
|
1920
1807
|
},
|
|
1921
1808
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
1922
|
-
"additionalProperties": false
|
|
1809
|
+
"additionalProperties": false,
|
|
1810
|
+
"title": "Measure currency is prefix schema"
|
|
1923
1811
|
}
|
|
1924
1812
|
```
|
|
1925
1813
|
|
|
@@ -1934,16 +1822,15 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
1934
1822
|
```json
|
|
1935
1823
|
{
|
|
1936
1824
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1937
|
-
"title": "Set measure defined parameter schema",
|
|
1938
1825
|
"type": "object",
|
|
1939
1826
|
"properties": {
|
|
1940
1827
|
"dataItemInternalKey": {
|
|
1941
|
-
"
|
|
1942
|
-
"
|
|
1828
|
+
"type": "string",
|
|
1829
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
1943
1830
|
},
|
|
1944
1831
|
"dataItemUniqueSignature": {
|
|
1945
|
-
"
|
|
1946
|
-
"
|
|
1832
|
+
"type": "string",
|
|
1833
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
1947
1834
|
},
|
|
1948
1835
|
"collectionKey": {
|
|
1949
1836
|
"description": "Measure collection to update. Defaults to primary measures.",
|
|
@@ -1951,13 +1838,12 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
1951
1838
|
"enum": ["measures", "supportingMeasures"]
|
|
1952
1839
|
},
|
|
1953
1840
|
"parameterName": {
|
|
1954
|
-
"description": "Exact name of a Defined parameter exposed by the measure",
|
|
1955
1841
|
"type": "string",
|
|
1956
|
-
"minLength": 1
|
|
1842
|
+
"minLength": 1,
|
|
1843
|
+
"description": "Exact name of a Defined parameter exposed by the measure"
|
|
1957
1844
|
},
|
|
1958
1845
|
"value": {
|
|
1959
|
-
"
|
|
1960
|
-
"anyOf": [
|
|
1846
|
+
"oneOf": [
|
|
1961
1847
|
{
|
|
1962
1848
|
"type": "object",
|
|
1963
1849
|
"properties": {
|
|
@@ -1977,17 +1863,7 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
1977
1863
|
"const": "static"
|
|
1978
1864
|
},
|
|
1979
1865
|
"value": {
|
|
1980
|
-
"
|
|
1981
|
-
{
|
|
1982
|
-
"type": "string"
|
|
1983
|
-
},
|
|
1984
|
-
{
|
|
1985
|
-
"type": "number"
|
|
1986
|
-
},
|
|
1987
|
-
{
|
|
1988
|
-
"type": "boolean"
|
|
1989
|
-
}
|
|
1990
|
-
]
|
|
1866
|
+
"type": ["string", "number", "boolean"]
|
|
1991
1867
|
}
|
|
1992
1868
|
},
|
|
1993
1869
|
"required": ["type", "value"],
|
|
@@ -2001,19 +1877,21 @@ Configure a Defined parameter of a custom measure using its default, a static va
|
|
|
2001
1877
|
"const": "variable"
|
|
2002
1878
|
},
|
|
2003
1879
|
"variableName": {
|
|
2004
|
-
"description": "Exact name of an existing compatible workbook variable",
|
|
2005
1880
|
"type": "string",
|
|
2006
|
-
"minLength": 1
|
|
1881
|
+
"minLength": 1,
|
|
1882
|
+
"description": "Exact name of an existing compatible workbook variable"
|
|
2007
1883
|
}
|
|
2008
1884
|
},
|
|
2009
1885
|
"required": ["type", "variableName"],
|
|
2010
1886
|
"additionalProperties": false
|
|
2011
1887
|
}
|
|
2012
|
-
]
|
|
1888
|
+
],
|
|
1889
|
+
"description": "Use default to remove the override, static for a literal value, or variable to bind a workbook variable"
|
|
2013
1890
|
}
|
|
2014
1891
|
},
|
|
2015
1892
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "parameterName", "value"],
|
|
2016
|
-
"additionalProperties": false
|
|
1893
|
+
"additionalProperties": false,
|
|
1894
|
+
"title": "Set measure defined parameter schema"
|
|
2017
1895
|
}
|
|
2018
1896
|
```
|
|
2019
1897
|
|
|
@@ -2028,22 +1906,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2028
1906
|
```json
|
|
2029
1907
|
{
|
|
2030
1908
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2031
|
-
"description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
|
|
2032
|
-
"title": "Set measure filter schema",
|
|
2033
1909
|
"anyOf": [
|
|
2034
1910
|
{
|
|
2035
1911
|
"type": "object",
|
|
2036
1912
|
"properties": {
|
|
2037
1913
|
"measureName": {
|
|
2038
|
-
"
|
|
2039
|
-
"
|
|
1914
|
+
"type": "string",
|
|
1915
|
+
"description": "Visible measure name or label"
|
|
2040
1916
|
},
|
|
2041
1917
|
"fieldKey": {
|
|
2042
|
-
"
|
|
2043
|
-
"
|
|
1918
|
+
"type": "string",
|
|
1919
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
2044
1920
|
},
|
|
2045
1921
|
"operator": {
|
|
2046
|
-
"description": "Filter operator that requires a value",
|
|
2047
1922
|
"type": "string",
|
|
2048
1923
|
"enum": [
|
|
2049
1924
|
"equals",
|
|
@@ -2058,10 +1933,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2058
1933
|
"notLike",
|
|
2059
1934
|
"startsWith",
|
|
2060
1935
|
"endsWith"
|
|
2061
|
-
]
|
|
1936
|
+
],
|
|
1937
|
+
"description": "Filter operator that requires a value"
|
|
2062
1938
|
},
|
|
2063
1939
|
"value": {
|
|
2064
|
-
"description": "Filter value",
|
|
2065
1940
|
"anyOf": [
|
|
2066
1941
|
{
|
|
2067
1942
|
"type": "string"
|
|
@@ -2080,7 +1955,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2080
1955
|
"required": ["type", "variableName"],
|
|
2081
1956
|
"additionalProperties": false
|
|
2082
1957
|
}
|
|
2083
|
-
]
|
|
1958
|
+
],
|
|
1959
|
+
"description": "Filter value"
|
|
2084
1960
|
}
|
|
2085
1961
|
},
|
|
2086
1962
|
"required": ["measureName", "fieldKey", "operator", "value"],
|
|
@@ -2090,20 +1966,19 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2090
1966
|
"type": "object",
|
|
2091
1967
|
"properties": {
|
|
2092
1968
|
"measureName": {
|
|
2093
|
-
"
|
|
2094
|
-
"
|
|
1969
|
+
"type": "string",
|
|
1970
|
+
"description": "Visible measure name or label"
|
|
2095
1971
|
},
|
|
2096
1972
|
"fieldKey": {
|
|
2097
|
-
"
|
|
2098
|
-
"
|
|
1973
|
+
"type": "string",
|
|
1974
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
2099
1975
|
},
|
|
2100
1976
|
"operator": {
|
|
2101
|
-
"description": "Filter operator that requires valueFrom and valueTo",
|
|
2102
1977
|
"type": "string",
|
|
2103
|
-
"enum": ["isBetween", "isNotBetween"]
|
|
1978
|
+
"enum": ["isBetween", "isNotBetween"],
|
|
1979
|
+
"description": "Filter operator that requires valueFrom and valueTo"
|
|
2104
1980
|
},
|
|
2105
1981
|
"valueFrom": {
|
|
2106
|
-
"description": "Lower filter value",
|
|
2107
1982
|
"anyOf": [
|
|
2108
1983
|
{
|
|
2109
1984
|
"type": "string"
|
|
@@ -2122,10 +1997,10 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2122
1997
|
"required": ["type", "variableName"],
|
|
2123
1998
|
"additionalProperties": false
|
|
2124
1999
|
}
|
|
2125
|
-
]
|
|
2000
|
+
],
|
|
2001
|
+
"description": "Lower filter value"
|
|
2126
2002
|
},
|
|
2127
2003
|
"valueTo": {
|
|
2128
|
-
"description": "Upper filter value",
|
|
2129
2004
|
"anyOf": [
|
|
2130
2005
|
{
|
|
2131
2006
|
"type": "string"
|
|
@@ -2144,7 +2019,8 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2144
2019
|
"required": ["type", "variableName"],
|
|
2145
2020
|
"additionalProperties": false
|
|
2146
2021
|
}
|
|
2147
|
-
]
|
|
2022
|
+
],
|
|
2023
|
+
"description": "Upper filter value"
|
|
2148
2024
|
}
|
|
2149
2025
|
},
|
|
2150
2026
|
"required": ["measureName", "fieldKey", "operator", "valueFrom", "valueTo"],
|
|
@@ -2154,25 +2030,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2154
2030
|
"type": "object",
|
|
2155
2031
|
"properties": {
|
|
2156
2032
|
"measureName": {
|
|
2157
|
-
"
|
|
2158
|
-
"
|
|
2033
|
+
"type": "string",
|
|
2034
|
+
"description": "Visible measure name or label"
|
|
2159
2035
|
},
|
|
2160
2036
|
"fieldKey": {
|
|
2161
|
-
"
|
|
2162
|
-
"
|
|
2037
|
+
"type": "string",
|
|
2038
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
2163
2039
|
},
|
|
2164
2040
|
"operator": {
|
|
2165
|
-
"description": "Filter operator that requires a list of values",
|
|
2166
2041
|
"type": "string",
|
|
2167
|
-
"enum": ["inList", "excludedFromList"]
|
|
2042
|
+
"enum": ["inList", "excludedFromList"],
|
|
2043
|
+
"description": "Filter operator that requires a list of values"
|
|
2168
2044
|
},
|
|
2169
2045
|
"values": {
|
|
2170
|
-
"description": "Filter values",
|
|
2171
2046
|
"minItems": 1,
|
|
2172
2047
|
"type": "array",
|
|
2173
2048
|
"items": {
|
|
2174
2049
|
"type": "string"
|
|
2175
|
-
}
|
|
2050
|
+
},
|
|
2051
|
+
"description": "Filter values"
|
|
2176
2052
|
}
|
|
2177
2053
|
},
|
|
2178
2054
|
"required": ["measureName", "fieldKey", "operator", "values"],
|
|
@@ -2182,23 +2058,25 @@ Set one measure filter before aggregation. Adds if none, replaces if one, fails
|
|
|
2182
2058
|
"type": "object",
|
|
2183
2059
|
"properties": {
|
|
2184
2060
|
"measureName": {
|
|
2185
|
-
"
|
|
2186
|
-
"
|
|
2061
|
+
"type": "string",
|
|
2062
|
+
"description": "Visible measure name or label"
|
|
2187
2063
|
},
|
|
2188
2064
|
"fieldKey": {
|
|
2189
|
-
"
|
|
2190
|
-
"
|
|
2065
|
+
"type": "string",
|
|
2066
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
2191
2067
|
},
|
|
2192
2068
|
"operator": {
|
|
2193
|
-
"description": "Filter operator that does not require values",
|
|
2194
2069
|
"type": "string",
|
|
2195
|
-
"enum": ["isNull", "notNull"]
|
|
2070
|
+
"enum": ["isNull", "notNull"],
|
|
2071
|
+
"description": "Filter operator that does not require values"
|
|
2196
2072
|
}
|
|
2197
2073
|
},
|
|
2198
2074
|
"required": ["measureName", "fieldKey", "operator"],
|
|
2199
2075
|
"additionalProperties": false
|
|
2200
2076
|
}
|
|
2201
|
-
]
|
|
2077
|
+
],
|
|
2078
|
+
"description": "Set one measure filter before aggregation. Adds if none, replaces if one, fails if multiple.",
|
|
2079
|
+
"title": "Set measure filter schema"
|
|
2202
2080
|
}
|
|
2203
2081
|
```
|
|
2204
2082
|
|
|
@@ -2213,16 +2091,15 @@ Set the custom format string for a measure
|
|
|
2213
2091
|
```json
|
|
2214
2092
|
{
|
|
2215
2093
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2216
|
-
"title": "Measure format string schema",
|
|
2217
2094
|
"type": "object",
|
|
2218
2095
|
"properties": {
|
|
2219
2096
|
"dataItemInternalKey": {
|
|
2220
|
-
"
|
|
2221
|
-
"
|
|
2097
|
+
"type": "string",
|
|
2098
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
2222
2099
|
},
|
|
2223
2100
|
"dataItemUniqueSignature": {
|
|
2224
|
-
"
|
|
2225
|
-
"
|
|
2101
|
+
"type": "string",
|
|
2102
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
2226
2103
|
},
|
|
2227
2104
|
"formatString": {
|
|
2228
2105
|
"anyOf": [
|
|
@@ -2247,7 +2124,8 @@ Set the custom format string for a measure
|
|
|
2247
2124
|
}
|
|
2248
2125
|
},
|
|
2249
2126
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
2250
|
-
"additionalProperties": false
|
|
2127
|
+
"additionalProperties": false,
|
|
2128
|
+
"title": "Measure format string schema"
|
|
2251
2129
|
}
|
|
2252
2130
|
```
|
|
2253
2131
|
|
|
@@ -2262,16 +2140,15 @@ Set the format type used by a measure
|
|
|
2262
2140
|
```json
|
|
2263
2141
|
{
|
|
2264
2142
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2265
|
-
"title": "Measure format type schema",
|
|
2266
2143
|
"type": "object",
|
|
2267
2144
|
"properties": {
|
|
2268
2145
|
"dataItemInternalKey": {
|
|
2269
|
-
"
|
|
2270
|
-
"
|
|
2146
|
+
"type": "string",
|
|
2147
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
2271
2148
|
},
|
|
2272
2149
|
"dataItemUniqueSignature": {
|
|
2273
|
-
"
|
|
2274
|
-
"
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
2275
2152
|
},
|
|
2276
2153
|
"formatType": {
|
|
2277
2154
|
"anyOf": [
|
|
@@ -2366,7 +2243,8 @@ Set the format type used by a measure
|
|
|
2366
2243
|
}
|
|
2367
2244
|
},
|
|
2368
2245
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "formatType"],
|
|
2369
|
-
"additionalProperties": false
|
|
2246
|
+
"additionalProperties": false,
|
|
2247
|
+
"title": "Measure format type schema"
|
|
2370
2248
|
}
|
|
2371
2249
|
```
|
|
2372
2250
|
|
|
@@ -2381,16 +2259,15 @@ Set how negative values are displayed for a measure formatter
|
|
|
2381
2259
|
```json
|
|
2382
2260
|
{
|
|
2383
2261
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2384
|
-
"title": "Measure negative type schema",
|
|
2385
2262
|
"type": "object",
|
|
2386
2263
|
"properties": {
|
|
2387
2264
|
"dataItemInternalKey": {
|
|
2388
|
-
"
|
|
2389
|
-
"
|
|
2265
|
+
"type": "string",
|
|
2266
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
2390
2267
|
},
|
|
2391
2268
|
"dataItemUniqueSignature": {
|
|
2392
|
-
"
|
|
2393
|
-
"
|
|
2269
|
+
"type": "string",
|
|
2270
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
2394
2271
|
},
|
|
2395
2272
|
"negativeType": {
|
|
2396
2273
|
"type": "string",
|
|
@@ -2398,7 +2275,8 @@ Set how negative values are displayed for a measure formatter
|
|
|
2398
2275
|
}
|
|
2399
2276
|
},
|
|
2400
2277
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
2401
|
-
"additionalProperties": false
|
|
2278
|
+
"additionalProperties": false,
|
|
2279
|
+
"title": "Measure negative type schema"
|
|
2402
2280
|
}
|
|
2403
2281
|
```
|
|
2404
2282
|
|
|
@@ -2413,18 +2291,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2413
2291
|
```json
|
|
2414
2292
|
{
|
|
2415
2293
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2416
|
-
"description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
|
|
2417
|
-
"title": "Set result filter schema",
|
|
2418
2294
|
"anyOf": [
|
|
2419
2295
|
{
|
|
2420
2296
|
"type": "object",
|
|
2421
2297
|
"properties": {
|
|
2422
2298
|
"measureName": {
|
|
2423
|
-
"
|
|
2424
|
-
"
|
|
2299
|
+
"type": "string",
|
|
2300
|
+
"description": "Visible measure name or label"
|
|
2425
2301
|
},
|
|
2426
2302
|
"operator": {
|
|
2427
|
-
"description": "Filter operator that requires a value",
|
|
2428
2303
|
"type": "string",
|
|
2429
2304
|
"enum": [
|
|
2430
2305
|
"equals",
|
|
@@ -2439,10 +2314,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2439
2314
|
"notLike",
|
|
2440
2315
|
"startsWith",
|
|
2441
2316
|
"endsWith"
|
|
2442
|
-
]
|
|
2317
|
+
],
|
|
2318
|
+
"description": "Filter operator that requires a value"
|
|
2443
2319
|
},
|
|
2444
2320
|
"value": {
|
|
2445
|
-
"description": "Filter value",
|
|
2446
2321
|
"anyOf": [
|
|
2447
2322
|
{
|
|
2448
2323
|
"type": "string"
|
|
@@ -2461,7 +2336,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2461
2336
|
"required": ["type", "variableName"],
|
|
2462
2337
|
"additionalProperties": false
|
|
2463
2338
|
}
|
|
2464
|
-
]
|
|
2339
|
+
],
|
|
2340
|
+
"description": "Filter value"
|
|
2465
2341
|
}
|
|
2466
2342
|
},
|
|
2467
2343
|
"required": ["measureName", "operator", "value"],
|
|
@@ -2471,16 +2347,15 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2471
2347
|
"type": "object",
|
|
2472
2348
|
"properties": {
|
|
2473
2349
|
"measureName": {
|
|
2474
|
-
"
|
|
2475
|
-
"
|
|
2350
|
+
"type": "string",
|
|
2351
|
+
"description": "Visible measure name or label"
|
|
2476
2352
|
},
|
|
2477
2353
|
"operator": {
|
|
2478
|
-
"description": "Filter operator that requires valueFrom and valueTo",
|
|
2479
2354
|
"type": "string",
|
|
2480
|
-
"enum": ["isBetween", "isNotBetween"]
|
|
2355
|
+
"enum": ["isBetween", "isNotBetween"],
|
|
2356
|
+
"description": "Filter operator that requires valueFrom and valueTo"
|
|
2481
2357
|
},
|
|
2482
2358
|
"valueFrom": {
|
|
2483
|
-
"description": "Lower filter value",
|
|
2484
2359
|
"anyOf": [
|
|
2485
2360
|
{
|
|
2486
2361
|
"type": "string"
|
|
@@ -2499,10 +2374,10 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2499
2374
|
"required": ["type", "variableName"],
|
|
2500
2375
|
"additionalProperties": false
|
|
2501
2376
|
}
|
|
2502
|
-
]
|
|
2377
|
+
],
|
|
2378
|
+
"description": "Lower filter value"
|
|
2503
2379
|
},
|
|
2504
2380
|
"valueTo": {
|
|
2505
|
-
"description": "Upper filter value",
|
|
2506
2381
|
"anyOf": [
|
|
2507
2382
|
{
|
|
2508
2383
|
"type": "string"
|
|
@@ -2521,7 +2396,8 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2521
2396
|
"required": ["type", "variableName"],
|
|
2522
2397
|
"additionalProperties": false
|
|
2523
2398
|
}
|
|
2524
|
-
]
|
|
2399
|
+
],
|
|
2400
|
+
"description": "Upper filter value"
|
|
2525
2401
|
}
|
|
2526
2402
|
},
|
|
2527
2403
|
"required": ["measureName", "operator", "valueFrom", "valueTo"],
|
|
@@ -2531,21 +2407,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2531
2407
|
"type": "object",
|
|
2532
2408
|
"properties": {
|
|
2533
2409
|
"measureName": {
|
|
2534
|
-
"
|
|
2535
|
-
"
|
|
2410
|
+
"type": "string",
|
|
2411
|
+
"description": "Visible measure name or label"
|
|
2536
2412
|
},
|
|
2537
2413
|
"operator": {
|
|
2538
|
-
"description": "Filter operator that requires a list of values",
|
|
2539
2414
|
"type": "string",
|
|
2540
|
-
"enum": ["inList", "excludedFromList"]
|
|
2415
|
+
"enum": ["inList", "excludedFromList"],
|
|
2416
|
+
"description": "Filter operator that requires a list of values"
|
|
2541
2417
|
},
|
|
2542
2418
|
"values": {
|
|
2543
|
-
"description": "Filter values",
|
|
2544
2419
|
"minItems": 1,
|
|
2545
2420
|
"type": "array",
|
|
2546
2421
|
"items": {
|
|
2547
2422
|
"type": "string"
|
|
2548
|
-
}
|
|
2423
|
+
},
|
|
2424
|
+
"description": "Filter values"
|
|
2549
2425
|
}
|
|
2550
2426
|
},
|
|
2551
2427
|
"required": ["measureName", "operator", "values"],
|
|
@@ -2555,19 +2431,21 @@ Set one result filter after aggregation. Adds if none, replaces if one, fails if
|
|
|
2555
2431
|
"type": "object",
|
|
2556
2432
|
"properties": {
|
|
2557
2433
|
"measureName": {
|
|
2558
|
-
"
|
|
2559
|
-
"
|
|
2434
|
+
"type": "string",
|
|
2435
|
+
"description": "Visible measure name or label"
|
|
2560
2436
|
},
|
|
2561
2437
|
"operator": {
|
|
2562
|
-
"description": "Filter operator that does not require values",
|
|
2563
2438
|
"type": "string",
|
|
2564
|
-
"enum": ["isNull", "notNull"]
|
|
2439
|
+
"enum": ["isNull", "notNull"],
|
|
2440
|
+
"description": "Filter operator that does not require values"
|
|
2565
2441
|
}
|
|
2566
2442
|
},
|
|
2567
2443
|
"required": ["measureName", "operator"],
|
|
2568
2444
|
"additionalProperties": false
|
|
2569
2445
|
}
|
|
2570
|
-
]
|
|
2446
|
+
],
|
|
2447
|
+
"description": "Set one result filter after aggregation. Adds if none, replaces if one, fails if multiple.",
|
|
2448
|
+
"title": "Set result filter schema"
|
|
2571
2449
|
}
|
|
2572
2450
|
```
|
|
2573
2451
|
|
|
@@ -2599,8 +2477,6 @@ Set the backdrop color behind Sankey node labels
|
|
|
2599
2477
|
```json
|
|
2600
2478
|
{
|
|
2601
2479
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2602
|
-
"description": "Color of backdrop",
|
|
2603
|
-
"title": "Sankey node label backdrop color schema",
|
|
2604
2480
|
"anyOf": [
|
|
2605
2481
|
{
|
|
2606
2482
|
"type": "string",
|
|
@@ -2609,7 +2485,9 @@ Set the backdrop color behind Sankey node labels
|
|
|
2609
2485
|
{
|
|
2610
2486
|
"type": "null"
|
|
2611
2487
|
}
|
|
2612
|
-
]
|
|
2488
|
+
],
|
|
2489
|
+
"description": "Color of backdrop",
|
|
2490
|
+
"title": "Sankey node label backdrop color schema"
|
|
2613
2491
|
}
|
|
2614
2492
|
```
|
|
2615
2493
|
|
|
@@ -2624,9 +2502,9 @@ Choose whether Sankey node labels show dimension, flow, or both
|
|
|
2624
2502
|
```json
|
|
2625
2503
|
{
|
|
2626
2504
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2627
|
-
"title": "Sankey node label parts schema",
|
|
2628
2505
|
"type": "string",
|
|
2629
|
-
"enum": ["dimension", "flow", "both"]
|
|
2506
|
+
"enum": ["dimension", "flow", "both"],
|
|
2507
|
+
"title": "Sankey node label parts schema"
|
|
2630
2508
|
}
|
|
2631
2509
|
```
|
|
2632
2510
|
|
|
@@ -2743,7 +2621,6 @@ Set sorting direction for all matching sortable items by name
|
|
|
2743
2621
|
```json
|
|
2744
2622
|
{
|
|
2745
2623
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2746
|
-
"title": "Sorting direction by name schema",
|
|
2747
2624
|
"type": "object",
|
|
2748
2625
|
"properties": {
|
|
2749
2626
|
"name": {
|
|
@@ -2756,7 +2633,8 @@ Set sorting direction for all matching sortable items by name
|
|
|
2756
2633
|
}
|
|
2757
2634
|
},
|
|
2758
2635
|
"required": ["name", "sortDirection"],
|
|
2759
|
-
"additionalProperties": false
|
|
2636
|
+
"additionalProperties": false,
|
|
2637
|
+
"title": "Sorting direction by name schema"
|
|
2760
2638
|
}
|
|
2761
2639
|
```
|
|
2762
2640
|
|
|
@@ -2771,7 +2649,6 @@ Enable or disable sorting for all matching sortable items by name
|
|
|
2771
2649
|
```json
|
|
2772
2650
|
{
|
|
2773
2651
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2774
|
-
"title": "Sorting enabled by name schema",
|
|
2775
2652
|
"type": "object",
|
|
2776
2653
|
"properties": {
|
|
2777
2654
|
"name": {
|
|
@@ -2783,7 +2660,8 @@ Enable or disable sorting for all matching sortable items by name
|
|
|
2783
2660
|
}
|
|
2784
2661
|
},
|
|
2785
2662
|
"required": ["name"],
|
|
2786
|
-
"additionalProperties": false
|
|
2663
|
+
"additionalProperties": false,
|
|
2664
|
+
"title": "Sorting enabled by name schema"
|
|
2787
2665
|
}
|
|
2788
2666
|
```
|
|
2789
2667
|
|
|
@@ -2817,8 +2695,8 @@ Replace all static filters with a nested AND/OR filter group.
|
|
|
2817
2695
|
"type": "object",
|
|
2818
2696
|
"properties": {
|
|
2819
2697
|
"fieldKey": {
|
|
2820
|
-
"
|
|
2821
|
-
"
|
|
2698
|
+
"type": "string",
|
|
2699
|
+
"description": "Exact key from the visualization available data response, eg. \"[Cars].[Horsepower]\". Do not use the visible field label."
|
|
2822
2700
|
},
|
|
2823
2701
|
"operator": {
|
|
2824
2702
|
"anyOf": [
|
|
@@ -3035,24 +2913,24 @@ Enable or disable a dimension in the chart
|
|
|
3035
2913
|
```json
|
|
3036
2914
|
{
|
|
3037
2915
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3038
|
-
"title": "Toggle dimension schema",
|
|
3039
2916
|
"type": "object",
|
|
3040
2917
|
"properties": {
|
|
3041
2918
|
"dataItemInternalKey": {
|
|
3042
|
-
"
|
|
3043
|
-
"
|
|
2919
|
+
"type": "string",
|
|
2920
|
+
"description": "Internal key of the data item of the dimension to be toggled"
|
|
3044
2921
|
},
|
|
3045
2922
|
"dataItemUniqueSignature": {
|
|
3046
|
-
"
|
|
3047
|
-
"
|
|
2923
|
+
"type": "string",
|
|
2924
|
+
"description": "Unique signature of the data item of the dimension to be toggled"
|
|
3048
2925
|
},
|
|
3049
2926
|
"enabled": {
|
|
3050
|
-
"
|
|
3051
|
-
"
|
|
2927
|
+
"type": "boolean",
|
|
2928
|
+
"description": "Whether the dimension should be enabled or disabled"
|
|
3052
2929
|
}
|
|
3053
2930
|
},
|
|
3054
2931
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "enabled"],
|
|
3055
|
-
"additionalProperties": false
|
|
2932
|
+
"additionalProperties": false,
|
|
2933
|
+
"title": "Toggle dimension schema"
|
|
3056
2934
|
}
|
|
3057
2935
|
```
|
|
3058
2936
|
|
|
@@ -3067,7 +2945,6 @@ Enable, disable, or toggle a dimension or measure by its name
|
|
|
3067
2945
|
```json
|
|
3068
2946
|
{
|
|
3069
2947
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3070
|
-
"title": "Toggle dimension or measure by name schema",
|
|
3071
2948
|
"type": "object",
|
|
3072
2949
|
"properties": {
|
|
3073
2950
|
"name": {
|
|
@@ -3079,7 +2956,8 @@ Enable, disable, or toggle a dimension or measure by its name
|
|
|
3079
2956
|
}
|
|
3080
2957
|
},
|
|
3081
2958
|
"required": ["name", "operation"],
|
|
3082
|
-
"additionalProperties": false
|
|
2959
|
+
"additionalProperties": false,
|
|
2960
|
+
"title": "Toggle dimension or measure by name schema"
|
|
3083
2961
|
}
|
|
3084
2962
|
```
|
|
3085
2963
|
|
|
@@ -3094,20 +2972,20 @@ Enable or disable a measure in the chart
|
|
|
3094
2972
|
```json
|
|
3095
2973
|
{
|
|
3096
2974
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3097
|
-
"title": "Toggle measure schema",
|
|
3098
2975
|
"type": "object",
|
|
3099
2976
|
"properties": {
|
|
3100
2977
|
"dataItemInternalKey": {
|
|
3101
|
-
"
|
|
3102
|
-
"
|
|
2978
|
+
"type": "string",
|
|
2979
|
+
"description": "Internal key of the data item of the measure to be toggled"
|
|
3103
2980
|
},
|
|
3104
2981
|
"dataItemUniqueSignature": {
|
|
3105
|
-
"
|
|
3106
|
-
"
|
|
2982
|
+
"type": "string",
|
|
2983
|
+
"description": "Unique signature of the data item of the measure to be toggled"
|
|
3107
2984
|
}
|
|
3108
2985
|
},
|
|
3109
2986
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature"],
|
|
3110
|
-
"additionalProperties": false
|
|
2987
|
+
"additionalProperties": false,
|
|
2988
|
+
"title": "Toggle measure schema"
|
|
3111
2989
|
}
|
|
3112
2990
|
```
|
|
3113
2991
|
|
|
@@ -3122,16 +3000,15 @@ Modify properties of an existing dimension
|
|
|
3122
3000
|
```json
|
|
3123
3001
|
{
|
|
3124
3002
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3125
|
-
"title": "Update dimension schema",
|
|
3126
3003
|
"type": "object",
|
|
3127
3004
|
"properties": {
|
|
3128
3005
|
"dataItemInternalKey": {
|
|
3129
|
-
"
|
|
3130
|
-
"
|
|
3006
|
+
"type": "string",
|
|
3007
|
+
"description": "Internal key of the data item of the dimension to be updated"
|
|
3131
3008
|
},
|
|
3132
3009
|
"dataItemUniqueSignature": {
|
|
3133
|
-
"
|
|
3134
|
-
"
|
|
3010
|
+
"type": "string",
|
|
3011
|
+
"description": "Unique signature of the data item of the dimension to be updated"
|
|
3135
3012
|
},
|
|
3136
3013
|
"changes": {
|
|
3137
3014
|
"type": "object",
|
|
@@ -3157,7 +3034,8 @@ Modify properties of an existing dimension
|
|
|
3157
3034
|
}
|
|
3158
3035
|
},
|
|
3159
3036
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
|
|
3160
|
-
"additionalProperties": false
|
|
3037
|
+
"additionalProperties": false,
|
|
3038
|
+
"title": "Update dimension schema"
|
|
3161
3039
|
}
|
|
3162
3040
|
```
|
|
3163
3041
|
|
|
@@ -3172,16 +3050,15 @@ Modify properties of an existing measure
|
|
|
3172
3050
|
```json
|
|
3173
3051
|
{
|
|
3174
3052
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3175
|
-
"title": "Update measure schema",
|
|
3176
3053
|
"type": "object",
|
|
3177
3054
|
"properties": {
|
|
3178
3055
|
"dataItemInternalKey": {
|
|
3179
|
-
"
|
|
3180
|
-
"
|
|
3056
|
+
"type": "string",
|
|
3057
|
+
"description": "Internal key of the data item of the measure to be updated"
|
|
3181
3058
|
},
|
|
3182
3059
|
"dataItemUniqueSignature": {
|
|
3183
|
-
"
|
|
3184
|
-
"
|
|
3060
|
+
"type": "string",
|
|
3061
|
+
"description": "Unique signature of the data item of the measure to be updated"
|
|
3185
3062
|
},
|
|
3186
3063
|
"changes": {
|
|
3187
3064
|
"type": "object",
|
|
@@ -3205,6 +3082,7 @@ Modify properties of an existing measure
|
|
|
3205
3082
|
}
|
|
3206
3083
|
},
|
|
3207
3084
|
"required": ["dataItemInternalKey", "dataItemUniqueSignature", "changes"],
|
|
3208
|
-
"additionalProperties": false
|
|
3085
|
+
"additionalProperties": false,
|
|
3086
|
+
"title": "Update measure schema"
|
|
3209
3087
|
}
|
|
3210
3088
|
```
|