{
  "allOf": [
    {
      "$ref": "#/definitions/DashboardComponentPropsBase<null>"
    },
    {
      "type": "object",
      "properties": {
        "layerId": {
          "description": "GIS v2 layer to render. When omitted, the first visible layer (else the first layer) is used.",
          "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", "temperature"],
          "type": "string"
        }
      }
    }
  ],
  "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#"
}
