Xweather · Schema

ForecastsResponse

ForecastsResponse schema from Xweather Weather API

Air QualityCompanyDataForecastsLightningMaritimeObservationsSevere WeatherWeather
View JSON Schema on GitHub

JSON Schema

xweather-forecasts-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-forecasts-response-schema.json",
  "title": "ForecastsResponse",
  "description": "ForecastsResponse schema from Xweather Weather API",
  "allOf": [
    {
      "$ref": "#/components/schemas/ApiResponse"
    },
    {
      "type": "object",
      "properties": {
        "response": {
          "type": "object",
          "properties": {
            "loc": {
              "$ref": "#/components/schemas/Location"
            },
            "periods": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ForecastPeriod"
              }
            }
          }
        }
      }
    }
  ]
}