@gooddata/api-client-tiger 10.21.0-alpha.9 → 10.21.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/esm/__version.d.ts +1 -1
  2. package/esm/__version.d.ts.map +1 -1
  3. package/esm/__version.js +1 -1
  4. package/esm/__version.js.map +1 -1
  5. package/esm/api-client-tiger.d.ts +2689 -1313
  6. package/esm/client.d.ts +3 -3
  7. package/esm/client.d.ts.map +1 -1
  8. package/esm/client.js +3 -3
  9. package/esm/client.js.map +1 -1
  10. package/esm/export.d.ts +3 -3
  11. package/esm/export.d.ts.map +1 -1
  12. package/esm/export.js +2 -2
  13. package/esm/export.js.map +1 -1
  14. package/esm/generated/afm-rest-api/api.d.ts +6 -0
  15. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  16. package/esm/generated/afm-rest-api/api.js +1 -1
  17. package/esm/generated/afm-rest-api/api.js.map +1 -1
  18. package/esm/generated/afm-rest-api/openapi-spec.json +6 -2
  19. package/esm/generated/auth-json-api/api.js +1 -1
  20. package/esm/generated/automation-json-api/api.js +1 -1
  21. package/esm/generated/automation-json-api/api.js.map +1 -1
  22. package/esm/generated/automation-json-api/base.js +1 -1
  23. package/esm/generated/automation-json-api/common.js +1 -1
  24. package/esm/generated/automation-json-api/configuration.js +1 -1
  25. package/esm/generated/automation-json-api/index.js +1 -1
  26. package/esm/generated/export-json-api/api.d.ts +2257 -345
  27. package/esm/generated/export-json-api/api.d.ts.map +1 -1
  28. package/esm/generated/export-json-api/api.js +1251 -193
  29. package/esm/generated/export-json-api/api.js.map +1 -1
  30. package/esm/generated/export-json-api/openapi-spec.json +1261 -87
  31. package/esm/generated/metadata-json-api/api.d.ts +1309 -1277
  32. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  33. package/esm/generated/metadata-json-api/api.js +52 -31
  34. package/esm/generated/metadata-json-api/api.js.map +1 -1
  35. package/esm/generated/metadata-json-api/openapi-spec.json +6188 -6182
  36. package/esm/generated/scan-json-api/api.js +1 -1
  37. package/esm/index.d.ts +1 -1
  38. package/esm/index.d.ts.map +1 -1
  39. package/esm/index.js.map +1 -1
  40. package/package.json +3 -3
@@ -105,6 +105,136 @@
105
105
  }
106
106
  }
107
107
  },
108
+ "/api/v1/actions/workspaces/{workspaceId}/export/slideshow": {
109
+ "post": {
110
+ "tags": ["Slideshow export", "actions"],
111
+ "summary": "(EXPERIMENTAL) Create slideshow export request",
112
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly. A slideshow export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.",
113
+ "operationId": "createSlideshowExport",
114
+ "parameters": [
115
+ {
116
+ "name": "workspaceId",
117
+ "in": "path",
118
+ "required": true,
119
+ "schema": {
120
+ "type": "string"
121
+ }
122
+ }
123
+ ],
124
+ "requestBody": {
125
+ "content": {
126
+ "application/json": {
127
+ "schema": {
128
+ "$ref": "#/components/schemas/SlideshowExportRequest"
129
+ }
130
+ }
131
+ },
132
+ "required": true
133
+ },
134
+ "responses": {
135
+ "201": {
136
+ "description": "Raw export request created successfully.",
137
+ "content": {
138
+ "application/json": {
139
+ "schema": {
140
+ "$ref": "#/components/schemas/ExportResponse"
141
+ }
142
+ }
143
+ }
144
+ }
145
+ },
146
+ "x-gdc-security-info": {
147
+ "permissions": ["EXPORT_PDF"],
148
+ "description": "Permissions required to execute slideshow export."
149
+ }
150
+ }
151
+ },
152
+ "/api/v1/actions/workspaces/{workspaceId}/export/raw": {
153
+ "post": {
154
+ "tags": ["Raw export", "actions"],
155
+ "summary": "(EXPERIMENTAL) Create raw export request",
156
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly.An raw export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.",
157
+ "operationId": "createRawExport",
158
+ "parameters": [
159
+ {
160
+ "name": "workspaceId",
161
+ "in": "path",
162
+ "required": true,
163
+ "schema": {
164
+ "type": "string"
165
+ }
166
+ }
167
+ ],
168
+ "requestBody": {
169
+ "content": {
170
+ "application/json": {
171
+ "schema": {
172
+ "$ref": "#/components/schemas/RawExportRequest"
173
+ }
174
+ }
175
+ },
176
+ "required": true
177
+ },
178
+ "responses": {
179
+ "201": {
180
+ "description": "Raw export request created successfully.",
181
+ "content": {
182
+ "application/json": {
183
+ "schema": {
184
+ "$ref": "#/components/schemas/ExportResponse"
185
+ }
186
+ }
187
+ }
188
+ }
189
+ },
190
+ "x-gdc-security-info": {
191
+ "permissions": ["EXPORT_TABULAR"],
192
+ "description": "Permissions required to execute raw export."
193
+ }
194
+ }
195
+ },
196
+ "/api/v1/actions/workspaces/{workspaceId}/analyticalDashboards/{dashboardId}/export/tabular": {
197
+ "post": {
198
+ "tags": ["Tabular export", "actions"],
199
+ "summary": "(EXPERIMENTAL) Create dashboard tabular export request",
200
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly.An tabular export job will be created based on the export request and put to queue to be executed. The result of the operation will be an exportResult identifier that will be assembled by the client into a url that can be polled.",
201
+ "operationId": "createDashboardExportRequest",
202
+ "parameters": [
203
+ {
204
+ "name": "workspaceId",
205
+ "in": "path",
206
+ "required": true,
207
+ "schema": {
208
+ "type": "string"
209
+ }
210
+ },
211
+ {
212
+ "name": "dashboardId",
213
+ "in": "path",
214
+ "required": true,
215
+ "schema": {
216
+ "type": "string"
217
+ }
218
+ }
219
+ ],
220
+ "responses": {
221
+ "201": {
222
+ "description": "Tabular export request created successfully.",
223
+ "content": {
224
+ "application/json": {
225
+ "schema": {
226
+ "$ref": "#/components/schemas/ExportResponse"
227
+ }
228
+ }
229
+ }
230
+ }
231
+ },
232
+ "x-gdc-security-info": {
233
+ "permissions": ["EXPORT_TABULAR"],
234
+ "description": "Permissions required to execute tabular export."
235
+ }
236
+ }
237
+ },
108
238
  "/api/v1/actions/workspaces/{workspaceId}/export/visual/{exportId}/metadata": {
109
239
  "get": {
110
240
  "tags": ["actions", "Visual export"],
@@ -281,100 +411,277 @@
281
411
  "description": "Minimal permission required to use this endpoint."
282
412
  }
283
413
  }
