@luzmo/dashboard-contents-types 1.0.2 → 1.0.3

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/index.mjs CHANGED
@@ -1909,7 +1909,7 @@ Also, it can be set in the options' advanced settings of the Choropleth map.`,
1909
1909
  $schema: w,
1910
1910
  properties: S,
1911
1911
  type: _
1912
- }, C = "https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json", I = "http://json-schema.org/draft-07/schema#", k = {
1912
+ }, I = "https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json", C = "http://json-schema.org/draft-07/schema#", k = {
1913
1913
  ColumnSubtype: {
1914
1914
  enum: [
1915
1915
  "coordinates",
@@ -2464,8 +2464,8 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
2464
2464
  }
2465
2465
  ]
2466
2466
  }, $ = 3, F = "array", O = {
2467
- $id: C,
2468
- $schema: I,
2467
+ $id: I,
2468
+ $schema: C,
2469
2469
  definitions: k,
2470
2470
  description: D,
2471
2471
  items: L,
@@ -9087,7 +9087,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
9087
9087
  type: je,
9088
9088
  description: xe,
9089
9089
  properties: we
9090
- }, _e = "https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json", Te = "http://json-schema.org/draft-07/schema#", Ce = {
9090
+ }, _e = "https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json", Te = "http://json-schema.org/draft-07/schema#", Ie = {
9091
9091
  categories: {
9092
9092
  description: "Categories options",
9093
9093
  properties: {
@@ -12506,11 +12506,11 @@ Also, it can be set in the options' advanced settings of the Choropleth map.`,
12506
12506
  ],
12507
12507
  type: "object"
12508
12508
  }
12509
- }, Ie = "object", ke = {
12509
+ }, Ce = "object", ke = {
12510
12510
  $id: _e,
12511
12511
  $schema: Te,
12512
- properties: Ce,
12513
- type: Ie
12512
+ properties: Ie,
12513
+ type: Ce
12514
12514
  }, De = "https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json", Le = "http://json-schema.org/draft-07/schema#", $e = {
12515
12515
  CategorySlot: {
12516
12516
  description: `Category slot definition of the bubble chart. This defines the category of the bubbles.
@@ -17216,13 +17216,13 @@ Also, it can be set in the options' advanced settings of the Choropleth map.`,
17216
17216
  description: "Data definition of the Circular Gauge item",
17217
17217
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json"
17218
17218
  }
17219
- }, Ct = {
17219
+ }, It = {
17220
17220
  $schema: xt,
17221
17221
  $id: wt,
17222
17222
  type: St,
17223
17223
  description: _t,
17224
17224
  properties: Tt
17225
- }, It = "https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json", kt = "http://json-schema.org/draft-07/schema#", Dt = {
17225
+ }, Ct = "https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json", kt = "http://json-schema.org/draft-07/schema#", Dt = {
17226
17226
  circle: {
17227
17227
  description: "Circle configuration of the Circular Gauge",
17228
17228
  properties: {
@@ -18541,7 +18541,7 @@ Also, it can be set in the options' advanced settings of the Choropleth map.`,
18541
18541
  type: "object"
18542
18542
  }
18543
18543
  }, Lt = "object", $t = {
18544
- $id: It,
18544
+ $id: Ct,
18545
18545
  $schema: kt,
18546
18546
  properties: Dt,
18547
18547
  type: Lt
@@ -25962,7 +25962,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
25962
25962
  items: xo,
25963
25963
  maxItems: wo,
25964
25964
  type: So
25965
- }, To = "http://json-schema.org/draft-07/schema#", Co = "https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter.schema.json", Io = "object", ko = "Date Filter item", Do = {
25965
+ }, To = "http://json-schema.org/draft-07/schema#", Io = "https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter.schema.json", Co = "object", ko = "Date Filter item", Do = {
25966
25966
  type: {
25967
25967
  description: "Type of the item",
25968
25968
  type: "string",
@@ -25978,8 +25978,8 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
25978
25978
  }
25979
25979
  }, Lo = {
25980
25980
  $schema: To,
25981
- $id: Co,
25982
- type: Io,
25981
+ $id: Io,
25982
+ type: Co,
25983
25983
  description: ko,
25984
25984
  properties: Do
25985
25985
  }, $o = "https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json", Fo = "http://json-schema.org/draft-07/schema#", Oo = {
@@ -33053,14 +33053,14 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
33053
33053
  }
33054
33054
  }, Si = "Data definition of the Dropdown filter", _i = {
33055
33055
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"
33056
- }, Ti = 1, Ci = "array", Ii = {
33056
+ }, Ti = 1, Ii = "array", Ci = {
33057
33057
  $id: ji,
33058
33058
  $schema: xi,
33059
33059
  definitions: wi,
33060
33060
  description: Si,
33061
33061
  items: _i,
33062
33062
  maxItems: Ti,
33063
- type: Ci
33063
+ type: Ii
33064
33064
  }, ki = "http://json-schema.org/draft-07/schema#", Di = "https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number.schema.json", Li = "object", $i = "Evolution Number item", Fi = {
33065
33065
  type: {
33066
33066
  description: "Type of the item",
@@ -39442,7 +39442,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
39442
39442
  $schema: vr,
39443
39443
  properties: jr,
39444
39444
  type: xr
39445
- }, Sr = "http://json-schema.org/draft-07/schema#", _r = "https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart.schema.json", Tr = "object", Cr = "Line Chart item", Ir = {
39445
+ }, Sr = "http://json-schema.org/draft-07/schema#", _r = "https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart.schema.json", Tr = "object", Ir = "Line Chart item", Cr = {
39446
39446
  type: {
39447
39447
  description: "Type of the item",
39448
39448
  type: "string",
@@ -39460,8 +39460,8 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
39460
39460
  $schema: Sr,
39461
39461
  $id: _r,
39462
39462
  type: Tr,
39463
- description: Cr,
39464
- properties: Ir
39463
+ description: Ir,
39464
+ properties: Cr
39465
39465
  }, Dr = "https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json", Lr = "http://json-schema.org/draft-07/schema#", $r = {
39466
39466
  axis: {
39467
39467
  description: "Axes options",
@@ -45896,7 +45896,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
45896
45896
  }
45897
45897
  }, wn = "Data definition of the Regular table", Sn = {
45898
45898
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/ColumnsSlot"
45899
- }, _n = 1, Tn = "array", Cn = {
45899
+ }, _n = 1, Tn = "array", In = {
45900
45900
  $id: vn,
45901
45901
  $schema: jn,
45902
45902
  definitions: xn,
@@ -45904,7 +45904,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
45904
45904
  items: Sn,
45905
45905
  maxItems: _n,
45906
45906
  type: Tn
45907
- }, In = "http://json-schema.org/draft-07/schema#", kn = "https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram.schema.json", Dn = "object", Ln = "Sankey Diagram item", $n = {
45907
+ }, Cn = "http://json-schema.org/draft-07/schema#", kn = "https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram.schema.json", Dn = "object", Ln = "Sankey Diagram item", $n = {
45908
45908
  type: {
45909
45909
  description: "Type of the item",
45910
45910
  type: "string",
@@ -45919,7 +45919,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
45919
45919
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json"
45920
45920
  }
45921
45921
  }, Fn = {
45922
- $schema: In,
45922
+ $schema: Cn,
45923
45923
  $id: kn,
45924
45924
  type: Dn,
45925
45925
  description: Ln,
@@ -52045,7 +52045,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
52045
52045
  },
52046
52046
  type: "object"
52047
52047
  }
52048
- }, Ts = "Data definition of the Slicer filter", Cs = {
52048
+ }, Ts = "Data definition of the Slicer filter", Is = {
52049
52049
  anyOf: [
52050
52050
  {
52051
52051
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/MeasureSlot"
@@ -52054,13 +52054,13 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
52054
52054
  $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DimensionSlot"
52055
52055
  }
52056
52056
  ]
52057
- }, Is = 2, ks = "array", Ds = {
52057
+ }, Cs = 2, ks = "array", Ds = {
52058
52058
  $id: ws,
52059
52059
  $schema: Ss,
52060
52060
  definitions: _s,
52061
52061
  description: Ts,
52062
- items: Cs,
52063
- maxItems: Is,
52062
+ items: Is,
52063
+ maxItems: Cs,
52064
52064
  type: ks
52065
52065
  }, Ls = "http://json-schema.org/draft-07/schema#", $s = "https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter.schema.json", Fs = "object", Os = "Slider Filter item", zs = {
52066
52066
  type: {
@@ -53824,7 +53824,1573 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
53824
53824
  $schema: oa,
53825
53825
  properties: ia,
53826
53826
  type: ra
53827
- }, sa = {
53827
+ }, sa = "http://json-schema.org/draft-07/schema#", aa = "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter.schema.json", pa = "object", la = "Search Filter item", ca = {
53828
+ type: {
53829
+ description: "Type of the item",
53830
+ type: "string",
53831
+ const: "search-filter"
53832
+ },
53833
+ options: {
53834
+ description: "Options of the Search Filter item",
53835
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-options.schema.json"
53836
+ },
53837
+ slots: {
53838
+ description: "Data definition of the Search Filter item",
53839
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json"
53840
+ }
53841
+ }, da = {
53842
+ $schema: sa,
53843
+ $id: aa,
53844
+ type: pa,
53845
+ description: la,
53846
+ properties: ca
53847
+ }, ma = "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-options.schema.json", ya = "http://json-schema.org/draft-07/schema#", ua = {
53848
+ applyFiltersWithButton: {
53849
+ default: !1,
53850
+ description: "Whether to auto apply filters or add the apply button",
53851
+ type: "boolean"
53852
+ },
53853
+ color: {
53854
+ default: "",
53855
+ description: "The main color for the item, if omitted the default color from the theme will be used.",
53856
+ examples: [
53857
+ "#FF5733",
53858
+ "#33FF57",
53859
+ "#5733FF"
53860
+ ],
53861
+ type: "string"
53862
+ },
53863
+ display: {
53864
+ description: "General display options of the Search filter: title, label, placeholder, search and clear",
53865
+ properties: {
53866
+ label: {
53867
+ default: !0,
53868
+ description: "Show or hide the label of the Search filter",
53869
+ type: "boolean"
53870
+ },
53871
+ placeholder: {
53872
+ default: !0,
53873
+ description: "Show or hide the placeholder",
53874
+ type: "boolean"
53875
+ },
53876
+ title: {
53877
+ default: !1,
53878
+ description: "Show or hide the title",
53879
+ type: "boolean"
53880
+ }
53881
+ },
53882
+ type: "object"
53883
+ },
53884
+ interactivity: {
53885
+ description: "Interactivity options",
53886
+ properties: {
53887
+ measureDimensionPicker: {
53888
+ default: [
53889
+ []
53890
+ ],
53891
+ description: "An array of measure dimension picker configurations",
53892
+ items: {
53893
+ description: "Measure dimension picker configuration",
53894
+ properties: {
53895
+ acceptFormula: {
53896
+ type: "boolean"
53897
+ },
53898
+ allAvailableColumns: {
53899
+ items: {
53900
+ properties: {
53901
+ columns: {
53902
+ items: {
53903
+ properties: {
53904
+ cardinality: {
53905
+ type: "number"
53906
+ },
53907
+ color: {
53908
+ type: "string"
53909
+ },
53910
+ columnHierarchies: {
53911
+ anyOf: [
53912
+ {
53913
+ items: {
53914
+ type: "string"
53915
+ },
53916
+ type: "array"
53917
+ },
53918
+ {
53919
+ items: {
53920
+ properties: {
53921
+ color: {
53922
+ type: "string"
53923
+ },
53924
+ id: {
53925
+ type: "string"
53926
+ },
53927
+ level: {
53928
+ type: "number"
53929
+ },
53930
+ name: {
53931
+ type: "object"
53932
+ }
53933
+ },
53934
+ type: "object"
53935
+ },
53936
+ type: "array"
53937
+ }
53938
+ ]
53939
+ },
53940
+ currency: {
53941
+ properties: {
53942
+ id: {
53943
+ type: "string"
53944
+ },
53945
+ name: {
53946
+ type: "string"
53947
+ },
53948
+ symbol: {
53949
+ type: "string"
53950
+ }
53951
+ },
53952
+ type: "object"
53953
+ },
53954
+ currency_id: {
53955
+ type: "string"
53956
+ },
53957
+ description: {
53958
+ type: "object"
53959
+ },
53960
+ duration_format: {
53961
+ enum: [
53962
+ "long",
53963
+ "short",
53964
+ "time"
53965
+ ],
53966
+ type: "string"
53967
+ },
53968
+ duration_levels: {
53969
+ items: {
53970
+ type: "number"
53971
+ },
53972
+ type: "array"
53973
+ },
53974
+ expression: {
53975
+ type: "string"
53976
+ },
53977
+ format: {
53978
+ type: "string"
53979
+ },
53980
+ hierarchyLevels: {
53981
+ items: {
53982
+ properties: {
53983
+ color: {
53984
+ type: "string"
53985
+ },
53986
+ id: {
53987
+ type: "string"
53988
+ },
53989
+ level: {
53990
+ type: "number"
53991
+ },
53992
+ name: {
53993
+ type: "object"
53994
+ }
53995
+ },
53996
+ type: "object"
53997
+ },
53998
+ type: "array"
53999
+ },
54000
+ hierarchy_enabled: {
54001
+ type: "boolean"
54002
+ },
54003
+ highestLevel: {
54004
+ type: "number"
54005
+ },
54006
+ id: {
54007
+ type: "string"
54008
+ },
54009
+ informat: {
54010
+ type: "string"
54011
+ },
54012
+ isFormula: {
54013
+ type: "boolean"
54014
+ },
54015
+ isLabel: {
54016
+ type: "boolean"
54017
+ },
54018
+ joins: {
54019
+ items: {
54020
+ properties: {
54021
+ currency_id: {
54022
+ type: [
54023
+ "null",
54024
+ "string"
54025
+ ]
54026
+ },
54027
+ hierarchy_enabled: {
54028
+ type: "boolean"
54029
+ },
54030
+ id: {
54031
+ type: "string"
54032
+ },
54033
+ join: {
54034
+ properties: {
54035
+ column_id: {
54036
+ type: "string"
54037
+ },
54038
+ created_at: {
54039
+ type: "string"
54040
+ },
54041
+ joins_id: {
54042
+ type: "string"
54043
+ },
54044
+ subtype: {
54045
+ type: "string"
54046
+ },
54047
+ type: {
54048
+ enum: [
54049
+ "exact",
54050
+ "lookup"
54051
+ ],
54052
+ type: "string"
54053
+ },
54054
+ update_at: {
54055
+ type: "string"
54056
+ },
54057
+ updated_at: {
54058
+ type: "string"
54059
+ }
54060
+ },
54061
+ type: "object"
54062
+ },
54063
+ securable_id: {
54064
+ type: "string"
54065
+ }
54066
+ },
54067
+ type: "object"
54068
+ },
54069
+ type: "array"
54070
+ },
54071
+ level: {
54072
+ type: "number"
54073
+ },
54074
+ lowestLevel: {
54075
+ type: "number"
54076
+ },
54077
+ name: {
54078
+ type: "object"
54079
+ },
54080
+ order: {
54081
+ type: "number"
54082
+ },
54083
+ securable_id: {
54084
+ type: "string"
54085
+ },
54086
+ source_name: {
54087
+ type: "string"
54088
+ },
54089
+ subtype: {
54090
+ enum: [
54091
+ "coordinates",
54092
+ "currency",
54093
+ "duration",
54094
+ "hierarchy_element_expression",
54095
+ "topography"
54096
+ ],
54097
+ type: "string"
54098
+ },
54099
+ type: {
54100
+ enum: [
54101
+ "datetime",
54102
+ "hierarchy",
54103
+ "numeric",
54104
+ "spatial"
54105
+ ],
54106
+ type: "string"
54107
+ },
54108
+ version: {
54109
+ type: "number"
54110
+ },
54111
+ width: {
54112
+ type: "number"
54113
+ }
54114
+ },
54115
+ type: "object"
54116
+ },
54117
+ type: "array"
54118
+ },
54119
+ datasetId: {
54120
+ format: "uuid",
54121
+ type: "string"
54122
+ },
54123
+ datasetName: {
54124
+ type: "object"
54125
+ },
54126
+ formulas: {
54127
+ items: {
54128
+ properties: {
54129
+ color: {
54130
+ type: "string"
54131
+ },
54132
+ currency: {
54133
+ properties: {
54134
+ id: {
54135
+ type: "string"
54136
+ },
54137
+ name: {
54138
+ type: "string"
54139
+ },
54140
+ symbol: {
54141
+ type: "string"
54142
+ }
54143
+ },
54144
+ type: "object"
54145
+ },
54146
+ currency_id: {
54147
+ type: "string"
54148
+ },
54149
+ duration_format: {
54150
+ enum: [
54151
+ "long",
54152
+ "short",
54153
+ "time"
54154
+ ],
54155
+ type: "string"
54156
+ },
54157
+ duration_levels: {
54158
+ items: {
54159
+ type: "number"
54160
+ },
54161
+ type: "array"
54162
+ },
54163
+ expression: {
54164
+ type: "string"
54165
+ },
54166
+ format: {
54167
+ type: "string"
54168
+ },
54169
+ id: {
54170
+ type: "string"
54171
+ },
54172
+ informat: {
54173
+ enum: [
54174
+ "DD-MM-YYYY HH:mm:ss.SSS",
54175
+ "DD-MM-YYYY HH:mm:ss.SSS ZZ",
54176
+ "MM-DD-YYYY HH:mm:ss.SSS",
54177
+ "MM-DD-YYYY HH:mm:ss.SSS ZZ",
54178
+ "X",
54179
+ "YYYY-MM-DD HH:mm:ss.SSS",
54180
+ "YYYY-MM-DD HH:mm:ss.SSS ZZ",
54181
+ "hierarchy",
54182
+ "numeric",
54183
+ "x"
54184
+ ],
54185
+ type: "string"
54186
+ },
54187
+ isFormula: {
54188
+ type: "boolean"
54189
+ },
54190
+ level: {
54191
+ type: "number"
54192
+ },
54193
+ lowestLevel: {
54194
+ type: "number"
54195
+ },
54196
+ name: {
54197
+ type: "object"
54198
+ },
54199
+ securableFormula: {
54200
+ properties: {
54201
+ formula_id: {
54202
+ type: "string"
54203
+ },
54204
+ securable_id: {
54205
+ type: "string"
54206
+ }
54207
+ },
54208
+ type: "object"
54209
+ },
54210
+ securable_id: {
54211
+ type: "string"
54212
+ },
54213
+ subtype: {
54214
+ enum: [
54215
+ "currency",
54216
+ "date",
54217
+ "datetime",
54218
+ "duration"
54219
+ ],
54220
+ type: "string"
54221
+ },
54222
+ type: {
54223
+ enum: [
54224
+ "datetime",
54225
+ "hierarchy",
54226
+ "numeric"
54227
+ ],
54228
+ type: "string"
54229
+ }
54230
+ },
54231
+ type: "object"
54232
+ },
54233
+ type: "array"
54234
+ }
54235
+ },
54236
+ type: "object"
54237
+ },
54238
+ type: "array"
54239
+ },
54240
+ allowMultiple: {
54241
+ type: "boolean"
54242
+ },
54243
+ description: {
54244
+ type: "string"
54245
+ },
54246
+ order: {
54247
+ type: "number"
54248
+ },
54249
+ slot: {
54250
+ type: "string"
54251
+ },
54252
+ values: {
54253
+ items: {
54254
+ properties: {
54255
+ aggregationFunc: {
54256
+ description: 'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',
54257
+ enum: [
54258
+ "average",
54259
+ "count",
54260
+ "cumulativesum",
54261
+ "distinctcount",
54262
+ "histogram",
54263
+ "max",
54264
+ "median",
54265
+ "min",
54266
+ "rate",
54267
+ "stddev",
54268
+ "sum",
54269
+ "weightedaverage"
54270
+ ],
54271
+ type: "string"
54272
+ },
54273
+ aggregationWeight: {
54274
+ description: 'Aggregation weight. It can be used with a "numeric" column type.',
54275
+ properties: {
54276
+ columnId: {
54277
+ description: "Column id",
54278
+ format: "uuid",
54279
+ type: "string"
54280
+ },
54281
+ columnSubType: {
54282
+ description: "Column subtype",
54283
+ enum: [
54284
+ "coordinates",
54285
+ "currency",
54286
+ "duration",
54287
+ "hierarchy_element_expression",
54288
+ "topography"
54289
+ ],
54290
+ type: "string"
54291
+ },
54292
+ datasetId: {
54293
+ description: "Dataset id",
54294
+ format: "uuid",
54295
+ type: "string"
54296
+ }
54297
+ },
54298
+ type: "object"
54299
+ },
54300
+ bins: {
54301
+ description: 'Bin definition. It can be used when a "numeric" column is used as a category.',
54302
+ properties: {
54303
+ enabled: {
54304
+ description: "Enable or disable binning",
54305
+ type: "boolean"
54306
+ },
54307
+ number: {
54308
+ description: "Defines the range of the bins",
54309
+ type: "number"
54310
+ }
54311
+ },
54312
+ type: "object"
54313
+ },
54314
+ color: {
54315
+ 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.",
54316
+ type: [
54317
+ "null",
54318
+ "string"
54319
+ ]
54320
+ },
54321
+ columnHierarchies: {
54322
+ anyOf: [
54323
+ {
54324
+ items: {
54325
+ type: "string"
54326
+ },
54327
+ type: "array"
54328
+ },
54329
+ {
54330
+ items: {
54331
+ properties: {
54332
+ color: {
54333
+ type: "string"
54334
+ },
54335
+ id: {
54336
+ type: "string"
54337
+ },
54338
+ level: {
54339
+ type: "number"
54340
+ },
54341
+ name: {
54342
+ type: "object"
54343
+ }
54344
+ },
54345
+ type: "object"
54346
+ },
54347
+ type: "array"
54348
+ }
54349
+ ]
54350
+ },
54351
+ columnId: {
54352
+ description: "Column id",
54353
+ format: "uuid",
54354
+ type: "string"
54355
+ },
54356
+ currency: {
54357
+ description: 'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',
54358
+ type: [
54359
+ "null",
54360
+ "string"
54361
+ ]
54362
+ },
54363
+ datasetId: {
54364
+ description: "Dataset id",
54365
+ format: "uuid",
54366
+ type: "string"
54367
+ },
54368
+ datetimeDisplayMode: {
54369
+ description: "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
54370
+ enum: [
54371
+ "day_in_month",
54372
+ "day_in_year",
54373
+ "default",
54374
+ "hour_in_day",
54375
+ "minute_in_hour",
54376
+ "month_name",
54377
+ "month_number",
54378
+ "quarter_number",
54379
+ "second_in_minute",
54380
+ "week_number",
54381
+ "weekday_name",
54382
+ "weekday_number"
54383
+ ],
54384
+ type: "string"
54385
+ },
54386
+ duration: {
54387
+ description: `Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,
54388
+ properties: {
54389
+ format: {
54390
+ description: "Duration format",
54391
+ enum: [
54392
+ "long",
54393
+ "short",
54394
+ "time"
54395
+ ],
54396
+ type: "string"
54397
+ },
54398
+ levels: {
54399
+ description: "Duration levels used",
54400
+ items: {
54401
+ type: "number"
54402
+ },
54403
+ type: "array"
54404
+ }
54405
+ },
54406
+ type: "object"
54407
+ },
54408
+ format: {
54409
+ description: `D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
54410
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,
54411
+ type: "string"
54412
+ },
54413
+ formula: {
54414
+ 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",
54415
+ type: "string"
54416
+ },
54417
+ grandTotals: {
54418
+ description: "Enable or disable grand totals, they're only used in Pivot table",
54419
+ properties: {
54420
+ enabled: {
54421
+ type: "boolean"
54422
+ }
54423
+ },
54424
+ type: "object"
54425
+ },
54426
+ hidden: {
54427
+ type: "boolean"
54428
+ },
54429
+ include_nonoccurring: {
54430
+ description: `Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
54431
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,
54432
+ type: "boolean"
54433
+ },
54434
+ label: {
54435
+ description: 'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',
54436
+ type: "object"
54437
+ },
54438
+ level: {
54439
+ description: '"hierarchy" or "datetime" level',
54440
+ type: [
54441
+ "number",
54442
+ "null"
54443
+ ]
54444
+ },
54445
+ lowestLevel: {
54446
+ description: 'Lowest "hierarchy" or "datetime" level',
54447
+ type: [
54448
+ "null",
54449
+ "number"
54450
+ ]
54451
+ },
54452
+ monthNameFormat: {
54453
+ description: "Month name format for datetime column formatting",
54454
+ enum: [
54455
+ "letter",
54456
+ "long",
54457
+ "short"
54458
+ ],
54459
+ type: "string"
54460
+ },
54461
+ periodOverPeriod: {
54462
+ description: "Settings to configure period over period comparison. It can be used only in a measure slot.",
54463
+ properties: {
54464
+ level: {
54465
+ description: `Period of time level
54466
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,
54467
+ type: "number"
54468
+ },
54469
+ periodToDate: {
54470
+ description: "Turn ON/OFF period to date comparison",
54471
+ type: "boolean"
54472
+ },
54473
+ quantity: {
54474
+ description: "Number of periods",
54475
+ type: "number"
54476
+ },
54477
+ type: {
54478
+ description: `Period over period comparison type:
54479
+ 'none' - turned off,
54480
+ 'past' - absolute value comparison to the past,
54481
+ 'change' - percentage change comparison to the past`,
54482
+ enum: [
54483
+ "change",
54484
+ "none",
54485
+ "past"
54486
+ ],
54487
+ type: "string"
54488
+ }
54489
+ },
54490
+ type: "object"
54491
+ },
54492
+ readonly: {
54493
+ type: "boolean"
54494
+ },
54495
+ selected: {
54496
+ type: "boolean"
54497
+ },
54498
+ subtype: {
54499
+ anyOf: [
54500
+ {
54501
+ enum: [
54502
+ "coordinates",
54503
+ "currency",
54504
+ "date",
54505
+ "datetime",
54506
+ "duration",
54507
+ "hierarchy_element_expression",
54508
+ "topography"
54509
+ ],
54510
+ type: "string"
54511
+ },
54512
+ {
54513
+ type: "null"
54514
+ }
54515
+ ],
54516
+ description: "Column subtype"
54517
+ },
54518
+ type: {
54519
+ description: "Column / Formula type",
54520
+ enum: [
54521
+ "datetime",
54522
+ "hierarchy",
54523
+ "numeric",
54524
+ "spatial"
54525
+ ],
54526
+ type: "string"
54527
+ },
54528
+ weekDayNameFormat: {
54529
+ description: "Week day name format for datetime column formatting",
54530
+ enum: [
54531
+ "letter",
54532
+ "long",
54533
+ "short"
54534
+ ],
54535
+ type: "string"
54536
+ },
54537
+ weekStart: {
54538
+ description: "Week start day, 'sunday' or 'monday'. For datetime column formatting.",
54539
+ enum: [
54540
+ "monday",
54541
+ "sunday"
54542
+ ],
54543
+ type: "string"
54544
+ }
54545
+ },
54546
+ type: "object"
54547
+ },
54548
+ type: "array"
54549
+ }
54550
+ },
54551
+ type: "object"
54552
+ },
54553
+ type: "array"
54554
+ }
54555
+ },
54556
+ type: "object"
54557
+ },
54558
+ loader: {
54559
+ description: "The loader configuration",
54560
+ properties: {
54561
+ background: {
54562
+ default: "#f9f9f9",
54563
+ description: "Background color of the chart loader element",
54564
+ type: "string"
54565
+ },
54566
+ fontColor: {
54567
+ default: "#5a5a5a",
54568
+ description: "Font color of the text of the chart loaders",
54569
+ type: "string"
54570
+ },
54571
+ locale: {
54572
+ default: "en",
54573
+ description: 'Locale to be used if "msg" is set',
54574
+ examples: [
54575
+ "en",
54576
+ "fr"
54577
+ ],
54578
+ type: "string"
54579
+ },
54580
+ mode: {
54581
+ default: "light",
54582
+ description: "Light or dark loader",
54583
+ type: "string"
54584
+ },
54585
+ msg: {
54586
+ description: "Loading message",
54587
+ examples: [
54588
+ "Loading dashboard..."
54589
+ ],
54590
+ type: "string"
54591
+ },
54592
+ showBranded: {
54593
+ default: !1,
54594
+ description: 'Shows the branded "powered by" information',
54595
+ type: "boolean"
54596
+ },
54597
+ spinnerBackground: {
54598
+ default: "rgba(169, 169, 169, 0.14)",
54599
+ description: "Background color of the spinner",
54600
+ type: "string"
54601
+ },
54602
+ spinnerColor: {
54603
+ default: "rgba(255, 165, 0, 0.7)",
54604
+ description: "Spinner color of the loader",
54605
+ type: "string"
54606
+ }
54607
+ },
54608
+ type: "object"
54609
+ },
54610
+ locale: {
54611
+ default: "en",
54612
+ description: "Locale to be used",
54613
+ examples: [
54614
+ "en",
54615
+ "fr"
54616
+ ],
54617
+ type: "string"
54618
+ },
54619
+ padding: {
54620
+ description: "Update left or right padding of the Search filter",
54621
+ properties: {
54622
+ left: {
54623
+ default: 16,
54624
+ description: "Update left padding of the Search filter",
54625
+ type: "number"
54626
+ },
54627
+ right: {
54628
+ default: 16,
54629
+ description: "Update right padding of the Search filter",
54630
+ type: "number"
54631
+ }
54632
+ },
54633
+ type: "object"
54634
+ },
54635
+ theme: {
54636
+ description: "Theme configuration",
54637
+ properties: {
54638
+ borders: {
54639
+ description: "Custom border styling",
54640
+ properties: {
54641
+ "border-bottom-width": {
54642
+ description: "Border bottom width",
54643
+ examples: [
54644
+ "0px",
54645
+ "1px",
54646
+ "3px"
54647
+ ],
54648
+ type: "string"
54649
+ },
54650
+ "border-color": {
54651
+ description: "Border color",
54652
+ examples: [
54653
+ "rgba(216, 216, 216, 1)",
54654
+ "rgb(147, 146, 148)"
54655
+ ],
54656
+ type: "string"
54657
+ },
54658
+ "border-left-width": {
54659
+ description: "Border left width",
54660
+ examples: [
54661
+ "0px",
54662
+ "1px",
54663
+ "3px"
54664
+ ],
54665
+ type: "string"
54666
+ },
54667
+ "border-radius": {
54668
+ description: "Border radius",
54669
+ examples: [
54670
+ "0",
54671
+ "12px",
54672
+ "20px"
54673
+ ],
54674
+ type: "string"
54675
+ },
54676
+ "border-right-width": {
54677
+ description: "Border right width",
54678
+ examples: [
54679
+ "0px",
54680
+ "1px",
54681
+ "3px"
54682
+ ],
54683
+ type: "string"
54684
+ },
54685
+ "border-style": {
54686
+ description: "Border style",
54687
+ examples: [
54688
+ "none",
54689
+ "solid",
54690
+ "dotted",
54691
+ "dashed"
54692
+ ],
54693
+ type: "string"
54694
+ },
54695
+ "border-top-width": {
54696
+ description: "Border top width",
54697
+ examples: [
54698
+ "0px",
54699
+ "1px",
54700
+ "3px"
54701
+ ],
54702
+ type: "string"
54703
+ }
54704
+ },
54705
+ type: "object"
54706
+ },
54707
+ boxShadow: {
54708
+ description: "Custom shadow styling",
54709
+ properties: {
54710
+ color: {
54711
+ description: "Shadow color",
54712
+ examples: [
54713
+ "rgb(0, 0, 0)",
54714
+ "rgb(100, 100, 103)"
54715
+ ],
54716
+ type: "string"
54717
+ },
54718
+ size: {
54719
+ description: "Shadow size",
54720
+ enum: [
54721
+ "L",
54722
+ "M",
54723
+ "S",
54724
+ "none"
54725
+ ],
54726
+ examples: [
54727
+ "none",
54728
+ "S",
54729
+ "M",
54730
+ "L"
54731
+ ],
54732
+ type: "string"
54733
+ }
54734
+ },
54735
+ type: "object"
54736
+ },
54737
+ font: {
54738
+ description: "Custom font styling",
54739
+ properties: {
54740
+ "font-style": {
54741
+ const: "normal",
54742
+ description: "Font style",
54743
+ examples: [
54744
+ "normal",
54745
+ "italic",
54746
+ "oblique"
54747
+ ],
54748
+ type: "string"
54749
+ },
54750
+ "font-weight": {
54751
+ description: "Font weight",
54752
+ examples: [
54753
+ 400,
54754
+ 700
54755
+ ],
54756
+ type: "number"
54757
+ },
54758
+ fontFamily: {
54759
+ description: "Font family",
54760
+ examples: [
54761
+ "Lato",
54762
+ "Montserrat",
54763
+ "Roboto Mono",
54764
+ "Arial",
54765
+ "Times New Roman"
54766
+ ],
54767
+ type: "string"
54768
+ },
54769
+ fontSize: {
54770
+ description: "Font size in px",
54771
+ examples: [
54772
+ 10,
54773
+ 15,
54774
+ 18
54775
+ ],
54776
+ type: "number"
54777
+ }
54778
+ },
54779
+ type: "object"
54780
+ },
54781
+ id: {
54782
+ description: 'Id of the theme, for example, "seasonal", "urban" or custom theme uuid. If you just pass custom theme options, it have to be skipped.',
54783
+ examples: [
54784
+ "seasonal",
54785
+ "urban"
54786
+ ],
54787
+ type: "string"
54788
+ },
54789
+ itemsBackground: {
54790
+ description: "Custom item background color",
54791
+ examples: [
54792
+ "rgb(255, 255, 255)",
54793
+ "rgb(71, 69, 69)",
54794
+ "rgb(195, 191, 191)"
54795
+ ],
54796
+ type: "string"
54797
+ },
54798
+ title: {
54799
+ description: "Custom title styling",
54800
+ properties: {
54801
+ align: {
54802
+ description: "Title align",
54803
+ enum: [
54804
+ "center",
54805
+ "left",
54806
+ "right"
54807
+ ],
54808
+ examples: [
54809
+ "left",
54810
+ "center",
54811
+ "right"
54812
+ ],
54813
+ type: "string"
54814
+ },
54815
+ bold: {
54816
+ description: "Is title bold",
54817
+ examples: [
54818
+ !0,
54819
+ !1
54820
+ ],
54821
+ type: "boolean"
54822
+ },
54823
+ border: {
54824
+ description: "Is title a border",
54825
+ examples: [
54826
+ !0,
54827
+ !1
54828
+ ],
54829
+ type: "boolean"
54830
+ },
54831
+ fontSize: {
54832
+ description: "Title's font size in px",
54833
+ examples: [
54834
+ 16,
54835
+ 20
54836
+ ],
54837
+ type: "number"
54838
+ },
54839
+ italic: {
54840
+ description: "Is title italic",
54841
+ examples: [
54842
+ !0,
54843
+ !1
54844
+ ],
54845
+ type: "boolean"
54846
+ },
54847
+ lineHeight: {
54848
+ description: "Title's line height in px",
54849
+ examples: [
54850
+ 30,
54851
+ 42,
54852
+ 50
54853
+ ],
54854
+ type: "number"
54855
+ },
54856
+ underline: {
54857
+ description: "Is title underline",
54858
+ examples: [
54859
+ !0,
54860
+ !1
54861
+ ],
54862
+ type: "boolean"
54863
+ }
54864
+ },
54865
+ type: "object"
54866
+ },
54867
+ type: {
54868
+ description: 'It should be "custom" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.',
54869
+ examples: [
54870
+ "custom"
54871
+ ],
54872
+ type: "string"
54873
+ }
54874
+ },
54875
+ type: "object"
54876
+ },
54877
+ timezoneId: {
54878
+ description: "The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database",
54879
+ examples: [
54880
+ "Europe/Brussels",
54881
+ "America/New_York"
54882
+ ],
54883
+ type: "string"
54884
+ },
54885
+ title: {
54886
+ description: 'Title in format {locale: "title"}, for example, {en: "Title"}',
54887
+ examples: [
54888
+ {
54889
+ en: "Title"
54890
+ }
54891
+ ],
54892
+ type: "object"
54893
+ }
54894
+ }, ba = "object", ha = {
54895
+ $id: ma,
54896
+ $schema: ya,
54897
+ properties: ua,
54898
+ type: ba
54899
+ }, ga = "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json", fa = "http://json-schema.org/draft-07/schema#", va = {
54900
+ ColumnSubtype: {
54901
+ enum: [
54902
+ "coordinates",
54903
+ "currency",
54904
+ "duration",
54905
+ "hierarchy_element_expression",
54906
+ "topography"
54907
+ ],
54908
+ type: "string"
54909
+ },
54910
+ DateTimeSlotContent: {
54911
+ properties: {
54912
+ aggregationFunc: {
54913
+ description: 'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',
54914
+ enum: [
54915
+ "count",
54916
+ "distinctcount"
54917
+ ],
54918
+ type: "string"
54919
+ },
54920
+ color: {
54921
+ 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.",
54922
+ type: [
54923
+ "null",
54924
+ "string"
54925
+ ]
54926
+ },
54927
+ columnId: {
54928
+ description: "Column id",
54929
+ format: "uuid",
54930
+ type: "string"
54931
+ },
54932
+ datasetId: {
54933
+ description: "Dataset id",
54934
+ format: "uuid",
54935
+ type: "string"
54936
+ },
54937
+ datetimeDisplayMode: {
54938
+ description: "If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",
54939
+ enum: [
54940
+ "day_in_month",
54941
+ "day_in_year",
54942
+ "default",
54943
+ "hour_in_day",
54944
+ "minute_in_hour",
54945
+ "month_name",
54946
+ "month_number",
54947
+ "quarter_number",
54948
+ "second_in_minute",
54949
+ "week_number",
54950
+ "weekday_name",
54951
+ "weekday_number"
54952
+ ],
54953
+ type: "string"
54954
+ },
54955
+ format: {
54956
+ description: `D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
54957
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,
54958
+ type: "string"
54959
+ },
54960
+ grandTotals: {
54961
+ description: "Enable or disable grand totals, they're only used in Pivot table",
54962
+ properties: {
54963
+ enabled: {
54964
+ type: "boolean"
54965
+ }
54966
+ },
54967
+ type: "object"
54968
+ },
54969
+ label: {
54970
+ description: 'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',
54971
+ type: "object"
54972
+ },
54973
+ level: {
54974
+ description: '"hierarchy" or "datetime" level',
54975
+ type: [
54976
+ "number",
54977
+ "null"
54978
+ ]
54979
+ },
54980
+ lowestLevel: {
54981
+ description: 'Lowest "hierarchy" or "datetime" level',
54982
+ type: [
54983
+ "null",
54984
+ "number"
54985
+ ]
54986
+ },
54987
+ monthNameFormat: {
54988
+ description: "Month name format for datetime column formatting",
54989
+ enum: [
54990
+ "letter",
54991
+ "long",
54992
+ "short"
54993
+ ],
54994
+ type: "string"
54995
+ },
54996
+ periodOverPeriod: {
54997
+ description: "Settings to configure period over period comparison. It can be used only in a measure slot.",
54998
+ properties: {
54999
+ level: {
55000
+ description: `Period of time level
55001
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,
55002
+ type: "number"
55003
+ },
55004
+ periodToDate: {
55005
+ description: "Turn ON/OFF period to date comparison",
55006
+ type: "boolean"
55007
+ },
55008
+ quantity: {
55009
+ description: "Number of periods",
55010
+ type: "number"
55011
+ },
55012
+ type: {
55013
+ description: `Period over period comparison type:
55014
+ 'none' - turned off,
55015
+ 'past' - absolute value comparison to the past,
55016
+ 'change' - percentage change comparison to the past`,
55017
+ enum: [
55018
+ "change",
55019
+ "none",
55020
+ "past"
55021
+ ],
55022
+ type: "string"
55023
+ }
55024
+ },
55025
+ type: "object"
55026
+ },
55027
+ subtype: {
55028
+ description: `There's no subtype for "datetime", it can be null or omitted`,
55029
+ type: "null"
55030
+ },
55031
+ type: {
55032
+ const: "datetime",
55033
+ description: '"datetime" column type',
55034
+ type: "string"
55035
+ },
55036
+ weekDayNameFormat: {
55037
+ description: "Week day name format for datetime column formatting",
55038
+ enum: [
55039
+ "letter",
55040
+ "long",
55041
+ "short"
55042
+ ],
55043
+ type: "string"
55044
+ },
55045
+ weekStart: {
55046
+ description: "Week start day, 'sunday' or 'monday'. For datetime column formatting.",
55047
+ enum: [
55048
+ "monday",
55049
+ "sunday"
55050
+ ],
55051
+ type: "string"
55052
+ }
55053
+ },
55054
+ type: "object"
55055
+ },
55056
+ DimensionSlot: {
55057
+ description: "Dimension slot definition of the search filter. Dimension slot is a required slot and it can have multiple columns.",
55058
+ properties: {
55059
+ content: {
55060
+ description: "Dimension slot definition",
55061
+ items: {
55062
+ anyOf: [
55063
+ {
55064
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json#/definitions/NumericSlotContent"
55065
+ },
55066
+ {
55067
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json#/definitions/HierarchySlotContent"
55068
+ },
55069
+ {
55070
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json#/definitions/DateTimeSlotContent"
55071
+ }
55072
+ ]
55073
+ },
55074
+ type: "array"
55075
+ },
55076
+ name: {
55077
+ const: "dimension",
55078
+ description: "Name of the slot",
55079
+ type: "string"
55080
+ }
55081
+ },
55082
+ type: "object"
55083
+ },
55084
+ HierarchySlotContent: {
55085
+ properties: {
55086
+ aggregationFunc: {
55087
+ description: 'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',
55088
+ enum: [
55089
+ "count",
55090
+ "distinctcount"
55091
+ ],
55092
+ type: "string"
55093
+ },
55094
+ color: {
55095
+ 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.",
55096
+ type: [
55097
+ "null",
55098
+ "string"
55099
+ ]
55100
+ },
55101
+ columnId: {
55102
+ description: "Column id",
55103
+ format: "uuid",
55104
+ type: "string"
55105
+ },
55106
+ datasetId: {
55107
+ description: "Dataset id",
55108
+ format: "uuid",
55109
+ type: "string"
55110
+ },
55111
+ format: {
55112
+ description: `D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
55113
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,
55114
+ type: "string"
55115
+ },
55116
+ grandTotals: {
55117
+ description: "Enable or disable grand totals, they're only used in Pivot table",
55118
+ properties: {
55119
+ enabled: {
55120
+ type: "boolean"
55121
+ }
55122
+ },
55123
+ type: "object"
55124
+ },
55125
+ label: {
55126
+ description: 'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',
55127
+ type: "object"
55128
+ },
55129
+ level: {
55130
+ description: '"hierarchy" or "datetime" level',
55131
+ type: [
55132
+ "number",
55133
+ "null"
55134
+ ]
55135
+ },
55136
+ lowestLevel: {
55137
+ description: 'Lowest "hierarchy" or "datetime" level',
55138
+ type: [
55139
+ "null",
55140
+ "number"
55141
+ ]
55142
+ },
55143
+ periodOverPeriod: {
55144
+ description: "Settings to configure period over period comparison. It can be used only in a measure slot.",
55145
+ properties: {
55146
+ level: {
55147
+ description: `Period of time level
55148
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,
55149
+ type: "number"
55150
+ },
55151
+ periodToDate: {
55152
+ description: "Turn ON/OFF period to date comparison",
55153
+ type: "boolean"
55154
+ },
55155
+ quantity: {
55156
+ description: "Number of periods",
55157
+ type: "number"
55158
+ },
55159
+ type: {
55160
+ description: `Period over period comparison type:
55161
+ 'none' - turned off,
55162
+ 'past' - absolute value comparison to the past,
55163
+ 'change' - percentage change comparison to the past`,
55164
+ enum: [
55165
+ "change",
55166
+ "none",
55167
+ "past"
55168
+ ],
55169
+ type: "string"
55170
+ }
55171
+ },
55172
+ type: "object"
55173
+ },
55174
+ subtype: {
55175
+ anyOf: [
55176
+ {
55177
+ enum: [
55178
+ "coordinates",
55179
+ "currency",
55180
+ "date",
55181
+ "datetime",
55182
+ "duration",
55183
+ "hierarchy_element_expression",
55184
+ "topography"
55185
+ ],
55186
+ type: "string"
55187
+ },
55188
+ {
55189
+ type: "null"
55190
+ }
55191
+ ],
55192
+ description: "Column subtype"
55193
+ },
55194
+ type: {
55195
+ const: "hierarchy",
55196
+ description: '"hierarchy" column type',
55197
+ type: "string"
55198
+ }
55199
+ },
55200
+ type: "object"
55201
+ },
55202
+ NumericSlotContent: {
55203
+ properties: {
55204
+ aggregationFunc: {
55205
+ description: 'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',
55206
+ enum: [
55207
+ "average",
55208
+ "count",
55209
+ "cumulativesum",
55210
+ "distinctcount",
55211
+ "histogram",
55212
+ "max",
55213
+ "median",
55214
+ "min",
55215
+ "rate",
55216
+ "stddev",
55217
+ "sum",
55218
+ "weightedaverage"
55219
+ ],
55220
+ type: "string"
55221
+ },
55222
+ aggregationWeight: {
55223
+ description: 'Aggregation weight. It can be used with a "numeric" column type.',
55224
+ properties: {
55225
+ columnId: {
55226
+ description: "Column id",
55227
+ format: "uuid",
55228
+ type: "string"
55229
+ },
55230
+ columnSubType: {
55231
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json#/definitions/ColumnSubtype",
55232
+ description: "Column subtype"
55233
+ },
55234
+ datasetId: {
55235
+ description: "Dataset id",
55236
+ format: "uuid",
55237
+ type: "string"
55238
+ }
55239
+ },
55240
+ type: "object"
55241
+ },
55242
+ bins: {
55243
+ description: 'Bin definition. It can be used when a "numeric" column is used as a category.',
55244
+ properties: {
55245
+ enabled: {
55246
+ description: "Enable or disable binning",
55247
+ type: "boolean"
55248
+ },
55249
+ number: {
55250
+ description: "Defines the range of the bins",
55251
+ type: "number"
55252
+ }
55253
+ },
55254
+ type: "object"
55255
+ },
55256
+ color: {
55257
+ 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.",
55258
+ type: [
55259
+ "null",
55260
+ "string"
55261
+ ]
55262
+ },
55263
+ columnId: {
55264
+ description: "Column id",
55265
+ format: "uuid",
55266
+ type: "string"
55267
+ },
55268
+ currency: {
55269
+ description: 'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',
55270
+ type: [
55271
+ "null",
55272
+ "string"
55273
+ ]
55274
+ },
55275
+ datasetId: {
55276
+ description: "Dataset id",
55277
+ format: "uuid",
55278
+ type: "string"
55279
+ },
55280
+ duration: {
55281
+ description: `Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,
55282
+ properties: {
55283
+ format: {
55284
+ description: "Duration format",
55285
+ enum: [
55286
+ "long",
55287
+ "short",
55288
+ "time"
55289
+ ],
55290
+ type: "string"
55291
+ },
55292
+ levels: {
55293
+ description: "Duration levels used",
55294
+ items: {
55295
+ type: "number"
55296
+ },
55297
+ type: "array"
55298
+ }
55299
+ },
55300
+ type: "object"
55301
+ },
55302
+ format: {
55303
+ description: `D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
55304
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,
55305
+ type: "string"
55306
+ },
55307
+ formula: {
55308
+ 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",
55309
+ type: "string"
55310
+ },
55311
+ grandTotals: {
55312
+ description: "Enable or disable grand totals, they're only used in Pivot table",
55313
+ properties: {
55314
+ enabled: {
55315
+ type: "boolean"
55316
+ }
55317
+ },
55318
+ type: "object"
55319
+ },
55320
+ label: {
55321
+ description: 'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',
55322
+ type: "object"
55323
+ },
55324
+ periodOverPeriod: {
55325
+ description: "Settings to configure period over period comparison. It can be used only in a measure slot.",
55326
+ properties: {
55327
+ level: {
55328
+ description: `Period of time level
55329
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,
55330
+ type: "number"
55331
+ },
55332
+ periodToDate: {
55333
+ description: "Turn ON/OFF period to date comparison",
55334
+ type: "boolean"
55335
+ },
55336
+ quantity: {
55337
+ description: "Number of periods",
55338
+ type: "number"
55339
+ },
55340
+ type: {
55341
+ description: `Period over period comparison type:
55342
+ 'none' - turned off,
55343
+ 'past' - absolute value comparison to the past,
55344
+ 'change' - percentage change comparison to the past`,
55345
+ enum: [
55346
+ "change",
55347
+ "none",
55348
+ "past"
55349
+ ],
55350
+ type: "string"
55351
+ }
55352
+ },
55353
+ type: "object"
55354
+ },
55355
+ subtype: {
55356
+ anyOf: [
55357
+ {
55358
+ enum: [
55359
+ "coordinates",
55360
+ "currency",
55361
+ "date",
55362
+ "datetime",
55363
+ "duration",
55364
+ "hierarchy_element_expression",
55365
+ "topography"
55366
+ ],
55367
+ type: "string"
55368
+ },
55369
+ {
55370
+ type: "null"
55371
+ }
55372
+ ],
55373
+ description: "Column subtype"
55374
+ },
55375
+ type: {
55376
+ const: "numeric",
55377
+ description: '"numeric" column / formula type',
55378
+ type: "string"
55379
+ }
55380
+ },
55381
+ type: "object"
55382
+ }
55383
+ }, ja = "Data definition of the Search filter", xa = {
55384
+ $ref: "https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json#/definitions/DimensionSlot"
55385
+ }, wa = 1, Sa = "array", _a = {
55386
+ $id: ga,
55387
+ $schema: fa,
55388
+ definitions: va,
55389
+ description: ja,
55390
+ items: xa,
55391
+ maxItems: wa,
55392
+ type: Sa
55393
+ }, Ta = {
53828
55394
  "viz-item-type.schema.json": s,
53829
55395
  "options.schema.json": c,
53830
55396
  "slots.schema.json": u,
@@ -53846,7 +55412,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
53846
55412
  "choropleth-map.schema.json": at,
53847
55413
  "choropleth-map-options.schema.json": mt,
53848
55414
  "choropleth-map-slots.schema.json": jt,
53849
- "circular-gauge.schema.json": Ct,
55415
+ "circular-gauge.schema.json": It,
53850
55416
  "circular-gauge-options.schema.json": $t,
53851
55417
  "circular-gauge-slots.schema.json": Pt,
53852
55418
  "column-chart.schema.json": Wt,
@@ -53863,7 +55429,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
53863
55429
  "donut-chart-slots.schema.json": pi,
53864
55430
  "dropdown-filter.schema.json": ui,
53865
55431
  "dropdown-filter-options.schema.json": vi,
53866
- "dropdown-filter-slots.schema.json": Ii,
55432
+ "dropdown-filter-slots.schema.json": Ci,
53867
55433
  "evolution-number.schema.json": Oi,
53868
55434
  "evolution-number-options.schema.json": Ri,
53869
55435
  "evolution-number-slots.schema.json": Zi,
@@ -53880,7 +55446,7 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
53880
55446
  "pivot-table-slots.schema.json": an,
53881
55447
  "regular-table.schema.json": yn,
53882
55448
  "regular-table-options.schema.json": fn,
53883
- "regular-table-slots.schema.json": Cn,
55449
+ "regular-table-slots.schema.json": In,
53884
55450
  "sankey-diagram.schema.json": Fn,
53885
55451
  "sankey-diagram-options.schema.json": Mn,
53886
55452
  "sankey-diagram-slots.schema.json": Wn,
@@ -53894,10 +55460,13 @@ It can also be used for "hierarchy" formatting but when it's used in the measure
53894
55460
  "slider-filter-options.schema.json": As,
53895
55461
  "slider-filter-slots.schema.json": Js,
53896
55462
  "text.schema.json": ea,
53897
- "text-options.schema.json": na
55463
+ "text-options.schema.json": na,
55464
+ "search-filter.schema.json": da,
55465
+ "search-filter-options.schema.json": ha,
55466
+ "search-filter-slots.schema.json": _a
53898
55467
  };
53899
55468
  export {
53900
55469
  t as ColumnChartModes,
53901
- sa as JSON_SCHEMAS,
55470
+ Ta as JSON_SCHEMAS,
53902
55471
  o as RegularTableSortingMode
53903
55472
  };