@luzmo/dashboard-contents-types 1.0.33 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/assets/json-schemas/ai-summary-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/ai-summary-options.schema.json.js +1 -1
- package/assets/json-schemas/ai-summary.schema.json.cjs +1 -1
- package/assets/json-schemas/ai-summary.schema.json.d.ts +2 -2
- package/assets/json-schemas/ai-summary.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/area-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/area-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/area-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/area-chart.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/bar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/bar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/box-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +22 -16
- package/assets/json-schemas/box-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/box-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/bubble-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/bubble-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/bullet-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/bullet-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart.schema.json.js +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +16 -1
- package/assets/json-schemas/choropleth-map-options.schema.json.js +4 -4
- package/assets/json-schemas/choropleth-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +25 -19
- package/assets/json-schemas/choropleth-map-slots.schema.json.js +5 -5
- package/assets/json-schemas/choropleth-map.schema.json.cjs +1 -1
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/circle-pack-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.js +5 -5
- package/assets/json-schemas/circle-pack-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/circle-pack-chart.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/circular-gauge-options.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/circular-gauge-slots.schema.json.js +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.cjs +1 -1
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/column-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/column-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/column-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/combination-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/combination-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/combination-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/conditional-number-options.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/conditional-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/conditional-number.schema.json.cjs +1 -1
- package/assets/json-schemas/conditional-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/conditional-number.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/date-comparison-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.d.ts +15 -9
- package/assets/json-schemas/date-comparison-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-comparison-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-comparison-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-comparison-filter.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/date-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/date-filter-slots.schema.json.cjs +4 -4
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +15 -9
- package/assets/json-schemas/date-filter-slots.schema.json.js +4 -4
- package/assets/json-schemas/date-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/donut-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/donut-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/donut-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/dropdown-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +20 -14
- package/assets/json-schemas/dropdown-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/evolution-number-options.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +22 -16
- package/assets/json-schemas/evolution-number-slots.schema.json.js +1 -1
- package/assets/json-schemas/evolution-number.schema.json.cjs +1 -1
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/funnel-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +23 -17
- package/assets/json-schemas/funnel-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/heat-map-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +22 -16
- package/assets/json-schemas/heat-map-slots.schema.json.js +5 -5
- package/assets/json-schemas/heat-map.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/heat-table-options.schema.json.js +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/heat-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/heat-table.schema.json.cjs +1 -1
- package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-table.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +16 -1
- package/assets/json-schemas/hexbin-map-options.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +22 -16
- package/assets/json-schemas/hexbin-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.cjs +1 -1
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/hexbin-map.schema.json.js +1 -1
- package/assets/json-schemas/image-options.schema.json.cjs +1 -1
- package/assets/json-schemas/image-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/image-options.schema.json.js +1 -1
- package/assets/json-schemas/image.schema.json.cjs +1 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/image.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/line-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/line-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/line-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/line-chart.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/marker-map-options.schema.json.js +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +22 -16
- package/assets/json-schemas/marker-map-slots.schema.json.js +5 -5
- package/assets/json-schemas/marker-map.schema.json.cjs +1 -1
- package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/ohlc-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +36 -30
- package/assets/json-schemas/ohlc-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/ohlc-chart.schema.json.js +1 -1
- package/assets/json-schemas/options.schema.json.cjs +1 -1
- package/assets/json-schemas/options.schema.json.d.ts +46 -46
- package/assets/json-schemas/options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +23 -17
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/pivot-table-options.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/pivot-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/pivot-table.schema.json.cjs +1 -1
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/pivot-table.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/pyramid-chart-options.schema.json.js +4 -4
- package/assets/json-schemas/pyramid-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/pyramid-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/pyramid-chart.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/radar-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/radar-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/radar-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/radar-chart.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/regular-table-options.schema.json.js +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +20 -14
- package/assets/json-schemas/regular-table-slots.schema.json.js +1 -1
- package/assets/json-schemas/regular-table.schema.json.cjs +1 -1
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table.schema.json.js +1 -1
- package/assets/json-schemas/route-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/route-map-options.schema.json.js +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +29 -23
- package/assets/json-schemas/route-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/route-map.schema.json.cjs +1 -1
- package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/sankey-diagram-options.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +32 -26
- package/assets/json-schemas/sankey-diagram-slots.schema.json.js +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.cjs +1 -1
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/scatter-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +36 -30
- package/assets/json-schemas/scatter-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/search-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +20 -14
- package/assets/json-schemas/search-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/search-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/slicer-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/slicer-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/slider-filter-options.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +18 -12
- package/assets/json-schemas/slider-filter-slots.schema.json.js +1 -1
- package/assets/json-schemas/slider-filter.schema.json.cjs +1 -1
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter.schema.json.js +1 -1
- package/assets/json-schemas/slots.schema.json.cjs +1 -1
- package/assets/json-schemas/slots.schema.json.d.ts +42 -42
- package/assets/json-schemas/slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/speedometer-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +28 -22
- package/assets/json-schemas/speedometer-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/speedometer-chart.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +16 -1
- package/assets/json-schemas/spike-map-options.schema.json.js +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +26 -20
- package/assets/json-schemas/spike-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/spike-map.schema.json.cjs +1 -1
- package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/spike-map.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-options.schema.json.d.ts +7 -1
- package/assets/json-schemas/strip-plot-options.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/strip-plot-slots.schema.json.js +1 -1
- package/assets/json-schemas/strip-plot.schema.json.cjs +1 -1
- package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/strip-plot.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/sunburst-chart-options.schema.json.js +4 -4
- package/assets/json-schemas/sunburst-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +24 -18
- package/assets/json-schemas/sunburst-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/sunburst-chart.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/symbol-map-options.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +25 -19
- package/assets/json-schemas/symbol-map-slots.schema.json.js +1 -1
- package/assets/json-schemas/symbol-map.schema.json.cjs +1 -1
- package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/symbol-map.schema.json.js +1 -1
- package/assets/json-schemas/text-options.schema.json.cjs +1 -1
- package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/text-options.schema.json.js +1 -1
- package/assets/json-schemas/text.schema.json.cjs +1 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/text.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/treemap-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +33 -27
- package/assets/json-schemas/treemap-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/treemap-chart.schema.json.js +1 -1
- package/assets/json-schemas/video-options.schema.json.cjs +1 -1
- package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/video-options.schema.json.js +1 -1
- package/assets/json-schemas/video.schema.json.cjs +1 -1
- package/assets/json-schemas/video.schema.json.d.ts +2 -2
- package/assets/json-schemas/video.schema.json.js +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.cjs +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/viz-item-type.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +21 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +26 -20
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.js +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.cjs +1 -1
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/wordcloud-chart.schema.json.js +1 -1
- package/json-schemas.cjs.map +1 -1
- package/json-schemas.d.ts +565 -0
- package/json-schemas.d.ts.map +1 -1
- package/json-schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/area-chart/area-chart-options.config.cjs +1 -1
- package/src/lib/area-chart/area-chart-options.config.cjs.map +1 -1
- package/src/lib/area-chart/area-chart-options.config.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-options.config.js +20 -2
- package/src/lib/area-chart/area-chart-options.config.js.map +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +7 -1
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.config.cjs +1 -1
- package/src/lib/bar-chart/bar-chart-options.config.cjs.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.config.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.config.js +23 -5
- package/src/lib/bar-chart/bar-chart-options.config.js.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts +7 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.config.cjs +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.config.cjs.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.config.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.config.js +23 -5
- package/src/lib/bubble-chart/bubble-chart-options.config.js.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +7 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-options.config.cjs +1 -1
- package/src/lib/column-chart/column-chart-options.config.cjs.map +1 -1
- package/src/lib/column-chart/column-chart-options.config.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.config.js +20 -2
- package/src/lib/column-chart/column-chart-options.config.js.map +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts +7 -1
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.js.map +1 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts +7 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts +7 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.config.cjs +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.config.cjs.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.config.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.config.js +18 -0
- package/src/lib/funnel-chart/funnel-chart-options.config.js.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +7 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-options.config.cjs +1 -1
- package/src/lib/line-chart/line-chart-options.config.cjs.map +1 -1
- package/src/lib/line-chart/line-chart-options.config.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-options.config.js +26 -8
- package/src/lib/line-chart/line-chart-options.config.js.map +1 -1
- package/src/lib/line-chart/line-chart-options.d.ts +7 -1
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.config.cjs +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.config.cjs.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.config.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.config.js +23 -5
- package/src/lib/pyramid-chart/pyramid-chart-options.config.js.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.d.ts +7 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.d.ts.map +1 -1
- package/src/lib/radar-chart/radar-chart-options.config.cjs +1 -1
- package/src/lib/radar-chart/radar-chart-options.config.cjs.map +1 -1
- package/src/lib/radar-chart/radar-chart-options.config.d.ts.map +1 -1
- package/src/lib/radar-chart/radar-chart-options.config.js +21 -3
- package/src/lib/radar-chart/radar-chart-options.config.js.map +1 -1
- package/src/lib/radar-chart/radar-chart-options.d.ts +7 -1
- package/src/lib/radar-chart/radar-chart-options.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.config.cjs +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.config.cjs.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.config.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.config.js +25 -7
- package/src/lib/scatter-plot/scatter-plot-options.config.js.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +7 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
- package/src/lib/shared/index.d.ts +1 -0
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/types/data-field.d.ts +1 -0
- package/src/lib/shared/types/data-field.d.ts.map +1 -1
- package/src/lib/shared/types/formula.d.ts +1 -0
- package/src/lib/shared/types/formula.d.ts.map +1 -1
- package/src/lib/shared/types/index.d.ts +1 -0
- package/src/lib/shared/types/index.d.ts.map +1 -1
- package/src/lib/shared/types/interactivity-legend-reorder.d.ts +14 -0
- package/src/lib/shared/types/interactivity-legend-reorder.d.ts.map +1 -0
- package/src/lib/shared/types/iq-components.d.ts +2 -0
- package/src/lib/shared/types/iq-components.d.ts.map +1 -1
- package/src/lib/shared/types/legend.d.ts +17 -0
- package/src/lib/shared/types/legend.d.ts.map +1 -1
- package/src/lib/shared/types/query.d.ts +5 -1
- package/src/lib/shared/types/query.d.ts.map +1 -1
- package/src/lib/shared/version.cjs +1 -1
- package/src/lib/shared/version.cjs.map +1 -1
- package/src/lib/shared/version.d.ts +1 -1
- package/src/lib/shared/version.js +1 -1
- package/src/lib/shared/version.js.map +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.config.cjs +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.config.cjs.map +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.config.d.ts.map +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.config.js +18 -0
- package/src/lib/sunburst-chart/sunburst-chart-options.config.js.map +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.d.ts +7 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.d.ts.map +1 -1
- package/src/lib/symbol-map/symbol-map-options.config.cjs +1 -1
- package/src/lib/symbol-map/symbol-map-options.config.cjs.map +1 -1
- package/src/lib/symbol-map/symbol-map-options.config.d.ts.map +1 -1
- package/src/lib/symbol-map/symbol-map-options.config.js +20 -2
- package/src/lib/symbol-map/symbol-map-options.config.js.map +1 -1
- package/src/lib/symbol-map/symbol-map-options.d.ts +6 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.config.cjs +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.config.cjs.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.config.d.ts.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.config.js +25 -7
- package/src/lib/treemap-chart/treemap-chart-options.config.js.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.d.ts +6 -0
- package/src/lib/treemap-chart/treemap-chart-options.d.ts.map +1 -1
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +6 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification method","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":"A color class, use \\"manual\\" to specify custom colors in the manualValues option","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"disableWebgl":{"default":false,"description":"Disable or enable WebGL rendering","type":"boolean"},"display":{"description":"General display options of the Choropleth map: title, legend and mode option","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"enabled":{"description":"Options to enable or disable different map features","properties":{"pan":{"default":true,"description":"Enable or disable pan","type":"boolean"},"pitchBearing":{"default":false,"description":"Enable or disable \\"Pitch & Rotate\\" (allows using Ctrl + drag)","type":"boolean"},"repositionOnRefresh":{"default":true,"description":"Enable or disable reposition on Data Refresh","type":"boolean"},"zoom":{"default":true,"description":"Enable or disable zoom","type":"boolean"}},"type":"object"},"highlights":{"description":"Highlight dominance options, it's applied only when a category is set","properties":{"active":{"default":true,"description":"Enable or disable highlight","type":"boolean"},"color":{"default":"rgb(255,255,255)","description":"If enabled, color of the highlight","examples":["rgb(0,0,0)","rgb(255,255,255)"],"type":"string"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"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","examples":[{"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 text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","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":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"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"},"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","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","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"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"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\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"legend":{"description":"Legend options, they are applied if the legend is displayed","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":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"default":{"manualValues":[]},"description":"Manually specified classification and colors","properties":{"ranges":{"description":"Ranges of values and colors","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","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 for classification","examples":[3,4,5,6,7,8,9],"type":"number"},"opacity":{"default":".85","description":"Opacity of the map","type":"number"},"pin":{"description":"Pin options","properties":{"auto":{"default":true,"description":"Automatically pin the map","type":"boolean"},"bearing":{"default":0,"description":"The map's initial bearing (rotation), measured in degrees counter-clockwise from north. If unspecified in options or style, it defaults to \`0\`.","type":"number"},"center":{"default":[0,0],"description":"The map's initial centerpoint. If unspecified in options or style, it defaults to [0, 0]. Note: MapLibre GL JS uses longitude-latitude order to match GeoJSON.","examples":[[0,0],[50.870978137947134,4.344406127929688]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"pitch":{"default":0,"description":"The map's initial pitch (tilt), measured in degrees from the screen plane (0-85). If unspecified in options or the style, it defaults to 0.","type":"number"},"zoom":{"default":2,"description":"The map's initial zoom level. If unspecified in options or style, it defaults to 0.","examples":[2,5,11],"type":"number"}},"type":"object"},"strokeColor":{"default":"rgba(0,0,0,.3)","description":"Border color, it's applied only when a category is set","examples":["#000000","rgb(227,150,150)"],"type":"string"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom 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"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","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"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","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, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"tileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","name":"OpenStreetMap","url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},"description":"Map style when WebGL rendering is disabled","properties":{"attribution":{"description":"Attribution","examples":["","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© Openstreetmap France | © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>, Tiles courtesy of <a href=\\"http://hot.openstreetmap.org/\\" target=\\"_blank\\">Humanitarian OpenStreetMap Team</a>","<a id=\\"home-link\\" target=\\"_top\\" href=\\"../\\">Map tiles</a> by <a target=\\"_top\\" href=\\"http://stamen.com\\">Stamen Design</a>, under <a target=\\"_top\\" href=\\"http://creativecommons.org/licenses/by/3.0\\">CC BY 3.0</a>, © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.antwerpen.be\\">Stad Antwerpen</a>"],"type":"string"},"bounds":{"description":"Bounds","examples":[[[51.1,4.1],[51.45,4.5]]],"items":[{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"maxItems":2,"minItems":2,"type":"array"},"name":{"description":"Name","examples":["No Tiles","OpenStreetMap","OpenStreetMap France","OpenStreetMap Hot","Stamen Toner","Stamen Watercolor","Stamen Terrain","Cityplan Antwerp"],"type":"string"},"url":{"description":"URL","examples":["","https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png","https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png","https://tiles.arcgis.com/tiles/1KSVSmnHT2Lw9ea6/arcgis/rest/services/basemap_stadsplan_v5/MapServer/tile/{z}/{y}/{x}"],"type":"string"},"vectorId":{"description":"Vector ID","examples":["no-tiles","osm-bright","toner","osm-liberty"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"tooltip":{"description":"Configure tooltip","properties":{"allValues":{"default":true,"description":"Show all values","type":"boolean"},"percentages":{"default":true,"description":"Show percentages","type":"boolean"}},"type":"object"},"vectorTileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","id":"klokantech-basic","name":"Basic"},"description":"Map style when WebGL rendering is enabled","properties":{"attribution":{"description":"Attribution","examples":["© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>"],"type":"string"},"id":{"description":"ID","examples":["no-tiles","klokantech-basic","osm-bright","dark-matter","fiord-color","osm-liberty","pastel","positron"],"type":"string"},"name":{"description":"Name","examples":["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets"],"type":"string"},"rasterName":{"description":"Raster name","examples":["No Tiles","OpenStreetMap"],"type":"string"},"url":{"description":"URL","examples":["https://openmaptiles.github.io/klokantech-basic-gl-style/style-cdn.json","https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json","https://openmaptiles.github.io/dark-matter-gl-style/style-cdn.json","https://openmaptiles.github.io/fiord-color-gl-style/style-cdn.json","https://rawgit.com/lukasmartinelli/osm-liberty/gh-pages/style.json","https://api.maptiler.com/maps/pastel/style.json","https://openmaptiles.github.io/positron-gl-style/style-cdn.json"],"type":"string"}},"type":"object"},"zoomRange":{"default":[0,25],"description":"Zoom range","items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-options.schema.json",t="http://json-schema.org/draft-07/schema#",i=JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification method","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":"A color class, use \\"manual\\" to specify custom colors in the manualValues option","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"disableWebgl":{"default":false,"description":"Disable or enable WebGL rendering","type":"boolean"},"display":{"description":"General display options of the Choropleth map: title, legend and mode option","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"enabled":{"description":"Options to enable or disable different map features","properties":{"pan":{"default":true,"description":"Enable or disable pan","type":"boolean"},"pitchBearing":{"default":false,"description":"Enable or disable \\"Pitch & Rotate\\" (allows using Ctrl + drag)","type":"boolean"},"repositionOnRefresh":{"default":true,"description":"Enable or disable reposition on Data Refresh","type":"boolean"},"zoom":{"default":true,"description":"Enable or disable zoom","type":"boolean"}},"type":"object"},"highlights":{"description":"Highlight dominance options, it's applied only when a category is set","properties":{"active":{"default":true,"description":"Enable or disable highlight","type":"boolean"},"color":{"default":"rgb(255,255,255)","description":"If enabled, color of the highlight","examples":["rgb(0,0,0)","rgb(255,255,255)"],"type":"string"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"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","examples":[{"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 text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","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":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"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"},"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","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","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"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"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\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"customOrder":{"default":false,"description":"Enable a custom, user-defined legend order. When enabled, editors can drag legend\\nitems to arrange them and the order is saved. When disabled, the automatic order applies.","type":"boolean"},"order":{"description":"Saved custom legend order, keyed by legend-dimension. Only applied when \`customOrder\` is enabled.","type":"object"},"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":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"default":{"manualValues":[]},"description":"Manually specified classification and colors","properties":{"ranges":{"description":"Ranges of values and colors","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","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 for classification","examples":[3,4,5,6,7,8,9],"type":"number"},"opacity":{"default":".85","description":"Opacity of the map","type":"number"},"pin":{"description":"Pin options","properties":{"auto":{"default":true,"description":"Automatically pin the map","type":"boolean"},"bearing":{"default":0,"description":"The map's initial bearing (rotation), measured in degrees counter-clockwise from north. If unspecified in options or style, it defaults to \`0\`.","type":"number"},"center":{"default":[0,0],"description":"The map's initial centerpoint. If unspecified in options or style, it defaults to [0, 0]. Note: MapLibre GL JS uses longitude-latitude order to match GeoJSON.","examples":[[0,0],[50.870978137947134,4.344406127929688]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"pitch":{"default":0,"description":"The map's initial pitch (tilt), measured in degrees from the screen plane (0-85). If unspecified in options or the style, it defaults to 0.","type":"number"},"zoom":{"default":2,"description":"The map's initial zoom level. If unspecified in options or style, it defaults to 0.","examples":[2,5,11],"type":"number"}},"type":"object"},"strokeColor":{"default":"rgba(0,0,0,.3)","description":"Border color, it's applied only when a category is set","examples":["#000000","rgb(227,150,150)"],"type":"string"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom 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"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","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"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","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, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"tileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","name":"OpenStreetMap","url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},"description":"Map style when WebGL rendering is disabled","properties":{"attribution":{"description":"Attribution","examples":["","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© Openstreetmap France | © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>, Tiles courtesy of <a href=\\"http://hot.openstreetmap.org/\\" target=\\"_blank\\">Humanitarian OpenStreetMap Team</a>","<a id=\\"home-link\\" target=\\"_top\\" href=\\"../\\">Map tiles</a> by <a target=\\"_top\\" href=\\"http://stamen.com\\">Stamen Design</a>, under <a target=\\"_top\\" href=\\"http://creativecommons.org/licenses/by/3.0\\">CC BY 3.0</a>, © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.antwerpen.be\\">Stad Antwerpen</a>"],"type":"string"},"bounds":{"description":"Bounds","examples":[[[51.1,4.1],[51.45,4.5]]],"items":[{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"maxItems":2,"minItems":2,"type":"array"},"name":{"description":"Name","examples":["No Tiles","OpenStreetMap","OpenStreetMap France","OpenStreetMap Hot","Stamen Toner","Stamen Watercolor","Stamen Terrain","Cityplan Antwerp"],"type":"string"},"url":{"description":"URL","examples":["","https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png","https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png","https://tiles.arcgis.com/tiles/1KSVSmnHT2Lw9ea6/arcgis/rest/services/basemap_stadsplan_v5/MapServer/tile/{z}/{y}/{x}"],"type":"string"},"vectorId":{"description":"Vector ID","examples":["no-tiles","osm-bright","toner","osm-liberty"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"tooltip":{"description":"Configure tooltip","properties":{"allValues":{"default":true,"description":"Show all values","type":"boolean"},"percentages":{"default":true,"description":"Show percentages","type":"boolean"}},"type":"object"},"vectorTileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","id":"klokantech-basic","name":"Basic"},"description":"Map style when WebGL rendering is enabled","properties":{"attribution":{"description":"Attribution","examples":["© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>"],"type":"string"},"id":{"description":"ID","examples":["no-tiles","klokantech-basic","osm-bright","dark-matter","fiord-color","osm-liberty","pastel","positron"],"type":"string"},"name":{"description":"Name","examples":["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets"],"type":"string"},"rasterName":{"description":"Raster name","examples":["No Tiles","OpenStreetMap"],"type":"string"},"url":{"description":"URL","examples":["https://openmaptiles.github.io/klokantech-basic-gl-style/style-cdn.json","https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json","https://openmaptiles.github.io/dark-matter-gl-style/style-cdn.json","https://openmaptiles.github.io/fiord-color-gl-style/style-cdn.json","https://rawgit.com/lukasmartinelli/osm-liberty/gh-pages/style.json","https://api.maptiler.com/maps/pastel/style.json","https://openmaptiles.github.io/positron-gl-style/style-cdn.json"],"type":"string"}},"type":"object"},"zoomRange":{"default":[0,25],"description":"Zoom range","items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}}`),r="object",o={$id:e,$schema:t,properties:i,type:r};exports.$id=e;exports.$schema=t;exports.default=o;exports.properties=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=choropleth-map-options.schema.json.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.
|
|
2
|
+
"$id": "https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-options.schema.json",
|
|
3
3
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
4
4
|
"properties": {
|
|
5
5
|
"annotate": {
|
|
@@ -565,6 +565,12 @@ declare const _default: {
|
|
|
565
565
|
"allOf": [
|
|
566
566
|
{
|
|
567
567
|
"properties": {
|
|
568
|
+
"ai_context": {
|
|
569
|
+
"type": [
|
|
570
|
+
"null",
|
|
571
|
+
"string"
|
|
572
|
+
]
|
|
573
|
+
},
|
|
568
574
|
"cardinality": {
|
|
569
575
|
"type": "number"
|
|
570
576
|
},
|
|
@@ -900,6 +906,15 @@ declare const _default: {
|
|
|
900
906
|
"legend": {
|
|
901
907
|
"description": "Legend options, they are applied if the legend is displayed",
|
|
902
908
|
"properties": {
|
|
909
|
+
"customOrder": {
|
|
910
|
+
"default": false,
|
|
911
|
+
"description": "Enable a custom, user-defined legend order. When enabled, editors can drag legend\nitems to arrange them and the order is saved. When disabled, the automatic order applies.",
|
|
912
|
+
"type": "boolean"
|
|
913
|
+
},
|
|
914
|
+
"order": {
|
|
915
|
+
"description": "Saved custom legend order, keyed by legend-dimension. Only applied when `customOrder` is enabled.",
|
|
916
|
+
"type": "object"
|
|
917
|
+
},
|
|
903
918
|
"position": {
|
|
904
919
|
"description": "Position of the legend. Only available when the legend is shown.",
|
|
905
920
|
"enum": [
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification method","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":"A color class, use \\"manual\\" to specify custom colors in the manualValues option","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"disableWebgl":{"default":false,"description":"Disable or enable WebGL rendering","type":"boolean"},"display":{"description":"General display options of the Choropleth map: title, legend and mode option","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"enabled":{"description":"Options to enable or disable different map features","properties":{"pan":{"default":true,"description":"Enable or disable pan","type":"boolean"},"pitchBearing":{"default":false,"description":"Enable or disable \\"Pitch & Rotate\\" (allows using Ctrl + drag)","type":"boolean"},"repositionOnRefresh":{"default":true,"description":"Enable or disable reposition on Data Refresh","type":"boolean"},"zoom":{"default":true,"description":"Enable or disable zoom","type":"boolean"}},"type":"object"},"highlights":{"description":"Highlight dominance options, it's applied only when a category is set","properties":{"active":{"default":true,"description":"Enable or disable highlight","type":"boolean"},"color":{"default":"rgb(255,255,255)","description":"If enabled, color of the highlight","examples":["rgb(0,0,0)","rgb(255,255,255)"],"type":"string"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"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","examples":[{"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 text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","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":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"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"},"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","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","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"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"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\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"legend":{"description":"Legend options, they are applied if the legend is displayed","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":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"default":{"manualValues":[]},"description":"Manually specified classification and colors","properties":{"ranges":{"description":"Ranges of values and colors","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","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 for classification","examples":[3,4,5,6,7,8,9],"type":"number"},"opacity":{"default":".85","description":"Opacity of the map","type":"number"},"pin":{"description":"Pin options","properties":{"auto":{"default":true,"description":"Automatically pin the map","type":"boolean"},"bearing":{"default":0,"description":"The map's initial bearing (rotation), measured in degrees counter-clockwise from north. If unspecified in options or style, it defaults to \`0\`.","type":"number"},"center":{"default":[0,0],"description":"The map's initial centerpoint. If unspecified in options or style, it defaults to [0, 0]. Note: MapLibre GL JS uses longitude-latitude order to match GeoJSON.","examples":[[0,0],[50.870978137947134,4.344406127929688]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"pitch":{"default":0,"description":"The map's initial pitch (tilt), measured in degrees from the screen plane (0-85). If unspecified in options or the style, it defaults to 0.","type":"number"},"zoom":{"default":2,"description":"The map's initial zoom level. If unspecified in options or style, it defaults to 0.","examples":[2,5,11],"type":"number"}},"type":"object"},"strokeColor":{"default":"rgba(0,0,0,.3)","description":"Border color, it's applied only when a category is set","examples":["#000000","rgb(227,150,150)"],"type":"string"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom 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"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","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"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","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, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"tileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","name":"OpenStreetMap","url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},"description":"Map style when WebGL rendering is disabled","properties":{"attribution":{"description":"Attribution","examples":["","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© Openstreetmap France | © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>, Tiles courtesy of <a href=\\"http://hot.openstreetmap.org/\\" target=\\"_blank\\">Humanitarian OpenStreetMap Team</a>","<a id=\\"home-link\\" target=\\"_top\\" href=\\"../\\">Map tiles</a> by <a target=\\"_top\\" href=\\"http://stamen.com\\">Stamen Design</a>, under <a target=\\"_top\\" href=\\"http://creativecommons.org/licenses/by/3.0\\">CC BY 3.0</a>, © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.antwerpen.be\\">Stad Antwerpen</a>"],"type":"string"},"bounds":{"description":"Bounds","examples":[[[51.1,4.1],[51.45,4.5]]],"items":[{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"maxItems":2,"minItems":2,"type":"array"},"name":{"description":"Name","examples":["No Tiles","OpenStreetMap","OpenStreetMap France","OpenStreetMap Hot","Stamen Toner","Stamen Watercolor","Stamen Terrain","Cityplan Antwerp"],"type":"string"},"url":{"description":"URL","examples":["","https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png","https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png","https://tiles.arcgis.com/tiles/1KSVSmnHT2Lw9ea6/arcgis/rest/services/basemap_stadsplan_v5/MapServer/tile/{z}/{y}/{x}"],"type":"string"},"vectorId":{"description":"Vector ID","examples":["no-tiles","osm-bright","toner","osm-liberty"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"tooltip":{"description":"Configure tooltip","properties":{"allValues":{"default":true,"description":"Show all values","type":"boolean"},"percentages":{"default":true,"description":"Show percentages","type":"boolean"}},"type":"object"},"vectorTileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","id":"klokantech-basic","name":"Basic"},"description":"Map style when WebGL rendering is enabled","properties":{"attribution":{"description":"Attribution","examples":["© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>"],"type":"string"},"id":{"description":"ID","examples":["no-tiles","klokantech-basic","osm-bright","dark-matter","fiord-color","osm-liberty","pastel","positron"],"type":"string"},"name":{"description":"Name","examples":["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets"],"type":"string"},"rasterName":{"description":"Raster name","examples":["No Tiles","OpenStreetMap"],"type":"string"},"url":{"description":"URL","examples":["https://openmaptiles.github.io/klokantech-basic-gl-style/style-cdn.json","https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json","https://openmaptiles.github.io/dark-matter-gl-style/style-cdn.json","https://openmaptiles.github.io/fiord-color-gl-style/style-cdn.json","https://rawgit.com/lukasmartinelli/osm-liberty/gh-pages/style.json","https://api.maptiler.com/maps/pastel/style.json","https://openmaptiles.github.io/positron-gl-style/style-cdn.json"],"type":"string"}},"type":"object"},"zoomRange":{"default":[0,25],"description":"Zoom range","items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}}`), o = "object", r = {
|
|
1
|
+
const e = "https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-options.schema.json", t = "http://json-schema.org/draft-07/schema#", i = /* @__PURE__ */ JSON.parse(`{"annotate":{"description":"Information tooltip configuration","properties":{"infoTooltip":{"properties":{"active":{"description":"Is information tooltip active","type":"boolean"},"content":{"description":"Information tooltip content in format {<locale>: \\"content\\"}","examples":[{"en":"Content"}],"type":"object"},"position":{"description":"Information tooltip position","enum":["left","right"],"type":"string"}},"type":"object"}},"type":"object"},"classification":{"default":"quantile","description":"Classification method","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":"A color class, use \\"manual\\" to specify custom colors in the manualValues option","enum":["BlueRed","Blues","BrBG","BuGn","BuPu","Fire","GnBu","Greens","Greys","Incan","Inferno","Ocean","OrRd","Oranges","PRGn","Paired","PiYG","Plasma","PuBu","PuBuGn","PuOr","PuRd","Purples","RdBu","RdGy","RdPu","RdYlBu","RdYlGn","Reds","Set1","Set3","Spectral","Spectrum","Sunrise","Viris","YlGn","YlGnBu","YlOrBr","YlOrRd","manual"],"examples":["manual","Spectral","RdYlBu","PdBu","PiYG","PRGn","RdYlGn","BrBG","RdGy","PuOr","Paired","Set1","Set3","OrRd","PuBu","BuPu","Oranges","BuGn","YlOrBr","YlGn","Reds","RdPu","Greens","YlGnBu","Purples","GnBu","Greys","YlOrRd","PuRd","Blues","PuBuGn","Spectrum","BlueRed","Plasma","Viris","Incan","Fire","Inferno","Ocean","Sunrise"],"type":"string"},"disableWebgl":{"default":false,"description":"Disable or enable WebGL rendering","type":"boolean"},"display":{"description":"General display options of the Choropleth map: title, legend and mode option","properties":{"legend":{"default":true,"description":"Show or hide the legend","type":"boolean"},"title":{"default":true,"description":"Show or hide the title","type":"boolean"}},"type":"object"},"enabled":{"description":"Options to enable or disable different map features","properties":{"pan":{"default":true,"description":"Enable or disable pan","type":"boolean"},"pitchBearing":{"default":false,"description":"Enable or disable \\"Pitch & Rotate\\" (allows using Ctrl + drag)","type":"boolean"},"repositionOnRefresh":{"default":true,"description":"Enable or disable reposition on Data Refresh","type":"boolean"},"zoom":{"default":true,"description":"Enable or disable zoom","type":"boolean"}},"type":"object"},"highlights":{"description":"Highlight dominance options, it's applied only when a category is set","properties":{"active":{"default":true,"description":"Enable or disable highlight","type":"boolean"},"color":{"default":"rgb(255,255,255)","description":"If enabled, color of the highlight","examples":["rgb(0,0,0)","rgb(255,255,255)"],"type":"string"}},"type":"object"},"interactivity":{"description":"Interactivity options","properties":{"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","examples":[{"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 text\\"}","examples":[{"en":"Total Revenue"}],"type":["null","object"]},"exportTypes":{"default":["xlsx","csv","png"],"description":"Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.","items":{"description":"Export types","enum":["base64","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":{"order":{"description":"Order","examples":[0,9999],"type":"number"},"slot":{"description":"Slot name","examples":["measure","dimension","legend"],"type":"string"},"slotType":{"description":"Slot type","enum":["categorical","mixed","numeric"],"type":"string"},"values":{"description":"An array of columns for the current picker","items":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"description":"Column subtype","enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"description":"Settings to configure period over period comparison. It can be used only in a measure slot.","properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"type":"object"},"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"},"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","interval","ip_address","topography"],"type":"string"},"type":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"description":"Period over period comparison type","enum":["none","past","absoluteChange","percentageChange"],"type":"string"}},"type":"object"},"selected":{"description":"Selected item","type":"boolean"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"description":"Column / Formula type","enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","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"},"scheduledExport":{"default":true,"description":"Whether scheduled/recurring export is allowed for this chart.","type":"boolean"},"select":{"default":true,"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\\"}","examples":[{"en":"https://example.com"}],"type":"object"}},"type":"object"}},"type":"object"},"legend":{"description":"Legend options, they are applied if the legend is displayed","properties":{"customOrder":{"default":false,"description":"Enable a custom, user-defined legend order. When enabled, editors can drag legend\\nitems to arrange them and the order is saved. When disabled, the automatic order applies.","type":"boolean"},"order":{"description":"Saved custom legend order, keyed by legend-dimension. Only applied when \`customOrder\` is enabled.","type":"object"},"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":"The maximum number of data rows to query and display","properties":{"number":{"default":100000,"description":"Number of observations value","type":"number"}},"type":"object"},"loader":{"description":"The loader configuration","properties":{"background":{"default":"#f9f9f9","description":"Background color of the chart loader element","type":"string"},"fontColor":{"default":"#5a5a5a","description":"Font color of the text of the chart loaders","type":"string"},"locale":{"default":"en","description":"Locale to be used if \\"msg\\" is set","examples":["en","fr"],"type":"string"},"mode":{"default":"light","description":"Light or dark loader","type":"string"},"msg":{"description":"Loading message","examples":["Loading dashboard..."],"type":"string"},"showBranded":{"default":false,"description":"Shows the branded \\"powered by\\" information","type":"boolean"},"spinnerBackground":{"default":"rgba(169, 169, 169, 0.14)","description":"Background color of the spinner","type":"string"},"spinnerColor":{"default":"rgba(255, 165, 0, 0.7)","description":"Spinner color of the loader","type":"string"}},"type":"object"},"locale":{"default":"en","description":"Locale to be used","examples":["en","fr"],"type":"string"},"lookupFiltering":{"default":false,"description":"Allow interactive filtering of charts with linked datasets","type":"boolean"},"manualValues":{"default":{"manualValues":[]},"description":"Manually specified classification and colors","properties":{"ranges":{"description":"Ranges of values and colors","items":{"description":"Values range options that are configured manually","properties":{"color":{"description":"Color of the range, it can be a hex or rgb(a) color","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 for classification","examples":[3,4,5,6,7,8,9],"type":"number"},"opacity":{"default":".85","description":"Opacity of the map","type":"number"},"pin":{"description":"Pin options","properties":{"auto":{"default":true,"description":"Automatically pin the map","type":"boolean"},"bearing":{"default":0,"description":"The map's initial bearing (rotation), measured in degrees counter-clockwise from north. If unspecified in options or style, it defaults to \`0\`.","type":"number"},"center":{"default":[0,0],"description":"The map's initial centerpoint. If unspecified in options or style, it defaults to [0, 0]. Note: MapLibre GL JS uses longitude-latitude order to match GeoJSON.","examples":[[0,0],[50.870978137947134,4.344406127929688]],"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},"pitch":{"default":0,"description":"The map's initial pitch (tilt), measured in degrees from the screen plane (0-85). If unspecified in options or the style, it defaults to 0.","type":"number"},"zoom":{"default":2,"description":"The map's initial zoom level. If unspecified in options or style, it defaults to 0.","examples":[2,5,11],"type":"number"}},"type":"object"},"strokeColor":{"default":"rgba(0,0,0,.3)","description":"Border color, it's applied only when a category is set","examples":["#000000","rgb(227,150,150)"],"type":"string"},"theme":{"description":"Theme configuration","properties":{"borders":{"description":"Custom border styling","properties":{"border-bottom-width":{"description":"Border bottom width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-color":{"description":"Border color, it is visible when a border style and width are set","examples":["rgba(216, 216, 216, 1)","rgb(147, 146, 148)"],"type":"string"},"border-left-width":{"description":"Border left width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-radius":{"description":"Border radius","examples":["0","12px","20px"],"type":"string"},"border-right-width":{"description":"Border right width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"},"border-style":{"description":"Border style, it is visible when a border color and width are set","examples":["none","solid","dotted","dashed"],"type":"string"},"border-top-width":{"description":"Border top width, it is visible when a border style and color are set","examples":["0px","1px","3px"],"type":"string"}},"type":"object"},"boxShadow":{"description":"Custom 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"},"font":{"description":"Custom font styling","properties":{"fontFamily":{"description":"Font family","examples":["Lato","Montserrat","Roboto Mono","Arial","Times New Roman"],"type":"string"},"fontSize":{"description":"Font size in px, if not set, it will be inherited from the theme. It can be overridden if more specific \\"fontSize\\" is set, for example, \\"fontSize\\" inside options like \\"title\\", \\"axis\\", \\"legend\\", \\"tooltip\\", etc.","examples":[10,15,18],"type":"number"}},"type":"object"},"id":{"description":"Id of the theme, for example, \\"seasonal\\", \\"urban\\" or custom theme uuid. If you just pass custom theme options, it have to be skipped.","examples":["seasonal","urban"],"type":"string"},"itemsBackground":{"description":"Custom item background color","examples":["rgb(255, 255, 255)","rgb(71, 69, 69)","rgb(195, 191, 191)"],"type":"string"},"legend":{"description":"Custom legend styling, it's applied if the legend is displayed","properties":{"fontSize":{"description":"Legend font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","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"},"title":{"description":"Custom title styling, it's applied if the title is displayed","properties":{"align":{"description":"Title align","enum":["center","left","right"],"examples":["left","center","right"],"type":"string"},"bold":{"description":"Is title bold","examples":[true,false],"type":"boolean"},"border":{"description":"Is title a border","examples":[true,false],"type":"boolean"},"fontSize":{"description":"Title's font size in px, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[16,20],"type":"number"},"italic":{"description":"Is title italic","examples":[true,false],"type":"boolean"},"lineHeight":{"description":"Title's line height in px","examples":[30,42,50],"type":"number"},"underline":{"description":"Is title underline","examples":[true,false],"type":"boolean"}},"type":"object"},"tooltip":{"description":"Custom tooltip styling, it's applied if the tooltip is turned on","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, if not set, it will be inherited from the \\"font\\"->\\"fontSize\\" option","examples":[12,16,20],"type":"number"},"opacity":{"description":"Tooltip's opacity, it should be between 0 and 1, for example, 0.8","examples":[0.5,0.8,1],"type":"number"}},"type":"object"},"type":{"description":"It should be \\"custom\\" if custom theme id is specified or if you specify custom theme options to set the theme. Skip it otherwise.","examples":["custom"],"type":"string"}},"type":"object"},"tileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","name":"OpenStreetMap","url":"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},"description":"Map style when WebGL rendering is disabled","properties":{"attribution":{"description":"Attribution","examples":["","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© Openstreetmap France | © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>, Tiles courtesy of <a href=\\"http://hot.openstreetmap.org/\\" target=\\"_blank\\">Humanitarian OpenStreetMap Team</a>","<a id=\\"home-link\\" target=\\"_top\\" href=\\"../\\">Map tiles</a> by <a target=\\"_top\\" href=\\"http://stamen.com\\">Stamen Design</a>, under <a target=\\"_top\\" href=\\"http://creativecommons.org/licenses/by/3.0\\">CC BY 3.0</a>, © <a href=\\"http://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","© <a href=\\"http://www.antwerpen.be\\">Stad Antwerpen</a>"],"type":"string"},"bounds":{"description":"Bounds","examples":[[[51.1,4.1],[51.45,4.5]]],"items":[{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"},{"items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}],"maxItems":2,"minItems":2,"type":"array"},"name":{"description":"Name","examples":["No Tiles","OpenStreetMap","OpenStreetMap France","OpenStreetMap Hot","Stamen Toner","Stamen Watercolor","Stamen Terrain","Cityplan Antwerp"],"type":"string"},"url":{"description":"URL","examples":["","https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png","https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png","https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/toner/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/watercolor/{z}/{x}/{y}.png","https://stamen-tiles-{s}.a.ssl.fastly.net/terrain/{z}/{x}/{y}.png","https://tiles.arcgis.com/tiles/1KSVSmnHT2Lw9ea6/arcgis/rest/services/basemap_stadsplan_v5/MapServer/tile/{z}/{y}/{x}"],"type":"string"},"vectorId":{"description":"Vector ID","examples":["no-tiles","osm-bright","toner","osm-liberty"],"type":"string"}},"type":"object"},"timezoneId":{"description":"The timezone that will be used in the dashboard. This timezone id needs to be a valid id that is available in the IANA timezone database","examples":["Europe/Brussels","America/New_York"],"type":"string"},"title":{"description":"Title in format { <locale>: \\"title\\"}. It's applied if the title is displayed.","examples":[{"en":"Title"}],"type":"object"},"tooltip":{"description":"Configure tooltip","properties":{"allValues":{"default":true,"description":"Show all values","type":"boolean"},"percentages":{"default":true,"description":"Show percentages","type":"boolean"}},"type":"object"},"vectorTileProvider":{"default":{"attribution":"© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>","id":"klokantech-basic","name":"Basic"},"description":"Map style when WebGL rendering is enabled","properties":{"attribution":{"description":"Attribution","examples":["© <a href=\\"https://www.openstreetmap.org/copyright\\">OpenStreetMap</a>"],"type":"string"},"id":{"description":"ID","examples":["no-tiles","klokantech-basic","osm-bright","dark-matter","fiord-color","osm-liberty","pastel","positron"],"type":"string"},"name":{"description":"Name","examples":["No Tiles","Basic","Bright","Dark","Fiord","Liberty","Pastel","Positron","Streets"],"type":"string"},"rasterName":{"description":"Raster name","examples":["No Tiles","OpenStreetMap"],"type":"string"},"url":{"description":"URL","examples":["https://openmaptiles.github.io/klokantech-basic-gl-style/style-cdn.json","https://openmaptiles.github.io/osm-bright-gl-style/style-cdn.json","https://openmaptiles.github.io/dark-matter-gl-style/style-cdn.json","https://openmaptiles.github.io/fiord-color-gl-style/style-cdn.json","https://rawgit.com/lukasmartinelli/osm-liberty/gh-pages/style.json","https://api.maptiler.com/maps/pastel/style.json","https://openmaptiles.github.io/positron-gl-style/style-cdn.json"],"type":"string"}},"type":"object"},"zoomRange":{"default":[0,25],"description":"Zoom range","items":[{"type":"number"},{"type":"number"}],"maxItems":2,"minItems":2,"type":"array"}}`), r = "object", o = {
|
|
2
2
|
$id: e,
|
|
3
3
|
$schema: t,
|
|
4
4
|
properties: i,
|
|
5
|
-
type:
|
|
5
|
+
type: r
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
8
|
e as $id,
|
|
9
9
|
t as $schema,
|
|
10
|
-
|
|
10
|
+
o as default,
|
|
11
11
|
i as properties,
|
|
12
|
-
|
|
12
|
+
r as type
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=choropleth-map-options.schema.json.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"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.100/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/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","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"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.\\nThis 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.100/choropleth-map-slots.schema.json#/definitions/SpatialSlotContent"},"maxItems":1,"type":"array"},"name":{"const":"geo","description":"Name of the slot","type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","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.100/choropleth-map-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"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"},"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":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"SpatialSlotContent":{"properties":{"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"include_nonoccurring":{"description":"Shows empty areas for geo slots (with the name \\"geo\\" and content type 'spacial).\\nAlso, it can be set in the options' advanced settings of the Choropleth map.","type":"boolean"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"spatial","description":"\\"spatial\\" column type","type":"string"}},"type":"object"}}`),s="Data definition of the Choropleth map",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/GeoSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.100/choropleth-map-slots.schema.json#/definitions/CategorySlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e="https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json",t="http://json-schema.org/draft-07/schema#",o=JSON.parse(`{"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.101/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/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","interval","ip_address","topography"],"type":"string"},"ColumnType":{"enum":["array[datetime]","array[hierarchy]","array[numeric]","array[spatial]","datetime","hierarchy","numeric","spatial"],"type":"string"},"DateTimeSlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"datetime\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"datetimeDisplayMode":{"description":"If it's set it will be used for datetime formatting together with weekStart, weekDayNameFormat, monthNameFormat","enum":["day_in_month","day_in_year","default","hour_in_day","minute_in_hour","month_name","month_number","quarter_number","second_in_minute","week_number","weekday_name","weekday_number"],"type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"monthNameFormat":{"description":"Month name format for datetime column formatting","enum":["letter","long","short"],"type":"string"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"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.\\nThis 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.101/choropleth-map-slots.schema.json#/definitions/SpatialSlotContent"},"maxItems":1,"type":"array"},"name":{"const":"geo","description":"Name of the slot","type":"string"}},"type":"object"},"HierarchySlotContent":{"properties":{"aggregationFunc":{"description":"Basic aggregation function. It can be used when a \\"hierarchy\\" column is used in a measure slot.","enum":["count","distinctcount"],"type":"string"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"level":{"description":"\\"hierarchy\\" or \\"datetime\\" level","type":["number","null"]},"lowestLevel":{"description":"Lowest \\"hierarchy\\" or \\"datetime\\" level","type":["null","number"]},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","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.101/choropleth-map-slots.schema.json#/definitions/NumericSlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/HierarchySlotContent"},{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/DateTimeSlotContent"}]},"maxItems":1,"type":"array"},"name":{"const":"measure","description":"Name of the slot","type":"string"}},"type":"object"},"NumericSlotContent":{"properties":{"aggregationFunc":{"description":"Aggregation function. It can be used with a \\"numeric\\" column type, and with some limitations with \\"hierarchy\\" and \\"datetime\\" column types.","enum":["average","count","cumulativesum","distinctcount","histogram","max","median","min","rate","stddev","sum","weightedaverage"],"type":"string"},"aggregationWeight":{"description":"Aggregation weight. It can be used with a \\"numeric\\" column type.","properties":{"columnId":{"description":"Column id","format":"uuid","type":"string"},"columnSubType":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/ColumnSubtype","description":"Column subtype"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"}},"type":"object"},"bins":{"description":"Bin definition. It can be used when a \\"numeric\\" column is used as a category.","properties":{"enabled":{"description":"Enable or disable binning","type":"boolean"},"number":{"description":"Defines the range of the bins","type":"number"}},"type":"object"},"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"currency":{"description":"Currency code. It is only used when the column type is \\"numeric\\" and subtype is \\"currency\\".","examples":["€","$"],"type":["null","string"]},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"duration":{"description":"Duration definition. It's only used when the column type is \\"numeric\\" and subtype is \\"duration\\".","properties":{"format":{"description":"Duration format","enum":["long","short","time"],"type":"string"},"levels":{"description":"Duration levels used","items":{"type":"number"},"type":"array"}},"type":"object"},"format":{"description":"D3 format, it is used for \\"numeric\\" formatting (https://observablehq.com/@d3/d3-format), for \\"datetime\\" formatting (https://d3js.org/d3-time-format).\\nIt can also be used for \\"hierarchy\\" formatting but when it's used in the measure slot.","type":"string"},"formula":{"description":"A dataset formula id or an ad-hoc formula. A formula is an entity similar to a column. You can add formulas on the dataset details page or use ad-hoc formulas. You can find more information about formulas in the article https://academy.luzmo.com/article/52tm82oo","type":"string"},"formulaId":{"description":"A formula id","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\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"periodOverPeriod":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriod","description":"Settings to configure period over period comparison. It can be used only in a measure slot."},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"numeric","description":"\\"numeric\\" column / formula type","type":"string"}},"type":"object"},"PeriodOverPeriod":{"properties":{"level":{"description":"Period of time level\\n0 - period, 1 - year, 2 - quarter, 3 - month, 4 - week, 5 - day... 9 - millisecond","type":"number"},"offsetDateColumn":{"allOf":[{"properties":{"ai_context":{"type":["null","string"]},"cardinality":{"type":"number"},"color":{"type":"string"},"currency":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}},"type":"object"},"currency_id":{"type":"string"},"description":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"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"},"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":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/Record%3Cstring%2Cstring%3E"},"order":{"type":"number"},"securable_id":{"type":"string"},"source_name":{"type":"string"},"subtype":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/ColumnSubtype"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/ColumnType"},"version":{"type":"number"},"width":{"type":"number"}},"type":"object"},{"properties":{"datasetId":{"type":"string"}},"type":"object"}],"description":"Offset date column"},"periodToDate":{"description":"Turn ON/OFF period to date comparison","type":"boolean"},"quantity":{"description":"Number of periods","type":"number"},"rangeType":{"description":"Range type","enum":["relative","user-defined"],"type":"string"},"type":{"$ref":"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/PeriodOverPeriodType","description":"Period over period comparison type"}},"type":"object"},"PeriodOverPeriodType":{"description":"Period over period comparison type:\\n'none' - turned off,\\n'past' - absolute value comparison to the past,\\n'absoluteChange' - absolute change comparison to the past,\\n'percentageChange' - percentage change comparison to the past","enum":["none","past","absoluteChange","percentageChange"],"type":"string"},"Record<string,string>":{"type":"object"},"SpatialSlotContent":{"properties":{"color":{"description":"Color of the column. Any column type can have it, but it's applied when a column is set as a measure and when multiple measures are defined.","type":["null","string"]},"columnId":{"description":"Column id","format":"uuid","type":"string"},"datasetId":{"description":"Dataset id","format":"uuid","type":"string"},"formulaId":{"description":"A formula id","format":"uuid","type":"string"},"include_nonoccurring":{"description":"Shows empty areas for geo slots (with the name \\"geo\\" and content type 'spacial).\\nAlso, it can be set in the options' advanced settings of the Choropleth map.","type":"boolean"},"label":{"description":"Label in format {<locale>: \\"label\\"}","examples":[{"de":"Gesamtumsatz","en":"Total Revenue"}],"type":"object"},"subtype":{"anyOf":[{"enum":["coordinates","currency","duration","hierarchy_element_expression","interval","ip_address","topography"],"type":"string"},{"type":"null"}],"description":"Column subtype"},"type":{"const":"spatial","description":"\\"spatial\\" column type","type":"string"}},"type":"object"}}`),s="Data definition of the Choropleth map",n={anyOf:[{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/GeoSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/MeasureSlot"},{$ref:"https://developer.luzmo.com/assets/json-schemas/0.1.101/choropleth-map-slots.schema.json#/definitions/CategorySlot"}]},i=3,r="array",a={$id:e,$schema:t,definitions:o,description:s,items:n,maxItems:i,type:r};exports.$id=e;exports.$schema=t;exports.default=a;exports.definitions=o;exports.description=s;exports.items=n;exports.maxItems=i;exports.type=r;
|
|
2
2
|
//# sourceMappingURL=choropleth-map-slots.schema.json.cjs.map
|