@luzmo/dashboard-contents-types 1.0.0 → 1.0.1

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 (73) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +154 -0
  3. package/assets/json-schemas/area-chart-options.schema.json.d.ts +75 -157
  4. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +13 -13
  5. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +74 -5
  6. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +13 -13
  7. package/assets/json-schemas/box-plot-options.schema.json.d.ts +74 -5
  8. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +13 -13
  9. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +74 -5
  10. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +13 -13
  11. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +74 -5
  12. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +13 -13
  13. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +74 -5
  14. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +13 -40
  15. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +74 -5
  16. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +13 -13
  17. package/assets/json-schemas/column-chart-options.schema.json.d.ts +74 -5
  18. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +13 -13
  19. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +74 -5
  20. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +13 -13
  21. package/assets/json-schemas/date-filter-options.schema.json.d.ts +74 -5
  22. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +4 -4
  23. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +74 -5
  24. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +13 -13
  25. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +74 -5
  26. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +13 -13
  27. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +74 -5
  28. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +13 -13
  29. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +74 -5
  30. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +13 -13
  31. package/assets/json-schemas/image-options.schema.json.d.ts +69 -0
  32. package/assets/json-schemas/line-chart-options.schema.json.d.ts +74 -5
  33. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +13 -13
  34. package/assets/json-schemas/options.schema.json.d.ts +3 -0
  35. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +74 -5
  36. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +13 -13
  37. package/assets/json-schemas/regular-table-options.schema.json.d.ts +74 -5
  38. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +13 -13
  39. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +74 -5
  40. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +13 -13
  41. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +74 -5
  42. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +13 -13
  43. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +74 -5
  44. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +13 -13
  45. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +74 -5
  46. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +9 -9
  47. package/assets/json-schemas/slots.schema.json.d.ts +3 -0
  48. package/assets/json-schemas/text-options.schema.json.d.ts +69 -0
  49. package/index.js +220 -142
  50. package/index.mjs +2194 -701
  51. package/json-schemas.d.ts +1334 -123
  52. package/json-schemas.d.ts.map +1 -1
  53. package/package.json +1 -1
  54. package/src/lib/area-chart/area-chart-options.d.ts +7 -4
  55. package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
  56. package/src/lib/date-filter/date-filter-options.d.ts +1 -2
  57. package/src/lib/date-filter/date-filter-options.d.ts.map +1 -1
  58. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +1 -2
  59. package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
  60. package/src/lib/shared/index.d.ts +1 -0
  61. package/src/lib/shared/index.d.ts.map +1 -1
  62. package/src/lib/shared/object-view-options.d.ts +2 -1
  63. package/src/lib/shared/object-view-options.d.ts.map +1 -1
  64. package/src/lib/shared/slots.d.ts +7 -6
  65. package/src/lib/shared/slots.d.ts.map +1 -1
  66. package/src/lib/shared/viz-item.d.ts +60 -0
  67. package/src/lib/shared/viz-item.d.ts.map +1 -0
  68. package/src/lib/slicer-filter/slicer-filter-options.d.ts +1 -1
  69. package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -1
  70. package/src/lib/slider-filter/slider-filter-options.d.ts +1 -1
  71. package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -1
  72. package/src/options.d.ts +1 -1
  73. package/src/options.d.ts.map +1 -1
package/index.js CHANGED
@@ -1,357 +1,435 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.Grouped="grouped",e.Stacked="stacked",e.Percentage="100",e))(t||{}),o=(e=>(e.SingleColumn="singleColumn",e.MultiColumn="multiColumn",e))(o||{});const i="https://developer.luzmo.com/assets/json-schemas/0.1.89/viz-item-type.schema.json",r="http://json-schema.org/draft-07/schema#",n="string",s={$id:i,$schema:r,enum:["area-chart","bar-chart","box-plot","bubble-chart","bullet-chart","choropleth-map","circle-pack-chart","circular-gauge","column-chart","combination-chart","conditional-number","date-filter","donut-chart","dropdown-filter","dynamic-imageobject","evolution-number","funnel-chart","heat-map","heat-table","hexbin-map","iframeobject","image","line-chart","line-chart-forecast","marker-map","ohlc-chart","parallel-coordinates-plot","pivot-table","pyramid-chart","radar-chart","regular-table","route-map","sankey-diagram","scatter-plot","search-filter","slicer-filter","slider-filter","spacer","speedometer-chart","spike-map","strip-plot","sunburst-chart","symbol-map","text","treemap-chart","venn-diagram","video","wordcloud-chart"],type:n},a="https://developer.luzmo.com/assets/json-schemas/0.1.89/options.schema.json",p="http://json-schema.org/draft-07/schema#",l=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json"}],c={$id:a,$schema:p,anyOf:l},d="https://developer.luzmo.com/assets/json-schemas/0.1.89/slots.schema.json",m="http://json-schema.org/draft-07/schema#",y=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json"}],u={$id:d,$schema:m,anyOf:y},b="http://json-schema.org/draft-07/schema#",g="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart.schema.json",h="object",f="Area Chart item",v={type:{description:"Type of the item",type:"string",const:"area-chart"},options:{description:"Options of the Area Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json"},slots:{description:"Data definition of the Area Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json"}},j={$schema:b,$id:g,type:h,description:f,properties:v},x="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json",w="http://json-schema.org/draft-07/schema#",S={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"},ticksStyle:{description:"Ticks style of the X-axis: auto or user defined",enum:["auto","userDefined"],type:"string"}},type:"object"},y:{description:"Y2-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Set manual axes range",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},scale:{default:"linear",description:"Y-axis scale type: linear or logarithmic",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Y-axis type: default, manual or variable",enum:["default","manual","variable"],type:"string"}},type:"object"},y2:{description:"Y2-axis options",properties:{active:{default:!1,description:"Toggle whether the Y2-axis is active",type:"boolean"},color:{description:"Y2-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Set manual axes range",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureIndexes:{default:[1],description:"Array of measure indexes to be displayed on the Y2-axis",examples:[[1,2]],items:{type:"number"},type:"array"},scale:{description:"Y-axis scale type: linear or logarithmic",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the Y2-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y2-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Y-axis type: default, manual or variable",enum:["default","manual","variable"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"},y2:{description:"Another Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y2-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Area chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y2:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y2-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y2-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
2
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
3
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.Grouped="grouped",e.Stacked="stacked",e.Percentage="100",e))(t||{}),o=(e=>(e.SingleColumn="singleColumn",e.MultiColumn="multiColumn",e))(o||{});const i="https://developer.luzmo.com/assets/json-schemas/0.1.89/viz-item-type.schema.json",r="http://json-schema.org/draft-07/schema#",n="string",s={$id:i,$schema:r,enum:["area-chart","bar-chart","box-plot","bubble-chart","bullet-chart","choropleth-map","circle-pack-chart","circular-gauge","column-chart","combination-chart","conditional-number","date-filter","donut-chart","dropdown-filter","dynamic-imageobject","evolution-number","funnel-chart","heat-map","heat-table","hexbin-map","iframeobject","image","line-chart","line-chart-forecast","marker-map","ohlc-chart","parallel-coordinates-plot","pivot-table","pyramid-chart","radar-chart","regular-table","route-map","sankey-diagram","scatter-plot","search-filter","slicer-filter","slider-filter","spacer","speedometer-chart","spike-map","strip-plot","sunburst-chart","symbol-map","text","treemap-chart","venn-diagram","video","wordcloud-chart"],type:n},a="https://developer.luzmo.com/assets/json-schemas/0.1.89/options.schema.json",p="http://json-schema.org/draft-07/schema#",l=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-options.schema.json"}],c={$id:a,$schema:p,anyOf:l},d="https://developer.luzmo.com/assets/json-schemas/0.1.89/slots.schema.json",m="http://json-schema.org/draft-07/schema#",y=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/search-filter-slots.schema.json"}],u={$id:d,$schema:m,anyOf:y},b="http://json-schema.org/draft-07/schema#",g="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart.schema.json",h="object",f="Area Chart item",v={type:{description:"Type of the item",type:"string",const:"area-chart"},options:{description:"Options of the Area Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json"},slots:{description:"Data definition of the Area Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json"}},j={$schema:b,$id:g,type:h,description:f,properties:v},x="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-options.schema.json",w="http://json-schema.org/draft-07/schema#",S={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"},ticksStyle:{description:"Ticks style of the X-axis: auto or user defined",enum:["auto","userDefined"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Set manual axes range",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},scale:{default:"linear",description:"Y-axis scale type: linear or logarithmic",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Y-axis type: default, manual or variable",enum:["default","manual","variable"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Area chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
2
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
3
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
4
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
4
5
  'none' - turned off,
5
6
  'past' - absolute value comparison to the past,
