{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/vibesprings-net/json-schema/vibesprings-net-weather-result-schema.json",
  "title": "WeatherResult",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/vibesprings-net-openapi.json#/components/schemas/WeatherResult",
  "type": "object",
  "properties": {
    "location": {
      "type": "string"
    },
    "latitude": {
      "type": "number"
    },
    "longitude": {
      "type": "number"
    },
    "days": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string"
          },
          "temp_max_c": {
            "type": "number"
          },
          "temp_min_c": {
            "type": "number"
          },
          "precipitation_mm": {
            "type": "number"
          },
          "condition": {
            "type": "string"
          }
        }
      }
    },
    "summary": {
      "type": "object",
      "properties": {
        "avg_temp_c": {
          "type": "number"
        },
        "total_precipitation_mm": {
          "type": "number"
        },
        "days_with_rain": {
          "type": "integer"
        }
      }
    }
  }
}