Xweather · Schema
ForecastPeriod
ForecastPeriod schema from Xweather Weather API
Air QualityCompanyDataForecastsLightningMaritimeObservationsSevere WeatherWeather
Properties
| Name | Type | Description |
|---|---|---|
| timestamp | integer | Unix timestamp for the forecast period. |
| dateTimeISO | string | |
| maxTempC | number | Maximum temperature in Celsius. |
| maxTempF | number | Maximum temperature in Fahrenheit. |
| minTempC | number | Minimum temperature in Celsius. |
| minTempF | number | Minimum temperature in Fahrenheit. |
| avgTempC | number | |
| avgTempF | number | |
| precipMM | number | Precipitation amount in mm. |
| precipIN | number | Precipitation amount in inches. |
| pop | integer | Probability of precipitation (0-100). |
| humidity | integer | Relative humidity percentage. |
| windSpeedKPH | number | |
| windSpeedMPH | number | |
| windDir | string | |
| windDirDEG | number | |
| weather | string | |
| weatherCoded | array | |
| icon | string | |
| isDay | boolean |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/xweather/refs/heads/main/json-schema/xweather-forecast-period-schema.json",
"title": "ForecastPeriod",
"description": "ForecastPeriod schema from Xweather Weather API",
"type": "object",
"properties": {
"timestamp": {
"type": "integer",
"description": "Unix timestamp for the forecast period."
},
"dateTimeISO": {
"type": "string",
"format": "date-time"
},
"maxTempC": {
"type": "number",
"description": "Maximum temperature in Celsius."
},
"maxTempF": {
"type": "number",
"description": "Maximum temperature in Fahrenheit."
},
"minTempC": {
"type": "number",
"description": "Minimum temperature in Celsius."
},
"minTempF": {
"type": "number",
"description": "Minimum temperature in Fahrenheit."
},
"avgTempC": {
"type": "number"
},
"avgTempF": {
"type": "number"
},
"precipMM": {
"type": "number",
"description": "Precipitation amount in mm."
},
"precipIN": {
"type": "number",
"description": "Precipitation amount in inches."
},
"pop": {
"type": "integer",
"description": "Probability of precipitation (0-100)."
},
"humidity": {
"type": "integer",
"description": "Relative humidity percentage."
},
"windSpeedKPH": {
"type": "number"
},
"windSpeedMPH": {
"type": "number"
},
"windDir": {
"type": "string"
},
"windDirDEG": {
"type": "number"
},
"weather": {
"type": "string"
},
"weatherCoded": {
"type": "array",
"items": {
"type": "object"
}
},
"icon": {
"type": "string"
},
"isDay": {
"type": "boolean"
}
}
}