@luzmo/dashboard-contents-types 0.1.88 → 0.1.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +154 -0
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +15 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +11 -11
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +15 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +37 -23
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/image-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +15 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/options.schema.json.d.ts +24 -24
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +13 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +5 -5
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/text-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/index.js +69 -69
- package/index.mjs +719 -447
- package/json-schemas.d.ts +100 -17
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts +20 -5
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
- package/src/lib/shared/common.d.ts +4 -4
- package/src/lib/shared/common.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +2 -0
- package/src/lib/shared/drop-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/theme.d.ts +4 -0
- package/src/lib/shared/theme.d.ts.map +1 -1
package/index.js
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.Grouped="grouped",e.Stacked="stacked",e.Percentage="100",e))(t||{}),i=(e=>(e.SingleColumn="singleColumn",e.MultiColumn="multiColumn",e))(i||{});const o="https://developer.luzmo.com/assets/json-schemas/0.1.88/viz-item-type.schema.json",r="http://json-schema.org/draft-07/schema#",n="string",s={$id:o,$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","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.88/options.schema.json",p="http://json-schema.org/draft-07/schema#",l=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/box-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bubble-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bullet-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/choropleth-map-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/date-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/image-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/line-chart-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/regular-table-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slicer-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slider-filter-options.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/text-options.schema.json"}],c={$id:a,$schema:p,anyOf:l},m="https://developer.luzmo.com/assets/json-schemas/0.1.88/slots.schema.json",d="http://json-schema.org/draft-07/schema#",y=[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/box-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bubble-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bullet-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/choropleth-map-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/date-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/line-chart-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/regular-table-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slicer-filter-slots.schema.json"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slider-filter-slots.schema.json"}],u={$id:m,$schema:d,anyOf:y},b="http://json-schema.org/draft-07/schema#",g="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/area-chart-options.schema.json"},slots:{description:"Data definition of the Area Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var t=(e=>(e.Grouped="grouped",e.Stacked="stacked",e.Percentage="100",e))(t||{}),i=(e=>(e.SingleColumn="singleColumn",e.MultiColumn="multiColumn",e))(i||{});const o="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:o,$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","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},m="https://developer.luzmo.com/assets/json-schemas/0.1.89/slots.schema.json",d="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:m,$schema:d,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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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
2
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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:{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"}},_="object",T={$id:x,$schema:w,properties:S,type:_},C="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},_="object",T={$id:x,$schema:w,properties:S,type:_},C="https://developer.luzmo.com/assets/json-schemas/0.1.89/area-chart-slots.schema.json",D="http://json-schema.org/draft-07/schema#",k={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"]},column:{description:"Column 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).
|
|
4
4
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
5
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
6
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/area-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},I="Data definition of the Area chart",$={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/area-chart-slots.schema.json#/definitions/LegendSlot"}]},L=3,z="array",F={$id:C,$schema:D,definitions:k,description:I,items:$,maxItems:L,type:z},O="http://json-schema.org/draft-07/schema#",M="https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart.schema.json",Y="object",R="Bar Chart item",H={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.88/bar-chart-options.schema.json"},slots:{description:"Data definition of the Bar Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-slots.schema.json"}},A={$schema:O,$id:M,type:Y,description:R,properties:H},B="https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-options.schema.json",N="http://json-schema.org/draft-07/schema#",P={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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
5
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
6
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},I="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,F="array",z={$id:C,$schema:D,definitions:k,description:I,items:$,maxItems:L,type:F},O="http://json-schema.org/draft-07/schema#",M="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart.schema.json",Y="object",R="Bar Chart item",B={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"}},H={$schema:O,$id:M,type:Y,description:R,properties:B},A="https://developer.luzmo.com/assets/json-schemas/0.1.89/bar-chart-options.schema.json",N="http://json-schema.org/draft-07/schema#",P={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
7
7
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
8
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},E="object",q={$id:B,$schema:N,properties:P,type:E},W="https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},E="object",q={$id:A,$schema:N,properties:P,type:E},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"]},column:{description:"Column 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).
|
|
9
9
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
10
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
11
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/bar-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/bar-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bar-chart-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/box-plot.schema.json",te="object",ie="Box Plot item",oe={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.88/box-plot-options.schema.json"},slots:{description:"Data definition of the Box Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/box-plot-slots.schema.json"}},re={$schema:Q,$id:ee,type:te,description:ie,properties:oe},ne="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
10
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
11
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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",ie="Box Plot item",oe={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:ie,properties:oe},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
12
12
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
13
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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.88/box-plot-slots.schema.json",me="http://json-schema.org/draft-07/schema#",de={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.88/box-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/box-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
13
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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",me="http://json-schema.org/draft-07/schema#",de={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"]},column:{description:"Column 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).
|
|
14
14
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
15
15
|
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
16
|
-
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.
|
|
17
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/box-plot-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/box-plot-slots.schema.json#/definitions/CategorySlot"}]},be=2,ge="array",he={$id:ce,$schema:me,definitions:de,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.88/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.88/bubble-chart-options.schema.json"},slots:{description:"Data definition of the Bubble Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bubble-chart-slots.schema.json"}},Se={$schema:fe,$id:ve,type:je,description:xe,properties:we},_e="https://developer.luzmo.com/assets/json-schemas/0.1.88/bubble-chart-options.schema.json",Te="http://json-schema.org/draft-07/schema#",Ce={categories:{description:"Categories options",properties:{colored:{default:!0,description:"Toggle colored categories",type:"boolean"}},type:"object"},color:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
16
|
+
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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
17
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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:me,definitions:de,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},_e="https://developer.luzmo.com/assets/json-schemas/0.1.89/bubble-chart-options.schema.json",Te="http://json-schema.org/draft-07/schema#",Ce={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
18
18
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
19
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},De="object",ke={$id:_e,$schema:Te,properties:Ce,type:De},Ie="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
20
|
-
This is a required slot`,properties:{content:{description:"Color slot definition",items:{anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
19
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},De="object",ke={$id:_e,$schema:Te,properties:Ce,type:De},Ie="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.
|
|
20
|
+
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"]},column:{description:"Column 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).
|
|
21
21
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
22
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
23
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},
|
|
22
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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,Me="array",Ye={$id:Ie,$schema:$e,definitions:Le,description:Fe,items:ze,maxItems:Oe,type:Me},Re="http://json-schema.org/draft-07/schema#",Be="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart.schema.json",He="object",Ae="Bullet Chart item",Ne={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"}},Pe={$schema:Re,$id:Be,type:He,description:Ae,properties:Ne},Ee="https://developer.luzmo.com/assets/json-schemas/0.1.89/bullet-chart-options.schema.json",qe="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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
24
24
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
25
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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:Ee,$schema:qe,properties:We,type:Ze},Je="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
25
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:Ee,$schema:qe,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"]},column:{description:"Column 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).
|
|
26
26
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
27
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
28
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/bullet-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bullet-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/bullet-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/bullet-chart-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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},it="http://json-schema.org/draft-07/schema#",ot="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/choropleth-map-options.schema.json"},slots:{description:"Data definition of the Choropleth Map item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/choropleth-map-slots.schema.json"}},at={$schema:it,$id:ot,type:rt,description:nt,properties:st},pt="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
27
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
28
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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},it="http://json-schema.org/draft-07/schema#",ot="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:it,$id:ot,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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
29
29
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
30
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},mt="object",dt={$id:pt,$schema:lt,properties:ct,type:mt},yt="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
30
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},mt="object",dt={$id:pt,$schema:lt,properties:ct,type:mt},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"]},column:{description:"Column 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).
|
|
31
31
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
32
|
-
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.
|
|
33
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
32
|
+
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"]},column:{description:"Column 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).
|
|
33
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
34
34
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column id",format:"uuid",type:"string"},include_nonoccurring:{description:`Shows empty areas for geo slots (with the name "geo" and content type 'spacial).
|
|
35
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/choropleth-map-slots.schema.json#/definitions/GeoSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/choropleth-map-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/circular-gauge.schema.json",St="object",_t="Circular Gauge item",Tt={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.88/circular-gauge-options.schema.json"},slots:{description:"Data definition of the Circular Gauge item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json"}},Ct={$schema:xt,$id:wt,type:St,description:_t,properties:Tt},Dt="https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-options.schema.json",kt="http://json-schema.org/draft-07/schema#",It={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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
35
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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",_t="Circular Gauge item",Tt={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"}},Ct={$schema:xt,$id:wt,type:St,description:_t,properties:Tt},Dt="https://developer.luzmo.com/assets/json-schemas/0.1.89/circular-gauge-options.schema.json",kt="http://json-schema.org/draft-07/schema#",It={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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
36
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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:Dt,$schema:kt,properties:It,type:$t},
|
|
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:Dt,$schema:kt,properties:It,type:$t},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"]},column:{description:"Column 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).
|
|
38
38
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
39
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
40
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/circular-gauge-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"target",description:"Name of the slot",type:"string"}},type:"object"}},Mt="Data definition of the Circular gauge",Yt={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json#/definitions/TargetSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/circular-gauge-slots.schema.json#/definitions/MeasureSlot"}]},Rt=2,Ht="array",At={$id:zt,$schema:Ft,definitions:Ot,description:Mt,items:Yt,maxItems:Rt,type:Ht},Bt="http://json-schema.org/draft-07/schema#",Nt="https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart.schema.json",Pt="object",Et="Column Chart item",qt={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.88/column-chart-options.schema.json"},slots:{description:"Data definition of the Column Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json"}},Wt={$schema:Bt,$id:Nt,type:Pt,description:Et,properties:qt},Zt="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
39
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
40
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Mt="Data definition of the Circular gauge",Yt={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,Bt="array",Ht={$id:Ft,$schema:zt,definitions:Ot,description:Mt,items:Yt,maxItems:Rt,type:Bt},At="http://json-schema.org/draft-07/schema#",Nt="https://developer.luzmo.com/assets/json-schemas/0.1.89/column-chart.schema.json",Pt="object",Et="Column Chart item",qt={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:At,$id:Nt,type:Pt,description:Et,properties:qt},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
41
41
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
42
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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.88/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"]},column:{description:"Column 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).
|
|
42
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
43
43
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
44
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
45
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/column-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"x-axis",description:"Name of the slot",type:"string"}},type:"object"}},ei="Data definition of the Column chart",ti={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/column-chart-slots.schema.json#/definitions/LegendSlot"}]},ii=3,oi="array",ri={$id:Vt,$schema:Kt,definitions:Qt,description:ei,items:ti,maxItems:ii,type:oi},ni="http://json-schema.org/draft-07/schema#",si="https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart.schema.json",ai="object",pi="Combination Chart item",li={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.88/combination-chart-options.schema.json"},slots:{description:"Data definition of the Combination Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart-slots.schema.json"}},ci={$schema:ni,$id:si,type:ai,description:pi,properties:li},mi="https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart-options.schema.json",di="http://json-schema.org/draft-07/schema#",yi={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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
44
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
45
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},ei="Data definition of the Column chart",ti={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"}]},ii=3,oi="array",ri={$id:Vt,$schema:Kt,definitions:Qt,description:ei,items:ti,maxItems:ii,type:oi},ni="http://json-schema.org/draft-07/schema#",si="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart.schema.json",ai="object",pi="Combination Chart item",li={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"}},ci={$schema:ni,$id:si,type:ai,description:pi,properties:li},mi="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-options.schema.json",di="http://json-schema.org/draft-07/schema#",yi={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
46
46
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
47
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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:{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"}},ui="object",bi={$id:mi,$schema:di,properties:yi,type:ui},gi="https://developer.luzmo.com/assets/json-schemas/0.1.88/combination-chart-slots.schema.json",hi="http://json-schema.org/draft-07/schema#",fi={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"]},column:{description:"Column 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).
|
|
47
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},ui="object",bi={$id:mi,$schema:di,properties:yi,type:ui},gi="https://developer.luzmo.com/assets/json-schemas/0.1.89/combination-chart-slots.schema.json",hi="http://json-schema.org/draft-07/schema#",fi={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"]},column:{description:"Column 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).
|
|
48
48
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
49
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
50
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
49
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},vi="Data definition of the Combination chart",ji={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"}]},xi=2,wi="array",Si={$id:gi,$schema:hi,definitions:fi,description:vi,items:ji,maxItems:xi,type:wi},_i="http://json-schema.org/draft-07/schema#",Ti="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter.schema.json",Ci="object",Di="Date Filter item",ki={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"}},Ii={$schema:_i,$id:Ti,type:Ci,description:Di,properties:ki},$i="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-options.schema.json",Li="http://json-schema.org/draft-07/schema#",Fi={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.
|
|
51
51
|
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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
52
52
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
53
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},
|
|
53
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},zi="object",Oi={$id:$i,$schema:Li,properties:Fi,type:zi},Mi="https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json",Yi="http://json-schema.org/draft-07/schema#",Ri={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"]},column:{description:"Column 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).
|
|
54
54
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
55
|
-
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.88/date-filter-slots.schema.json#/definitions/DateTimeSlotContent"},type:"array"},name:{const:"time",description:"Name of the slot",type:"string"}},type:"object"}},Hi="Data definition of the Date filter",Ai={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/date-filter-slots.schema.json#/definitions/TimeSlot"},Bi=1,Ni="array",Pi={$id:Mi,$schema:Yi,definitions:Ri,description:Hi,items:Ai,maxItems:Bi,type:Ni},Ei="http://json-schema.org/draft-07/schema#",qi="https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart.schema.json",Wi="object",Zi="Donut Chart item",Xi={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.88/donut-chart-options.schema.json"},slots:{description:"Data definition of the Donut Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-slots.schema.json"}},Ji={$schema:Ei,$id:qi,type:Wi,description:Zi,properties:Xi},Ui="https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-options.schema.json",Gi="http://json-schema.org/draft-07/schema#",Vi={color:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
55
|
+
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"}},Bi="Data definition of the Date filter",Hi={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/date-filter-slots.schema.json#/definitions/TimeSlot"},Ai=1,Ni="array",Pi={$id:Mi,$schema:Yi,definitions:Ri,description:Bi,items:Hi,maxItems:Ai,type:Ni},Ei="http://json-schema.org/draft-07/schema#",qi="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart.schema.json",Wi="object",Zi="Donut Chart item",Xi={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"}},Ji={$schema:Ei,$id:qi,type:Wi,description:Zi,properties:Xi},Ui="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-options.schema.json",Gi="http://json-schema.org/draft-07/schema#",Vi={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
56
56
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
57
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},Ki="object",Qi={$id:Ui,$schema:Gi,properties:Vi,type:Ki},eo="https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-slots.schema.json",to="http://json-schema.org/draft-07/schema#",io={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.88/donut-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/donut-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
57
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Ki="object",Qi={$id:Ui,$schema:Gi,properties:Vi,type:Ki},eo="https://developer.luzmo.com/assets/json-schemas/0.1.89/donut-chart-slots.schema.json",to="http://json-schema.org/draft-07/schema#",io={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"]},column:{description:"Column 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).
|
|
58
58
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
59
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
60
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},oo="Data definition of the Donut chart",ro={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
59
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
60
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},oo="Data definition of the Donut chart",ro={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"}]},no=2,so="array",ao={$id:eo,$schema:to,definitions:io,description:oo,items:ro,maxItems:no,type:so},po="http://json-schema.org/draft-07/schema#",lo="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter.schema.json",co="object",mo="Dropdown Filter item",yo={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"}},uo={$schema:po,$id:lo,type:co,description:mo,properties:yo},bo="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-options.schema.json",go="http://json-schema.org/draft-07/schema#",ho={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
61
61
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
62
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},fo="object",vo={$id:bo,$schema:go,properties:ho,type:fo},jo="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
63
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
65
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},So="Data definition of the Dropdown filter",_o={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"},To=1,Co="array",Do={$id:jo,$schema:xo,definitions:wo,description:So,items:_o,maxItems:To,type:Co},ko="http://json-schema.org/draft-07/schema#",Io="https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number.schema.json",$o="object",Lo="Evolution Number item",zo={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.88/evolution-number-options.schema.json"},slots:{description:"Data definition of the Evolution Number item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json"}},Fo={$schema:ko,$id:Io,type:$o,description:Lo,properties:zo},Oo="https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-options.schema.json",Mo="http://json-schema.org/draft-07/schema#",Yo={color:{description:"The main color for the item, if omitted the default color from the theme will be used.",type:"string"},display:{description:"Title display option",properties:{title:{description:"Show or hide the title",type:"boolean"}},type:"object"},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"],type:"string"},imageBackgroundOpacity:{default:50,description:"Image background opacity",examples:[30,50],type:"number"},imageColor:{default:"#5A5A5A",description:"Image color",type:"string"},imageContent:{description:"Image content",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
62
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},fo="object",vo={$id:bo,$schema:go,properties:ho,type:fo},jo="https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json",xo="http://json-schema.org/draft-07/schema#",wo={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"]},column:{description:"Column 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).
|
|
63
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
65
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},So="Data definition of the Dropdown filter",_o={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.89/dropdown-filter-slots.schema.json#/definitions/DimensionSlot"},To=1,Co="array",Do={$id:jo,$schema:xo,definitions:wo,description:So,items:_o,maxItems:To,type:Co},ko="http://json-schema.org/draft-07/schema#",Io="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number.schema.json",$o="object",Lo="Evolution Number item",Fo={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"}},zo={$schema:ko,$id:Io,type:$o,description:Lo,properties:Fo},Oo="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-options.schema.json",Mo="http://json-schema.org/draft-07/schema#",Yo={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
66
66
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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",type:"number"},showImage:{default:!1,description:"Show image",type:"boolean"},showSubtitle:{default:!1,description:"Show subtitle",type:"boolean"},showTitle:{default:!0,description
|
|
68
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
69
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
70
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Po="Data definition of the Evolution number",Eo={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/evolution-number-slots.schema.json#/definitions/EvolutionSlot"}]},qo=2,Wo="array",Zo={$id:Ao,$schema:Bo,definitions:No,description:Po,items:Eo,maxItems:qo,type:Wo},Xo="http://json-schema.org/draft-07/schema#",Jo="https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart.schema.json",Uo="object",Go="Funnel Chart item",Vo={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.88/funnel-chart-options.schema.json"},slots:{description:"Data definition of the Funnel Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json"}},Ko={$schema:Xo,$id:Jo,type:Uo,description:Go,properties:Vo},Qo="https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-options.schema.json",er="http://json-schema.org/draft-07/schema#",tr={color:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Ro="object",Bo={$id:Oo,$schema:Mo,properties:Yo,type:Ro},Ho="https://developer.luzmo.com/assets/json-schemas/0.1.89/evolution-number-slots.schema.json",Ao="http://json-schema.org/draft-07/schema#",No={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"]},column:{description:"Column 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).
|
|
68
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
69
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
70
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Po="Data definition of the Evolution number",Eo={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"}]},qo=2,Wo="array",Zo={$id:Ho,$schema:Ao,definitions:No,description:Po,items:Eo,maxItems:qo,type:Wo},Xo="http://json-schema.org/draft-07/schema#",Jo="https://developer.luzmo.com/assets/json-schemas/0.1.89/funnel-chart.schema.json",Uo="object",Go="Funnel Chart item",Vo={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"}},Ko={$schema:Xo,$id:Jo,type:Uo,description:Go,properties:Vo},Qo="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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
71
71
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
72
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},ir="object",or={$id:Qo,$schema:er,properties:tr,type:ir},rr="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/funnel-chart-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
72
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},ir="object",or={$id:Qo,$schema:er,properties:tr,type:ir},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"]},column:{description:"Column 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).
|
|
73
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
74
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
75
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/funnel-chart-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/funnel-chart-slots.schema.json#/definitions/CategorySlot"}]},lr=2,cr="array",mr={$id:rr,$schema:nr,definitions:sr,description:ar,items:pr,maxItems:lr,type:cr},dr="http://json-schema.org/draft-07/schema#",yr="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/image-options.schema.json"}},hr={$schema:dr,$id:yr,type:ur,description:br,properties:gr},fr="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{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#",_r="https://developer.luzmo.com/assets/json-schemas/0.1.88/line-chart.schema.json",Tr="object",Cr="Line Chart item",Dr={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.88/line-chart-options.schema.json"},slots:{description:"Data definition of the Line Chart item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/line-chart-slots.schema.json"}},kr={$schema:Sr,$id:_r,type:Tr,description:Cr,properties:Dr},Ir="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
74
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
75
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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",mr={$id:rr,$schema:nr,definitions:sr,description:ar,items:pr,maxItems:lr,type:cr},dr="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:dr,$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#",_r="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart.schema.json",Tr="object",Cr="Line Chart item",Dr={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"}},kr={$schema:Sr,$id:_r,type:Tr,description:Cr,properties:Dr},Ir="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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
76
76
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
77
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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:{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"}},
|
|
77
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Fr="object",zr={$id:Ir,$schema:$r,properties:Lr,type:Fr},Or="https://developer.luzmo.com/assets/json-schemas/0.1.89/line-chart-slots.schema.json",Mr="http://json-schema.org/draft-07/schema#",Yr={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"]},column:{description:"Column 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).
|
|
78
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"]},monthNameFormat:{description:"Month name format for datetime column formatting",enum:["letter","long","short"],type:"string"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
79
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
80
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
79
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
80
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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",Br={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"}]},Hr=3,Ar="array",Nr={$id:Or,$schema:Mr,definitions:Yr,description:Rr,items:Br,maxItems:Hr,type:Ar},Pr="http://json-schema.org/draft-07/schema#",Er="https://developer.luzmo.com/assets/json-schemas/0.1.89/pivot-table.schema.json",qr="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:Pr,$id:Er,type:qr,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)
|
|
81
81
|
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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
82
82
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
83
83
|
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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)
|
|
84
|
-
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:{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.
|
|
84
|
+
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"]},column:{description:"Column 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).
|
|
85
85
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
86
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
87
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/pivot-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/pivot-table-slots.schema.json#/definitions/RowSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/pivot-table-slots.schema.json#/definitions/ColumnSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/regular-table.schema.json",cn="object",mn="Regular Table item",dn={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.88/regular-table-options.schema.json"},slots:{description:"Data definition of the Regular Table item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/regular-table-slots.schema.json"}},yn={$schema:pn,$id:ln,type:cn,description:mn,properties:dn},un="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
86
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
87
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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",mn="Regular Table item",dn={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:mn,properties:dn},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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
88
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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.88/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.88/regular-table-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/regular-table-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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"]},column:{description:"Column 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).
|
|
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
90
90
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
91
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
92
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
91
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
92
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"},_n=1,Tn="array",Cn={$id:vn,$schema:jn,definitions:xn,description:wn,items:Sn,maxItems:_n,type:Tn},Dn="http://json-schema.org/draft-07/schema#",kn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram.schema.json",In="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"}},Fn={$schema:Dn,$id:kn,type:In,description:$n,properties:Ln},zn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-options.schema.json",On="http://json-schema.org/draft-07/schema#",Mn={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
93
93
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
94
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},Yn="object",Rn={$id:
|
|
95
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
96
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
97
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/sankey-diagram-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/DateTimeSlotContent"}]},maxItems:1,type:"array"},name:{const:"source",description:"Name of the slot",type:"string"}},type:"object"}},Nn="Data definition of the Sankey diagram",Pn={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/SourceSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/CategorySlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/sankey-diagram-slots.schema.json#/definitions/DestinationSlot"}]},En=4,qn="array",Wn={$id:Hn,$schema:An,definitions:Bn,description:Nn,items:Pn,maxItems:En,type:qn},Zn="http://json-schema.org/draft-07/schema#",Xn="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/scatter-plot-options.schema.json"},slots:{description:"Data definition of the Scatter Plot item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
94
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Yn="object",Rn={$id:zn,$schema:On,properties:Mn,type:Yn},Bn="https://developer.luzmo.com/assets/json-schemas/0.1.89/sankey-diagram-slots.schema.json",Hn="http://json-schema.org/draft-07/schema#",An={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"]},column:{description:"Column 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).
|
|
95
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
96
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
97
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Nn="Data definition of the Sankey diagram",Pn={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"}]},En=4,qn="array",Wn={$id:Bn,$schema:Hn,definitions:An,description:Nn,items:Pn,maxItems:En,type:qn},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
98
98
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
99
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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",is={$id:Kn,$schema:Qn,properties:es,type:ts},os="https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
99
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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",is={$id:Kn,$schema:Qn,properties:es,type:ts},os="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"]},column:{description:"Column 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).
|
|
100
100
|
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
101
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
102
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/scatter-plot-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/HierarchySlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/scatter-plot-slots.schema.json#/definitions/YAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/NameSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/SizeSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/XAxisSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/scatter-plot-slots.schema.json#/definitions/ColorSlot"}]},ps=5,ls="array",cs={$id:os,$schema:rs,definitions:ns,description:ss,items:as,maxItems:ps,type:ls},ms="http://json-schema.org/draft-07/schema#",ds="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/slicer-filter-options.schema.json"},slots:{description:"Data definition of the Slicer Filter item",$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slicer-filter-slots.schema.json"}},gs={$schema:ms,$id:ds,type:ys,description:us,properties:bs},hs="https://developer.luzmo.com/assets/json-schemas/0.1.88/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:{description:"The main color for the item, if omitted the default color from the theme will be used.",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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
101
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
102
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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:os,$schema:rs,definitions:ns,description:ss,items:as,maxItems:ps,type:ls},ms="http://json-schema.org/draft-07/schema#",ds="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:ms,$id:ds,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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
103
103
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
104
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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.88/slicer-filter-slots.schema.json",Ss="http://json-schema.org/draft-07/schema#",_s={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"]},column:{description:"Column 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).
|
|
105
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
106
|
-
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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.
|
|
107
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Ts="Data definition of the Slicer filter",Cs={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
104
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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#",_s={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"]},column:{description:"Column 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).
|
|
105
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"]},column:{description:"Column 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).
|
|
106
|
+
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"]},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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).
|
|
107
|
+
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Ts="Data definition of the Slicer filter",Cs={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"}]},Ds=2,ks="array",Is={$id:ws,$schema:Ss,definitions:_s,description:Ts,items:Cs,maxItems:Ds,type:ks},$s="http://json-schema.org/draft-07/schema#",Ls="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"}},Ms={$schema:$s,$id:Ls,type:Fs,description:zs,properties:Os},Ys="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-options.schema.json",Rs="http://json-schema.org/draft-07/schema#",Bs={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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{description:"Column subtype",enum:["coordinates","currency","duration","hierarchy_element_expression","topography"],type:"string"},set:{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"]},column:{description:"Column id",format:"uuid",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:{description:'Currency code, for example "€" or "$". It is only used when the column type is "numeric" and subtype is "currency".',type:["null","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).
|
|
108
108
|
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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).
|
|
109
|
-
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{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"}},
|
|
110
|
-
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{description:"Column id",format:"uuid",type:"string"},columnSubType:{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
111
|
-
It can also be used for "hierarchy" formatting but when it's used in the measure slot.`,type:"string"},formula:{description:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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.88/slider-filter-slots.schema.json#/definitions/NumericSlotContent"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slider-filter-slots.schema.json#/definitions/DateTimeSlotContent"}]},type:"array"},name:{const:"slidermetric",description:"Name of the slot",type:"string"}},type:"object"}},qs="Data definition of the Slider filter",Ws={$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.88/slider-filter-slots.schema.json#/definitions/SliderMetricSlot"},Zs=1,Xs="array",Js={$id:Ns,$schema:Ps,definitions:Es,description:qs,items:Ws,maxItems:Zs,type:Xs},Us="http://json-schema.org/draft-07/schema#",Gs="https://developer.luzmo.com/assets/json-schemas/0.1.88/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.88/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.88/text-options.schema.json",ia="http://json-schema.org/draft-07/schema#",oa={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:{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:ia,properties:oa,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":T,"area-chart-slots.schema.json":F,"bar-chart.schema.json":A,"bar-chart-options.schema.json":q,"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":ke,"bubble-chart-slots.schema.json":Ye,"bullet-chart.schema.json":Pe,"bullet-chart-options.schema.json":Xe,"bullet-chart-slots.schema.json":tt,"choropleth-map.schema.json":at,"choropleth-map-options.schema.json":dt,"choropleth-map-slots.schema.json":jt,"circular-gauge.schema.json":Ct,"circular-gauge-options.schema.json":Lt,"circular-gauge-slots.schema.json":At,"column-chart.schema.json":Wt,"column-chart-options.schema.json":Gt,"column-chart-slots.schema.json":ri,"combination-chart.schema.json":ci,"combination-chart-options.schema.json":bi,"combination-chart-slots.schema.json":Si,"date-filter.schema.json":Ii,"date-filter-options.schema.json":Oi,"date-filter-slots.schema.json":Pi,"donut-chart.schema.json":Ji,"donut-chart-options.schema.json":Qi,"donut-chart-slots.schema.json":ao,"dropdown-filter.schema.json":uo,"dropdown-filter-options.schema.json":vo,"dropdown-filter-slots.schema.json":Do,"evolution-number.schema.json":Fo,"evolution-number-options.schema.json":Ho,"evolution-number-slots.schema.json":Zo,"funnel-chart.schema.json":Ko,"funnel-chart-options.schema.json":or,"funnel-chart-slots.schema.json":mr,"image.schema.json":hr,"image-options.schema.json":wr,"line-chart.schema.json":kr,"line-chart-options.schema.json":Fr,"line-chart-slots.schema.json":Nr,"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":Cn,"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":is,"scatter-plot-slots.schema.json":cs,"slicer-filter.schema.json":gs,"slicer-filter-options.schema.json":xs,"slicer-filter-slots.schema.json":Is,"slider-filter.schema.json":Ms,"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=i;
|
|
109
|
+
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"},readonly:{type:"boolean"},selected:{type:"boolean"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},Hs="object",As={$id:Ys,$schema:Rs,properties:Bs,type:Hs},Ns="https://developer.luzmo.com/assets/json-schemas/0.1.89/slider-filter-slots.schema.json",Ps="http://json-schema.org/draft-07/schema#",Es={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"]},column:{description:"Column 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).
|
|
110
|
+
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"},set:{description:"Dataset id",format:"uuid",type:"string"},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:{column:{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"},set:{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"]},column:{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"]},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:"Dataset formula id. Formula is an entity similar to a column. Formula can be added on the dataset details page.",format:"uuid",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"},set:{description:"Dataset id",format:"uuid",type:"string"},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"}},qs="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:Ns,$schema:Ps,definitions:Es,description:qs,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",ia="http://json-schema.org/draft-07/schema#",oa={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:ia,properties:oa,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":T,"area-chart-slots.schema.json":z,"bar-chart.schema.json":H,"bar-chart-options.schema.json":q,"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":ke,"bubble-chart-slots.schema.json":Ye,"bullet-chart.schema.json":Pe,"bullet-chart-options.schema.json":Xe,"bullet-chart-slots.schema.json":tt,"choropleth-map.schema.json":at,"choropleth-map-options.schema.json":dt,"choropleth-map-slots.schema.json":jt,"circular-gauge.schema.json":Ct,"circular-gauge-options.schema.json":Lt,"circular-gauge-slots.schema.json":Ht,"column-chart.schema.json":Wt,"column-chart-options.schema.json":Gt,"column-chart-slots.schema.json":ri,"combination-chart.schema.json":ci,"combination-chart-options.schema.json":bi,"combination-chart-slots.schema.json":Si,"date-filter.schema.json":Ii,"date-filter-options.schema.json":Oi,"date-filter-slots.schema.json":Pi,"donut-chart.schema.json":Ji,"donut-chart-options.schema.json":Qi,"donut-chart-slots.schema.json":ao,"dropdown-filter.schema.json":uo,"dropdown-filter-options.schema.json":vo,"dropdown-filter-slots.schema.json":Do,"evolution-number.schema.json":zo,"evolution-number-options.schema.json":Bo,"evolution-number-slots.schema.json":Zo,"funnel-chart.schema.json":Ko,"funnel-chart-options.schema.json":or,"funnel-chart-slots.schema.json":mr,"image.schema.json":hr,"image-options.schema.json":wr,"line-chart.schema.json":kr,"line-chart-options.schema.json":zr,"line-chart-slots.schema.json":Nr,"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":Cn,"sankey-diagram.schema.json":Fn,"sankey-diagram-options.schema.json":Rn,"sankey-diagram-slots.schema.json":Wn,"scatter-plot.schema.json":Vn,"scatter-plot-options.schema.json":is,"scatter-plot-slots.schema.json":cs,"slicer-filter.schema.json":gs,"slicer-filter-options.schema.json":xs,"slicer-filter-slots.schema.json":Is,"slider-filter.schema.json":Ms,"slider-filter-options.schema.json":As,"slider-filter-slots.schema.json":Js,"text.schema.json":ea,"text-options.schema.json":na};exports.ColumnChartModes=t;exports.JSON_SCHEMAS=sa;exports.RegularTableSortingMode=i;
|