OpenWeatherMap · JSON Structure
Openweathermap Current Weather Structure
JSON Structure description of the OpenWeather Current Weather Data response. Lists fields, types, and units.
Type:
Properties: 0
WeatherForecastClimateAir PollutionAir QualitySolarGeocodingHistoryMapsRoad RiskPublic APIs
OpenWeatherMapCurrentWeather is a JSON Structure definition published by OpenWeatherMap.
Meta-schema:
JSON Structure
{
"name": "OpenWeatherMapCurrentWeather",
"description": "JSON Structure description of the OpenWeather Current Weather Data response. Lists fields, types, and units.",
"version": "1.0.0",
"source": "https://openweathermap.org/current",
"fields": [
{ "path": "coord.lon", "type": "number", "unit": "degrees", "description": "Longitude of the location." },
{ "path": "coord.lat", "type": "number", "unit": "degrees", "description": "Latitude of the location." },
{ "path": "weather[].id", "type": "integer", "description": "Weather condition ID." },
{ "path": "weather[].main", "type": "string", "description": "Weather condition group." },
{ "path": "weather[].description", "type": "string", "description": "Weather condition text." },
{ "path": "weather[].icon", "type": "string", "description": "Icon ID." },
{ "path": "main.temp", "type": "number", "unit": "K|C|F", "description": "Temperature, depends on units parameter." },
{ "path": "main.feels_like", "type": "number", "unit": "K|C|F", "description": "Human perception of temperature." },
{ "path": "main.temp_min", "type": "number", "unit": "K|C|F", "description": "Minimum temperature." },
{ "path": "main.temp_max", "type": "number", "unit": "K|C|F", "description": "Maximum temperature." },
{ "path": "main.pressure", "type": "integer", "unit": "hPa", "description": "Atmospheric pressure." },
{ "path": "main.humidity", "type": "integer", "unit": "percent", "description": "Relative humidity." },
{ "path": "visibility", "type": "integer", "unit": "meters", "description": "Visibility distance, max 10000." },
{ "path": "wind.speed", "type": "number", "unit": "m/s|mph", "description": "Wind speed." },
{ "path": "wind.deg", "type": "integer", "unit": "degrees", "description": "Wind direction in meteorological degrees." },
{ "path": "wind.gust", "type": "number", "unit": "m/s|mph", "description": "Wind gust speed." },
{ "path": "clouds.all", "type": "integer", "unit": "percent", "description": "Cloudiness percentage." },
{ "path": "rain.1h", "type": "number", "unit": "mm", "description": "Rainfall in the last hour." },
{ "path": "snow.1h", "type": "number", "unit": "mm", "description": "Snowfall in the last hour." },
{ "path": "dt", "type": "integer", "unit": "unix-time", "description": "Time of data calculation." },
{ "path": "sys.country", "type": "string", "description": "ISO country code." },
{ "path": "sys.sunrise", "type": "integer", "unit": "unix-time", "description": "Sunrise time." },
{ "path": "sys.sunset", "type": "integer", "unit": "unix-time", "description": "Sunset time." },
{ "path": "timezone", "type": "integer", "unit": "seconds", "description": "Shift in seconds from UTC." },
{ "path": "id", "type": "integer", "description": "City ID." },
{ "path": "name", "type": "string", "description": "City name." },
{ "path": "cod", "type": "integer", "description": "Internal status code." }
]
}