{
  "allOf": [
    {
      "$ref": "#/definitions/DashboardComponentPropsBase<null>"
    },
    {
      "type": "object",
      "properties": {
        "scheme": {
          "description": "GIS v2 scheme of the company to render; the widget shows a notice until one is configured.",
          "type": "string"
        },
        "layerId": {
          "description": "GIS v2 layer of [scheme] to render. When omitted, every visible layer (else every layer) is shown.",
          "type": "number"
        },
        "featureLimit": {
          "description": "Max features fetched per viewport; forwarded to `features/get/{layer}?limit=`.",
          "type": "number"
        },
        "height": {
          "description": "Map height in pixels.",
          "type": ["null", "number"]
        },
        "basemapStyleUrl": {
          "description": "MapLibre style JSON url; defaults to an OSM raster style.",
          "type": "string"
        },
        "themeMode": {
          "description": "Initial thematic styling mode.",
          "enum": ["alarm", "diameter", "flow", "layer", "temperature"],
          "type": "string"
        },
        "initialBounds": {
          "description": "Extent the map opens on, as [minLng, minLat, maxLng, maxLat], fitted to the widget's size so the\nsame area shows at every width. Defaults to Kaunas.",
          "type": "array",
          "items": [
            {
              "type": "number"
            },
            {
              "type": "number"
            },
            {
              "type": "number"
            },
            {
              "type": "number"
            }
          ],
          "minItems": 4,
          "maxItems": 4
        }
      }
    }
  ],
  "definitions": {
    "DashboardComponentPropsBase<null>": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "reportOptions": {
          "type": "null"
        },
        "reportMode": {
          "type": "boolean"
        },
        "stateCb": {
          "type": "object"
        },
        "calendarType": {
          "const": "CALENDAR_445",
          "type": "string"
        },
        "hideHeader": {
          "type": "boolean"
        }
      }
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}
