@luzmo/dashboard-contents-types 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +40 -62
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +20 -10
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +226 -27
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +11 -11
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +8 -9
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +1472 -0
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/heat-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1588 -0
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/image-options.schema.json.d.ts +7 -2
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +1486 -0
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/marker-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/options.schema.json.d.ts +49 -25
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map-options.schema.json.d.ts +1506 -0
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +627 -0
- package/assets/json-schemas/route-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +5 -5
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +44 -23
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +1686 -0
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +598 -0
- package/assets/json-schemas/spike-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1567 -0
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +595 -0
- package/assets/json-schemas/symbol-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +8 -8
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/video-options.schema.json.d.ts +318 -0
- package/assets/json-schemas/video.schema.json.d.ts +19 -0
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +3428 -0
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +543 -0
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +23 -0
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +231 -74
- package/index.mjs +24040 -6310
- package/json-schemas.d.ts +16081 -2533
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +9 -0
- package/src/index.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +3 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +17 -12
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
- package/src/lib/heat-map/heat-map-options.d.ts +103 -0
- package/src/lib/heat-map/heat-map-options.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map-slots.d.ts +29 -0
- package/src/lib/heat-map/heat-map-slots.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map.d.ts +23 -0
- package/src/lib/heat-map/heat-map.d.ts.map +1 -0
- package/src/lib/heat-map/index.d.ts +3 -0
- package/src/lib/heat-map/index.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts +116 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts +29 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts +23 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts.map +1 -0
- package/src/lib/hexbin-map/index.d.ts +3 -0
- package/src/lib/hexbin-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/index.d.ts +3 -0
- package/src/lib/marker-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-options.d.ts +61 -0
- package/src/lib/marker-map/marker-map-options.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-slots.d.ts +29 -0
- package/src/lib/marker-map/marker-map-slots.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map.d.ts +23 -0
- package/src/lib/marker-map/marker-map.d.ts.map +1 -0
- package/src/lib/route-map/index.d.ts +3 -0
- package/src/lib/route-map/index.d.ts.map +1 -0
- package/src/lib/route-map/route-map-options.d.ts +94 -0
- package/src/lib/route-map/route-map-options.d.ts.map +1 -0
- package/src/lib/route-map/route-map-slots.d.ts +51 -0
- package/src/lib/route-map/route-map-slots.d.ts.map +1 -0
- package/src/lib/route-map/route-map.d.ts +23 -0
- package/src/lib/route-map/route-map.d.ts.map +1 -0
- package/src/lib/shared/drop-object-view-options.d.ts +1 -1
- package/src/lib/shared/map-object-view-options.d.ts +100 -1
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/ranges.d.ts +1 -1
- package/src/lib/shared/slots.d.ts +82 -16
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/theme.d.ts +1 -2
- package/src/lib/shared/theme.d.ts.map +1 -1
- package/src/lib/shared/title.d.ts +1 -1
- package/src/lib/shared/viz-item.d.ts +5 -0
- package/src/lib/shared/viz-item.d.ts.map +1 -1
- package/src/lib/spike-map/index.d.ts +3 -0
- package/src/lib/spike-map/index.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-options.d.ts +126 -0
- package/src/lib/spike-map/spike-map-options.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-slots.d.ts +40 -0
- package/src/lib/spike-map/spike-map-slots.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map.d.ts +23 -0
- package/src/lib/spike-map/spike-map.d.ts.map +1 -0
- package/src/lib/symbol-map/index.d.ts +3 -0
- package/src/lib/symbol-map/index.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts +93 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts +40 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map.d.ts +23 -0
- package/src/lib/symbol-map/symbol-map.d.ts.map +1 -0
- package/src/lib/video/index.d.ts +2 -0
- package/src/lib/video/index.d.ts.map +1 -0
- package/src/lib/video/video-options.d.ts +86 -0
- package/src/lib/video/video-options.d.ts.map +1 -0
- package/src/lib/video/video.d.ts +16 -0
- package/src/lib/video/video.d.ts.map +1 -0
- package/src/lib/visual-item/index.d.ts +1 -0
- package/src/lib/visual-item/index.d.ts.map +1 -0
- package/src/lib/visual-item/visual-item.d.ts +28 -0
- package/src/lib/visual-item/visual-item.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/index.d.ts +3 -0
- package/src/lib/wordcloud-chart/index.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +117 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts +41 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts +23 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts.map +1 -0
- package/src/options.d.ts +10 -1
- package/src/options.d.ts.map +1 -1
- package/src/slots.d.ts +9 -1
- package/src/slots.d.ts.map +1 -1
- package/vite.config.d.ts.map +1 -1
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json",
|
|
3
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"ColumnSubtype": {
|
|
6
|
+
"enum": [
|
|
7
|
+
"coordinates",
|
|
8
|
+
"currency",
|
|
9
|
+
"duration",
|
|
10
|
+
"hierarchy_element_expression",
|
|
11
|
+
"topography"
|
|
12
|
+
],
|
|
13
|
+
"type": "string"
|
|
14
|
+
},
|
|
15
|
+
"DateTimeSlotContent": {
|
|
16
|
+
"properties": {
|
|
17
|
+
"aggregationFunc": {
|
|
18
|
+
"description": "Basic aggregation function. It can be used when a \"datetime\" column is used in a measure slot.",
|
|
19
|
+
"enum": [
|
|
20
|
+
"count",
|
|
21
|
+
"distinctcount"
|
|
22
|
+
],
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"color": {
|
|
26
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
27
|
+
"type": [
|
|
28
|
+
"null",
|
|
29
|
+
"string"
|
|
30
|
+
]
|
|
31
|
+
},
|
|
32
|
+
"columnId": {
|
|
33
|
+
"description": "Column id",
|
|
34
|
+
"format": "uuid",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"datasetId": {
|
|
38
|
+
"description": "Dataset id",
|
|
39
|
+
"format": "uuid",
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"datetimeDisplayMode": {
|
|
43
|
+
"description": "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
|
|
44
|
+
"enum": [
|
|
45
|
+
"day_in_month",
|
|
46
|
+
"day_in_year",
|
|
47
|
+
"default",
|
|
48
|
+
"hour_in_day",
|
|
49
|
+
"minute_in_hour",
|
|
50
|
+
"month_name",
|
|
51
|
+
"month_number",
|
|
52
|
+
"quarter_number",
|
|
53
|
+
"second_in_minute",
|
|
54
|
+
"week_number",
|
|
55
|
+
"weekday_name",
|
|
56
|
+
"weekday_number"
|
|
57
|
+
],
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"format": {
|
|
61
|
+
"description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
"grandTotals": {
|
|
65
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
66
|
+
"properties": {
|
|
67
|
+
"enabled": {
|
|
68
|
+
"type": "boolean"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"type": "object"
|
|
72
|
+
},
|
|
73
|
+
"label": {
|
|
74
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
75
|
+
"type": "object"
|
|
76
|
+
},
|
|
77
|
+
"level": {
|
|
78
|
+
"description": "\"hierarchy\" or \"datetime\" level",
|
|
79
|
+
"type": [
|
|
80
|
+
"number",
|
|
81
|
+
"null"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"lowestLevel": {
|
|
85
|
+
"description": "Lowest \"hierarchy\" or \"datetime\" level",
|
|
86
|
+
"type": [
|
|
87
|
+
"null",
|
|
88
|
+
"number"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"monthNameFormat": {
|
|
92
|
+
"description": "Month name format for datetime column formatting",
|
|
93
|
+
"enum": [
|
|
94
|
+
"letter",
|
|
95
|
+
"long",
|
|
96
|
+
"short"
|
|
97
|
+
],
|
|
98
|
+
"type": "string"
|
|
99
|
+
},
|
|
100
|
+
"periodOverPeriod": {
|
|
101
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
102
|
+
"properties": {
|
|
103
|
+
"level": {
|
|
104
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
105
|
+
"type": "number"
|
|
106
|
+
},
|
|
107
|
+
"periodToDate": {
|
|
108
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
109
|
+
"type": "boolean"
|
|
110
|
+
},
|
|
111
|
+
"quantity": {
|
|
112
|
+
"description": "Number of periods",
|
|
113
|
+
"type": "number"
|
|
114
|
+
},
|
|
115
|
+
"type": {
|
|
116
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
117
|
+
"enum": [
|
|
118
|
+
"change",
|
|
119
|
+
"none",
|
|
120
|
+
"past"
|
|
121
|
+
],
|
|
122
|
+
"type": "string"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"type": "object"
|
|
126
|
+
},
|
|
127
|
+
"subtype": {
|
|
128
|
+
"description": "There's no subtype for \"datetime\", it can be null or omitted",
|
|
129
|
+
"type": "null"
|
|
130
|
+
},
|
|
131
|
+
"type": {
|
|
132
|
+
"const": "datetime",
|
|
133
|
+
"description": "\"datetime\" column type",
|
|
134
|
+
"type": "string"
|
|
135
|
+
},
|
|
136
|
+
"weekDayNameFormat": {
|
|
137
|
+
"description": "Week day name format for datetime column formatting",
|
|
138
|
+
"enum": [
|
|
139
|
+
"letter",
|
|
140
|
+
"long",
|
|
141
|
+
"short"
|
|
142
|
+
],
|
|
143
|
+
"type": "string"
|
|
144
|
+
},
|
|
145
|
+
"weekStart": {
|
|
146
|
+
"description": "Week start day, 'sunday' or 'monday'. For datetime column formatting.",
|
|
147
|
+
"enum": [
|
|
148
|
+
"monday",
|
|
149
|
+
"sunday"
|
|
150
|
+
],
|
|
151
|
+
"type": "string"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"type": "object"
|
|
155
|
+
},
|
|
156
|
+
"GeoSlot": {
|
|
157
|
+
"description": "Geo slot definition of the Heat Map. This is the required slot. This slot can only accept a Geo content type column.",
|
|
158
|
+
"properties": {
|
|
159
|
+
"content": {
|
|
160
|
+
"description": "Geo slot definition",
|
|
161
|
+
"items": {
|
|
162
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/SpatialSlotContent"
|
|
163
|
+
},
|
|
164
|
+
"maxItems": 1,
|
|
165
|
+
"type": "array"
|
|
166
|
+
},
|
|
167
|
+
"name": {
|
|
168
|
+
"const": "geo",
|
|
169
|
+
"description": "Name of the slot",
|
|
170
|
+
"type": "string"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"type": "object"
|
|
174
|
+
},
|
|
175
|
+
"HierarchySlotContent": {
|
|
176
|
+
"properties": {
|
|
177
|
+
"aggregationFunc": {
|
|
178
|
+
"description": "Basic aggregation function. It can be used when a \"hierarchy\" column is used in a measure slot.",
|
|
179
|
+
"enum": [
|
|
180
|
+
"count",
|
|
181
|
+
"distinctcount"
|
|
182
|
+
],
|
|
183
|
+
"type": "string"
|
|
184
|
+
},
|
|
185
|
+
"color": {
|
|
186
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
187
|
+
"type": [
|
|
188
|
+
"null",
|
|
189
|
+
"string"
|
|
190
|
+
]
|
|
191
|
+
},
|
|
192
|
+
"columnId": {
|
|
193
|
+
"description": "Column id",
|
|
194
|
+
"format": "uuid",
|
|
195
|
+
"type": "string"
|
|
196
|
+
},
|
|
197
|
+
"datasetId": {
|
|
198
|
+
"description": "Dataset id",
|
|
199
|
+
"format": "uuid",
|
|
200
|
+
"type": "string"
|
|
201
|
+
},
|
|
202
|
+
"format": {
|
|
203
|
+
"description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
|
|
204
|
+
"type": "string"
|
|
205
|
+
},
|
|
206
|
+
"grandTotals": {
|
|
207
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
208
|
+
"properties": {
|
|
209
|
+
"enabled": {
|
|
210
|
+
"type": "boolean"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
"type": "object"
|
|
214
|
+
},
|
|
215
|
+
"label": {
|
|
216
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
217
|
+
"type": "object"
|
|
218
|
+
},
|
|
219
|
+
"level": {
|
|
220
|
+
"description": "\"hierarchy\" or \"datetime\" level",
|
|
221
|
+
"type": [
|
|
222
|
+
"number",
|
|
223
|
+
"null"
|
|
224
|
+
]
|
|
225
|
+
},
|
|
226
|
+
"lowestLevel": {
|
|
227
|
+
"description": "Lowest \"hierarchy\" or \"datetime\" level",
|
|
228
|
+
"type": [
|
|
229
|
+
"null",
|
|
230
|
+
"number"
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
"periodOverPeriod": {
|
|
234
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
235
|
+
"properties": {
|
|
236
|
+
"level": {
|
|
237
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
238
|
+
"type": "number"
|
|
239
|
+
},
|
|
240
|
+
"periodToDate": {
|
|
241
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
242
|
+
"type": "boolean"
|
|
243
|
+
},
|
|
244
|
+
"quantity": {
|
|
245
|
+
"description": "Number of periods",
|
|
246
|
+
"type": "number"
|
|
247
|
+
},
|
|
248
|
+
"type": {
|
|
249
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
250
|
+
"enum": [
|
|
251
|
+
"change",
|
|
252
|
+
"none",
|
|
253
|
+
"past"
|
|
254
|
+
],
|
|
255
|
+
"type": "string"
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
"type": "object"
|
|
259
|
+
},
|
|
260
|
+
"subtype": {
|
|
261
|
+
"anyOf": [
|
|
262
|
+
{
|
|
263
|
+
"enum": [
|
|
264
|
+
"coordinates",
|
|
265
|
+
"currency",
|
|
266
|
+
"date",
|
|
267
|
+
"datetime",
|
|
268
|
+
"duration",
|
|
269
|
+
"hierarchy_element_expression",
|
|
270
|
+
"topography"
|
|
271
|
+
],
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"type": "null"
|
|
276
|
+
}
|
|
277
|
+
],
|
|
278
|
+
"description": "Column subtype"
|
|
279
|
+
},
|
|
280
|
+
"type": {
|
|
281
|
+
"const": "hierarchy",
|
|
282
|
+
"description": "\"hierarchy\" column type",
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
"type": "object"
|
|
287
|
+
},
|
|
288
|
+
"MeasureSlot": {
|
|
289
|
+
"description": "Measure slot definition of the Heat Map",
|
|
290
|
+
"properties": {
|
|
291
|
+
"content": {
|
|
292
|
+
"description": "Measure slot definition",
|
|
293
|
+
"items": {
|
|
294
|
+
"anyOf": [
|
|
295
|
+
{
|
|
296
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/NumericSlotContent"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/HierarchySlotContent"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/DateTimeSlotContent"
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
},
|
|
306
|
+
"maxItems": 1,
|
|
307
|
+
"type": "array"
|
|
308
|
+
},
|
|
309
|
+
"name": {
|
|
310
|
+
"const": "measure",
|
|
311
|
+
"description": "Name of the slot",
|
|
312
|
+
"type": "string"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"type": "object"
|
|
316
|
+
},
|
|
317
|
+
"NumericSlotContent": {
|
|
318
|
+
"properties": {
|
|
319
|
+
"aggregationFunc": {
|
|
320
|
+
"description": "Aggregation function. It can be used with a \"numeric\" column type, and with some limitations with \"hierarchy\" and \"datetime\" column types.",
|
|
321
|
+
"enum": [
|
|
322
|
+
"average",
|
|
323
|
+
"count",
|
|
324
|
+
"cumulativesum",
|
|
325
|
+
"distinctcount",
|
|
326
|
+
"histogram",
|
|
327
|
+
"max",
|
|
328
|
+
"median",
|
|
329
|
+
"min",
|
|
330
|
+
"rate",
|
|
331
|
+
"stddev",
|
|
332
|
+
"sum",
|
|
333
|
+
"weightedaverage"
|
|
334
|
+
],
|
|
335
|
+
"type": "string"
|
|
336
|
+
},
|
|
337
|
+
"aggregationWeight": {
|
|
338
|
+
"description": "Aggregation weight. It can be used with a \"numeric\" column type.",
|
|
339
|
+
"properties": {
|
|
340
|
+
"columnId": {
|
|
341
|
+
"description": "Column id",
|
|
342
|
+
"format": "uuid",
|
|
343
|
+
"type": "string"
|
|
344
|
+
},
|
|
345
|
+
"columnSubType": {
|
|
346
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/ColumnSubtype",
|
|
347
|
+
"description": "Column subtype"
|
|
348
|
+
},
|
|
349
|
+
"datasetId": {
|
|
350
|
+
"description": "Dataset id",
|
|
351
|
+
"format": "uuid",
|
|
352
|
+
"type": "string"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"type": "object"
|
|
356
|
+
},
|
|
357
|
+
"bins": {
|
|
358
|
+
"description": "Bin definition. It can be used when a \"numeric\" column is used as a category.",
|
|
359
|
+
"properties": {
|
|
360
|
+
"enabled": {
|
|
361
|
+
"description": "Enable or disable binning",
|
|
362
|
+
"type": "boolean"
|
|
363
|
+
},
|
|
364
|
+
"number": {
|
|
365
|
+
"description": "Defines the range of the bins",
|
|
366
|
+
"type": "number"
|
|
367
|
+
}
|
|
368
|
+
},
|
|
369
|
+
"type": "object"
|
|
370
|
+
},
|
|
371
|
+
"color": {
|
|
372
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
373
|
+
"type": [
|
|
374
|
+
"null",
|
|
375
|
+
"string"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
"columnId": {
|
|
379
|
+
"description": "Column id",
|
|
380
|
+
"format": "uuid",
|
|
381
|
+
"type": "string"
|
|
382
|
+
},
|
|
383
|
+
"currency": {
|
|
384
|
+
"description": "Currency code, for example \"€\" or \"$\". It is only used when the column type is \"numeric\" and subtype is \"currency\".",
|
|
385
|
+
"type": [
|
|
386
|
+
"null",
|
|
387
|
+
"string"
|
|
388
|
+
]
|
|
389
|
+
},
|
|
390
|
+
"datasetId": {
|
|
391
|
+
"description": "Dataset id",
|
|
392
|
+
"format": "uuid",
|
|
393
|
+
"type": "string"
|
|
394
|
+
},
|
|
395
|
+
"duration": {
|
|
396
|
+
"description": "Duration definition. It's only used when the column type is \"numeric\" and subtype is \"duration\".",
|
|
397
|
+
"properties": {
|
|
398
|
+
"format": {
|
|
399
|
+
"description": "Duration format",
|
|
400
|
+
"enum": [
|
|
401
|
+
"long",
|
|
402
|
+
"short",
|
|
403
|
+
"time"
|
|
404
|
+
],
|
|
405
|
+
"type": "string"
|
|
406
|
+
},
|
|
407
|
+
"levels": {
|
|
408
|
+
"description": "Duration levels used",
|
|
409
|
+
"items": {
|
|
410
|
+
"type": "number"
|
|
411
|
+
},
|
|
412
|
+
"type": "array"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"type": "object"
|
|
416
|
+
},
|
|
417
|
+
"format": {
|
|
418
|
+
"description": "D3 format, it is used for \"numeric\" formatting (https://observablehq.com/@d3/d3-format), for \"datetime\" formatting (https://d3js.org/d3-time-format).\nIt can also be used for \"hierarchy\" formatting but when it's used in the measure slot.",
|
|
419
|
+
"type": "string"
|
|
420
|
+
},
|
|
421
|
+
"formula": {
|
|
422
|
+
"description": "A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo",
|
|
423
|
+
"type": "string"
|
|
424
|
+
},
|
|
425
|
+
"grandTotals": {
|
|
426
|
+
"description": "Enable or disable grand totals, they're only used in Pivot table",
|
|
427
|
+
"properties": {
|
|
428
|
+
"enabled": {
|
|
429
|
+
"type": "boolean"
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
"type": "object"
|
|
433
|
+
},
|
|
434
|
+
"label": {
|
|
435
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
436
|
+
"type": "object"
|
|
437
|
+
},
|
|
438
|
+
"periodOverPeriod": {
|
|
439
|
+
"description": "Settings to configure period over period comparison. It can be used only in a measure slot.",
|
|
440
|
+
"properties": {
|
|
441
|
+
"level": {
|
|
442
|
+
"description": "Period of time level\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",
|
|
443
|
+
"type": "number"
|
|
444
|
+
},
|
|
445
|
+
"periodToDate": {
|
|
446
|
+
"description": "Turn ON/OFF period to date comparison",
|
|
447
|
+
"type": "boolean"
|
|
448
|
+
},
|
|
449
|
+
"quantity": {
|
|
450
|
+
"description": "Number of periods",
|
|
451
|
+
"type": "number"
|
|
452
|
+
},
|
|
453
|
+
"type": {
|
|
454
|
+
"description": "Period over period comparison type:\n'none' - turned off,\n'past' - absolute value comparison to the past,\n'change' - percentage change comparison to the past",
|
|
455
|
+
"enum": [
|
|
456
|
+
"change",
|
|
457
|
+
"none",
|
|
458
|
+
"past"
|
|
459
|
+
],
|
|
460
|
+
"type": "string"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
"type": "object"
|
|
464
|
+
},
|
|
465
|
+
"subtype": {
|
|
466
|
+
"anyOf": [
|
|
467
|
+
{
|
|
468
|
+
"enum": [
|
|
469
|
+
"coordinates",
|
|
470
|
+
"currency",
|
|
471
|
+
"date",
|
|
472
|
+
"datetime",
|
|
473
|
+
"duration",
|
|
474
|
+
"hierarchy_element_expression",
|
|
475
|
+
"topography"
|
|
476
|
+
],
|
|
477
|
+
"type": "string"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"type": "null"
|
|
481
|
+
}
|
|
482
|
+
],
|
|
483
|
+
"description": "Column subtype"
|
|
484
|
+
},
|
|
485
|
+
"type": {
|
|
486
|
+
"const": "numeric",
|
|
487
|
+
"description": "\"numeric\" column / formula type",
|
|
488
|
+
"type": "string"
|
|
489
|
+
}
|
|
490
|
+
},
|
|
491
|
+
"type": "object"
|
|
492
|
+
},
|
|
493
|
+
"SpatialSlotContent": {
|
|
494
|
+
"properties": {
|
|
495
|
+
"color": {
|
|
496
|
+
"description": "Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.",
|
|
497
|
+
"type": [
|
|
498
|
+
"null",
|
|
499
|
+
"string"
|
|
500
|
+
]
|
|
501
|
+
},
|
|
502
|
+
"columnId": {
|
|
503
|
+
"description": "Column id",
|
|
504
|
+
"format": "uuid",
|
|
505
|
+
"type": "string"
|
|
506
|
+
},
|
|
507
|
+
"datasetId": {
|
|
508
|
+
"description": "Dataset id",
|
|
509
|
+
"format": "uuid",
|
|
510
|
+
"type": "string"
|
|
511
|
+
},
|
|
512
|
+
"include_nonoccurring": {
|
|
513
|
+
"description": "Shows empty areas for geo slots (with the name \"geo\" and content type 'spacial).\nAlso, it can be set in the options' advanced settings of the Choropleth map.",
|
|
514
|
+
"type": "boolean"
|
|
515
|
+
},
|
|
516
|
+
"label": {
|
|
517
|
+
"description": "Label in format {locale: \"label\"}, for example, {en: \"Total Revenue\"}",
|
|
518
|
+
"type": "object"
|
|
519
|
+
},
|
|
520
|
+
"subtype": {
|
|
521
|
+
"anyOf": [
|
|
522
|
+
{
|
|
523
|
+
"enum": [
|
|
524
|
+
"coordinates",
|
|
525
|
+
"currency",
|
|
526
|
+
"date",
|
|
527
|
+
"datetime",
|
|
528
|
+
"duration",
|
|
529
|
+
"hierarchy_element_expression",
|
|
530
|
+
"topography"
|
|
531
|
+
],
|
|
532
|
+
"type": "string"
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"type": "null"
|
|
536
|
+
}
|
|
537
|
+
],
|
|
538
|
+
"description": "Column subtype"
|
|
539
|
+
},
|
|
540
|
+
"type": {
|
|
541
|
+
"const": "spatial",
|
|
542
|
+
"description": "\"spatial\" column type",
|
|
543
|
+
"type": "string"
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"type": "object"
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"description": "Data definition of the Heat Map",
|
|
550
|
+
"items": {
|
|
551
|
+
"anyOf": [
|
|
552
|
+
{
|
|
553
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/GeoSlot"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json#/definitions/MeasureSlot"
|
|
557
|
+
}
|
|
558
|
+
]
|
|
559
|
+
},
|
|
560
|
+
"maxItems": 2,
|
|
561
|
+
"type": "array"
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
;
|
|
565
|
+
|
|
566
|
+
export default _default;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map.schema.json",
|
|
4
|
+
"type": "object",
|
|
5
|
+
"description": "Heat Map item",
|
|
6
|
+
"properties": {
|
|
7
|
+
"type": {
|
|
8
|
+
"description": "Type of the item",
|
|
9
|
+
"type": "string",
|
|
10
|
+
"const": "heat-map"
|
|
11
|
+
},
|
|
12
|
+
"options": {
|
|
13
|
+
"description": "Options of the Heat Map item",
|
|
14
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-options.schema.json"
|
|
15
|
+
},
|
|
16
|
+
"slots": {
|
|
17
|
+
"description": "Data definition of the Heat Map item",
|
|
18
|
+
"$ref": "https://developer.luzmo.com/assets/json-schemas/0.1.90/heat-map-slots.schema.json"
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default _default;
|