{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/eliq/main/json-schema/eliq-map-segmentation-response-dto-schema.json",
  "title": "MapSegmentationResponseDto",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eliq-locationsegmentation-api-openapi.yml#/components/schemas/MapSegmentationResponseDto",
  "type": "object",
  "properties": {
    "locations": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/$defs/MapLocationDto"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "MapLocationDto": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "format": "int32"
        },
        "ev": {
          "type": "boolean"
        },
        "pv": {
          "type": "boolean"
        },
        "elecHeat": {
          "type": "boolean"
        },
        "gasHeat": {
          "type": "boolean"
        },
        "battery": {
          "type": "boolean"
        },
        "lat": {
          "type": "number",
          "format": "double"
        },
        "lon": {
          "type": "number",
          "format": "double"
        }
      },
      "additionalProperties": false
    }
  }
}