6
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},interpolation:{default:"linear",description:'This option set the interpolation for the area drawn: "linear" or "step-before" or "step-after" or "monotone"',enum:["linear","monotone","step-after","step-before"],type:"string"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},mode:{default:"stacked",description:"Mode of the Area chart: stacked, unstacked, stream or 100% stacked",enum:["100","stacked","stream","unstacked"],type:"string"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},T="object",_={$id:x,$schema:w,properties:S,type:T},I="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json",C="http://json-schema.org/draft-07/schema#",D={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
7
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
7
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},interpolation:{default:"linear",description:'This option set the interpolation for the area drawn: "linear" or "step-before" or "step-after" or "monotone"',enum:["linear","monotone","step-after","step-before"],type:"string"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},mode:{default:"stacked",description:"Mode of the Area chart: stacked, unstacked, stream or 100% stacked",enum:["100","stacked","stream","unstacked"],type:"string"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},T="object",_={$id:x,$schema:w,properties:S,type:T},I="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json",k="http://json-schema.org/draft-07/schema#",C={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
8
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
9
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
8
10
  'none' - turned off,
9
11
  'past' - absolute value comparison to the past,
10
12
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
11
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
13
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
14
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
12
15
  'none' - turned off,
13
16
  'past' - absolute value comparison to the past,
14
17
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},LegendSlot:{description:"Legend slot definition of the area chart. This defines the legend of the area chart. If 2 measures are used, the legend cannot be used.",properties:{content:{description:"Legend slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"legend",description:"Name of the slot",type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the area chart. A area chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
15
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
18
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
19
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
16
20
  'none' - turned off,
17
21
  'past' - absolute value comparison to the past,
18
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Category slot definition of the area chart. This defines the areas on the Y-axis.",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},k="Data definition of the Area chart",$={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/LegendSlot"}]},L=3,z="array",F={$id:I,$schema:C,definitions:D,description:k,items:$,maxItems:L,type:z},O="http://json-schema.org/draft-07/schema#",Y="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart.schema.json",M="object",R="Bar Chart item",A={type:{description:"Type of the item",type:"string",const:"bar-chart"},options:{description:"Options of the Bar Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json"},slots:{description:"Data definition of the Bar Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json"}},P={$schema:O,$id:Y,type:M,description:R,properties:A},B="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json",H="http://json-schema.org/draft-07/schema#",N={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"X-axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the X-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},bars:{description:"Bars options",properties:{label:{default:"none",description:"Bar label options",enum:["none","percentage","percentageCategory","percentageLegend","percentageMax"],type:"string"},roundedCorners:{description:"Rounded corners of the bars",examples:[0,5,10],type:"number"}},type:"object"},categories:{description:"Category options",properties:{colored:{default:!1,description:"Bar color by category. Only has effect if there is no legend, but there is a y-axis.",type:"boolean"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bar chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
19
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
20
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
22
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Category slot definition of the area chart. This defines the areas on the Y-axis.",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},D="Data definition of the Area chart",L={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json#/definitions/LegendSlot"}]},$=3,F="array",z={$id:I,$schema:k,definitions:C,description:D,items:L,maxItems:$,type:F},O="http://json-schema.org/draft-07/schema#",Y="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart.schema.json",N="object",M="Bar Chart item",R={type:{description:"Type of the item",type:"string",const:"bar-chart"},options:{description:"Options of the Bar Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json"},slots:{description:"Data definition of the Bar Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json"}},A={$schema:O,$id:Y,type:N,description:M,properties:R},B="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json",P="http://json-schema.org/draft-07/schema#",H={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"X-axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the X-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},bars:{description:"Bars options",properties:{label:{default:"none",description:"Bar label options",enum:["none","percentage","percentageCategory","percentageLegend","percentageMax"],type:"string"},roundedCorners:{description:"Rounded corners of the bars",examples:[0,5,10],type:"number"}},type:"object"},categories:{description:"Category options",properties:{colored:{default:!1,description:"Bar color by category. Only has effect if there is no legend, but there is a y-axis.",type:"boolean"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bar chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
23
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
24
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
25
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
21
26
  'none' - turned off,
22
27
  'past' - absolute value comparison to the past,
23
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualAxesRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},mode:{default:"grouped",description:"Mode of the Bar chart: grouped, stacked or 100% stacked",enum:["100","grouped","stacked"],type:"string"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},q="object",E={$id:B,$schema:H,properties:N,type:q},W="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json",Z="http://json-schema.org/draft-07/schema#",X={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
24
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
28
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualAxesRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},mode:{default:"grouped",description:"Mode of the Bar chart: grouped, stacked or 100% stacked",enum:["100","grouped","stacked"],type:"string"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},q="object",E={$id:B,$schema:P,properties:H,type:q},W="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json",Z="http://json-schema.org/draft-07/schema#",X={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
29
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
30
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
25
31
  'none' - turned off,
26
32
  'past' - absolute value comparison to the past,
27
33
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
28
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
34
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
35
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
29
36
  'none' - turned off,
30
37
  'past' - absolute value comparison to the past,
31
38
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},LegendSlot:{description:"Legend slot definition of the bar chart. This defines the legend of the bar chart. If 2 measures are used, the legend cannot be used.",properties:{content:{description:"Legend slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"legend",description:"Name of the slot",type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the bar chart. A bar chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
32
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
39
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
40
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
33
41
  'none' - turned off,
34
42
  'past' - absolute value comparison to the past,
35
43
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},YAxisSlot:{description:"Category slot definition of the bar chart. This defines the bars on the Y-axis.",properties:{content:{description:"Y-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"y-axis",description:"Name of the slot",type:"string"}},type:"object"}},J="Data definition of the Bar chart",U={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-slots.schema.json#/definitions/LegendSlot"}]},G=3,V="array",K={$id:W,$schema:Z,definitions:X,description:J,items:U,maxItems:G,type:V},Q="http://json-schema.org/draft-07/schema#",ee="https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot.schema.json",te="object",oe="Box Plot item",ie={type:{description:"Type of the item",type:"string",const:"box-plot"},options:{description:"Options of the Box Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-options.schema.json"},slots:{description:"Data definition of the Box Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json"}},re={$schema:Q,$id:ee,type:te,description:oe,properties:ie},ne="https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-options.schema.json",se="http://json-schema.org/draft-07/schema#",ae={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"Axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Logarithmic base of the X-axis",type:"number"},ticksDensity:{description:"Density of the ticks",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Axis ticks mode",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"Axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Axis ticks mode",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},boxFill:{description:"Box fill",type:"string"},boxFillByCategory:{default:!1,description:"Box fill by category",type:"boolean"},boxStrokeColor:{description:"Box stroke color",type:"string"},boxStrokeWidth:{default:1,description:"Box stroke width",type:"number"},boxWidth:{default:.9,description:"Box width",type:"number"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},extentTicks:{default:!0,description:"Extent ticks visibility",type:"boolean"},grid:{description:"Grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid, can be solid, dashed or dotted",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid, can be solid, dashed or dotted",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},horizontal:{default:!1,description:"Is the box plot horizontal",type:"boolean"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!1,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
36
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
37
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
44
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
45
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
46
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
38
47
  'none' - turned off,
39
48
  'past' - absolute value comparison to the past,
40
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualAxisRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureAxisType:{default:"variable",description:"Measure axis type",enum:["default","manual","variable"],type:"string"},medianStrokeColor:{default:"#000000",description:"Median stroke color",type:"string"},medianStrokeWidth:{default:2,description:"Median stroke width",type:"number"},observations:{description:"Observations options",properties:{color:{description:"Observations color",type:"string"},colorType:{default:"single",description:"Observations color type",enum:["range","single"],type:"string"},colorsClass:{default:"Spectral",description:"Observations colors class",type:"string"},colorsType:{default:"divergent",description:"Observations colors type",enum:["divergent","manual","sequential"],type:"string"},display:{default:!1,description:"Display or hide the observations",type:"boolean"},jitter:{default:30,description:"Observations jitter",type:"number"},manualValues:{description:"Observations manual values",properties:{ranges:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"}},type:"object"},numberClasses:{default:5,description:"Observations number classes",type:"number"},onlyOutliers:{default:!1,description:"Only show the outliers",type:"boolean"},opacity:{default:.4,description:"Observations opacity",type:"number"},size:{default:3,description:"Observations size",type:"number"},type:{default:"dot",description:"Observations type",enum:["dot","ticks"],type:"string"}},type:"object"},roundedCorners:{default:null,description:"Rounded corners size",type:"number"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},pe="object",le={$id:ne,$schema:se,properties:ae,type:pe},ce="https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json",de="http://json-schema.org/draft-07/schema#",me={CategorySlot:{description:"Category slot definition of the Box plot. This is a required slot.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
41
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
49
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualAxisRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureAxisType:{default:"variable",description:"Measure axis type",enum:["default","manual","variable"],type:"string"},medianStrokeColor:{default:"#000000",description:"Median stroke color",type:"string"},medianStrokeWidth:{default:2,description:"Median stroke width",type:"number"},observations:{description:"Observations options",properties:{color:{description:"Observations color",type:"string"},colorType:{default:"single",description:"Observations color type",enum:["range","single"],type:"string"},colorsClass:{default:"Spectral",description:"Observations colors class",type:"string"},colorsType:{default:"divergent",description:"Observations colors type",enum:["divergent","manual","sequential"],type:"string"},display:{default:!1,description:"Display or hide the observations",type:"boolean"},jitter:{default:30,description:"Observations jitter",type:"number"},manualValues:{description:"Observations manual values",properties:{ranges:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"}},type:"object"},numberClasses:{default:5,description:"Observations number classes",type:"number"},onlyOutliers:{default:!1,description:"Only show the outliers",type:"boolean"},opacity:{default:.4,description:"Observations opacity",type:"number"},size:{default:3,description:"Observations size",type:"number"},type:{default:"dot",description:"Observations type",enum:["dot","ticks"],type:"string"}},type:"object"},roundedCorners:{default:null,description:"Rounded corners size",type:"number"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},pe="object",le={$id:ne,$schema:se,properties:ae,type:pe},ce="https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json",de="http://json-schema.org/draft-07/schema#",me={CategorySlot:{description:"Category slot definition of the Box plot. This is a required slot.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
50
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
51
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
42
52
  'none' - turned off,
43
53
  'past' - absolute value comparison to the past,
44
54
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
45
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
55
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
56
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
46
57
  'none' - turned off,
47
58
  'past' - absolute value comparison to the past,
48
59
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:`Measure slot definition of the Box plot. This is a required slot.
49
60
  A Box plot measure slot can accept only numeric type columns.`,properties:{content:{description:"Measure slot definition",items:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/NumericSlotContent"},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
50
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
61
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
62
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
51
63
  'none' - turned off,
52
64
  'past' - absolute value comparison to the past,
53
65
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},ye="Data definition of the Box plot",ue={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/box-plot-slots.schema.json#/definitions/CategorySlot"}]},be=2,ge="array",he={$id:ce,$schema:de,definitions:me,description:ye,items:ue,maxItems:be,type:ge},fe="http://json-schema.org/draft-07/schema#",ve="https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart.schema.json",je="object",xe="Bubble Chart item",we={type:{description:"Type of the item",type:"string",const:"bubble-chart"},options:{description:"Options of the Bubble Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json"},slots:{description:"Data definition of the Bubble Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json"}},Se={$schema:fe,$id:ve,type:je,description:xe,properties:we},Te="https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json",_e="http://json-schema.org/draft-07/schema#",Ie={categories:{description:"Categories options",properties:{colored:{default:!0,description:"Toggle colored categories",type:"boolean"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bubble chart: title, legend, bubbleLabels and bubbleValues",properties:{bubbleLabels:{default:!0,description:"Show or hide the bubble labels",type:"boolean"},bubbleValues:{default:"none",description:"Show values of bubble in the bubble: none, percentage, absolute",enum:["absolute","none","percentage"],type:"string"},legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
54
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
55
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
66
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
67
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
68
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
56
69
  'none' - turned off,
57
70
  'past' - absolute value comparison to the past,
58
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ce="object",De={$id:Te,$schema:_e,properties:Ie,type:Ce},ke="https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json",$e="http://json-schema.org/draft-07/schema#",Le={CategorySlot:{description:`Category slot definition of the bubble chart. This defines the category of the bubbles.
71
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},ke="object",Ce={$id:Te,$schema:_e,properties:Ie,type:ke},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={CategorySlot:{description:`Category slot definition of the bubble chart. This defines the category of the bubbles.
59
72
  This is a required slot`,properties:{content:{description:"Color slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColorSlot:{description:"Color slot definition of the bubble chart. This defines the colors of the bubble in the chart.",properties:{content:{description:"Color slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"color",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
60
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
73
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
74
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
61
75
  'none' - turned off,
62
76
  'past' - absolute value comparison to the past,
63
77
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
64
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
78
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
79
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
65
80
  'none' - turned off,
66
81
  'past' - absolute value comparison to the past,
67
82
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the bubble chart.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
68
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
83
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
84
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
69
85
  'none' - turned off,
70
86
  'past' - absolute value comparison to the past,
71
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},ze="Data definition of the Bubble chart",Fe={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/ColorSlot"}]},Oe=3,Ye="array",Me={$id:ke,$schema:$e,definitions:Le,description:ze,items:Fe,maxItems:Oe,type:Ye},Re="http://json-schema.org/draft-07/schema#",Ae="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart.schema.json",Pe="object",Be="Bullet Chart item",He={type:{description:"Type of the item",type:"string",const:"bullet-chart"},options:{description:"Options of the Bullet Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json"},slots:{description:"Data definition of the Bullet Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json"}},Ne={$schema:Re,$id:Ae,type:Pe,description:Be,properties:He},qe="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json",Ee="http://json-schema.org/draft-07/schema#",We={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bullet chart: title, legend and mode option",properties:{bulletSubtitles:{default:!1,description:"Show or hide the bullet subtitles",type:"boolean"},ranges:{default:!0,description:"Show or hide the ranges",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
72
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
73
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
87
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},Fe="Data definition of the Bubble chart",ze={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-slots.schema.json#/definitions/ColorSlot"}]},Oe=3,Ye="array",Ne={$id:De,$schema:Le,definitions:$e,description:Fe,items:ze,maxItems:Oe,type:Ye},Me="http://json-schema.org/draft-07/schema#",Re="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart.schema.json",Ae="object",Be="Bullet Chart item",Pe={type:{description:"Type of the item",type:"string",const:"bullet-chart"},options:{description:"Options of the Bullet Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json"},slots:{description:"Data definition of the Bullet Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json"}},He={$schema:Me,$id:Re,type:Ae,description:Be,properties:Pe},qe="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json",Ee="http://json-schema.org/draft-07/schema#",We={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bullet chart: title, legend and mode option",properties:{bulletSubtitles:{default:!1,description:"Show or hide the bullet subtitles",type:"boolean"},ranges:{default:!0,description:"Show or hide the ranges",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
88
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
89
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
90
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
74
91
  'none' - turned off,
75
92
  'past' - absolute value comparison to the past,
76
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualValues:{default:[[]],description:"Manual values",items:{properties:{id:{type:"string"},ranges:{description:"Manual value ranges",items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"},subtitle:{examples:[{en:"Total Revenue"}],type:"object"},target:{description:"Manual target value",type:"number"},title:{examples:[{en:"Revenue"}],type:"object"}},type:"object"},type:"array"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ze="object",Xe={$id:qe,$schema:Ee,properties:We,type:Ze},Je="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json",Ue="http://json-schema.org/draft-07/schema#",Ge={CategorySlot:{description:"Category slot definition of the bullet chart.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
77
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
93
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualValues:{default:[[]],description:"Manual values",items:{properties:{id:{type:"string"},ranges:{description:"Manual value ranges",items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"},subtitle:{examples:[{en:"Total Revenue"}],type:"object"},target:{description:"Manual target value",type:"number"},title:{examples:[{en:"Revenue"}],type:"object"}},type:"object"},type:"array"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ze="object",Xe={$id:qe,$schema:Ee,properties:We,type:Ze},Je="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json",Ue="http://json-schema.org/draft-07/schema#",Ge={CategorySlot:{description:"Category slot definition of the bullet chart.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
94
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
95
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
78
96
  'none' - turned off,
79
97
  'past' - absolute value comparison to the past,
80
98
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
81
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
99
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
100
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
82
101
  'none' - turned off,
83
102
  'past' - absolute value comparison to the past,
84
103
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the bullet chart.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
85
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
104
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
105
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
86
106
  'none' - turned off,
87
107
  'past' - absolute value comparison to the past,
88
108
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},TargetSlot:{description:"Legend slot definition of the bullet chart.",properties:{content:{description:"Legend slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"target",description:"Name of the slot",type:"string"}},type:"object"}},Ve="Data definition of the Bullet chart",Ke={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-slots.schema.json#/definitions/TargetSlot"}]},Qe=3,et="array",tt={$id:Je,$schema:Ue,definitions:Ge,description:Ve,items:Ke,maxItems:Qe,type:et},ot="http://json-schema.org/draft-07/schema#",it="https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map.schema.json",rt="object",nt="Choropleth Map item",st={type:{description:"Type of the item",type:"string",const:"choropleth-map"},options:{description:"Options of the Choropleth Map item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-options.schema.json"},slots:{description:"Data definition of the Choropleth Map item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json"}},at={$schema:ot,$id:it,type:rt,description:nt,properties:st},pt="https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-options.schema.json",lt="http://json-schema.org/draft-07/schema#",ct={classification:{default:"quantile",description:"Classification options: quantile, interval, continuous or manual",enum:["continuous","interval","manual","quantile"],type:"string"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},colorsClass:{default:"PuBu",description:"Set classes on the colors",type:"string"},disableWebgl:{type:"boolean"},display:{description:"General display options of the Choropleth map: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},enabled:{properties:{pan:{type:"boolean"},pitchBearing:{type:"boolean"},repositionOnRefresh:{type:"boolean"},zoom:{type:"boolean"}},type:"object"},highlights:{description:"Highlight options",properties:{active:{default:!0,description:"enable or disable highlight",type:"boolean"},color:{default:"rgb(255,255,255)",description:"If enabled, color of the highlight",examples:["#000000"],type:"string"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
89
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
90
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
109
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
110
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
111
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
91
112
  'none' - turned off,
92
113
  'past' - absolute value comparison to the past,
93
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualValues:{default:[[]],description:"Manual values configuration",properties:{ranges:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"}},type:"object"},numberClasses:{default:5,description:"Number of classes",type:"number"},opacity:{default:".85",description:"Opacity of the map",type:"number"},overlays:{items:{},type:"array"},pin:{properties:{auto:{type:"boolean"},bearing:{type:"number"},center:{items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},pitch:{type:"number"},zoom:{type:"number"}},type:"object"},strokeColor:{default:"rgba(0,0,0,.3)",description:"Stroke color of the map",examples:["#000000"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},tileProvider:{properties:{attribution:{type:"string"},bounds:{anyOf:[{items:{items:[{type:"number"},{type:"number"},{type:"number"}],maxItems:3,minItems:2,type:"array"},type:"array"},{type:"object"}]},name:{type:"string"},url:{type:"string"},vectorId:{type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},tooltip:{description:"Configure tooltip",properties:{allValues:{default:!0,description:"Show all values",type:"boolean"},percentages:{default:!0,description:"Show percentages",type:"boolean"}},type:"object"},vectorTileProvider:{properties:{attribution:{type:"string"},id:{type:"string"},name:{type:"string"},rasterName:{type:"string"},url:{type:"string"}},type:"object"},zoomRange:{items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"}},dt="object",mt={$id:pt,$schema:lt,properties:ct,type:dt},yt="https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json",ut="http://json-schema.org/draft-07/schema#",bt={CategorySlot:{description:"Category slot definition of the Choropleth map.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
94
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
114
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualValues:{default:[[]],description:"Manual values configuration",properties:{ranges:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"}},type:"object"},numberClasses:{default:5,description:"Number of classes",type:"number"},opacity:{default:".85",description:"Opacity of the map",type:"number"},overlays:{items:{},type:"array"},pin:{properties:{auto:{type:"boolean"},bearing:{type:"number"},center:{items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},pitch:{type:"number"},zoom:{type:"number"}},type:"object"},strokeColor:{default:"rgba(0,0,0,.3)",description:"Stroke color of the map",examples:["#000000"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},tileProvider:{properties:{attribution:{type:"string"},bounds:{anyOf:[{items:{items:[{type:"number"},{type:"number"},{type:"number"}],maxItems:3,minItems:2,type:"array"},type:"array"},{type:"object"}]},name:{type:"string"},url:{type:"string"},vectorId:{type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},tooltip:{description:"Configure tooltip",properties:{allValues:{default:!0,description:"Show all values",type:"boolean"},percentages:{default:!0,description:"Show percentages",type:"boolean"}},type:"object"},vectorTileProvider:{properties:{attribution:{type:"string"},id:{type:"string"},name:{type:"string"},rasterName:{type:"string"},url:{type:"string"}},type:"object"},zoomRange:{items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"}},dt="object",mt={$id:pt,$schema:lt,properties:ct,type:dt},yt="https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json",ut="http://json-schema.org/draft-07/schema#",bt={CategorySlot:{description:"Category slot definition of the Choropleth map.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
115
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
116
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
95
117
  'none' - turned off,
96
118
  'past' - absolute value comparison to the past,
97
119
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},GeoSlot:{description:`Geo slot definition of the choropleth map. This is the required slot.
98
120
  This slot can only accept a Geo content type column.`,properties:{content:{description:"Geo slot definition",items:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/SpatialSlotContent"},maxItems:1,type:"array"},name:{const:"geo",description:"Name of the slot",type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
99
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
121
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
122
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
100
123
  'none' - turned off,
101
124
  'past' - absolute value comparison to the past,
102
125
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Choropleth map.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
103
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
126
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
127
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
104
128
  'none' - turned off,
105
129
  'past' - absolute value comparison to the past,
106
130
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SpatialSlotContent:{properties:{color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
107
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
131
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"spatial",description:'"spatial" column type',type:"string"}},type:"object"}},gt="Data definition of the Choropleth map",ht={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/GeoSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/CategorySlot"}]},ft=3,vt="array",jt={$id:yt,$schema:ut,definitions:bt,description:gt,items:ht,maxItems:ft,type:vt},xt="http://json-schema.org/draft-07/schema#",wt="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge.schema.json",St="object",Tt="Circular Gauge item",_t={type:{description:"Type of the item",type:"string",const:"circular-gauge"},options:{description:"Options of the Circular Gauge item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json"},slots:{description:"Data definition of the Circular Gauge item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json"}},It={$schema:xt,$id:wt,type:St,description:Tt,properties:_t},kt="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json",Ct="http://json-schema.org/draft-07/schema#",Dt={circle:{description:"Circle configuration of the Circular Gauge",properties:{background:{default:"rgba(0,0,0,.1)",description:"Background color of the circle",type:"string"},color:{description:"Color of the circle",type:"string"},degrees:{default:360,description:"Degrees of the circle",enum:[180,240,270,360],type:"number"},flip:{default:!0,description:"Flip the circle",type:"boolean"},lineCap:{const:"round",default:"round",description:"Line cap of the circle",type:"string"},width:{default:10,description:"Width of the circle",type:"number"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Circular gauge: title, legend and mode option",properties:{gaugeLabel:{default:!0,description:"Show or hide the gauge label",type:"boolean"},gaugeValue:{default:!0,description:"Show or hide the gauge value",type:"boolean"},label:{default:!1,description:"Show or hide the label",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},value:{default:!1,description:"Show or hide the value",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
132
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
133
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
134
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
108
135
  'none' - turned off,
109
136
  'past' - absolute value comparison to the past,
110
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"spatial",description:'"spatial" column type',type:"string"}},type:"object"}},gt="Data definition of the Choropleth map",ht={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/GeoSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/choropleth-map-slots.schema.json#/definitions/CategorySlot"}]},ft=3,vt="array",jt={$id:yt,$schema:ut,definitions:bt,description:gt,items:ht,maxItems:ft,type:vt},xt="http://json-schema.org/draft-07/schema#",wt="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge.schema.json",St="object",Tt="Circular Gauge item",_t={type:{description:"Type of the item",type:"string",const:"circular-gauge"},options:{description:"Options of the Circular Gauge item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json"},slots:{description:"Data definition of the Circular Gauge item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json"}},It={$schema:xt,$id:wt,type:St,description:Tt,properties:_t},Ct="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json",Dt="http://json-schema.org/draft-07/schema#",kt={circle:{description:"Circle configuration of the Circular Gauge",properties:{background:{default:"rgba(0,0,0,.1)",description:"Background color of the circle",type:"string"},color:{description:"Color of the circle",type:"string"},degrees:{default:360,description:"Degrees of the circle",enum:[180,240,270,360],type:"number"},flip:{default:!0,description:"Flip the circle",type:"boolean"},lineCap:{const:"round",default:"round",description:"Line cap of the circle",type:"string"},width:{default:10,description:"Width of the circle",type:"number"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Circular gauge: title, legend and mode option",properties:{gaugeLabel:{default:!0,description:"Show or hide the gauge label",type:"boolean"},gaugeValue:{default:!0,description:"Show or hide the gauge value",type:"boolean"},label:{default:!1,description:"Show or hide the label",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},value:{default:!1,description:"Show or hide the value",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
111
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
112
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
113
- 'none' - turned off,
114
- 'past' - absolute value comparison to the past,
115
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},manualValues:{default:{},description:"Manual values configuration of the Circular Gauge",properties:{conditional:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"},target:{type:"number"}},type:"object"},mode:{default:"normal",description:"Mode of the Circular Gauge: normal, percentage or difference",enum:["difference","normal","percentage"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},$t="object",Lt={$id:Ct,$schema:Dt,properties:kt,type:$t},zt="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json",Ft="http://json-schema.org/draft-07/schema#",Ot={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
116
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
137
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualValues:{default:{},description:"Manual values configuration of the Circular Gauge",properties:{conditional:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"},target:{type:"number"}},type:"object"},mode:{default:"normal",description:"Mode of the Circular Gauge: normal, percentage or difference",enum:["difference","normal","percentage"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Lt="object",$t={$id:kt,$schema:Ct,properties:Dt,type:Lt},Ft="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json",zt="http://json-schema.org/draft-07/schema#",Ot={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
138
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
139
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
117
140
  'none' - turned off,
118
141
  'past' - absolute value comparison to the past,
119
142
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
120
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
143
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
144
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
121
145
  'none' - turned off,
122
146
  'past' - absolute value comparison to the past,
123
147
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the circular gauge. This is a required slot.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
124
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
148
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
149
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
125
150
  'none' - turned off,
126
151
  'past' - absolute value comparison to the past,
127
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},TargetSlot:{description:"Target slot definition of the circular gauge.",properties:{content:{description:"Target slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"target",description:"Name of the slot",type:"string"}},type:"object"}},Yt="Data definition of the Circular gauge",Mt={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/TargetSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/MeasureSlot"}]},Rt=2,At="array",Pt={$id:zt,$schema:Ft,definitions:Ot,description:Yt,items:Mt,maxItems:Rt,type:At},Bt="http://json-schema.org/draft-07/schema#",Ht="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart.schema.json",Nt="object",qt="Column Chart item",Et={type:{description:"Type of the item",type:"string",const:"column-chart"},options:{description:"Options of the Column Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json"},slots:{description:"Data definition of the Column Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json"}},Wt={$schema:Bt,$id:Ht,type:Nt,description:qt,properties:Et},Zt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json",Xt="http://json-schema.org/draft-07/schema#",Jt={axis:{description:"Axes options",properties:{x:{properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"Y-axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},bars:{description:"Bars options",properties:{label:{default:"none",description:"Bar label options",enum:["none","percentage","percentageCategory","percentageLegend","percentageMax"],type:"string"},roundedCorners:{description:"Rounded corners of the bars",examples:[0,5,10],type:"number"}},type:"object"},categories:{description:"Category options",properties:{colored:{default:!1,description:"Column color by category. Only has effect if there is no legend, but there is an x-axis.",type:"boolean"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Column chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
128
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
129
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
152
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},TargetSlot:{description:"Target slot definition of the circular gauge.",properties:{content:{description:"Target slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"target",description:"Name of the slot",type:"string"}},type:"object"}},Yt="Data definition of the Circular gauge",Nt={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/TargetSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-slots.schema.json#/definitions/MeasureSlot"}]},Mt=2,Rt="array",At={$id:Ft,$schema:zt,definitions:Ot,description:Yt,items:Nt,maxItems:Mt,type:Rt},Bt="http://json-schema.org/draft-07/schema#",Pt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart.schema.json",Ht="object",qt="Column Chart item",Et={type:{description:"Type of the item",type:"string",const:"column-chart"},options:{description:"Options of the Column Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json"},slots:{description:"Data definition of the Column Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json"}},Wt={$schema:Bt,$id:Pt,type:Ht,description:qt,properties:Et},Zt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-options.schema.json",Xt="http://json-schema.org/draft-07/schema#",Jt={axis:{description:"Axes options",properties:{x:{properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},scale:{default:"linear",description:"Y-axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Base of the logarithmic scale. Only applies if the scale is logarithmic.",examples:[2,10],type:"number"},ticksDensity:{description:"Density of the ticks on the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},bars:{description:"Bars options",properties:{label:{default:"none",description:"Bar label options",enum:["none","percentage","percentageCategory","percentageLegend","percentageMax"],type:"string"},roundedCorners:{description:"Rounded corners of the bars",examples:[0,5,10],type:"number"}},type:"object"},categories:{description:"Category options",properties:{colored:{default:!1,description:"Column color by category. Only has effect if there is no legend, but there is an x-axis.",type:"boolean"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Column chart: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},modeOption:{default:!1,description:"Show or hide the mode option",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
153
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
154
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
155
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
130
156
  'none' - turned off,
131
157
  'past' - absolute value comparison to the past,
132
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualAxesRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},mode:{default:"grouped",description:"Mode of the Column chart: grouped, stacked or 100% stacked",enum:["100","grouped","stacked"],type:"string"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ut="object",Gt={$id:Zt,$schema:Xt,properties:Jt,type:Ut},Vt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json",Kt="http://json-schema.org/draft-07/schema#",Qt={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
133
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
158
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualAxesRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},mode:{default:"grouped",description:"Mode of the Column chart: grouped, stacked or 100% stacked",enum:["100","grouped","stacked"],type:"string"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ut="object",Gt={$id:Zt,$schema:Xt,properties:Jt,type:Ut},Vt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json",Kt="http://json-schema.org/draft-07/schema#",Qt={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
159
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
160
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
134
161
  'none' - turned off,
135
162
  'past' - absolute value comparison to the past,
136
163
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
137
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
164
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
165
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
138
166
  'none' - turned off,
139
167
  'past' - absolute value comparison to the past,
140
168
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},LegendSlot:{description:"Legend slot definition of the column chart. This defines the legend of the column chart. If 2 or more measures are used, the legend cannot be used.",properties:{content:{description:"Legend slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"legend",description:"Name of the slot",type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the column chart. A column chart can contain any number of measure. If it contains 2 or more measures the column chart cannot use a legend column.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
141
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
169
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
170
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
142
171
  'none' - turned off,
143
172
  'past' - absolute value comparison to the past,
144
173
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Category slot definition of the column chart. This defines the columns on the X-axis.",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},eo="Data definition of the Column chart",to={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart-slots.schema.json#/definitions/LegendSlot"}]},oo=3,io="array",ro={$id:Vt,$schema:Kt,definitions:Qt,description:eo,items:to,maxItems:oo,type:io},no="http://json-schema.org/draft-07/schema#",so="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart.schema.json",ao="object",po="Combination Chart item",lo={type:{description:"Type of the item",type:"string",const:"combination-chart"},options:{description:"Options of the Combination Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-options.schema.json"},slots:{description:"Data definition of the Combination Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json"}},co={$schema:no,$id:so,type:ao,description:po,properties:lo},mo="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-options.schema.json",yo="http://json-schema.org/draft-07/schema#",uo={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"},ticksStyle:{description:"Axis ticks style",enum:["auto","userDefined"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axes range",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},scale:{default:"linear",description:"Y-axis scale",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Logarithmic base of the Y-axis. Only applies if the scale is logarithmic.",type:"number"},ticksDensity:{description:"Ticks density of the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Combination chart measure axis type",enum:["default","manual","variable"],type:"string"}},type:"object"},y2:{description:"Y2-axis options",properties:{active:{default:!1,description:"Show or hide the Y2-axis",type:"boolean"},color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axis range options. Minimum and maximum value of the axis range.",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureIndexes:{default:[1],description:"Measure indexes",examples:[[0,1]],items:{type:"number"},type:"array"},scale:{default:"linear",description:"Axis scale type",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Logarithmic base of the Y2-axis",type:"number"},ticksDensity:{description:"Axis ticks density",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Axis ticks mode",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Combination chart measure axis type",enum:["default","manual","variable"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"},y2:{description:"Y2-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"Title display option",properties:{legend:{default:!1,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},filter:{default:{},description:"Filter",properties:{ignore:{description:"Item IDs to ignore. If not provided, all other items will be filtered when something is changed on the current one.",items:{format:"uuid",type:"string"},type:"array"},objects:{description:"Objects",items:{format:"uuid",type:"string"},type:"array"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",type:"number"},style:{description:"Axis grid lines style",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",type:"number"},style:{description:"Axis grid lines style",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y2:{description:"Y2-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y2-axis grid",type:"number"},style:{description:"Axis grid lines style",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
145
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
146
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
174
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
175
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
176
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
147
177
  'none' - turned off,
148
178
  'past' - absolute value comparison to the past,
149
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},measures:{default:[[]],items:{description:"Combination chart measure",properties:{color:{description:"Color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},column:{description:"Column id",format:"uuid",type:"string"},formula:{description:"Formula",type:"string"},id:{description:"Measure id",format:"uuid",type:"string"},index:{description:"Index",type:"number"},interpolation:{description:"Interpolation type",enum:["linear","monotone","step-after","step-before"],type:"string"},label:{description:"Label in a key-value format. The key is the language code and the value is the content in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},name:{description:"Name in a key-value format. The key is the language code and the value is the content in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},radius:{description:"Radius",type:"number"},roundedCorners:{description:"Rounded corners",type:"number"},set:{description:"Set id",format:"uuid",type:"string"},strokeWidth:{description:"Stroke width",type:"number"},type:{description:"Type",enum:["area","bar","line","scatter"],type:"string"}},type:"object"},type:"array"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},ranking:{default:{active:!1,direction:"top",number:10},description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},bo="object",go={$id:mo,$schema:yo,properties:uo,type:bo},ho="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json",fo="http://json-schema.org/draft-07/schema#",vo={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
150
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
179
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},measures:{default:[[]],items:{description:"Combination chart measure",properties:{color:{description:"Color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},column:{description:"Column id",format:"uuid",type:"string"},formula:{description:"Formula",type:"string"},id:{description:"Measure id",format:"uuid",type:"string"},index:{description:"Index",type:"number"},interpolation:{description:"Interpolation type",enum:["linear","monotone","step-after","step-before"],type:"string"},label:{description:"Label in a key-value format. The key is the language code and the value is the content in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},name:{description:"Name in a key-value format. The key is the language code and the value is the content in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},radius:{description:"Radius",type:"number"},roundedCorners:{description:"Rounded corners",type:"number"},set:{description:"Set id",format:"uuid",type:"string"},strokeWidth:{description:"Stroke width",type:"number"},type:{description:"Type",enum:["area","bar","line","scatter"],type:"string"}},type:"object"},type:"array"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},ranking:{default:{active:!1,direction:"top",number:10},description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},bo="object",go={$id:mo,$schema:yo,properties:uo,type:bo},ho="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json",fo="http://json-schema.org/draft-07/schema#",vo={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
180
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
181
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
151
182
  'none' - turned off,
152
183
  'past' - absolute value comparison to the past,
153
184
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
154
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
185
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
186
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
155
187
  'none' - turned off,
156
188
  'past' - absolute value comparison to the past,
157
189
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Combination chart",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
158
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
190
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
191
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
159
192
  'none' - turned off,
160
193
  'past' - absolute value comparison to the past,
161
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Evolution slot definition of the Combination chart",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},jo="Data definition of the Combination chart",xo={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/XAxisSlot"}]},wo=2,So="array",To={$id:ho,$schema:fo,definitions:vo,description:jo,items:xo,maxItems:wo,type:So},_o="http://json-schema.org/draft-07/schema#",Io="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter.schema.json",Co="object",Do="Date Filter item",ko={type:{description:"Type of the item",type:"string",const:"date-filter"},options:{description:"Options of the Date Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json"},slots:{description:"Data definition of the Date Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json"}},$o={$schema:_o,$id:Io,type:Co,description:Do,properties:ko},Lo="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json",zo="http://json-schema.org/draft-07/schema#",Fo={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},dateRange:{description:"Date filter range options",properties:{alwaysShowCalendars:{default:!0,description:"Toggle if calendar should always be shown or only if custom range is selected",type:"boolean"},autoApply:{default:!0,description:`Hide the apply and cancel buttons, and automatically apply a new date range as soon as two dates are clicked.
194
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Evolution slot definition of the Combination chart",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},jo="Data definition of the Combination chart",xo={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json#/definitions/XAxisSlot"}]},wo=2,So="array",To={$id:ho,$schema:fo,definitions:vo,description:jo,items:xo,maxItems:wo,type:So},_o="http://json-schema.org/draft-07/schema#",Io="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter.schema.json",ko="object",Co="Date Filter item",Do={type:{description:"Type of the item",type:"string",const:"date-filter"},options:{description:"Options of the Date Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json"},slots:{description:"Data definition of the Date Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json"}},Lo={$schema:_o,$id:Io,type:ko,description:Co,properties:Do},$o="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json",Fo="http://json-schema.org/draft-07/schema#",zo={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},dateRange:{description:"Date filter range options",properties:{alwaysShowCalendars:{default:!0,description:"Toggle if calendar should always be shown or only if custom range is selected",type:"boolean"},autoApply:{default:!0,description:`Hide the apply and cancel buttons, and automatically apply a new date range as soon as two dates are clicked.
162
195
  Defaults to false if used column is of type datetime, otherwise true.`,type:"boolean"},displayRanges:{description:"Toggle to display ranges",type:"boolean"},firstDay:{default:1,description:"First day of the week (0 - Sunday, 1 - Monday, 2 - Tuesday, etc…)",type:"number"},markUnavailable:{description:"Toggle to mark unavailable dates",type:"boolean"},ranges:{description:"Date filter ranges",items:{properties:{customRange:{description:"Custom range configuration object (if key passed is 'custom')",properties:{from:{description:"Custom range start date. It should be valid date (in any format)",type:"string"},to:{description:"Custom range end date. It should be valid date (in any format)",type:"string"}},type:"object"},displayLabel:{description:"Display label. The key is the language code and the value is the content in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},key:{description:"Predefined list of keys to select from",examples:["last","last_now","last_completed","ago","next_now","next_full","custom"],type:"string"},quantity:{description:"Quantity of the range",examples:[0,7,30,60,90],type:"number"},rangeId:{description:"Unique identifier for the range",type:"string"},unit:{description:"Unit of the range (e.g. 1 for year, 2 for quarter, 3 for month, 4 for week, 5 for day, 6 for hour, 7 for minute, 8 for second)",type:"number"}},type:"object"},type:"array"},showCustomRangeLabel:{default:!0,description:"Toggle custom range label",type:"boolean"},showDropdowns:{default:!0,description:"Toggle dropdown of month and year selection",type:"boolean"},showISOWeekNumbers:{default:!1,description:"Toggle week numbers",type:"boolean"}},type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
163
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
164
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
196
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
197
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
198
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
165
199
  'none' - turned off,
166
200
  'past' - absolute value comparison to the past,
167
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},padding:{description:"Padding of the date filter",properties:{left:{default:16,description:"Padding left",type:"number"},right:{default:16,description:"Padding right",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Oo="object",Yo={$id:Lo,$schema:zo,properties:Fo,type:Oo},Mo="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json",Ro="http://json-schema.org/draft-07/schema#",Ao={DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
168
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
201
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},padding:{description:"Padding of the date filter",properties:{left:{default:16,description:"Padding left",type:"number"},right:{default:16,description:"Padding right",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Oo="object",Yo={$id:$o,$schema:Fo,properties:zo,type:Oo},No="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json",Mo="http://json-schema.org/draft-07/schema#",Ro={DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
202
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
203
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
169
204
  'none' - turned off,
170
205
  'past' - absolute value comparison to the past,
171
206
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},TimeSlot:{description:`Time slot definition of the date filter. It can accept only datetime type column, and it's a required slot.
172
- This can include multiple time slots to filter on multiple columns at once.`,properties:{content:{description:"Time slot definition",items:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json#/definitions/DateTimeSlotContent"},type:"array"},name:{const:"time",description:"Name of the slot",type:"string"}},type:"object"}},Po="Data definition of the Date filter",Bo={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json#/definitions/TimeSlot"},Ho=1,No="array",qo={$id:Mo,$schema:Ro,definitions:Ao,description:Po,items:Bo,maxItems:Ho,type:No},Eo="http://json-schema.org/draft-07/schema#",Wo="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart.schema.json",Zo="object",Xo="Donut Chart item",Jo={type:{description:"Type of the item",type:"string",const:"donut-chart"},options:{description:"Options of the Donut Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json"},slots:{description:"Data definition of the Donut Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json"}},Uo={$schema:Eo,$id:Wo,type:Zo,description:Xo,properties:Jo},Go="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json",Vo="http://json-schema.org/draft-07/schema#",Ko={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bar chart: title, legend and mode option",properties:{categoryLabels:{description:"Show or hide the category labels in the chart",type:"boolean"},legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},values:{description:"Show or hide the values in the chart: none, percentage or absolute",enum:["absolute","none","percentage"],type:"string"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
173
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
174
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
207
+ This can include multiple time slots to filter on multiple columns at once.`,properties:{content:{description:"Time slot definition",items:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json#/definitions/DateTimeSlotContent"},type:"array"},name:{const:"time",description:"Name of the slot",type:"string"}},type:"object"}},Ao="Data definition of the Date filter",Bo={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json#/definitions/TimeSlot"},Po=1,Ho="array",qo={$id:No,$schema:Mo,definitions:Ro,description:Ao,items:Bo,maxItems:Po,type:Ho},Eo="http://json-schema.org/draft-07/schema#",Wo="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart.schema.json",Zo="object",Xo="Donut Chart item",Jo={type:{description:"Type of the item",type:"string",const:"donut-chart"},options:{description:"Options of the Donut Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json"},slots:{description:"Data definition of the Donut Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json"}},Uo={$schema:Eo,$id:Wo,type:Zo,description:Xo,properties:Jo},Go="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json",Vo="http://json-schema.org/draft-07/schema#",Ko={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Bar chart: title, legend and mode option",properties:{categoryLabels:{description:"Show or hide the category labels in the chart",type:"boolean"},legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},values:{description:"Show or hide the values in the chart: none, percentage or absolute",enum:["absolute","none","percentage"],type:"string"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
208
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
209
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
210
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
175
211
  'none' - turned off,
176
212
  'past' - absolute value comparison to the past,
177
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},mode:{default:"donut",description:"Mode of the Donut chart: donut or pie",enum:["donut","pie"],type:"string"},slices:{description:"Slice configuration options",properties:{half:{default:!1,description:"Toggle half slices",type:"boolean"},maxNumber:{default:12,description:"Set maximum number of slices",type:"number"},minPercentage:{default:3,description:"Set minimum percentage of slices",type:"number"},padding:{description:"Set padding between the slices",type:"number"},roundedCorners:{description:"Set rounded corners of the slices",type:"number"},width:{default:".35",description:"Set width of the slices",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Qo="object",ei={$id:Go,$schema:Vo,properties:Ko,type:Qo},ti="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json",oi="http://json-schema.org/draft-07/schema#",ii={CategorySlot:{description:"Category slot definition of the donut chart.",properties:{content:{description:"Y-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
178
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
213
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},mode:{default:"donut",description:"Mode of the Donut chart: donut or pie",enum:["donut","pie"],type:"string"},slices:{description:"Slice configuration options",properties:{half:{default:!1,description:"Toggle half slices",type:"boolean"},maxNumber:{default:12,description:"Set maximum number of slices",type:"number"},minPercentage:{default:3,description:"Set minimum percentage of slices",type:"number"},padding:{description:"Set padding between the slices",type:"number"},roundedCorners:{description:"Set rounded corners of the slices",type:"number"},width:{default:".35",description:"Set width of the slices",type:"number"}},type:"object"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Qo="object",ei={$id:Go,$schema:Vo,properties:Ko,type:Qo},ti="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json",oi="http://json-schema.org/draft-07/schema#",ii={CategorySlot:{description:"Category slot definition of the donut chart.",properties:{content:{description:"Y-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
214
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
215
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
179
216
  'none' - turned off,
180
217
  'past' - absolute value comparison to the past,
181
218
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
182
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
219
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
220
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
183
221
  'none' - turned off,
184
222
  'past' - absolute value comparison to the past,
185
223
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the donut chart. A donut chart can contain any number of measures.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
186
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
224
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
225
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
187
226
  'none' - turned off,
188
227
  'past' - absolute value comparison to the past,
189
228
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},ri="Data definition of the Donut chart",ni={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json#/definitions/CategorySlot"}]},si=2,ai="array",pi={$id:ti,$schema:oi,definitions:ii,description:ri,items:ni,maxItems:si,type:ai},li="http://json-schema.org/draft-07/schema#",ci="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter.schema.json",di="object",mi="Dropdown Filter item",yi={type:{description:"Type of the item",type:"string",const:"dropdown-filter"},options:{description:"Options of the Dropdown Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json"},slots:{description:"Data definition of the Dropdown Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json"}},ui={$schema:li,$id:ci,type:di,description:mi,properties:yi},bi="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json",gi="http://json-schema.org/draft-07/schema#",hi={applyFiltersWithButton:{default:!1,description:"Whether to auto apply filters or add the apply button",type:"boolean"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Dropdown filter: title, label, placeholder, search and clear",properties:{clear:{default:!0,description:"Show or hide the clear button",type:"boolean"},label:{default:!1,description:"Show or hide the label of the Dropdown filter",type:"boolean"},placeholder:{default:!0,description:"Show or hide the placeholder",type:"boolean"},search:{default:!0,description:"Show or hide the search bar",type:"boolean"},title:{default:!1,description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{measureDimensionPicker:{description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
190
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
191
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
229
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
230
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
231
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
192
232
  'none' - turned off,
193
233
  'past' - absolute value comparison to the past,
194
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},multiselect:{default:!1,description:"Toggle multiple option selection for the Dropdown filter",type:"boolean"},padding:{description:"Update left or right padding of the Dropdown filter",properties:{left:{default:16,description:"Update left padding of the Dropdown filter",type:"number"},right:{default:16,description:"Update right padding of the Dropdown filter",type:"number"}},type:"object"},search:{description:"Search options for the Dropdown filter",properties:{caseSensitive:{default:!1,description:"Toggle case sensitivity for the search",type:"boolean"}},type:"object"},showCheckboxes:{default:!1,description:"Show or hide checkboxes for the Dropdown filter",type:"boolean"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},fi="object",vi={$id:bi,$schema:gi,properties:hi,type:fi},ji="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json",xi="http://json-schema.org/draft-07/schema#",wi={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
195
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
234
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},multiselect:{default:!1,description:"Toggle multiple option selection for the Dropdown filter",type:"boolean"},padding:{description:"Update left or right padding of the Dropdown filter",properties:{left:{default:16,description:"Update left padding of the Dropdown filter",type:"number"},right:{default:16,description:"Update right padding of the Dropdown filter",type:"number"}},type:"object"},search:{description:"Search options for the Dropdown filter",properties:{caseSensitive:{default:!1,description:"Toggle case sensitivity for the search",type:"boolean"}},type:"object"},showCheckboxes:{default:!1,description:"Show or hide checkboxes for the Dropdown filter",type:"boolean"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},fi="object",vi={$id:bi,$schema:gi,properties:hi,type:fi},ji="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json",xi="http://json-schema.org/draft-07/schema#",wi={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
235
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
236
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
196
237
  'none' - turned off,
197
238
  'past' - absolute value comparison to the past,
198
239
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},DimensionSlot:{description:"Dimension slot definition of the Dropdown filter. Dimension slot is a required slot and it can have multiple columns.",properties:{content:{description:"Dimension slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"dimension",description:"Name of the slot",type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
199
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
240
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
241
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
200
242
  'none' - turned off,
201
243
  'past' - absolute value comparison to the past,
202
244
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
203
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
245
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
246
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
204
247
  'none' - turned off,
205
248
  'past' - absolute value comparison to the past,
206
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},Si="Data definition of the Dropdown filter",Ti={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"},_i=1,Ii="array",Ci={$id:ji,$schema:xi,definitions:wi,description:Si,items:Ti,maxItems:_i,type:Ii},Di="http://json-schema.org/draft-07/schema#",ki="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number.schema.json",$i="object",Li="Evolution Number item",zi={type:{description:"Type of the item",type:"string",const:"evolution-number"},options:{description:"Options of the Evolution Number item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json"},slots:{description:"Data definition of the Evolution Number item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json"}},Fi={$schema:Di,$id:ki,type:$i,description:Li,properties:zi},Oi="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json",Yi="http://json-schema.org/draft-07/schema#",Mi={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},evolutionColor:{default:"normal",description:"Evolution color",enum:["inverse","normal"],type:"string"},evolutionGraphDisplay:{default:"background",description:"Evolution graph display",enum:["background","belownumber","fixedbottom","none"],type:"string"},evolutionGraphInterpolation:{const:"linear",default:"linear",description:"Evolution graph interpolation",type:"string"},evolutionGraphOpacity:{default:35,description:"Evolution graph opacity",examples:[30,50],type:"number"},evolutionGraphType:{default:"area",description:"Evolution graph type",enum:["area","line"],type:"string"},horizontalAlignment:{default:"center",description:"Horizontal alignment",enum:["center","left","right"],type:"string"},imageAsBackground:{default:!1,description:"Image as background",type:"boolean"},imageBackgroundFillMode:{description:"Image background fill mode",enum:["fill","fit","stretch"],examples:["fit","fill","stretch"],type:"string"},imageBackgroundOpacity:{default:50,description:"Image background opacity",examples:[30,50],type:"number"},imageColor:{default:"#5A5A5A",description:"Image color",type:"string"},imageContent:{default:"",description:`Image content. It's used when "imageMode" is "emoji" or "icon".`,examples:["1f601","1f602","fa-dollar","fa-bicycle"],type:"string"},imageMode:{default:"icon",description:"Image mode",enum:["emoji","icon","image"],type:"string"},imagePosition:{default:"left",description:"Image position",enum:["inlineTitleLeft","inlineTitleRight","left","right"],type:"string"},imageRounded:{default:!1,description:"Image rounded",type:"boolean"},imageSize:{default:40,description:"Image size",type:"number"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
207
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
208
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
249
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},Si="Data definition of the Dropdown filter",Ti={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"},_i=1,Ii="array",ki={$id:ji,$schema:xi,definitions:wi,description:Si,items:Ti,maxItems:_i,type:Ii},Ci="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={type:{description:"Type of the item",type:"string",const:"evolution-number"},options:{description:"Options of the Evolution Number item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json"},slots:{description:"Data definition of the Evolution Number item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json"}},zi={$schema:Ci,$id:Di,type:Li,description:$i,properties:Fi},Oi="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json",Yi="http://json-schema.org/draft-07/schema#",Ni={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},evolutionColor:{default:"normal",description:"Evolution color",enum:["inverse","normal"],type:"string"},evolutionGraphDisplay:{default:"background",description:"Evolution graph display",enum:["background","belownumber","fixedbottom","none"],type:"string"},evolutionGraphInterpolation:{const:"linear",default:"linear",description:"Evolution graph interpolation",type:"string"},evolutionGraphOpacity:{default:35,description:"Evolution graph opacity",examples:[30,50],type:"number"},evolutionGraphType:{default:"area",description:"Evolution graph type",enum:["area","line"],type:"string"},horizontalAlignment:{default:"center",description:"Horizontal alignment",enum:["center","left","right"],type:"string"},imageAsBackground:{default:!1,description:"Image as background",type:"boolean"},imageBackgroundFillMode:{description:"Image background fill mode",enum:["fill","fit","stretch"],examples:["fit","fill","stretch"],type:"string"},imageBackgroundOpacity:{default:50,description:"Image background opacity",examples:[30,50],type:"number"},imageColor:{default:"#5A5A5A",description:"Image color",type:"string"},imageContent:{default:"",description:`Image content. It's used when "imageMode" is "emoji" or "icon".`,examples:["1f601","1f602","fa-dollar","fa-bicycle"],type:"string"},imageMode:{default:"icon",description:"Image mode",enum:["emoji","icon","image"],type:"string"},imagePosition:{default:"left",description:"Image position",enum:["inlineTitleLeft","inlineTitleRight","left","right"],type:"string"},imageRounded:{default:!1,description:"Image rounded",type:"boolean"},imageSize:{default:40,description:"Image size",type:"number"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
250
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
251
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
252
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
209
253
  'none' - turned off,
210
254
  'past' - absolute value comparison to the past,
211
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},link:{description:"Link configuration",properties:{tooltip:{default:{},description:'Tooltip in format {locale: "tooltip"}, for example, {en: "tooltip"}',examples:[{en:"Tooltip"}],type:"object"}},type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},numberFontSize:{description:"Number font size",examples:[58,14,20],type:"number"},showImage:{default:!1,description:"Show image",type:"boolean"},showSubtitle:{default:!1,description:"Show subtitle",type:"boolean"},showTitle:{default:!0,description:`Show title, a value for the title is taken from a slot content's "label" option`,type:"boolean"},subtitle:{default:{},description:'Tooltip in format {locale: "subtitle"}, for example, {en: "Subtitle"}',examples:[{en:"Subtitle"}],type:"object"},subtitleFontSize:{description:"Subtitle font size",examples:[10,14,20],type:"number"},subtitlePosition:{default:"bottom",description:"Subtitle position",enum:["bottom","top"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},titleFontSize:{description:"Title font size",examples:[10,20,30],type:"number"},titlePosition:{default:"top",description:"Title position",enum:["bottom","top"],type:"string"},uploadedImage:{default:"",description:`Uploaded image name (usually uuid), it's used when constructing a URL of an image, for example, "https://.../thumbnail/asset/512px/\${uploadedImage}.png". It's used when "imageMode" is "image".`,examples:["8e15ed25-bd9d-4f84-b839-8b219b97b0a2"],type:"string"},verticalAlignment:{default:"middle",description:"Vertical alignment",enum:["bottom","middle","top"],type:"string"}},Ri="object",Ai={$id:Oi,$schema:Yi,properties:Mi,type:Ri},Pi="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json",Bi="http://json-schema.org/draft-07/schema#",Hi={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
212
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
255
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},link:{description:"Link configuration",properties:{tooltip:{default:{},description:'Tooltip in format {locale: "tooltip"}, for example, {en: "tooltip"}',examples:[{en:"Tooltip"}],type:"object"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},numberFontSize:{description:"Number font size",examples:[58,14,20],type:"number"},showImage:{default:!1,description:"Show image",type:"boolean"},showSubtitle:{default:!1,description:"Show subtitle",type:"boolean"},showTitle:{default:!0,description:`Show title, a value for the title is taken from a slot content's "label" option`,type:"boolean"},subtitle:{default:{},description:'Tooltip in format {locale: "subtitle"}, for example, {en: "Subtitle"}',examples:[{en:"Subtitle"}],type:"object"},subtitleFontSize:{description:"Subtitle font size",examples:[10,14,20],type:"number"},subtitlePosition:{default:"bottom",description:"Subtitle position",enum:["bottom","top"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},titleFontSize:{description:"Title font size",examples:[10,20,30],type:"number"},titlePosition:{default:"top",description:"Title position",enum:["bottom","top"],type:"string"},uploadedImage:{default:"",description:`Uploaded image name (usually uuid), it's used when constructing a URL of an image, for example, "https://.../thumbnail/asset/512px/\${uploadedImage}.png". It's used when "imageMode" is "image".`,examples:["8e15ed25-bd9d-4f84-b839-8b219b97b0a2"],type:"string"},verticalAlignment:{default:"middle",description:"Vertical alignment",enum:["bottom","middle","top"],type:"string"}},Mi="object",Ri={$id:Oi,$schema:Yi,properties:Ni,type:Mi},Ai="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json",Bi="http://json-schema.org/draft-07/schema#",Pi={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
256
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
257
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
213
258
  'none' - turned off,
214
259
  'past' - absolute value comparison to the past,
215
260
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},EvolutionSlot:{description:"Evolution slot definition of the Evolution number",properties:{content:{description:"Evolution slot definition",items:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"},maxItems:1,type:"array"},name:{const:"evolution",description:"Name of the slot",type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
216
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
261
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
262
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
217
263
  'none' - turned off,
218
264
  'past' - absolute value comparison to the past,
219
265
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Evolution number",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
220
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
266
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
267
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
221
268
  'none' - turned off,
222
269
  'past' - absolute value comparison to the past,
223
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},Ni="Data definition of the Evolution number",qi={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/EvolutionSlot"}]},Ei=2,Wi="array",Zi={$id:Pi,$schema:Bi,definitions:Hi,description:Ni,items:qi,maxItems:Ei,type:Wi},Xi="http://json-schema.org/draft-07/schema#",Ji="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart.schema.json",Ui="object",Gi="Funnel Chart item",Vi={type:{description:"Type of the item",type:"string",const:"funnel-chart"},options:{description:"Options of the Funnel Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json"},slots:{description:"Data definition of the Funnel Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json"}},Ki={$schema:Xi,$id:Ji,type:Ui,description:Gi,properties:Vi},Qi="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json",er="http://json-schema.org/draft-07/schema#",tr={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Funnel chart",properties:{categoryLabels:{default:!0,description:"Show or hide the category labels",type:"boolean"},legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},values:{default:!1,description:"Show or hide the values",type:"boolean"}},type:"object"},funnel:{description:"Configure the funnel",properties:{absValue:{default:!0,description:"Toggle absolute value",type:"boolean"},perc:{default:"hide",description:"Toggle percentage",enum:["hide","ofMax","ofTot"],type:"string"},rectangle:{default:!1,description:"Toggle rectangle",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
224
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
225
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
270
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},Hi="Data definition of the Evolution number",qi={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json#/definitions/EvolutionSlot"}]},Ei=2,Wi="array",Zi={$id:Ai,$schema:Bi,definitions:Pi,description:Hi,items:qi,maxItems:Ei,type:Wi},Xi="http://json-schema.org/draft-07/schema#",Ji="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart.schema.json",Ui="object",Gi="Funnel Chart item",Vi={type:{description:"Type of the item",type:"string",const:"funnel-chart"},options:{description:"Options of the Funnel Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json"},slots:{description:"Data definition of the Funnel Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json"}},Ki={$schema:Xi,$id:Ji,type:Ui,description:Gi,properties:Vi},Qi="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-options.schema.json",er="http://json-schema.org/draft-07/schema#",tr={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Funnel chart",properties:{categoryLabels:{default:!0,description:"Show or hide the category labels",type:"boolean"},legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"},values:{default:!1,description:"Show or hide the values",type:"boolean"}},type:"object"},funnel:{description:"Configure the funnel",properties:{absValue:{default:!0,description:"Toggle absolute value",type:"boolean"},perc:{default:"hide",description:"Toggle percentage",enum:["hide","ofMax","ofTot"],type:"string"},rectangle:{default:!1,description:"Toggle rectangle",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},drilldown:{description:"Drilldown interactivity option",properties:{category:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},close:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},color:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},column:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},columns:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},coordinates:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},destination:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},dimension:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},evolution:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},geo:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},high:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},identifier:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},image:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},legend:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},levels:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},low:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},measure:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},name:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},open:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},order:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},route:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},row:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},size:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},slidermetric:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},source:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},target:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},time:{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"x-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"},"y-axis":{items:{properties:{active:{type:"boolean"},drillPath:{type:"number"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},values:{items:{anyOf:[{properties:{active:{type:"boolean"},levels:{items:{type:"number"},type:"array"},order:{type:"number"},type:{const:"level",type:"string"}},type:"object"},{properties:{active:{description:"Is active",type:"boolean"},drilldownColumn:{type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},order:{description:"Order",type:"number"},type:{const:"other",description:"Type of drilldown",type:"string"}},type:"object"}]},type:"array"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
271
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
272
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
273
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
226
274
  'none' - turned off,
227
275
  'past' - absolute value comparison to the past,
228
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},mode:{enum:["dynamicHeight","dynamicWidth","regular"],type:"string"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},or="object",ir={$id:Qi,$schema:er,properties:tr,type:or},rr="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json",nr="http://json-schema.org/draft-07/schema#",sr={CategorySlot:{description:"Category slot definition of the funnel chart.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
229
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
276
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},mode:{enum:["dynamicHeight","dynamicWidth","regular"],type:"string"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},or="object",ir={$id:Qi,$schema:er,properties:tr,type:or},rr="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json",nr="http://json-schema.org/draft-07/schema#",sr={CategorySlot:{description:"Category slot definition of the funnel chart.",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
277
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
278
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
230
279
  'none' - turned off,
231
280
  'past' - absolute value comparison to the past,
232
281
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
233
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
282
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
283
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
234
284
  'none' - turned off,
235
285
  'past' - absolute value comparison to the past,
236
286
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Funnel chart. This slot doesn't accept datetime type columns",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
237
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
287
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
288
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
238
289
  'none' - turned off,
239
290
  'past' - absolute value comparison to the past,
240
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},ar="Data definition of the Funnel chart",pr={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/CategorySlot"}]},lr=2,cr="array",dr={$id:rr,$schema:nr,definitions:sr,description:ar,items:pr,maxItems:lr,type:cr},mr="http://json-schema.org/draft-07/schema#",yr="https://developer.luzmo.com/assets/json-schemas/0.1.89/image.schema.json",ur="object",br="Image item",gr={type:{description:"Type of the item",type:"string",const:"image"},options:{description:"Options of the Image item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json"}},hr={$schema:mr,$id:yr,type:ur,description:br,properties:gr},fr="https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json",vr="http://json-schema.org/draft-07/schema#",jr={alignment:{description:"Horizontal and vertical alignment of the image",properties:{horizontal:{default:"center",description:"Horizontal alignment of the image",enum:["center","left","right"],type:"string"},vertical:{default:"middle",description:"Vertical alignment of the image",enum:["bottom","middle","top"],type:"string"}},type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},image:{description:"An id of the uploaded image",format:"uuid",type:"string"},imageLinkedTo:{description:"An id of the Image item on the dashboard",format:"uuid",type:"string"},link:{description:"Creates an image link if set",properties:{target:{default:"_self",description:"Target of the link: _parent, _blank, _self",enum:["_blank","_parent","_self"],type:"string"},tooltip:{description:"Tooltip of the image. The key is the language code and the value is the tooltip in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},url:{description:"URL linked to the image. The key is the language code and the value is the URL in that language.",examples:[{de:"https://www.example-de.com",en:"https://www.example-en.com"}],type:"object"}},type:"object"},mode:{default:"fill",description:"Image mode: noResize, fit, fitHorizontal, fitVertical, fill, stretch",enum:["fill","fit","fitHorizontal","fitVertical","noResize","stretch"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},url:{default:"/assets/images/dashboard/imageobject0.jpeg",description:"Image URL",type:"string"}},xr="object",wr={$id:fr,$schema:vr,properties:jr,type:xr},Sr="http://json-schema.org/draft-07/schema#",Tr="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart.schema.json",_r="object",Ir="Line Chart item",Cr={type:{description:"Type of the item",type:"string",const:"line-chart"},options:{description:"Options of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json"},slots:{description:"Data definition of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json"}},Dr={$schema:Sr,$id:Tr,type:_r,description:Ir,properties:Cr},kr="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json",$r="http://json-schema.org/draft-07/schema#",Lr={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"},ticksStyle:{description:"Ticks style of the X-axis",enum:["auto","userDefined"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axes range of the Y-axis",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},scale:{default:"linear",description:"Scale type of the Y-axis",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Scale log base of the Y-axis",examples:[2,10],type:"number"},ticksDensity:{description:"Ticks density of the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Measure axis type of the Y-axis",enum:["default","manual","variable"],type:"string"}},type:"object"},y2:{description:"Y-axis options",properties:{active:{default:!1,description:"Is Y2-axis is active",type:"boolean"},color:{description:"Y2-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axes range of the Y2-axis",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureIndexes:{default:[[1]],description:"Indexes of the measures that are displayed on the Y2-axis",items:{type:"number"},type:"array"},scale:{default:"linear",description:"Scale type of the Y2-axis",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Scale log base of the Y2-axis",examples:[2,10],type:"number"},ticksDensity:{description:"Ticks density of the Y2-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y2-axis",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Measure axis type of the Y2-axis",enum:["default","manual","variable"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"},y2:{description:"Y2-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y2-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Line chart: title, legend",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y2:{description:"Y2-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y2-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y2-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
241
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
242
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
291
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},ar="Data definition of the Funnel chart",pr={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart-slots.schema.json#/definitions/CategorySlot"}]},lr=2,cr="array",dr={$id:rr,$schema:nr,definitions:sr,description:ar,items:pr,maxItems:lr,type:cr},mr="http://json-schema.org/draft-07/schema#",yr="https://developer.luzmo.com/assets/json-schemas/0.1.89/image.schema.json",ur="object",br="Image item",gr={type:{description:"Type of the item",type:"string",const:"image"},options:{description:"Options of the Image item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json"}},hr={$schema:mr,$id:yr,type:ur,description:br,properties:gr},fr="https://developer.luzmo.com/assets/json-schemas/0.1.89/image-options.schema.json",vr="http://json-schema.org/draft-07/schema#",jr={alignment:{description:"Horizontal and vertical alignment of the image",properties:{horizontal:{default:"center",description:"Horizontal alignment of the image",enum:["center","left","right"],type:"string"},vertical:{default:"middle",description:"Vertical alignment of the image",enum:["bottom","middle","top"],type:"string"}},type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},image:{description:"An id of the uploaded image",format:"uuid",type:"string"},imageLinkedTo:{description:"An id of the Image item on the dashboard",format:"uuid",type:"string"},link:{description:"Creates an image link if set",properties:{target:{default:"_self",description:"Target of the link: _parent, _blank, _self",enum:["_blank","_parent","_self"],type:"string"},tooltip:{description:"Tooltip of the image. The key is the language code and the value is the tooltip in that language.",examples:[{de:"Hallo Welt",en:"Hello World"}],type:"object"},url:{description:"URL linked to the image. The key is the language code and the value is the URL in that language.",examples:[{de:"https://www.example-de.com",en:"https://www.example-en.com"}],type:"object"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},mode:{default:"fill",description:"Image mode: noResize, fit, fitHorizontal, fitVertical, fill, stretch",enum:["fill","fit","fitHorizontal","fitVertical","noResize","stretch"],type:"string"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},url:{default:"/assets/images/dashboard/imageobject0.jpeg",description:"Image URL",type:"string"}},xr="object",wr={$id:fr,$schema:vr,properties:jr,type:xr},Sr="http://json-schema.org/draft-07/schema#",Tr="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart.schema.json",_r="object",Ir="Line Chart item",kr={type:{description:"Type of the item",type:"string",const:"line-chart"},options:{description:"Options of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-options.schema.json"},slots:{description:"Data definition of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json"}},Cr={$schema:Sr,$id:Tr,type:_r,description:Ir,properties:kr},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={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis",enum:["gridlines","hide","ticks"],type:"string"},ticksStyle:{description:"Ticks style of the X-axis",enum:["auto","userDefined"],type:"string"}},type:"object"},y:{description:"Y-axis options",properties:{color:{description:"Y-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axes range of the Y-axis",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},scale:{default:"linear",description:"Scale type of the Y-axis",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Scale log base of the Y-axis",examples:[2,10],type:"number"},ticksDensity:{description:"Ticks density of the Y-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y-axis",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Measure axis type of the Y-axis",enum:["default","manual","variable"],type:"string"}},type:"object"},y2:{description:"Y-axis options",properties:{active:{default:!1,description:"Is Y2-axis is active",type:"boolean"},color:{description:"Y2-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},manualAxesRange:{description:"Manual axes range of the Y2-axis",items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},measureIndexes:{default:[[1]],description:"Indexes of the measures that are displayed on the Y2-axis",items:{type:"number"},type:"array"},scale:{default:"linear",description:"Scale type of the Y2-axis",enum:["linear","logarithmic"],type:"string"},scaleLogBase:{description:"Scale log base of the Y2-axis",examples:[2,10],type:"number"},ticksDensity:{description:"Ticks density of the Y2-axis",enum:["compact","normal","sparse"],type:"string"},ticksMode:{default:"ticks",description:"Ticks mode of the Y2-axis",enum:["gridlines","hide","ticks"],type:"string"},type:{default:"default",description:"Measure axis type of the Y2-axis",enum:["default","manual","variable"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"},y2:{description:"Y2-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y2-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Line chart: title, legend",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y2:{description:"Y2-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y2-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y2-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y2-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},guidelines:{description:"Guidelines options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
292
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
293
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
294
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
243
295
  'none' - turned off,
244
296
  'past' - absolute value comparison to the past,
245
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},interpolation:{default:"linear",description:"Interpolation options",enum:["linear","monotone","step-after","step-before"],type:"string"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},lines:{description:"Lines options",properties:{gradient:{default:!0,description:"Gradient of the lines",type:"boolean"},index:{description:"Index of the line",type:"number"},strokeWidth:{default:2,description:"Stroke width of the lines",type:"number"}},type:"object"},markers:{description:"Markers options",properties:{enabled:{default:!1,description:"Show or hide the markers",type:"boolean"},size:{default:4,description:"Size of the markers",type:"number"}},type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},zr="object",Fr={$id:kr,$schema:$r,properties:Lr,type:zr},Or="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json",Yr="http://json-schema.org/draft-07/schema#",Mr={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
246
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
297
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},interpolation:{default:"linear",description:"Interpolation options",enum:["linear","monotone","step-after","step-before"],type:"string"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},lines:{description:"Lines options",properties:{gradient:{default:!0,description:"Gradient of the lines",type:"boolean"},index:{description:"Index of the line",type:"number"},strokeWidth:{default:2,description:"Stroke width of the lines",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},markers:{description:"Markers options",properties:{enabled:{default:!1,description:"Show or hide the markers",type:"boolean"},size:{default:4,description:"Size of the markers",type:"number"}},type:"object"},missingValue:{description:"Missing value configuration",properties:{type:{default:"no",description:"Type of the missing value",enum:["break","manual","no"],type:"string"},value:{description:"Value of the missing value",type:"number"}},type:"object"},nullBreak:{default:!1,description:"Null break options",type:"boolean"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Fr="object",zr={$id:Dr,$schema:Lr,properties:$r,type:Fr},Or="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json",Yr="http://json-schema.org/draft-07/schema#",Nr={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
298
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
299
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
247
300
  'none' - turned off,
248
301
  'past' - absolute value comparison to the past,
249
302
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
250
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
303
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
304
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
251
305
  'none' - turned off,
252
306
  'past' - absolute value comparison to the past,
253
307
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},LegendSlot:{description:"Legend slot definition of the Line chart",properties:{content:{description:"Legend slot definition, it can contain categorical data",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"legend",description:"Name of the slot",type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Line chart",properties:{content:{description:"Measure slot definition, it can contain numeric data",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
254
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
308
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
309
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
255
310
  'none' - turned off,
256
311
  'past' - absolute value comparison to the past,
257
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Category slot definition of the Line chart",properties:{content:{description:"X-axis slot definition, it can contain mixed data (numeric, categorical)",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},Rr="Data definition of the Line chart",Ar={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/LegendSlot"}]},Pr=3,Br="array",Hr={$id:Or,$schema:Yr,definitions:Mr,description:Rr,items:Ar,maxItems:Pr,type:Br},Nr="http://json-schema.org/draft-07/schema#",qr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table.schema.json",Er="object",Wr="Pivot Table item",Zr={type:{description:"Type of the item",type:"string",const:"pivot-table"},options:{description:"Options of the Pivot Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json"},slots:{description:"Data definition of the Pivot Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json"}},Xr={$schema:Nr,$id:qr,type:Er,description:Wr,properties:Zr},Jr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json",Ur="http://json-schema.org/draft-07/schema#",Gr={colWidths:{type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},columnHeaders:{description:"Column headers of the pivot table",properties:{align:{default:"left",description:"Alignment of the column header",enum:["center","left","right"],type:"string"}},type:"object"},columns:{default:[[]],description:"Columns configuration",type:"object"},columnsExpandState:{additionalProperties:{const:!0,type:"boolean"},description:`Stores expand state for each slot axis item (column or row)
312
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},XAxisSlot:{description:"Category slot definition of the Line chart",properties:{content:{description:"X-axis slot definition, it can contain mixed data (numeric, categorical)",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},Mr="Data definition of the Line chart",Rr={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json#/definitions/LegendSlot"}]},Ar=3,Br="array",Pr={$id:Or,$schema:Yr,definitions:Nr,description:Mr,items:Rr,maxItems:Ar,type:Br},Hr="http://json-schema.org/draft-07/schema#",qr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table.schema.json",Er="object",Wr="Pivot Table item",Zr={type:{description:"Type of the item",type:"string",const:"pivot-table"},options:{description:"Options of the Pivot Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json"},slots:{description:"Data definition of the Pivot Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json"}},Xr={$schema:Hr,$id:qr,type:Er,description:Wr,properties:Zr},Jr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-options.schema.json",Ur="http://json-schema.org/draft-07/schema#",Gr={colWidths:{type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},columnHeaders:{description:"Column headers of the pivot table",properties:{align:{default:"left",description:"Alignment of the column header",enum:["center","left","right"],type:"string"}},type:"object"},columns:{default:[[]],description:"Columns configuration",type:"object"},columnsExpandState:{additionalProperties:{const:!0,type:"boolean"},description:`Stores expand state for each slot axis item (column or row)
258
313
  axisDataItem key -> isExpanded`,type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},expandStyle:{enum:["columns","indent"],type:"string"},headers:{description:"Style and alignment of the table headers",properties:{align:{const:"left",description:"Alignment of the headers",type:"string"},background:{description:"Background color of the header",type:"string"},color:{description:"Text color of the headers",type:"string"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","xlsx-raw","csv-raw","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","xlsx-raw","csv-raw","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
259
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
260
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
314
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
315
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
316
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
261
317
  'none' - turned off,
262
318
  'past' - absolute value comparison to the past,
263
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!1,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},isExpandable:{description:"Toggle expandability of the table",type:"boolean"},limit:{allOf:[{properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},{properties:{columns:{type:"number"},rows:{type:"number"}},type:"object"}],description:"Show number of observations"},measureLabelsAxis:{default:"columns",description:"Measure axis labels",enum:["columns","rows"],type:"string"},measureSorts:{properties:{columns:{properties:{axisDataItemKey:{type:"string"},axisSlotColumnId:{type:"string"},direction:{enum:["","asc","desc"],type:"string"},measureSlotColumnId:{type:"string"}},type:"object"},rows:{properties:{axisDataItemKey:{type:"string"},axisSlotColumnId:{type:"string"},direction:{enum:["","asc","desc"],type:"string"},measureSlotColumnId:{type:"string"}},type:"object"}},type:"object"},rowHeaders:{description:"Row header of the pivot table",properties:{align:{default:"left",description:"Alignment of the row header",enum:["center","left","right"],type:"string"},sticky:{default:!0,description:"Toggle sticky row header",type:"boolean"}},type:"object"},rowSortsMap:{description:'Sort object, where a key is a string, and a value is a "asc" or "desc".',type:"object"},rowsExpandState:{additionalProperties:{const:!0,type:"boolean"},description:`Stores expand state for each slot axis item (column or row)
264
- axisDataItem key -> isExpanded`,type:"object"},tableBorders:{description:"Table border",properties:{color:{default:"#a5a5a5",description:"Color of the border",type:"string"},type:{default:"none",description:"Type of the border",enum:["all","columns","none","rows"],type:"string"},width:{default:1,description:"Width of the border",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},valueCells:{description:"Alignment and style of the values",properties:{align:{default:"left",description:"Alignment of the value in the cell",enum:["center","left","right"],type:"string"},alternate:{default:!0,description:"Toggle alternate coloring of the cell",type:"boolean"}},type:"object"},wrapText:{default:!1,description:"Wrap text in the cells",type:"boolean"}},Vr="object",Kr={$id:Jr,$schema:Ur,properties:Gr,type:Vr},Qr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json",en="http://json-schema.org/draft-07/schema#",tn={ColumnSlot:{description:"Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.",properties:{content:{description:"Column slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"column",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
265
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
319
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!1,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},isExpandable:{description:"Toggle expandability of the table",type:"boolean"},limit:{allOf:[{properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},{properties:{columns:{type:"number"},rows:{type:"number"}},type:"object"}],description:"Show number of observations"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},measureLabelsAxis:{default:"columns",description:"Measure axis labels",enum:["columns","rows"],type:"string"},measureSorts:{properties:{columns:{properties:{axisDataItemKey:{type:"string"},axisSlotColumnId:{type:"string"},direction:{enum:["","asc","desc"],type:"string"},measureSlotColumnId:{type:"string"}},type:"object"},rows:{properties:{axisDataItemKey:{type:"string"},axisSlotColumnId:{type:"string"},direction:{enum:["","asc","desc"],type:"string"},measureSlotColumnId:{type:"string"}},type:"object"}},type:"object"},rowHeaders:{description:"Row header of the pivot table",properties:{align:{default:"left",description:"Alignment of the row header",enum:["center","left","right"],type:"string"},sticky:{default:!0,description:"Toggle sticky row header",type:"boolean"}},type:"object"},rowSortsMap:{description:'Sort object, where a key is a string, and a value is a "asc" or "desc".',type:"object"},rowsExpandState:{additionalProperties:{const:!0,type:"boolean"},description:`Stores expand state for each slot axis item (column or row)
320
+ axisDataItem key -> isExpanded`,type:"object"},tableBorders:{description:"Table border",properties:{color:{default:"#a5a5a5",description:"Color of the border",type:"string"},type:{default:"none",description:"Type of the border",enum:["all","columns","none","rows"],type:"string"},width:{default:1,description:"Width of the border",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},valueCells:{description:"Alignment and style of the values",properties:{align:{default:"left",description:"Alignment of the value in the cell",enum:["center","left","right"],type:"string"},alternate:{default:!0,description:"Toggle alternate coloring of the cell",type:"boolean"}},type:"object"},wrapText:{default:!1,description:"Wrap text in the cells",type:"boolean"}},Vr="object",Kr={$id:Jr,$schema:Ur,properties:Gr,type:Vr},Qr="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json",en="http://json-schema.org/draft-07/schema#",tn={ColumnSlot:{description:"Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.",properties:{content:{description:"Column slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"column",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
321
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
322
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
266
323
  'none' - turned off,
267
324
  'past' - absolute value comparison to the past,
268
325
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
269
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
326
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
327
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
270
328
  'none' - turned off,
271
329
  'past' - absolute value comparison to the past,
272
330
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot of the pivot table. A pivot table can contain any number of measure.",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
273
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
331
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
332
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
274
333
  'none' - turned off,
275
334
  'past' - absolute value comparison to the past,
276
335
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},RowSlot:{description:"Row slot of the pivot table. This defines the rows of the pivot table. A pivot table can contain any number of rows.",properties:{content:{description:"Row slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"row",description:"Name of the slot",type:"string"}},type:"object"}},on="Data definition of the Pivot table",rn={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/RowSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/ColumnSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table-slots.schema.json#/definitions/MeasureSlot"}]},nn=3,sn="array",an={$id:Qr,$schema:en,definitions:tn,description:on,items:rn,maxItems:nn,type:sn},pn="http://json-schema.org/draft-07/schema#",ln="https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table.schema.json",cn="object",dn="Regular Table item",mn={type:{description:"Type of the item",type:"string",const:"regular-table"},options:{description:"Options of the Regular Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-options.schema.json"},slots:{description:"Data definition of the Regular Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json"}},yn={$schema:pn,$id:ln,type:cn,description:dn,properties:mn},un="https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-options.schema.json",bn="http://json-schema.org/draft-07/schema#",gn={alternateRowColor:{default:!0,description:"Toggle alternate row coloring",type:"boolean"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},columns:{description:"Columns configuration",items:{properties:{barColor:{type:"string"},colorEmpty:{type:"boolean"},conditional:{items:{description:"Values range options that are configured manually",properties:{color:{description:"Color of the range",type:"string"},isNegativeInfinityRange:{description:"Is negative infinity range",type:"boolean"},val:{description:"Value of the range",type:"number"}},type:"object"},type:"array"},emptyValueColor:{type:"string"},hideDataValues:{type:"boolean"},manualTarget:{type:"number"},mode:{enum:["bar","categoryBackground","categoryBadge","conditionalBackground","conditionalBadge","conditionalText","normal"],type:"string"},slotContentId:{type:"string"},sortIndex:{type:"number"},sortOrder:{enum:["","asc","desc"],type:"string"},target:{enum:["manual","max","total"],type:"string"},textAlign:{enum:["center","left","right"],type:"string"},value:{enum:["none","normal","percentage"],type:"string"},width:{description:'Width in a key-value object format. Where key is a screen mode "desktop", "tablet", "mobile", "largeScreen" or "fixed", value - number.',type:"object"},wrapText:{type:"boolean"}},type:"object"},type:"array"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},headers:{default:{},description:"Table headers options with background and color of the header",properties:{background:{type:"string"},color:{type:"string"}},type:"object"},hiddenColumns:{items:{properties:{slotContentId:{type:"string"}},type:"object"},type:"array"},infiniteScrolling:{default:!0,description:"Toggle infinite scrolling",type:"boolean"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
277
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
278
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
336
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
337
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
338
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
279
339
  'none' - turned off,
280
340
  'past' - absolute value comparison to the past,
281
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},rowHeight:{default:28,description:"Row height",type:"number"},sort:{items:{allOf:[{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},{properties:{level:{type:"number"}},type:"object"}]},type:"array"},sortingMode:{default:"multiColumn",description:"Sorting mode",enum:["multiColumn","singleColumn"],type:"string"},tableBorders:{default:{color:"#ededed",type:"none",width:1},description:"Border around the table",properties:{color:{type:"string"},type:{enum:["all","columns","none","rows"],type:"string"},width:{type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},hn="object",fn={$id:un,$schema:bn,properties:gn,type:hn},vn="https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json",jn="http://json-schema.org/draft-07/schema#",xn={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},ColumnsSlot:{description:"Columns slot of the regular table. This defines the columns of the regular table. A regular table can contain any number of columns.",properties:{content:{description:"Columns slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"columns",description:"Name of the slot",type:"string"}},type:"object"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
282
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
341
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},rowHeight:{default:28,description:"Row height",type:"number"},sort:{items:{allOf:[{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},{properties:{level:{type:"number"}},type:"object"}]},type:"array"},sortingMode:{default:"multiColumn",description:"Sorting mode",enum:["multiColumn","singleColumn"],type:"string"},tableBorders:{default:{color:"#ededed",type:"none",width:1},description:"Border around the table",properties:{color:{type:"string"},type:{enum:["all","columns","none","rows"],type:"string"},width:{type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},hn="object",fn={$id:un,$schema:bn,properties:gn,type:hn},vn="https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json",jn="http://json-schema.org/draft-07/schema#",xn={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},ColumnsSlot:{description:"Columns slot of the regular table. This defines the columns of the regular table. A regular table can contain any number of columns.",properties:{content:{description:"Columns slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"columns",description:"Name of the slot",type:"string"}},type:"object"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
342
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
343
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
283
344
  'none' - turned off,
284
345
  'past' - absolute value comparison to the past,
285
346
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
286
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
347
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
348
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
287
349
  'none' - turned off,
288
350
  'past' - absolute value comparison to the past,
289
351
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
290
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
352
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
353
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
291
354
  'none' - turned off,
292
355
  'past' - absolute value comparison to the past,
293
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},wn="Data definition of the Regular table",Sn={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/ColumnsSlot"},Tn=1,_n="array",In={$id:vn,$schema:jn,definitions:xn,description:wn,items:Sn,maxItems:Tn,type:_n},Cn="http://json-schema.org/draft-07/schema#",Dn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram.schema.json",kn="object",$n="Sankey Diagram item",Ln={type:{description:"Type of the item",type:"string",const:"sankey-diagram"},options:{description:"Options of the Sankey Diagram item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json"},slots:{description:"Data definition of the Sankey Diagram item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json"}},zn={$schema:Cn,$id:Dn,type:kn,description:$n,properties:Ln},Fn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json",On="http://json-schema.org/draft-07/schema#",Yn={alignment:{default:"justify",description:"Set alignment",enum:["center","justify","left","right"],type:"string"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},colors:{description:"Set colors",properties:{byCategory:{description:"Toggle colors by category",type:"boolean"},linkColor:{default:"gradient",description:"Set link color: gradient, none, target or source",enum:["gradient","none","source","target"],type:"string"},nodeColor:{description:"Set node colors",examples:["#000000"],type:"string"}},type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
294
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
295
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
356
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},wn="Data definition of the Regular table",Sn={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/regular-table-slots.schema.json#/definitions/ColumnsSlot"},Tn=1,_n="array",In={$id:vn,$schema:jn,definitions:xn,description:wn,items:Sn,maxItems:Tn,type:_n},kn="http://json-schema.org/draft-07/schema#",Cn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram.schema.json",Dn="object",Ln="Sankey Diagram item",$n={type:{description:"Type of the item",type:"string",const:"sankey-diagram"},options:{description:"Options of the Sankey Diagram item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json"},slots:{description:"Data definition of the Sankey Diagram item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json"}},Fn={$schema:kn,$id:Cn,type:Dn,description:Ln,properties:$n},zn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json",On="http://json-schema.org/draft-07/schema#",Yn={alignment:{default:"justify",description:"Set alignment",enum:["center","justify","left","right"],type:"string"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},colors:{description:"Set colors",properties:{byCategory:{description:"Toggle colors by category",type:"boolean"},linkColor:{default:"gradient",description:"Set link color: gradient, none, target or source",enum:["gradient","none","source","target"],type:"string"},nodeColor:{description:"Set node colors",examples:["#000000"],type:"string"}},type:"object"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
357
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
358
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
359
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
296
360
  'none' - turned off,
297
361
  'past' - absolute value comparison to the past,
298
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},labels:{description:"Configure labels",properties:{display:{default:!0,description:"Show or hide the labels",type:"boolean"},value:{default:!1,description:"Show or hide the values",type:"boolean"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},links:{description:"Configure links",properties:{value:{default:!1,description:"Show or hide the values of the link",type:"boolean"}},type:"object"},nodeSorting:{description:"Set node sorting, ascending or descending (asc, dsc)",enum:["asc","desc"],type:"string"},nodes:{description:"Configure Sankey diagram nodes",properties:{colored:{default:!0,description:"Show or hide the colored node",type:"boolean"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},type:{description:"Sankey diagram type: alluvial or sankey",enum:["alluvial","sankey"],type:"string"}},Mn="object",Rn={$id:Fn,$schema:On,properties:Yn,type:Mn},An="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json",Pn="http://json-schema.org/draft-07/schema#",Bn={CategorySlot:{description:"Category slot definition of the Sankey diagram",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
299
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
362
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},select:{default:!0,description:"Filter on select interactivity option",type:"boolean"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},labels:{description:"Configure labels",properties:{display:{default:!0,description:"Show or hide the labels",type:"boolean"},value:{default:!1,description:"Show or hide the values",type:"boolean"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},links:{description:"Configure links",properties:{value:{default:!1,description:"Show or hide the values of the link",type:"boolean"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},nodeSorting:{description:"Set node sorting, ascending or descending (asc, dsc)",enum:["asc","desc"],type:"string"},nodes:{description:"Configure Sankey diagram nodes",properties:{colored:{default:!0,description:"Show or hide the colored node",type:"boolean"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"},type:{description:"Sankey diagram type: alluvial or sankey",enum:["alluvial","sankey"],type:"string"}},Nn="object",Mn={$id:zn,$schema:On,properties:Yn,type:Nn},Rn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json",An="http://json-schema.org/draft-07/schema#",Bn={CategorySlot:{description:"Category slot definition of the Sankey diagram",properties:{content:{description:"Category slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"category",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
363
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
364
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
300
365
  'none' - turned off,
301
366
  'past' - absolute value comparison to the past,
302
367
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},DestinationSlot:{description:"Destination slot definition of the Sankey diagram",properties:{content:{description:"Destination slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"destination",description:"Name of the slot",type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
303
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
368
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
369
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
304
370
  'none' - turned off,
305
371
  'past' - absolute value comparison to the past,
306
372
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Sankey diagram",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
307
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
373
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
374
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
308
375
  'none' - turned off,
309
376
  'past' - absolute value comparison to the past,
310
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SourceSlot:{description:"Source slot definition of the Sankey diagram. This is a required slot.",properties:{content:{description:"Source slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"source",description:"Name of the slot",type:"string"}},type:"object"}},Hn="Data definition of the Sankey diagram",Nn={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/SourceSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DestinationSlot"}]},qn=4,En="array",Wn={$id:An,$schema:Pn,definitions:Bn,description:Hn,items:Nn,maxItems:qn,type:En},Zn="http://json-schema.org/draft-07/schema#",Xn="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot.schema.json",Jn="object",Un="Scatter Plot item",Gn={type:{description:"Type of the item",type:"string",const:"scatter-plot"},options:{description:"Options of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json"},slots:{description:"Data definition of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json"}},Vn={$schema:Zn,$id:Xn,type:Jn,description:Un,properties:Gn},Kn="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json",Qn="http://json-schema.org/draft-07/schema#",es={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},guidelines:{description:"Guideline options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},guidelines:{description:"Guideline options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Scatter plot: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
311
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
312
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
377
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SourceSlot:{description:"Source slot definition of the Sankey diagram. This is a required slot.",properties:{content:{description:"Source slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"source",description:"Name of the slot",type:"string"}},type:"object"}},Pn="Data definition of the Sankey diagram",Hn={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/SourceSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json#/definitions/DestinationSlot"}]},qn=4,En="array",Wn={$id:Rn,$schema:An,definitions:Bn,description:Pn,items:Hn,maxItems:qn,type:En},Zn="http://json-schema.org/draft-07/schema#",Xn="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot.schema.json",Jn="object",Un="Scatter Plot item",Gn={type:{description:"Type of the item",type:"string",const:"scatter-plot"},options:{description:"Options of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json"},slots:{description:"Data definition of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json"}},Vn={$schema:Zn,$id:Xn,type:Jn,description:Un,properties:Gn},Kn="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-options.schema.json",Qn="http://json-schema.org/draft-07/schema#",es={axis:{description:"Axes options",properties:{x:{description:"X-axis options",properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},guidelines:{description:"Guideline options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"},y:{properties:{color:{description:"X-axis color",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},guidelines:{description:"Guideline options",properties:{lines:{description:"An array of guidelines",items:{properties:{color:{description:"Color of the guideline",examples:["#000000","black","rgba(0,0,0,1)"],type:"string"},type:{default:"value",description:"Value type of the guideline",enum:["average","average close","average open","median","value"],type:"string"},value:{description:"Value of the guideline",examples:[-10,0,.1,10,100],type:"number"}},type:"object"},type:"array"},style:{description:"Style of the guidelines",properties:{type:{description:"Dashed/dotted definition of the guideline",enum:["0","1,2","3,3"],type:"string"},width:{description:"Width of the guideline",examples:["1px","2px","3.5px"],type:"string"}},type:"object"}},type:"object"},ticksMode:{default:"ticks",description:"Ticks mode of the X-axis: hide, ticks, or gridlines",enum:["gridlines","hide","ticks"],type:"string"}},type:"object"}},type:"object"},axislabels:{description:"Axes labels options",properties:{x:{description:"X-axis label options",properties:{enabled:{default:!1,description:"Show or hide the X-axis labels",type:"boolean"},position:{default:"center",description:"Position of the X-axis labels",enum:["center","left","right"],type:"string"}},type:"object"},y:{description:"Y-axis label options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis labels",type:"boolean"},position:{default:"middle",description:"Position of the Y-axis labels",enum:["bottom","middle","top"],type:"string"}},type:"object"}},type:"object"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"General display options of the Scatter plot: title, legend and mode option",properties:{legend:{default:!0,description:"Show or hide the legend",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},grid:{description:"Chart grid options",properties:{x:{description:"X-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the X-axis grid",type:"boolean"},opacity:{description:"Opacity of the X-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the X-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"},y:{description:"Y-axis grid options",properties:{enabled:{default:!1,description:"Show or hide the Y-axis grid",type:"boolean"},opacity:{description:"Opacity of the Y-axis grid",examples:[1,.5,.1],type:"number"},style:{description:"Style of the Y-axis grid",enum:["dashed","dotted","solid"],type:"string"}},type:"object"}},type:"object"},interactivity:{description:"Interactivity options",properties:{availableExportTypes:{default:["xlsx","csv","png"],description:"Available export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},brush:{default:!0,description:"Filter on brush interactivity option",type:"boolean"},customEvents:{default:null,description:"Custom events interactivity option",properties:{events:{items:{description:"Custom event configuration",properties:{label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},name:{description:"Custom event name",type:"string"}},type:"object"},type:"array"},extraData:{items:{properties:{aggregation:{description:"Aggregation query type",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},formulaId:{description:"Formula id",format:"uuid",type:"string"},label:{description:"Label",type:"string"},weightedColumnId:{description:"Weighted column id",format:"uuid",type:"string"},weightedDatasetId:{description:"Weighted dataset id",format:"uuid",type:"string"}},type:"object"},type:"array"}},type:"object"},customTooltip:{default:null,description:'Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}',type:"object"},exportTypes:{default:["xlsx","csv","png"],description:"Export types interactivity option",items:{description:"Export types",enum:["csv","csv-raw","png","xlsx","xlsx-raw"],type:"string"},type:"array"},measureDimensionPicker:{default:[[]],description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
378
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
379
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
380
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
313
381
  'none' - turned off,
314
382
  'past' - absolute value comparison to the past,
315
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualAxesRange:{description:"Set manual axes range",properties:{x:{description:"Manual axes range for X axis",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},y:{description:"Manual axes range for Y axis",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},ts="object",os={$id:Kn,$schema:Qn,properties:es,type:ts},is="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json",rs="http://json-schema.org/draft-07/schema#",ns={ColorSlot:{description:"Color slot definition of the scatter plot",properties:{content:{description:"Color slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"color",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
316
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
383
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},urlConfig:{default:{target:"_blank",url:null},description:"Go to URL interactivity option",properties:{target:{description:"URL target",enum:["_blank","_parent","_self"],type:"string"},url:{description:'URL in format {locale: "url"}, for example, {en: "..."}',type:"object"}},type:"object"}},type:"object"},legend:{description:"Legend options",properties:{position:{description:"Position of the legend. Only available when the legend is shown.",enum:["bottom","bottomLeft","bottomRight","left","middle","right","top","topLeft","topRight"],type:"string"},size:{description:"Size of the legend. Only available when the legend is shown.",enum:["L","M","S"],type:"string"},type:{description:"Type of the legend. Only available when the legend is shown.",enum:["bar","list"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualAxesRange:{description:"Set manual axes range",properties:{x:{description:"Manual axes range for X axis",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},y:{description:"Manual axes range for Y axis",examples:[[0,100]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},ts="object",os={$id:Kn,$schema:Qn,properties:es,type:ts},is="https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json",rs="http://json-schema.org/draft-07/schema#",ns={ColorSlot:{description:"Color slot definition of the scatter plot",properties:{content:{description:"Color slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"color",description:"Name of the slot",type:"string"}},type:"object"},ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
384
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
385
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
317
386
  'none' - turned off,
318
387
  'past' - absolute value comparison to the past,
319
388
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
320
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
389
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
390
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
321
391
  'none' - turned off,
322
392
  'past' - absolute value comparison to the past,
323
393
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},NameSlot:{description:"Name slot definition for the scatter plot",properties:{content:{description:"Name slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"name",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
324
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
394
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
395
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
325
396
  'none' - turned off,
326
397
  'past' - absolute value comparison to the past,
327
398
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SizeSlot:{description:"Size slot definition for the scatter plot",properties:{content:{description:"Size slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"size",description:"Name of the slot",type:"string"}},type:"object"},XAxisSlot:{description:"X-Axis slot definition of the Scatter plot. This is a required slot.",properties:{content:{description:"X-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"},YAxisSlot:{description:"Y axis slot definition for the scatter plot. This is a required slot.",properties:{content:{description:"y-axis slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"y-axis",description:"Name of the slot",type:"string"}},type:"object"}},ss="Data definition of the Scatter plot",as={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/NameSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/SizeSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/scatter-plot-slots.schema.json#/definitions/ColorSlot"}]},ps=5,ls="array",cs={$id:is,$schema:rs,definitions:ns,description:ss,items:as,maxItems:ps,type:ls},ds="http://json-schema.org/draft-07/schema#",ms="https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter.schema.json",ys="object",us="Slicer Filter item",bs={type:{description:"Type of the item",type:"string",const:"slicer-filter"},options:{description:"Options of the Slicer Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-options.schema.json"},slots:{description:"Data definition of the Slicer Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json"}},gs={$schema:ds,$id:ms,type:ys,description:us,properties:bs},hs="https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-options.schema.json",fs="http://json-schema.org/draft-07/schema#",vs={applyFiltersWithButton:{default:!1,description:"Filter with Apply button",type:"boolean"},color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"Display",properties:{all:{default:!0,description:"Display all",type:"boolean"},measure:{default:!0,description:"Display measure",type:"boolean"},rankbar:{default:!0,description:"Display rankbar",type:"boolean"},search:{default:!0,description:"Display search",type:"boolean"},title:{default:!1,description:"Display title",type:"boolean"}},type:"object"},horizontal:{description:"Horizontal item configuration",properties:{width:{default:175,description:"Width of a horizontal item",type:"number"}},type:"object"},interactivity:{description:"Interactivity options",properties:{measureDimensionPicker:{description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
328
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
329
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
399
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
400
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
401
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
330
402
  'none' - turned off,
331
403
  'past' - absolute value comparison to the past,
332
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},layout:{description:"Layout",properties:{alignment:{default:"vertical",description:"Layout alignment",enum:["horizontal","rank-vertical","table","vertical"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},manualMeasureRange:{default:[[]],description:"Manual measure range",items:{type:"number"},type:"array"},measure:{description:"Measure",properties:{color:{default:"#5A5A5A",description:"Measure color",type:"string"},height:{default:13,description:"Measure height",type:"number"},style:{default:!1,description:"Measure style",type:"boolean"}},type:"object"},mode:{default:"check",description:"Mode",enum:["button","check"],type:"string"},multiselect:{default:!0,description:"Multi-select",type:"boolean"},padding:{description:"Padding",properties:{bottom:{default:12,description:"Bottom padding",type:"number"},left:{default:16,description:"Left padding",type:"number"},right:{default:16,description:"Right padding",type:"number"},top:{default:12,description:"Top padding",type:"number"}},type:"object"},range:{description:"Range",properties:{type:{default:"default",description:"Range type",enum:["default","manual"],type:"string"}},type:"object"},rank:{default:!1,description:"Rank",type:"boolean"},rankbar:{description:"Rank bar",properties:{padding:{default:2,description:"Rank Bar padding",type:"number"},position:{default:"bottom",description:"Rank Bar position",enum:["background","bottom"],type:"string"},radius:{default:0,description:"Radius",type:"number"}},type:"object"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},search:{description:"Search",properties:{caseSensitive:{default:!1,description:"Case-sensitive search",type:"boolean"}},type:"object"},selectAll:{default:!1,description:"Select all",type:"boolean"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},table:{description:"Table",properties:{columns:{default:2,description:"Columns",type:"number"},rowheight:{default:24,description:"Row height",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},js="object",xs={$id:hs,$schema:fs,properties:vs,type:js},ws="https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json",Ss="http://json-schema.org/draft-07/schema#",Ts={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
333
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
404
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},layout:{description:"Layout",properties:{alignment:{default:"vertical",description:"Layout alignment",enum:["horizontal","rank-vertical","table","vertical"],type:"string"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},manualMeasureRange:{default:[[]],description:"Manual measure range",items:{type:"number"},type:"array"},measure:{description:"Measure",properties:{color:{default:"#5A5A5A",description:"Measure color",type:"string"},height:{default:13,description:"Measure height",type:"number"},style:{default:!1,description:"Measure style",type:"boolean"}},type:"object"},mode:{default:"check",description:"Mode",enum:["button","check"],type:"string"},multiselect:{default:!0,description:"Multi-select",type:"boolean"},padding:{description:"Padding",properties:{bottom:{default:12,description:"Bottom padding",type:"number"},left:{default:16,description:"Left padding",type:"number"},right:{default:16,description:"Right padding",type:"number"},top:{default:12,description:"Top padding",type:"number"}},type:"object"},range:{description:"Range",properties:{type:{default:"default",description:"Range type",enum:["default","manual"],type:"string"}},type:"object"},rank:{default:!1,description:"Rank",type:"boolean"},rankbar:{description:"Rank bar",properties:{padding:{default:2,description:"Rank Bar padding",type:"number"},position:{default:"bottom",description:"Rank Bar position",enum:["background","bottom"],type:"string"},radius:{default:0,description:"Radius",type:"number"}},type:"object"},ranking:{description:"Item query ranking",properties:{active:{description:"Item query ranking is active",type:"boolean"},direction:{description:"Item query ranking direction",enum:["bottom","top"],type:"string"},number:{description:"Item query ranking number",type:"number"}},type:"object"},search:{description:"Search",properties:{caseSensitive:{default:!1,description:"Case-sensitive search",type:"boolean"}},type:"object"},selectAll:{default:!1,description:"Select all",type:"boolean"},sort:{properties:{aggregation:{description:"Aggregation settings.",properties:{column_id:{description:"Column id.",format:"uuid",type:"string"},dataset_id:{description:"Dataset id.",format:"uuid",type:"string"},level:{description:"Level.",type:"number"},type:{description:"Aggregation function name.",enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"}},type:"object"},by:{description:"Sort by setting.",enum:["category","column","measure"],type:"string"},column:{description:"Column id.",format:"uuid",type:"string"},direction:{description:'"asc" or "desc" sort direction.',enum:["asc","desc"],type:"string"},formula:{description:"Formula id.",format:"uuid",type:"string"},id:{description:"Id.",format:"uuid",type:"string"},set:{description:"Set id.",format:"uuid",type:"string"}},type:"object"},table:{description:"Table",properties:{columns:{default:2,description:"Columns",type:"number"},rowheight:{default:24,description:"Row height",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},js="object",xs={$id:hs,$schema:fs,properties:vs,type:js},ws="https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json",Ss="http://json-schema.org/draft-07/schema#",Ts={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
405
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
406
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
334
407
  'none' - turned off,
335
408
  'past' - absolute value comparison to the past,
336
409
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},DimensionSlot:{description:"Dimension slot definition of the Slicer filter",properties:{content:{description:"Dimension slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"dimension",description:"Name of the slot",type:"string"}},type:"object"},HierarchySlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "hierarchy" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
337
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
410
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
411
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
338
412
  'none' - turned off,
339
413
  'past' - absolute value comparison to the past,
340
414
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"hierarchy",description:'"hierarchy" column type',type:"string"}},type:"object"},MeasureSlot:{description:"Measure slot definition of the Slicer filter",properties:{content:{description:"Measure slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"measure",description:"Name of the slot",type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
341
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
415
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
416
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
342
417
  'none' - turned off,
343
418
  'past' - absolute value comparison to the past,
344
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},_s="Data definition of the Slicer filter",Is={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DimensionSlot"}]},Cs=2,Ds="array",ks={$id:ws,$schema:Ss,definitions:Ts,description:_s,items:Is,maxItems:Cs,type:Ds},$s="http://json-schema.org/draft-07/schema#",Ls="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter.schema.json",zs="object",Fs="Slider Filter item",Os={type:{description:"Type of the item",type:"string",const:"slider-filter"},options:{description:"Options of the Slider Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json"},slots:{description:"Data definition of the Slider Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json"}},Ys={$schema:$s,$id:Ls,type:zs,description:Fs,properties:Os},Ms="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json",Rs="http://json-schema.org/draft-07/schema#",As={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{measureDimensionPicker:{description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
345
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
346
- Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
419
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"}},_s="Data definition of the Slicer filter",Is={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slicer-filter-slots.schema.json#/definitions/DimensionSlot"}]},ks=2,Cs="array",Ds={$id:ws,$schema:Ss,definitions:Ts,description:_s,items:Is,maxItems:ks,type:Cs},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",zs="Slider Filter item",Os={type:{description:"Type of the item",type:"string",const:"slider-filter"},options:{description:"Options of the Slider Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json"},slots:{description:"Data definition of the Slider Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json"}},Ys={$schema:Ls,$id:$s,type:Fs,description:zs,properties:Os},Ns="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json",Ms="http://json-schema.org/draft-07/schema#",Rs={color:{default:"",description:"The main color for the item, if omitted the default color from the theme will be used.",examples:["#FF5733","#33FF57","#5733FF"],type:"string"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},interactivity:{description:"Interactivity options",properties:{measureDimensionPicker:{description:"An array of measure dimension picker configurations",items:{description:"Measure dimension picker configuration",properties:{acceptFormula:{type:"boolean"},allAvailableColumns:{items:{properties:{columns:{items:{properties:{cardinality:{type:"number"},color:{type:"string"},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},hierarchyLevels:{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"},hierarchy_enabled:{type:"boolean"},highestLevel:{type:"number"},id:{type:"string"},informat:{type:"string"},isFormula:{type:"boolean"},isLabel:{type:"boolean"},joins:{items:{properties:{currency_id:{type:["null","string"]},hierarchy_enabled:{type:"boolean"},id:{type:"string"},join:{properties:{column_id:{type:"string"},created_at:{type:"string"},joins_id:{type:"string"},subtype:{type:"string"},type:{enum:["exact","lookup"],type:"string"},update_at:{type:"string"},updated_at:{type:"string"}},type:"object"},securable_id:{type:"string"}},type:"object"},type:"array"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},order:{type:"number"},securable_id:{type:"string"},source_name:{type:"string"},subtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},type:{enum:["datetime","hierarchy","numeric","spatial"],type:"string"},version:{type:"number"},width:{type:"number"}},type:"object"},type:"array"},datasetId:{format:"uuid",type:"string"},datasetName:{type:"object"},formulas:{items:{properties:{color:{type:"string"},currency:{properties:{id:{type:"string"},name:{type:"string"},symbol:{type:"string"}},type:"object"},currency_id:{type:"string"},duration_format:{enum:["long","short","time"],type:"string"},duration_levels:{items:{type:"number"},type:"array"},expression:{type:"string"},format:{type:"string"},id:{type:"string"},informat:{enum:["DD-MM-YYYY HH:mm:ss.SSS","DD-MM-YYYY HH:mm:ss.SSS ZZ","MM-DD-YYYY HH:mm:ss.SSS","MM-DD-YYYY HH:mm:ss.SSS ZZ","X","YYYY-MM-DD HH:mm:ss.SSS","YYYY-MM-DD HH:mm:ss.SSS ZZ","hierarchy","numeric","x"],type:"string"},isFormula:{type:"boolean"},level:{type:"number"},lowestLevel:{type:"number"},name:{type:"object"},securableFormula:{properties:{formula_id:{type:"string"},securable_id:{type:"string"}},type:"object"},securable_id:{type:"string"},subtype:{enum:["currency","date","datetime","duration"],type:"string"},type:{enum:["datetime","hierarchy","numeric"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"},allowMultiple:{type:"boolean"},description:{type:"string"},order:{type:"number"},slot:{type:"string"},values:{items:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnHierarchies:{anyOf:[{items:{type:"string"},type:"array"},{items:{properties:{color:{type:"string"},id:{type:"string"},level:{type:"number"},name:{type:"object"}},type:"object"},type:"array"}]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
420
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},hidden:{type:"boolean"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
421
+ Also, it can be set in the options' advanced settings of the Choropleth map.`,type:"boolean"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
422
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
347
423
  'none' - turned off,
348
424
  'past' - absolute value comparison to the past,
349
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},padding:{description:"Padding of the slider filter",properties:{left:{default:16,description:"Padding on the left side of the slider filter",type:"number"},right:{default:16,description:"Padding on the right side of the slider filter",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},Ps="object",Bs={$id:Ms,$schema:Rs,properties:As,type:Ps},Hs="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json",Ns="http://json-schema.org/draft-07/schema#",qs={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
350
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
425
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},readonly:{type:"boolean"},selected:{type:"boolean"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{description:"Column / Formula type",enum:["datetime","hierarchy","numeric","spatial"],type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},type:"array"}},type:"object"},type:"array"}},type:"object"},limit:{description:"Show number of observations",properties:{number:{default:1e5,description:"Number of observations value",type:"number"}},type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},padding:{description:"Padding of the slider filter",properties:{left:{default:16,description:"Padding on the left side of the slider filter",type:"number"},right:{default:16,description:"Padding on the right side of the slider filter",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},As="object",Bs={$id:Ns,$schema:Ms,properties:Rs,type:As},Ps="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json",Hs="http://json-schema.org/draft-07/schema#",qs={ColumnSubtype:{enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},DateTimeSlotContent:{properties:{aggregationFunc:{description:'Basic aggregation function. It can be used when a "datetime" column is used in a measure slot.',enum:["count","distinctcount"],type:"string"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},datasetId:{description:"Dataset id",format:"uuid",type:"string"},datetimeDisplayMode:{description:"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat",enum:["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],type:"string"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
426
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},level:{description:'"hierarchy" or "datetime" level',type:["number","null"]},lowestLevel:{description:'Lowest "hierarchy" or "datetime" level',type:["null","number"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
427
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
351
428
  'none' - turned off,
352
429
  'past' - absolute value comparison to the past,
353
430
  'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{description:`There's no subtype for "datetime", it can be null or omitted`,type:"null"},type:{const:"datetime",description:'"datetime" column type',type:"string"},weekDayNameFormat:{description:"Week day name format for datetime column formatting",enum:["letter","long","short"],type:"string"},weekStart:{description:"Week start day, 'sunday' or 'monday'. For datetime column formatting.",enum:["monday","sunday"],type:"string"}},type:"object"},NumericSlotContent:{properties:{aggregationFunc:{description:'Aggregation function. It can be used with a "numeric" column type, and with some limitations with "hierarchy" and "datetime" column types.',enum:["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],type:"string"},aggregationWeight:{description:'Aggregation weight. It can be used with a "numeric" column type.',properties:{columnId:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/ColumnSubtype",description:"Column subtype"},datasetId:{description:"Dataset id",format:"uuid",type:"string"}},type:"object"},bins:{description:'Bin definition. It can be used when a "numeric" column is used as a category.',properties:{enabled:{description:"Enable or disable binning",type:"boolean"},number:{description:"Defines the range of the bins",type:"number"}},type:"object"},color:{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.",type:["null","string"]},columnId:{description:"Column id",format:"uuid",type:"string"},currency:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","string"]},datasetId:{description:"Dataset id",format:"uuid",type:"string"},duration:{description:`Duration definition. It's only used when the column type is "numeric" and subtype is "duration".`,properties:{format:{description:"Duration format",enum:["long","short","time"],type:"string"},levels:{description:"Duration levels used",items:{type:"number"},type:"array"}},type:"object"},format:{description:`D3 format, it is used for "numeric" formatting (https://observablehq.com/@d3/d3-format), for "datetime" formatting (https://d3js.org/d3-time-format).
354
- It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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.",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison",properties:{level:{description:"0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond",type:"number"},periodToDate:{description:"period to date comparison",type:"boolean"},quantity:{description:"number of periods",type:"number"},type:{description:`Period over period comparison type:
431
+ It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{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",type:"string"},grandTotals:{description:"Enable or disable grand totals, they're only used in Pivot table",properties:{enabled:{type:"boolean"}},type:"object"},label:{description:'Label in format {locale: "label"}, for example, {en: "Total Revenue"}',type:"object"},periodOverPeriod:{description:"Settings to configure period over period comparison. It can be used only in a measure slot.",properties:{level:{description:`Period of time level
432
+ 0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond`,type:"number"},periodToDate:{description:"Turn ON/OFF period to date comparison",type:"boolean"},quantity:{description:"Number of periods",type:"number"},type:{description:`Period over period comparison type:
355
433
  'none' - turned off,
356
434
  'past' - absolute value comparison to the past,
357
- 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SliderMetricSlot:{description:"Slider metric slot definition of the slider filter.",properties:{content:{description:"Slider metric slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"slidermetric",description:"Name of the slot",type:"string"}},type:"object"}},Es="Data definition of the Slider filter",Ws={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/SliderMetricSlot"},Zs=1,Xs="array",Js={$id:Hs,$schema:Ns,definitions:qs,description:Es,items:Ws,maxItems:Zs,type:Xs},Us="http://json-schema.org/draft-07/schema#",Gs="https://developer.luzmo.com/assets/json-schemas/0.1.89/text.schema.json",Vs="object",Ks="Text item",Qs={type:{description:"Type of the item",type:"string",const:"text"},options:{description:"Options of the Text item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json"}},ea={$schema:Us,$id:Gs,type:Vs,description:Ks,properties:Qs},ta="https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json",oa="http://json-schema.org/draft-07/schema#",ia={display:{description:"Display options of the text item",properties:{hideScrollbar:{default:!1,description:"Hides the scrollbar of the text item",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},html:{description:"Content of the text item. The key is the language code and the value is the content in that language.",examples:[{de:"<h1>Hallo Welt</h1>",en:"<h1>Hello World</h1>"}],type:"object"},padding:{description:"Padding of the text item",properties:{bottom:{default:30,description:"Bottom padding of the text item in pixels",type:"number"},left:{default:24,description:"Left padding of the text item in pixels",type:"number"},right:{default:24,description:"Right padding of the text item in pixels",type:"number"},top:{default:30,description:"Top padding of the text item in pixels",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},ra="object",na={$id:ta,$schema:oa,properties:ia,type:ra},sa={"viz-item-type.schema.json":s,"options.schema.json":c,"slots.schema.json":u,"area-chart.schema.json":j,"area-chart-options.schema.json":_,"area-chart-slots.schema.json":F,"bar-chart.schema.json":P,"bar-chart-options.schema.json":E,"bar-chart-slots.schema.json":K,"box-plot.schema.json":re,"box-plot-options.schema.json":le,"box-plot-slots.schema.json":he,"bubble-chart.schema.json":Se,"bubble-chart-options.schema.json":De,"bubble-chart-slots.schema.json":Me,"bullet-chart.schema.json":Ne,"bullet-chart-options.schema.json":Xe,"bullet-chart-slots.schema.json":tt,"choropleth-map.schema.json":at,"choropleth-map-options.schema.json":mt,"choropleth-map-slots.schema.json":jt,"circular-gauge.schema.json":It,"circular-gauge-options.schema.json":Lt,"circular-gauge-slots.schema.json":Pt,"column-chart.schema.json":Wt,"column-chart-options.schema.json":Gt,"column-chart-slots.schema.json":ro,"combination-chart.schema.json":co,"combination-chart-options.schema.json":go,"combination-chart-slots.schema.json":To,"date-filter.schema.json":$o,"date-filter-options.schema.json":Yo,"date-filter-slots.schema.json":qo,"donut-chart.schema.json":Uo,"donut-chart-options.schema.json":ei,"donut-chart-slots.schema.json":pi,"dropdown-filter.schema.json":ui,"dropdown-filter-options.schema.json":vi,"dropdown-filter-slots.schema.json":Ci,"evolution-number.schema.json":Fi,"evolution-number-options.schema.json":Ai,"evolution-number-slots.schema.json":Zi,"funnel-chart.schema.json":Ki,"funnel-chart-options.schema.json":ir,"funnel-chart-slots.schema.json":dr,"image.schema.json":hr,"image-options.schema.json":wr,"line-chart.schema.json":Dr,"line-chart-options.schema.json":Fr,"line-chart-slots.schema.json":Hr,"pivot-table.schema.json":Xr,"pivot-table-options.schema.json":Kr,"pivot-table-slots.schema.json":an,"regular-table.schema.json":yn,"regular-table-options.schema.json":fn,"regular-table-slots.schema.json":In,"sankey-diagram.schema.json":zn,"sankey-diagram-options.schema.json":Rn,"sankey-diagram-slots.schema.json":Wn,"scatter-plot.schema.json":Vn,"scatter-plot-options.schema.json":os,"scatter-plot-slots.schema.json":cs,"slicer-filter.schema.json":gs,"slicer-filter-options.schema.json":xs,"slicer-filter-slots.schema.json":ks,"slider-filter.schema.json":Ys,"slider-filter-options.schema.json":Bs,"slider-filter-slots.schema.json":Js,"text.schema.json":ea,"text-options.schema.json":na};exports.ColumnChartModes=t;exports.JSON_SCHEMAS=sa;exports.RegularTableSortingMode=o;
435
+ 'change' - percentage change comparison to the past`,enum:["change","none","past"],type:"string"}},type:"object"},subtype:{anyOf:[{enum:["coordinates","currency","date","datetime","duration","hierarchy_element_expression","topography"],type:"string"},{type:"null"}],description:"Column subtype"},type:{const:"numeric",description:'"numeric" column / formula type',type:"string"}},type:"object"},SliderMetricSlot:{description:"Slider metric slot definition of the slider filter.",properties:{content:{description:"Slider metric slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"slidermetric",description:"Name of the slot",type:"string"}},type:"object"}},Es="Data definition of the Slider filter",Ws={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json#/definitions/SliderMetricSlot"},Zs=1,Xs="array",Js={$id:Ps,$schema:Hs,definitions:qs,description:Es,items:Ws,maxItems:Zs,type:Xs},Us="http://json-schema.org/draft-07/schema#",Gs="https://developer.luzmo.com/assets/json-schemas/0.1.89/text.schema.json",Vs="object",Ks="Text item",Qs={type:{description:"Type of the item",type:"string",const:"text"},options:{description:"Options of the Text item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json"}},ea={$schema:Us,$id:Gs,type:Vs,description:Ks,properties:Qs},ta="https://developer.luzmo.com/assets/json-schemas/0.1.89/text-options.schema.json",oa="http://json-schema.org/draft-07/schema#",ia={display:{description:"Display options of the text item",properties:{hideScrollbar:{default:!1,description:"Hides the scrollbar of the text item",type:"boolean"},title:{default:!0,description:"Show or hide the title",type:"boolean"}},type:"object"},html:{description:"Content of the text item. The key is the language code and the value is the content in that language.",examples:[{de:"<h1>Hallo Welt</h1>",en:"<h1>Hello World</h1>"}],type:"object"},loader:{description:"The loader configuration",properties:{background:{default:"#f9f9f9",description:"Background color of the chart loader element",type:"string"},fontColor:{default:"#5a5a5a",description:"Font color of the text of the chart loaders",type:"string"},locale:{default:"en",description:'Locale to be used if "msg" is set',examples:["en","fr"],type:"string"},mode:{default:"light",description:"Light or dark loader",type:"string"},msg:{description:"Loading message",examples:["Loading dashboard..."],type:"string"},showBranded:{default:!1,description:'Shows the branded "powered by" information',type:"boolean"},spinnerBackground:{default:"rgba(169, 169, 169, 0.14)",description:"Background color of the spinner",type:"string"},spinnerColor:{default:"rgba(255, 165, 0, 0.7)",description:"Spinner color of the loader",type:"string"}},type:"object"},locale:{default:"en",description:"Locale to be used",examples:["en","fr"],type:"string"},padding:{description:"Padding of the text item",properties:{bottom:{default:30,description:"Bottom padding of the text item in pixels",type:"number"},left:{default:24,description:"Left padding of the text item in pixels",type:"number"},right:{default:24,description:"Right padding of the text item in pixels",type:"number"},top:{default:30,description:"Top padding of the text item in pixels",type:"number"}},type:"object"},theme:{description:"Theme configuration",properties:{axis:{description:"Axis styling",examples:[{fontSize:12},{fontSize:10}],type:"object"},background:{description:"Background color",examples:["rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},baseFontSize:{description:"Base font size, usually it participates in calculations related to font sizes, spacings, etc.",examples:[13,16,20],type:"number"},borders:{description:"Border styling",properties:{"border-bottom-width":{description:"Border bottom width",examples:["0px","1px","3px"],type:"string"},"border-color":{description:"Border color",examples:["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],type:"string"},"border-left-width":{description:"Border left width",examples:["0px","1px","3px"],type:"string"},"border-radius":{description:"Border radius",examples:["0","12px","20px"],type:"string"},"border-right-width":{description:"Border right width",examples:["0px","1px","3px"],type:"string"},"border-style":{description:"Border style",examples:["none","solid","dotted","dashed"],type:"string"},"border-top-width":{description:"Border top width",examples:["0px","1px","3px"],type:"string"}},type:"object"},boxShadow:{description:"Shadow styling",properties:{color:{description:"Shadow color",examples:["rgb(0, 0, 0)","rgb(100, 100, 103)"],type:"string"},size:{description:"Shadow size",enum:["L","M","S","none"],examples:["none","S","M","L"],type:"string"}},type:"object"},colors:{description:"A list of theme colors",examples:[["rgb(122, 112, 112)","rgb(175, 169, 169)","rgb(228, 226, 226)"],["rgb(48, 36, 179)","rgb(105, 93, 255)","rgb(199, 194, 255)","rgb(134, 4, 129)","rgb(204, 55, 198)","rgb(236, 180, 234)","rgb(220, 141, 0)","rgb(249, 206, 61)","rgb(253, 237, 182)","rgb(6, 142, 84)","rgb(58, 213, 147)","rgb(181, 239, 215)","rgb(85, 78, 78)","rgb(149, 141, 141)","rgb(215, 212, 212)"]],items:{type:"string"},type:"array"},editBackground:{description:"Edit background",examples:["rgb(228, 228, 228)","rgb(245, 245, 245)","rgb(61, 61, 61)"],type:"string"},editModeBackground:{description:"Edit mode background",examples:["rgb(245, 245, 245)"],type:"string"},font:{description:"Font styling",properties:{"font-style":{const:"normal",description:"Font style",examples:["normal","italic","oblique"],type:"string"},"font-weight":{description:"Font weight",examples:[400,700],type:"number"},fontFamily:{description:"Font family",examples:["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],type:"string"},fontSize:{description:"Font size in px",examples:[10,15,18],type:"number"}},type:"object"},id:{description:'Id of the theme, like "seasonal", "urban", etc.',examples:["seasonal","urban"],type:"string"},itemSpecific:{description:"Item specific styling",properties:{padding:{description:"Padding of the item",examples:[0,4,8,10],type:"number"},rounding:{description:"Rounding of the item",examples:[0,8,12],type:"number"}},type:"object"},itemsBackground:{description:"Item background color",examples:["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],type:"string"},legend:{description:"Legend styling",properties:{fontSize:{description:"Legend font size in px",examples:[12,16],type:"number"},lineHeight:{description:"Legend line height in px",examples:[12,16,20],type:"number"},type:{description:"Legend type",enum:["circle","line","normal"],examples:["normal","line","circle"],type:"string"}},type:"object"},mainColor:{description:"Theme main color",examples:["rgb(123, 144, 255)","rgb(255, 174, 52)","rgb(123, 144, 255)"],type:"string"},margins:{description:"Dashboard vertical and horizontal margins",examples:[[16,16],[20,20]],items:[{type:"number"},{type:"number"}],maxItems:2,minItems:2,type:"array"},name:{description:"Theme name",examples:["manual"],type:"string"},title:{description:"Title styling",properties:{align:{description:"Title align",enum:["center","left","right"],examples:["left","center","right"],type:"string"},bold:{description:"Is title bold",examples:[!0,!1],type:"boolean"},border:{description:"Is title a border",examples:[!0,!1],type:"boolean"},fontSize:{description:"Title's font size in px",examples:[16,20],type:"number"},italic:{description:"Is title italic",examples:[!0,!1],type:"boolean"},lineHeight:{description:"Title's line height in px",examples:[30,42,50],type:"number"},underline:{description:"Is title underline",examples:[!0,!1],type:"boolean"}},type:"object"},tooltip:{description:"Tooltip styling",properties:{background:{description:"Tooltip's background",examples:["rgb(248, 248, 248)","rgb(248, 248, 248)","rgb(130, 128, 128)","rgb(61, 61, 61)"],type:"string"},fontSize:{description:"Tooltip's font size in px",examples:[12,16,20],type:"number"},lineHeight:{description:"Tooltip's line height in px",examples:[12,16,20],type:"number"},opacity:{description:"Tooltip's opacity",examples:[.5,.8,1],type:"number"}},type:"object"},type:{description:"Theme type",examples:["custom"],type:"string"}},type:"object"},timezoneId:{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",examples:["Europe/Brussels","America/New_York"],type:"string"},title:{description:'Title in format {locale: "title"}, for example, {en: "Title"}',examples:[{en:"Title"}],type:"object"}},ra="object",na={$id:ta,$schema:oa,properties:ia,type:ra},sa={"viz-item-type.schema.json":s,"options.schema.json":c,"slots.schema.json":u,"area-chart.schema.json":j,"area-chart-options.schema.json":_,"area-chart-slots.schema.json":z,"bar-chart.schema.json":A,"bar-chart-options.schema.json":E,"bar-chart-slots.schema.json":K,"box-plot.schema.json":re,"box-plot-options.schema.json":le,"box-plot-slots.schema.json":he,"bubble-chart.schema.json":Se,"bubble-chart-options.schema.json":Ce,"bubble-chart-slots.schema.json":Ne,"bullet-chart.schema.json":He,"bullet-chart-options.schema.json":Xe,"bullet-chart-slots.schema.json":tt,"choropleth-map.schema.json":at,"choropleth-map-options.schema.json":mt,"choropleth-map-slots.schema.json":jt,"circular-gauge.schema.json":It,"circular-gauge-options.schema.json":$t,"circular-gauge-slots.schema.json":At,"column-chart.schema.json":Wt,"column-chart-options.schema.json":Gt,"column-chart-slots.schema.json":ro,"combination-chart.schema.json":co,"combination-chart-options.schema.json":go,"combination-chart-slots.schema.json":To,"date-filter.schema.json":Lo,"date-filter-options.schema.json":Yo,"date-filter-slots.schema.json":qo,"donut-chart.schema.json":Uo,"donut-chart-options.schema.json":ei,"donut-chart-slots.schema.json":pi,"dropdown-filter.schema.json":ui,"dropdown-filter-options.schema.json":vi,"dropdown-filter-slots.schema.json":ki,"evolution-number.schema.json":zi,"evolution-number-options.schema.json":Ri,"evolution-number-slots.schema.json":Zi,"funnel-chart.schema.json":Ki,"funnel-chart-options.schema.json":ir,"funnel-chart-slots.schema.json":dr,"image.schema.json":hr,"image-options.schema.json":wr,"line-chart.schema.json":Cr,"line-chart-options.schema.json":zr,"line-chart-slots.schema.json":Pr,"pivot-table.schema.json":Xr,"pivot-table-options.schema.json":Kr,"pivot-table-slots.schema.json":an,"regular-table.schema.json":yn,"regular-table-options.schema.json":fn,"regular-table-slots.schema.json":In,"sankey-diagram.schema.json":Fn,"sankey-diagram-options.schema.json":Mn,"sankey-diagram-slots.schema.json":Wn,"scatter-plot.schema.json":Vn,"scatter-plot-options.schema.json":os,"scatter-plot-slots.schema.json":cs,"slicer-filter.schema.json":gs,"slicer-filter-options.schema.json":xs,"slicer-filter-slots.schema.json":Ds,"slider-filter.schema.json":Ys,"slider-filter-options.schema.json":Bs,"slider-filter-slots.schema.json":Js,"text.schema.json":ea,"text-options.schema.json":na};exports.ColumnChartModes=t;exports.JSON_SCHEMAS=sa;exports.RegularTableSortingMode=o;