Weatherbit · Schema
ForecastDay
ForecastDay schema from Weatherbit API
WeatherForecastingHistorical DataAir QualityAlertsAgricultural Weather
Properties
| Name | Type | Description |
|---|---|---|
| city_name | string | City Name |
| state_code | string | State Abbreviation |
| country_code | string | Country Abbreviation |
| lat | number | Latitude |
| lon | number | Longitude |
| timezone | string | Local IANA time zone |
| data | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/weatherbit/refs/heads/main/json-schema/weatherbit-forecast-day-schema.json",
"title": "ForecastDay",
"description": "ForecastDay schema from Weatherbit API",
"type": "object",
"properties": {
"city_name": {
"type": "string",
"description": "City Name",
"example": "Raleigh"
},
"state_code": {
"type": "string",
"description": "State Abbreviation",
"example": "NC"
},
"country_code": {
"type": "string",
"description": "Country Abbreviation",
"example": "US"
},
"lat": {
"type": "number",
"description": "Latitude",
"example": 38.25
},
"lon": {
"type": "number",
"description": "Longitude",
"example": -78.0
},
"timezone": {
"type": "string",
"description": "Local IANA time zone",
"example": "America/New_York"
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Forecast"
}
}
}
}