284
- }
285
- },
286
- "components": {
287
- "schemas": {
288
- "JsonNode": {
289
- "maxLength": 15000,
290
- "type": "object",
291
- "description": "Metadata definition in free-form JSON format.",
292
- "nullable": true,
293
- "example": {}
294
- },
295
- "VisualExportRequest": {
296
- "required": ["dashboardId", "fileName"],
297
- "type": "object",
298
- "properties": {
299
- "fileName": {
300
- "type": "string",
301
- "description": "File name to be used for retrieving the pdf document.",
302
- "example": "filename"
303
- },
304
- "dashboardId": {
305
- "type": "string",
306
- "description": "Dashboard identifier",
307
- "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0"
414
+ },
415
+ "/api/v1/actions/workspaces/{workspaceId}/export/slideshow/{exportId}/metadata": {
416
+ "get": {
417
+ "tags": ["Slideshow export", "actions"],
418
+ "summary": "(EXPERIMENTAL) Retrieve metadata context",
419
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly. This endpoints serves as a cache for user defined metadata for the front end ui to retrieve them, if one was created using the POST ../export/slideshow endpoint. The metadata structure is not verified. If metadata for given {exportId} has been found, endpoint returns the value 200 else 404.",
420
+ "operationId": "getMetadata_1",
421
+ "parameters": [
422
+ {
423
+ "name": "workspaceId",
424
+ "in": "path",
425
+ "required": true,
426
+ "schema": {
427
+ "type": "string"
428
+ }
308
429
  },
309
- "metadata": {
310
- "type": "object",
311
- "description": "Metadata definition in free-form JSON format.",
312
- "example": "{}"
313
- }
314
- },
315
- "description": "Export request object describing the export properties and metadata for dashboard PDF exports."
316
- },
317
- "ExportResponse": {
318
- "required": ["exportResult"],
319
- "type": "object",
320
- "properties": {
321
- "exportResult": {
322
- "type": "string"
430
+ {
431
+ "name": "exportId",
432
+ "in": "path",
433
+ "required": true,
434
+ "schema": {
435
+ "type": "string"
436
+ }
323
437
  }
324
- }
325
- },
326
- "CustomLabel": {
327
- "required": ["title"],
328
- "type": "object",
329
- "properties": {
330
- "title": {
331
- "type": "string",
332
- "description": "Override value."
438
+ ],
439
+ "responses": {
440
+ "200": {
441
+ "description": "Json metadata representation",
442
+ "content": {
443
+ "application/json": {}
444
+ }
333
445
  }
334
446
  },
335
- "description": "Custom label object override."
336
- },
337
- "CustomMetric": {
338
- "required": ["format", "title"],
339
- "type": "object",
340
- "properties": {
341
- "title": {
342
- "type": "string",
343
- "description": "Metric title override."
447
+ "x-gdc-security-info": {
448
+ "permissions": ["EXPORT_PDF"],
449
+ "description": "Minimal permission required to use this endpoint."
450
+ }
451
+ }
452
+ },
453
+ "/api/v1/actions/workspaces/{workspaceId}/export/slideshow/{exportId}": {
454
+ "get": {
455
+ "tags": ["Slideshow export", "actions"],
456
+ "summary": "(EXPERIMENTAL) Retrieve exported files",
457
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly. After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.",
458
+ "operationId": "getSlideshowExport",
459
+ "parameters": [
460
+ {
461
+ "name": "workspaceId",
462
+ "in": "path",
463
+ "required": true,
464
+ "schema": {
465
+ "type": "string"
466
+ }
344
467
  },
345
- "format": {
346
- "type": "string",
347
- "description": "Format override."
468
+ {
469
+ "name": "exportId",
470
+ "in": "path",
471
+ "required": true,
472
+ "schema": {
473
+ "type": "string"
474
+ }
348
475
  }
349
- },
350
- "description": "Custom metric object override."
351
- },
352
- "CustomOverride": {
353
- "type": "object",
354
- "properties": {
355
- "labels": {
356
- "type": "object",
357
- "additionalProperties": {
358
- "$ref": "#/components/schemas/CustomLabel"
476
+ ],
477
+ "responses": {
478
+ "200": {
479
+ "description": "Binary export result.",
480
+ "headers": {
481
+ "Content-Disposition": {
482
+ "style": "simple",
483
+ "schema": {
484
+ "pattern": "attachment; filename='[^']+'",
485
+ "type": "string",
486
+ "example": "attachment; filename='result.pdf'"
487
+ }
488
+ }
359
489
  },
360
- "description": "Map of CustomLabels with keys used as placeholders in document."
490
+ "content": {
491
+ "application/pdf": {},
492
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": {}
493
+ }
361
494
  },
362
- "metrics": {
363
- "type": "object",
364
- "additionalProperties": {
365
- "$ref": "#/components/schemas/CustomMetric"
366
- },
367
- "description": "Map of CustomMetrics with keys used as placeholders in document."
368
- }
369
- },
370
- "description": "Custom cell value overrides (IDs will be replaced with specified values)."
371
- },
372
- "PdfTableStyle": {
373
- "required": ["selector"],
374
- "type": "object",
375
- "properties": {
376
- "selector": {
377
- "type": "string",
495
+ "202": {
496
+ "description": "Request is accepted, provided exportId exists, but export is not yet ready.",
497
+ "content": {
498
+ "application/pdf": {
499
+ "schema": {
500
+ "type": "string",
501
+ "format": "binary"
502
+ }
503
+ },
504
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": {
505
+ "schema": {
506
+ "type": "string",
507
+ "format": "binary"
508
+ }
509
+ }
510
+ }
511
+ }
512
+ },
513
+ "x-gdc-security-info": {
514
+ "permissions": ["EXPORT_PDF"],
515
+ "description": "Minimal permission required to use this endpoint."
516
+ }
517
+ }
518
+ },
519
+ "/api/v1/actions/workspaces/{workspaceId}/export/raw/{exportId}": {
520
+ "get": {
521
+ "tags": ["Raw export", "actions"],
522
+ "summary": "(EXPERIMENTAL) Retrieve exported files",
523
+ "description": "Note: This API is an experimental and is going to change. Please, use it accordingly.After clients creates a POST export request, the processing of it will start shortly asynchronously. To retrieve the result, client has to check periodically for the result on this endpoint. In case the result isn't ready yet, the service returns 202. If the result is ready, it returns 200 and octet stream of the result file with provided filename.",
524
+ "operationId": "getRawExport",
525
+ "parameters": [
526
+ {
527
+ "name": "workspaceId",
528
+ "in": "path",
529
+ "required": true,
530
+ "schema": {
531
+ "type": "string"
532
+ }
533
+ },
534
+ {
535
+ "name": "exportId",
536
+ "in": "path",
537
+ "required": true,
538
+ "schema": {
539
+ "type": "string"
540
+ }
541
+ }
542
+ ],
543
+ "responses": {
544
+ "200": {
545
+ "description": "Binary export result.",
546
+ "headers": {
547
+ "Content-Disposition": {
548
+ "style": "simple",
549
+ "schema": {
550
+ "pattern": "attachment; filename='[^']+'",
551
+ "type": "string",
552
+ "example": "attachment; filename='result.csv'"
553
+ }
554
+ }
555
+ },
556
+ "content": {
557
+ "text/csv": {},
558
+ "application/vnd.apache.arrow.stream": {},
559
+ "application/vnd.apache.arrow.file": {}
560
+ }
561
+ },
562
+ "202": {
563
+ "description": "Request is accepted, provided exportId exists, but export is not yet ready.",
564
+ "content": {
565
+ "text/csv": {
566
+ "schema": {
567
+ "type": "string",
568
+ "format": "binary"
569
+ }
570
+ },
571
+ "application/vnd.apache.arrow.stream": {
572
+ "schema": {
573
+ "type": "string",
574
+ "format": "binary"
575
+ }
576
+ },
577
+ "application/vnd.apache.arrow.file": {
578
+ "schema": {
579
+ "type": "string",
580
+ "format": "binary"
581
+ }
582
+ }
583
+ }
584
+ }
585
+ },
586
+ "x-gdc-security-info": {
587
+ "permissions": ["EXPORT_TABULAR"],
588
+ "description": "Minimal permission required to use this endpoint."
589
+ }
590
+ }
591
+ }
592
+ },
593
+ "components": {
594
+ "schemas": {
595
+ "JsonNode": {
596
+ "maxLength": 15000,
597
+ "type": "object",
598
+ "description": "Metadata definition in free-form JSON format.",
599
+ "nullable": true,
600
+ "example": {}
601
+ },
602
+ "VisualExportRequest": {
603
+ "required": ["dashboardId", "fileName"],
604
+ "type": "object",
605
+ "properties": {
606
+ "fileName": {
607
+ "type": "string",
608
+ "description": "File name to be used for retrieving the pdf document.",
609
+ "example": "filename"
610
+ },
611
+ "dashboardId": {
612
+ "type": "string",
613
+ "description": "Dashboard identifier",
614
+ "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0"
615
+ },
616
+ "metadata": {
617
+ "type": "object",
618
+ "description": "Metadata definition in free-form JSON format.",
619
+ "example": "{}"
620
+ }
621
+ },
622
+ "description": "Export request object describing the export properties and metadata for dashboard PDF exports."
623
+ },
624
+ "ExportResponse": {
625
+ "required": ["exportResult"],
626
+ "type": "object",
627
+ "properties": {
628
+ "exportResult": {
629
+ "type": "string"
630
+ }
631
+ }
632
+ },
633
+ "CustomLabel": {
634
+ "required": ["title"],
635
+ "type": "object",
636
+ "properties": {
637
+ "title": {
638
+ "type": "string",
639
+ "description": "Override value."
640
+ }
641
+ },
642
+ "description": "Custom label object override."
643
+ },
644
+ "CustomMetric": {
645
+ "required": ["format", "title"],
646
+ "type": "object",
647
+ "properties": {
648
+ "title": {
649
+ "type": "string",
650
+ "description": "Metric title override."
651
+ },
652
+ "format": {
653
+ "type": "string",
654
+ "description": "Format override."
655
+ }
656
+ },
657
+ "description": "Custom metric object override."
658
+ },
659
+ "CustomOverride": {
660
+ "type": "object",
661
+ "properties": {
662
+ "labels": {
663
+ "type": "object",
664
+ "additionalProperties": {
665
+ "$ref": "#/components/schemas/CustomLabel"
666
+ },
667
+ "description": "Map of CustomLabels with keys used as placeholders in document."
668
+ },
669
+ "metrics": {
670
+ "type": "object",
671
+ "additionalProperties": {
672
+ "$ref": "#/components/schemas/CustomMetric"
673
+ },
674
+ "description": "Map of CustomMetrics with keys used as placeholders in document."
675
+ }
676
+ },
677
+ "description": "Custom cell value overrides (IDs will be replaced with specified values)."
678
+ },
679
+ "PdfTableStyle": {
680
+ "required": ["selector"],
681
+ "type": "object",
682
+ "properties": {
683
+ "selector": {
684
+ "type": "string",
378
685
  "description": "CSS selector where to apply given properties."
379
686
  },
380
687
  "properties": {
@@ -495,7 +802,7 @@
495
802
  },
496
803
  "visualizationObjectCustomFilters": {
497
804
  "type": "array",
498
- "description": "Optional custom filters (as array of IFilter objects defined in UI SDK) to be applied when visualizationObject is given. (HTML/PDF only)",
805
+ "description": "Optional custom filters (as array of IFilter objects defined in UI SDK) to be applied when visualizationObject is given.",
499
806
  "example": "[{\"negativeAttributeFilter\":{\"displayForm\":{\"identifier\":{\"id\":\"products.category\",\"type\":\"label\"}},\"notIn\":{\"values\":[\"Books\"]}}}]",
500
807
  "items": {
501
808
  "type": "object"
@@ -511,6 +818,873 @@
511
818
  }
512
819
  },
513
820
  "description": "Export request object describing the export properties and overrides for tabular exports."
821
+ },
822
+ "SlideshowExportRequest": {
823
+ "required": ["dashboardId", "fileName", "format"],
824
+ "type": "object",
825
+ "properties": {
826
+ "format": {
827
+ "type": "string",
828
+ "description": "Requested resulting file type.",
829
+ "example": "PDF",
830
+ "enum": ["PDF", "PPTX"]
831
+ },
832
+ "fileName": {
833
+ "type": "string",
834
+ "description": "File name to be used for retrieving the pdf document.",
835
+ "example": "filename"
836
+ },
837
+ "dashboardId": {
838
+ "type": "string",
839
+ "description": "Dashboard identifier",
840
+ "example": "761cd28b-3f57-4ac9-bbdc-1c552cc0d1d0"
841
+ },
842
+ "metadata": {
843
+ "$ref": "#/components/schemas/JsonNode"
844
+ }
845
+ },
846
+ "description": "Export request object describing the export properties and metadata for slideshow PDF exports."
847
+ },
848
+ "AFM": {
849
+ "required": ["attributes", "filters", "measures"],
850
+ "type": "object",
851
+ "properties": {
852
+ "attributes": {
853
+ "type": "array",
854
+ "description": "Attributes to be used in the computation.",
855
+ "items": {
856
+ "$ref": "#/components/schemas/AttributeItem"
857
+ }
858
+ },
859
+ "filters": {
860
+ "type": "array",
861
+ "description": "Various filter types to filter the execution result.",
862
+ "items": {
863
+ "$ref": "#/components/schemas/FilterDefinition"
864
+ }
865
+ },
866
+ "measures": {
867
+ "type": "array",
868
+ "description": "Metrics to be computed.",
869
+ "items": {
870
+ "$ref": "#/components/schemas/MeasureItem"
871
+ }
872
+ },
873
+ "auxMeasures": {
874
+ "type": "array",
875
+ "description": "Metrics to be referenced from other AFM objects (e.g. filters) but not included in the result.",
876
+ "items": {
877
+ "$ref": "#/components/schemas/MeasureItem"
878
+ }
879
+ }
880
+ },
881
+ "description": "Top level executable entity. Combination of [A]ttributes, [F]ilters & [M]etrics."
882
+ },
883
+ "AbsoluteDateFilter": {
884
+ "required": ["absoluteDateFilter"],
885
+ "type": "object",
886
+ "properties": {
887
+ "absoluteDateFilter": {
888
+ "required": ["from", "to", "dataset"],
889
+ "type": "object",
890
+ "properties": {
891
+ "from": {
892
+ "pattern": "^\\d{4}-\\d{1,2}-\\d{1,2}( \\d{1,2}:\\d{1,2})?$",
893
+ "type": "string",
894
+ "example": "2020-07-01 18:23"
895
+ },
896
+ "to": {
897
+ "pattern": "^\\d{4}-\\d{1,2}-\\d{1,2}( \\d{1,2}:\\d{1,2})?$",
898
+ "type": "string",
899
+ "example": "2020-07-16 23:59"
900
+ },
901
+ "localIdentifier": {
902
+ "type": "string"
903
+ },
904
+ "applyOnResult": {
905
+ "type": "boolean"
906
+ },
907
+ "dataset": {
908
+ "$ref": "#/components/schemas/AfmObjectIdentifierDataset"
909
+ }
910
+ }
911
+ }
912
+ },
913
+ "description": "A datetime filter specifying exact from and to values."
914
+ },
915
+ "AbstractMeasureValueFilter": {
916
+ "type": "object",
917
+ "oneOf": [
918
+ {
919
+ "$ref": "#/components/schemas/ComparisonMeasureValueFilter"
920
+ },
921
+ {
922
+ "$ref": "#/components/schemas/RangeMeasureValueFilter"
923
+ },
924
+ {
925
+ "$ref": "#/components/schemas/RankingFilter"
926
+ }
927
+ ]
928
+ },
929
+ "AfmIdentifier": {
930
+ "type": "object",
931
+ "description": "Reference to the attribute label to which the filter should be applied.",
932
+ "oneOf": [
933
+ {
934
+ "$ref": "#/components/schemas/AfmObjectIdentifier"
935
+ },
936
+ {
937
+ "$ref": "#/components/schemas/AfmLocalIdentifier"
938
+ }
939
+ ]
940
+ },
941
+ "AfmLocalIdentifier": {
942
+ "required": ["localIdentifier"],
943
+ "type": "object",
944
+ "properties": {
945
+ "localIdentifier": {
946
+ "pattern": "^[.a-zA-Z0-9_-]+$",
947
+ "type": "string",
948
+ "example": "sampleAutoGenerated0123_ID"
949
+ }
950
+ }
951
+ },
952
+ "AfmObjectIdentifier": {
953
+ "required": ["identifier"],
954
+ "type": "object",
955
+ "properties": {
956
+ "identifier": {
957
+ "required": ["type", "id"],
958
+ "type": "object",
959
+ "properties": {
960
+ "type": {
961
+ "type": "string",
962
+ "example": "fact",
963
+ "enum": [
964
+ "analyticalDashboard",
965
+ "attribute",
966
+ "dashboardPlugin",
967
+ "dataset",
968
+ "fact",
969
+ "label",
970
+ "metric",
971
+ "prompt",
972
+ "visualizationObject",
973
+ "filterContext"
974
+ ]
975
+ },
976
+ "id": {
977
+ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
978
+ "type": "string",
979
+ "example": "sample_item.price"
980
+ }
981
+ }
982
+ }
983
+ },
984
+ "description": "ObjectIdentifier with `identifier` wrapper. This serves to distinguish MD object identifiers in AFM request from local identifiers."
985
+ },
986
+ "AfmObjectIdentifierAttribute": {
987
+ "required": ["identifier"],
988
+ "type": "object",
989
+ "properties": {
990
+ "identifier": {
991
+ "required": ["id", "type"],
992
+ "type": "object",
993
+ "properties": {
994
+ "id": {
995
+ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
996
+ "type": "string",
997
+ "example": "sample_item.price"
998
+ },
999
+ "type": {
1000
+ "type": "string",
1001
+ "enum": ["attribute"]
1002
+ }
1003
+ }
1004
+ }
1005
+ },
1006
+ "description": "Reference to the date attribute to use."
1007
+ },
1008
+ "AfmObjectIdentifierCore": {
1009
+ "required": ["identifier"],
1010
+ "type": "object",
1011
+ "properties": {
1012
+ "identifier": {
1013
+ "required": ["id", "type"],
1014
+ "type": "object",
1015
+ "properties": {
1016
+ "id": {
1017
+ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
1018
+ "type": "string",
1019
+ "example": "sample_item.price"
1020
+ },
1021
+ "type": {
1022
+ "type": "string",
1023
+ "enum": ["attribute", "label", "fact", "metric"]
1024
+ }
1025
+ }
1026
+ }
1027
+ },
1028
+ "description": "Reference to the metric, fact or attribute object to use for the metric."
1029
+ },
1030
+ "AfmObjectIdentifierDataset": {
1031
+ "required": ["identifier"],
1032
+ "type": "object",
1033
+ "properties": {
1034
+ "identifier": {
1035
+ "required": ["id", "type"],
1036
+ "type": "object",
1037
+ "properties": {
1038
+ "id": {
1039
+ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
1040
+ "type": "string",
1041
+ "example": "sample_item.price"
1042
+ },
1043
+ "type": {
1044
+ "type": "string",
1045
+ "enum": ["dataset"]
1046
+ }
1047
+ }
1048
+ }
1049
+ },
1050
+ "description": "Reference to the date dataset to which the filter should be applied."
1051
+ },
1052
+ "AfmObjectIdentifierLabel": {
1053
+ "required": ["identifier"],
1054
+ "type": "object",
1055
+ "properties": {
1056
+ "identifier": {
1057
+ "required": ["type", "id"],
1058
+ "type": "object",
1059
+ "properties": {
1060
+ "type": {
1061
+ "type": "string",
1062
+ "enum": ["label"]
1063
+ },
1064
+ "id": {
1065
+ "pattern": "^(?!\\.)[.A-Za-z0-9_-]{1,255}$",
1066
+ "type": "string",
1067
+ "example": "sample_item.price"
1068
+ }
1069
+ }
1070
+ }
1071
+ }
1072
+ },
1073
+ "ArithmeticMeasureDefinition": {
1074
+ "required": ["arithmeticMeasure"],
1075
+ "type": "object",
1076
+ "properties": {
1077
+ "arithmeticMeasure": {
1078
+ "required": ["measureIdentifiers", "operator"],
1079
+ "type": "object",
1080
+ "properties": {
1081
+ "measureIdentifiers": {
1082
+ "type": "array",
1083
+ "description": "List of metrics to apply arithmetic operation by chosen operator.",
1084
+ "items": {
1085
+ "$ref": "#/components/schemas/AfmLocalIdentifier"
1086
+ }
1087
+ },
1088
+ "operator": {
1089
+ "type": "string",
1090
+ "description": "Arithmetic operator describing operation between metrics.",
1091
+ "example": "SUM",
1092
+ "enum": ["SUM", "DIFFERENCE", "MULTIPLICATION", "RATIO", "CHANGE"]
1093
+ }
1094
+ }
1095
+ }
1096
+ },
1097
+ "description": "Metric representing arithmetics between other metrics."
1098
+ },
1099
+ "AttributeFilter": {
1100
+ "type": "object",
1101
+ "description": "Abstract filter definition type attributes",
1102
+ "oneOf": [
1103
+ {
1104
+ "$ref": "#/components/schemas/NegativeAttributeFilter"
1105
+ },
1106
+ {
1107
+ "$ref": "#/components/schemas/PositiveAttributeFilter"
1108
+ }
1109
+ ]
1110
+ },
1111
+ "AttributeFilterElements": {
1112
+ "required": ["values"],
1113
+ "type": "object",
1114
+ "properties": {
1115
+ "values": {
1116
+ "uniqueItems": true,
1117
+ "type": "array",
1118
+ "description": "Set of label values.",
1119
+ "example": ["value1", "value2"],
1120
+ "items": {
1121
+ "type": "string",
1122
+ "nullable": true
1123
+ }
1124
+ }
1125
+ },
1126
+ "description": "Filter on specific set of label values."
1127
+ },
1128
+ "AttributeItem": {
1129
+ "required": ["label", "localIdentifier"],
1130
+ "type": "object",
1131
+ "properties": {
1132
+ "localIdentifier": {
1133
+ "pattern": "^[.a-zA-Z0-9_-]+$",
1134
+ "type": "string",
1135
+ "description": "Local identifier of the attribute. This can be used to reference the attribute in other parts of the execution definition.",
1136
+ "example": "attribute_1"
1137
+ },
1138
+ "label": {
1139
+ "$ref": "#/components/schemas/AfmObjectIdentifierLabel"
1140
+ },
1141
+ "showAllValues": {
1142
+ "type": "boolean",
1143
+ "description": "Indicates whether to show all values of given attribute even if the data bound to those values is not available.",
1144
+ "default": false
1145
+ }
1146
+ }
1147
+ },
1148
+ "ComparisonMeasureValueFilter": {
1149
+ "required": ["comparisonMeasureValueFilter"],
1150
+ "type": "object",
1151
+ "properties": {
1152
+ "comparisonMeasureValueFilter": {
1153
+ "required": ["operator", "value", "measure"],
1154
+ "type": "object",
1155
+ "properties": {
1156
+ "dimensionality": {
1157
+ "type": "array",
1158
+ "description": "References to the attributes to be used when filtering.",
1159
+ "items": {
1160
+ "$ref": "#/components/schemas/AfmIdentifier"
1161
+ }
1162
+ },
1163
+ "treatNullValuesAs": {
1164
+ "type": "number",
1165
+ "description": "A value that will be substituted for null values in the metric for the comparisons.",
1166
+ "example": 0
1167
+ },
1168
+ "operator": {
1169
+ "type": "string",
1170
+ "example": "GREATER_THAN",
1171
+ "enum": [
1172
+ "GREATER_THAN",
1173
+ "GREATER_THAN_OR_EQUAL_TO",
1174
+ "LESS_THAN",
1175
+ "LESS_THAN_OR_EQUAL_TO",
1176
+ "EQUAL_TO",
1177
+ "NOT_EQUAL_TO"
1178
+ ]
1179
+ },
1180
+ "value": {
1181
+ "type": "number",
1182
+ "example": 1327
1183
+ },
1184
+ "localIdentifier": {
1185
+ "type": "string"
1186
+ },
1187
+ "applyOnResult": {
1188
+ "type": "boolean"
1189
+ },
1190
+ "measure": {
1191
+ "$ref": "#/components/schemas/AfmIdentifier"
1192
+ }
1193
+ }
1194
+ }
1195
+ },
1196
+ "description": "Filter the result by comparing specified metric to given constant value, using given comparison operator."
1197
+ },
1198
+ "DateFilter": {
1199
+ "type": "object",
1200
+ "description": "Abstract filter definition type for dates.",
1201
+ "oneOf": [
1202
+ {
1203
+ "$ref": "#/components/schemas/AbsoluteDateFilter"
1204
+ },
1205
+ {
1206
+ "$ref": "#/components/schemas/RelativeDateFilter"
1207
+ }
1208
+ ]
1209
+ },
1210
+ "FilterDefinition": {
1211
+ "type": "object",
1212
+ "description": "Abstract filter definition type",
1213
+ "oneOf": [
1214
+ {
1215
+ "$ref": "#/components/schemas/InlineFilterDefinition"
1216
+ },
1217
+ {
1218
+ "$ref": "#/components/schemas/RankingFilter"
1219
+ },
1220
+ {
1221
+ "$ref": "#/components/schemas/ComparisonMeasureValueFilter"
1222
+ },
1223
+ {
1224
+ "$ref": "#/components/schemas/RangeMeasureValueFilter"
1225
+ },
1226
+ {
1227
+ "$ref": "#/components/schemas/AbsoluteDateFilter"
1228
+ },
1229
+ {
1230
+ "$ref": "#/components/schemas/RelativeDateFilter"
1231
+ },
1232
+ {
1233
+ "$ref": "#/components/schemas/NegativeAttributeFilter"
1234
+ },
1235
+ {
1236
+ "$ref": "#/components/schemas/PositiveAttributeFilter"
1237
+ }
1238
+ ]
1239
+ },
1240
+ "FilterDefinitionForSimpleMeasure": {
1241
+ "type": "object",
1242
+ "description": "Abstract filter definition type for simple metric.",
1243
+ "oneOf": [
1244
+ {
1245
+ "$ref": "#/components/schemas/DateFilter"
1246
+ },
1247
+ {
1248
+ "$ref": "#/components/schemas/AttributeFilter"
1249
+ }
1250
+ ]
1251
+ },
1252
+ "InlineFilterDefinition": {
1253
+ "required": ["inline"],
1254
+ "type": "object",
1255
+ "properties": {
1256
+ "inline": {
1257
+ "required": ["filter"],
1258
+ "type": "object",
1259
+ "properties": {
1260
+ "filter": {
1261
+ "type": "string",
1262
+ "description": "MAQL query representing the filter."
1263
+ },
1264
+ "localIdentifier": {
1265
+ "type": "string"
1266
+ },
1267
+ "applyOnResult": {
1268
+ "type": "boolean"
1269
+ }
1270
+ }
1271
+ }
1272
+ },
1273
+ "description": "Filter in form of direct MAQL query."
1274
+ },
1275
+ "InlineMeasureDefinition": {
1276
+ "required": ["inline"],
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "inline": {
1280
+ "required": ["maql"],
1281
+ "type": "object",
1282
+ "properties": {
1283
+ "maql": {
1284
+ "type": "string",
1285
+ "description": "MAQL query defining the metric."
1286
+ }
1287
+ }
1288
+ }
1289
+ },
1290
+ "description": "Metric defined by the raw MAQL query."
1291
+ },
1292
+ "MeasureDefinition": {
1293
+ "type": "object",
1294
+ "description": "Abstract metric definition type",
1295
+ "oneOf": [
1296
+ {
1297
+ "$ref": "#/components/schemas/InlineMeasureDefinition"
1298
+ },
1299
+ {
1300
+ "$ref": "#/components/schemas/ArithmeticMeasureDefinition"
1301
+ },
1302
+ {
1303
+ "$ref": "#/components/schemas/SimpleMeasureDefinition"
1304
+ },
1305
+ {
1306
+ "$ref": "#/components/schemas/PopMeasureDefinition"
1307
+ }
1308
+ ]
1309
+ },
1310
+ "MeasureItem": {
1311
+ "required": ["definition", "localIdentifier"],
1312
+ "type": "object",
1313
+ "properties": {
1314
+ "localIdentifier": {
1315
+ "pattern": "^[.a-zA-Z0-9_-]+$",
1316
+ "type": "string",
1317
+ "description": "Local identifier of the metric. This can be used to reference the metric in other parts of the execution definition.",
1318
+ "example": "metric_1"
1319
+ },
1320
+ "definition": {
1321
+ "$ref": "#/components/schemas/MeasureDefinition"
1322
+ }
1323
+ },
1324
+ "description": "Metric is a quantity that is calculated from the data."
1325
+ },
1326
+ "MeasureValueFilter": {
1327
+ "type": "object",
1328
+ "description": "Abstract filter definition type filtering by the value of the metric.",
1329
+ "oneOf": [
1330
+ {
1331
+ "$ref": "#/components/schemas/ComparisonMeasureValueFilter"
1332
+ },
1333
+ {
1334
+ "$ref": "#/components/schemas/RangeMeasureValueFilter"
1335
+ }
1336
+ ]
1337
+ },
1338
+ "NegativeAttributeFilter": {
1339
+ "required": ["negativeAttributeFilter"],
1340
+ "type": "object",
1341
+ "properties": {
1342
+ "negativeAttributeFilter": {
1343
+ "required": ["notIn", "label"],
1344
+ "type": "object",
1345
+ "properties": {
1346
+ "notIn": {
1347
+ "$ref": "#/components/schemas/AttributeFilterElements"
1348
+ },
1349
+ "localIdentifier": {
1350
+ "type": "string"
1351
+ },
1352
+ "applyOnResult": {
1353
+ "type": "boolean"
1354
+ },
1355
+ "label": {
1356
+ "$ref": "#/components/schemas/AfmIdentifier"
1357
+ }
1358
+ }
1359
+ }
1360
+ },
1361
+ "description": "Filter able to limit element values by label and related selected negated elements."
1362
+ },
1363
+ "PopDataset": {
1364
+ "required": ["dataset", "periodsAgo"],
1365
+ "type": "object",
1366
+ "properties": {
1367
+ "dataset": {
1368
+ "$ref": "#/components/schemas/AfmObjectIdentifierDataset"
1369
+ },
1370
+ "periodsAgo": {
1371
+ "type": "integer",
1372
+ "description": "Number of periods ago to calculate the previous period for.",
1373
+ "format": "int32",
1374
+ "example": 1
1375
+ }
1376
+ },
1377
+ "description": "Combination of the date data set to use and how many periods ago to calculate the previous period for."
1378
+ },
1379
+ "PopDatasetMeasureDefinition": {
1380
+ "required": ["previousPeriodMeasure"],
1381
+ "type": "object",
1382
+ "properties": {
1383
+ "previousPeriodMeasure": {
1384
+ "required": ["dateDatasets", "measureIdentifier"],
1385
+ "type": "object",
1386
+ "properties": {
1387
+ "measureIdentifier": {
1388
+ "$ref": "#/components/schemas/AfmLocalIdentifier"
1389
+ },
1390
+ "dateDatasets": {
1391
+ "type": "array",
1392
+ "description": "Specification of which date data sets to use for determining the period to calculate the previous period for.",
1393
+ "items": {
1394
+ "$ref": "#/components/schemas/PopDataset"
1395
+ }
1396
+ }
1397
+ }
1398
+ }
1399
+ },
1400
+ "description": "Previous period type of metric."
1401
+ },
1402
+ "PopDate": {
1403
+ "required": ["attribute", "periodsAgo"],
1404
+ "type": "object",
1405
+ "properties": {
1406
+ "attribute": {
1407
+ "$ref": "#/components/schemas/AfmObjectIdentifierAttribute"
1408
+ },
1409
+ "periodsAgo": {
1410
+ "type": "integer",
1411
+ "description": "Number of periods ago to calculate the previous period for.",
1412
+ "format": "int32",
1413
+ "example": 1
1414
+ }
1415
+ },
1416
+ "description": "Combination of the date attribute to use and how many periods ago to calculate the PoP for."
1417
+ },
1418
+ "PopDateMeasureDefinition": {
1419
+ "required": ["overPeriodMeasure"],
1420
+ "type": "object",
1421
+ "properties": {
1422
+ "overPeriodMeasure": {
1423
+ "required": ["dateAttributes", "measureIdentifier"],
1424
+ "type": "object",
1425
+ "properties": {
1426
+ "measureIdentifier": {
1427
+ "$ref": "#/components/schemas/AfmLocalIdentifier"
1428
+ },
1429
+ "dateAttributes": {
1430
+ "type": "array",
1431
+ "description": "Attributes to use for determining the period to calculate the PoP for.",
1432
+ "items": {
1433
+ "$ref": "#/components/schemas/PopDate"
1434
+ }
1435
+ }
1436
+ }
1437
+ }
1438
+ },
1439
+ "description": "Period over period type of metric."
1440
+ },
1441
+ "PopMeasureDefinition": {
1442
+ "type": "object",
1443
+ "oneOf": [
1444
+ {
1445
+ "$ref": "#/components/schemas/PopDatasetMeasureDefinition"
1446
+ },
1447
+ {
1448
+ "$ref": "#/components/schemas/PopDateMeasureDefinition"
1449
+ }
1450
+ ]
1451
+ },
1452
+ "PositiveAttributeFilter": {
1453
+ "required": ["positiveAttributeFilter"],
1454
+ "type": "object",
1455
+ "properties": {
1456
+ "positiveAttributeFilter": {
1457
+ "required": ["in", "label"],
1458
+ "type": "object",
1459
+ "properties": {
1460
+ "in": {
1461
+ "$ref": "#/components/schemas/AttributeFilterElements"
1462
+ },
1463
+ "localIdentifier": {
1464
+ "type": "string"
1465
+ },
1466
+ "applyOnResult": {
1467
+ "type": "boolean"
1468
+ },
1469
+ "label": {
1470
+ "$ref": "#/components/schemas/AfmIdentifier"
1471
+ }
1472
+ }
1473
+ }
1474
+ },
1475
+ "description": "Filter able to limit element values by label and related selected elements."
1476
+ },
1477
+ "RangeMeasureValueFilter": {
1478
+ "required": ["rangeMeasureValueFilter"],
1479
+ "type": "object",
1480
+ "properties": {
1481
+ "rangeMeasureValueFilter": {
1482
+ "required": ["from", "operator", "to", "measure"],
1483
+ "type": "object",
1484
+ "properties": {
1485
+ "dimensionality": {
1486
+ "type": "array",
1487
+ "description": "References to the attributes to be used when filtering.",
1488
+ "items": {
1489
+ "$ref": "#/components/schemas/AfmIdentifier"
1490
+ }
1491
+ },
1492
+ "treatNullValuesAs": {
1493
+ "type": "number",
1494
+ "description": "A value that will be substituted for null values in the metric for the comparisons.",
1495
+ "example": 0
1496
+ },
1497
+ "operator": {
1498
+ "type": "string",
1499
+ "example": "BETWEEN",
1500
+ "enum": ["BETWEEN", "NOT_BETWEEN"]
1501
+ },
1502
+ "from": {
1503
+ "type": "number",
1504
+ "example": 100
1505
+ },
1506
+ "to": {
1507
+ "type": "number",
1508
+ "example": 999
1509
+ },
1510
+ "localIdentifier": {
1511
+ "type": "string"
1512
+ },
1513
+ "applyOnResult": {
1514
+ "type": "boolean"
1515
+ },
1516
+ "measure": {
1517
+ "$ref": "#/components/schemas/AfmIdentifier"
1518
+ }
1519
+ }
1520
+ }
1521
+ },
1522
+ "description": "Filter the result by comparing specified metric to given range of values."
1523
+ },
1524
+ "RankingFilter": {
1525
+ "required": ["rankingFilter"],
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "rankingFilter": {
1529
+ "required": ["measures", "operator", "value"],
1530
+ "type": "object",
1531
+ "properties": {
1532
+ "dimensionality": {
1533
+ "type": "array",
1534
+ "description": "References to the attributes to be used when filtering.",
1535
+ "items": {
1536
+ "$ref": "#/components/schemas/AfmIdentifier"
1537
+ }
1538
+ },
1539
+ "measures": {
1540
+ "type": "array",
1541
+ "description": "References to the metrics to be used when filtering.",
1542
+ "items": {
1543
+ "$ref": "#/components/schemas/AfmIdentifier"
1544
+ }
1545
+ },
1546
+ "operator": {
1547
+ "type": "string",
1548
+ "description": "The type of ranking to use, TOP or BOTTOM.",
1549
+ "enum": ["TOP", "BOTTOM"]
1550
+ },
1551
+ "value": {
1552
+ "type": "integer",
1553
+ "description": "Number of top/bottom values to filter.",
1554
+ "format": "int32",
1555
+ "example": 5
1556
+ },
1557
+ "localIdentifier": {
1558
+ "type": "string"
1559
+ },
1560
+ "applyOnResult": {
1561
+ "type": "boolean"
1562
+ }
1563
+ }
1564
+ }
1565
+ },
1566
+ "description": "Filter the result on top/bottom N values according to given metric(s)."
1567
+ },
1568
+ "RawExportRequest": {
1569
+ "required": ["execution", "fileName", "format"],
1570
+ "type": "object",
1571
+ "properties": {
1572
+ "format": {
1573
+ "type": "string",
1574
+ "description": "Requested resulting file type.",
1575
+ "example": "CSV",
1576
+ "enum": ["ARROW_FILE", "ARROW_STREAM", "CSV"]
1577
+ },
1578
+ "execution": {
1579
+ "$ref": "#/components/schemas/AFM"
1580
+ },
1581
+ "fileName": {
1582
+ "type": "string",
1583
+ "description": "Filename of downloaded file without extension.",
1584
+ "example": "result"
1585
+ }
1586
+ },
1587
+ "description": "Export request object describing the export properties and overrides for raw exports."
1588
+ },
1589
+ "RelativeDateFilter": {
1590
+ "required": ["relativeDateFilter"],
1591
+ "type": "object",
1592
+ "properties": {
1593
+ "relativeDateFilter": {
1594
+ "required": ["from", "granularity", "to", "dataset"],
1595
+ "type": "object",
1596
+ "properties": {
1597
+ "granularity": {
1598
+ "type": "string",
1599
+ "description": "Date granularity specifying particular date attribute in given dimension.",
1600
+ "example": "DAY",
1601
+ "enum": [
1602
+ "MINUTE",
1603
+ "HOUR",
1604
+ "DAY",
1605
+ "WEEK",
1606
+ "MONTH",
1607
+ "QUARTER",
1608
+ "YEAR",
1609
+ "MINUTE_OF_HOUR",
1610
+ "HOUR_OF_DAY",
1611
+ "DAY_OF_WEEK",
1612
+ "DAY_OF_MONTH",
1613
+ "DAY_OF_YEAR",
1614
+ "WEEK_OF_YEAR",
1615
+ "MONTH_OF_YEAR",
1616
+ "QUARTER_OF_YEAR"
1617
+ ]
1618
+ },
1619
+ "from": {
1620
+ "type": "integer",
1621
+ "description": "Start of the filtering interval. Specified by number of periods (with respect to given granularity). Typically negative (historical time interval like -2 for '2 days/weeks, ... ago').",
1622
+ "format": "int32",
1623
+ "example": -6
1624
+ },
1625
+ "to": {
1626
+ "type": "integer",
1627
+ "description": "End of the filtering interval. Specified by number of periods (with respect to given granularity). Value 'O' is representing current time-interval (current day, week, ...).",
1628
+ "format": "int32",
1629
+ "example": 0
1630
+ },
1631
+ "localIdentifier": {
1632
+ "type": "string"
1633
+ },
1634
+ "applyOnResult": {
1635
+ "type": "boolean"
1636
+ },
1637
+ "dataset": {
1638
+ "$ref": "#/components/schemas/AfmObjectIdentifierDataset"
1639
+ }
1640
+ }
1641
+ }
1642
+ },
1643
+ "description": "A date filter specifying a time interval that is relative to the current date. For example, last week, next month, and so on. Field dataset is representing qualifier of date dimension."
1644
+ },
1645
+ "SimpleMeasureDefinition": {
1646
+ "required": ["measure"],
1647
+ "type": "object",
1648
+ "properties": {
1649
+ "measure": {
1650
+ "required": ["item"],
1651
+ "type": "object",
1652
+ "properties": {
1653
+ "item": {
1654
+ "$ref": "#/components/schemas/AfmObjectIdentifierCore"
1655
+ },
1656
+ "aggregation": {
1657
+ "type": "string",
1658
+ "description": "Definition of aggregation type of the metric.",
1659
+ "example": "SUM",
1660
+ "enum": [
1661
+ "SUM",
1662
+ "COUNT",
1663
+ "AVG",
1664
+ "MIN",
1665
+ "MAX",
1666
+ "MEDIAN",
1667
+ "RUNSUM",
1668
+ "APPROXIMATE_COUNT"
1669
+ ]
1670
+ },
1671
+ "computeRatio": {
1672
+ "type": "boolean",
1673
+ "description": "If true, compute the percentage of given metric values (broken down by AFM attributes) to the total (not broken down).",
1674
+ "example": true,
1675
+ "default": false
1676
+ },
1677
+ "filters": {
1678
+ "type": "array",
1679
+ "description": "Metrics can be filtered by attribute filters with the same interface as ones for global AFM. Note that only one DateFilter is allowed.",
1680
+ "items": {
1681
+ "$ref": "#/components/schemas/FilterDefinitionForSimpleMeasure"
1682
+ }
1683
+ }
1684
+ }
1685
+ }
1686
+ },
1687
+ "description": "Metric defined by referencing a MAQL metric or an LDM fact object with aggregation."
514
1688
  }
515
1689
  }
516
1690
  }