{"basePath":"\/weatherapi\/nowcast\/2.0","definitions":{"Forecast":{"properties":{"meta":{"properties":{"radar_coverage":{"$ref":"#\/components\/schemas\/RadarCoverage"},"units":{"$ref":"#\/components\/schemas\/ForecastUnits"},"updated_at":{"description":"Update time for this forecast","example":"2019-12-03T13:52:13Z","type":"string"}},"required":["updated_at","units"],"type":"object"},"timeseries":{"items":{"$ref":"#\/components\/schemas\/ForecastTimeStep"},"type":"array"}},"required":["meta","timeseries"],"title":"Forecast timeseries","type":"object"},"ForecastData":{"description":"Weather parameters, such as air_temperature. A string to float map.","type":"object"},"ForecastSummary":{"description":"Summary of weather conditions.","properties":{"SymbolConfidence":{"$ref":"#\/components\/schemas\/SymbolConfidence"},"symbol_code":{"$ref":"#\/components\/schemas\/WeatherSymbol"}},"required":["symbol_code"],"type":"object"},"ForecastTimeStep":{"properties":{"data":{"description":"Forecast for a specific time","properties":{"instant":{"description":"Parameters which applies to this exact point in time","properties":{"details":{"$ref":"#\/components\/schemas\/ForecastData"}},"type":"object"},"next_12_hours":{"description":"Parameters with validity times over twelve hours. Will not exist for all time steps.","properties":{"details":{"$ref":"#\/components\/schemas\/ForecastData"},"summary":{"$ref":"#\/components\/schemas\/ForecastSummary"}},"required":["summary","details"],"type":"object"},"next_1_hours":{"description":"Parameters with validity times over one hour. Will not exist for all time steps.","properties":{"details":{"$ref":"#\/components\/schemas\/ForecastData"},"summary":{"$ref":"#\/components\/schemas\/ForecastSummary"}},"required":["summary","details"],"type":"object"},"next_6_hours":{"description":"Parameters with validity times over six hours. Will not exist for all time steps.","properties":{"details":{"$ref":"#\/components\/schemas\/ForecastData"},"summary":{"$ref":"#\/components\/schemas\/ForecastSummary"}},"required":["summary","details"],"type":"object"}},"required":["instant"],"type":"object"},"time":{"description":"The time these forecast values are valid for. Timestamp in format YYYY-MM-DDThh:mm:ssZ (ISO 8601)","example":"2019-12-03T14:00:00Z","type":"string"}},"required":["time","data"],"title":"Forecast for a specific time step","type":"object"},"ForecastUnits":{"description":"a string -> string mapping of units for all parameters in document","type":"object"},"METJSONForecast":{"properties":{"geometry":{"$ref":"#\/components\/schemas\/PointGeometry"},"properties":{"$ref":"#\/components\/schemas\/Forecast"},"type":{"enum":["Feature"],"example":"Feature","type":"string"}},"required":["type","geometry","properties"],"title":"GeoJSON Forecast Timeseries","type":"object"},"PointGeometry":{"properties":{"coordinates":{"description":"[longitude, latitude, altitude]. All numbers in decimal.","example":[60.5,11.59,1001],"items":{"type":"number"},"minItems":2,"type":"array"},"type":{"enum":["Point"],"type":"string"}},"required":["type","coordinates"],"title":"GeoJSON point type","type":"object"},"RadarCoverage":{"description":"Describes radar coverage of the area. This will affect what parameters are available. Only on radar based products.","enum":["ok","temporarily unavailable","no coverage"]},"SymbolConfidence":{"description":"An estimate of the certainty of a weather symbol","enum":["certain","somewhat certain","uncertain"]},"WeatherSymbol":{"description":"A identifier that sums up the weather condition for this time period, see documentation.","enum":["clearsky_day","clearsky_night","clearsky_polartwilight","fair_day","fair_night","fair_polartwilight","lightssnowshowersandthunder_day","lightssnowshowersandthunder_night","lightssnowshowersandthunder_polartwilight","lightsnowshowers_day","lightsnowshowers_night","lightsnowshowers_polartwilight","heavyrainandthunder","heavysnowandthunder","rainandthunder","heavysleetshowersandthunder_day","heavysleetshowersandthunder_night","heavysleetshowersandthunder_polartwilight","heavysnow","heavyrainshowers_day","heavyrainshowers_night","heavyrainshowers_polartwilight","lightsleet","heavyrain","lightrainshowers_day","lightrainshowers_night","lightrainshowers_polartwilight","heavysleetshowers_day","heavysleetshowers_night","heavysleetshowers_polartwilight","lightsleetshowers_day","lightsleetshowers_night","lightsleetshowers_polartwilight","snow","heavyrainshowersandthunder_day","heavyrainshowersandthunder_night","heavyrainshowersandthunder_polartwilight","snowshowers_day","snowshowers_night","snowshowers_polartwilight","fog","snowshowersandthunder_day","snowshowersandthunder_night","snowshowersandthunder_polartwilight","lightsnowandthunder","heavysleetandthunder","lightrain","rainshowersandthunder_day","rainshowersandthunder_night","rainshowersandthunder_polartwilight","rain","lightsnow","lightrainshowersandthunder_day","lightrainshowersandthunder_night","lightrainshowersandthunder_polartwilight","heavysleet","sleetandthunder","lightrainandthunder","sleet","lightssleetshowersandthunder_day","lightssleetshowersandthunder_night","lightssleetshowersandthunder_polartwilight","lightsleetandthunder","partlycloudy_day","partlycloudy_night","partlycloudy_polartwilight","sleetshowersandthunder_day","sleetshowersandthunder_night","sleetshowersandthunder_polartwilight","rainshowers_day","rainshowers_night","rainshowers_polartwilight","snowandthunder","sleetshowers_day","sleetshowers_night","sleetshowers_polartwilight","cloudy","heavysnowshowersandthunder_day","heavysnowshowersandthunder_night","heavysnowshowersandthunder_polartwilight","heavysnowshowers_day","heavysnowshowers_night","heavysnowshowers_polartwilight"],"example":"clearsky_day","type":"string"}},"info":{"contact":{"email":"weatherapi-adm@met.no","name":"Developer Support","url":"http:\/\/met.no"},"description":"Immediate weather forecast for specified locations in the Nordic area","license":{"name":"CC BY 4.0","url":"http:\/\/creativecommons.org\/licenses\/by\/4.0"},"termsOfService":"\/doc\/TermsOfService","title":"Nowcast","version":"2.0"},"paths":{"\/changelog":{"get":{"description":"RSS feed of changes to this product","produces":["application\/rss+xml"],"responses":{"200":{"description":"OK"}},"tags":["metadata"],"x-mojo-name":"changelog"}},"\/classic":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[{"description":"Height in meters above sea level","format":"integer","in":"query","name":"altitude","required":false,"type":"integer"},{"description":"Latitude","format":"float","in":"query","name":"lat","required":true,"type":"number"},{"description":"Longitude","format":"float","in":"query","name":"lon","required":true,"type":"number"}],"produces":["application\/xml"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/classic.{format}":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[{"description":"Height in meters above sea level","format":"integer","in":"query","name":"altitude","required":false,"type":"integer"},{"description":"Latitude","format":"float","in":"query","name":"lat","required":true,"type":"number"},{"description":"Longitude","format":"float","in":"query","name":"lon","required":true,"type":"number"},{"description":"format code (file extension)","enum":["xml"],"format":"string","in":"path","name":"format","required":true,"type":"string"}],"produces":["application\/xml"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/complete":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[{"description":"Height in meters above sea level","format":"integer","in":"query","name":"altitude","required":false,"type":"integer"},{"description":"Latitude","format":"float","in":"query","name":"lat","required":true,"type":"number"},{"description":"Longitude","format":"float","in":"query","name":"lon","required":true,"type":"number"}],"produces":["application\/json;charset=UTF-8"],"responses":{"200":{"description":"Success","schema":{"$ref":"#\/definitions\/METJSONForecast"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/complete.{format}":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[{"description":"Height in meters above sea level","format":"integer","in":"query","name":"altitude","required":false,"type":"integer"},{"description":"Latitude","format":"float","in":"query","name":"lat","required":true,"type":"number"},{"description":"Longitude","format":"float","in":"query","name":"lon","required":true,"type":"number"},{"description":"format code (file extension)","enum":["json"],"format":"string","in":"path","name":"format","required":true,"type":"string"}],"produces":["application\/json;charset=UTF-8"],"responses":{"200":{"description":"Success","schema":{"$ref":"#\/definitions\/METJSONForecast"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/coverage":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[],"produces":["application\/zip"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/coverage.{format}":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[{"description":"format code (file extension)","enum":["zip"],"format":"string","in":"path","name":"format","required":true,"type":"string"}],"produces":["application\/zip"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}},"\/healthz":{"get":{"description":"Check health status for product","produces":["text\/plain"],"responses":{"200":{"description":"OK"}},"tags":["metadata"],"x-mojo-name":"healthz"}},"\/locations":{"get":{"description":"List available locations as GeoJSON FeatureCollection","produces":["application\/json"],"responses":{"200":{"description":"OK"}},"tags":["metadata"],"x-mojo-name":"locations"}},"\/schema":{"get":{"description":"Schema for XML data","produces":["text\/xml"],"responses":{"200":{"description":"OK"}},"tags":["metadata"],"x-mojo-name":"schema"}},"\/status":{"get":{"description":"Immediate weather forecast for specified locations in the Nordic area","parameters":[],"produces":["application\/json","application\/xml"],"responses":{"200":{"description":"Success","schema":{"type":"string"}},"204":{"description":"204 No Content"},"400":{"description":"400 Bad Request"},"401":{"description":"401 Unauthorized"},"403":{"description":"403 Forbidden"},"404":{"description":"404 Not Found"},"422":{"description":"422 Unprocessable Entity; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area; OR nowcast is only available for the Nordic area"},"429":{"description":"429 Too Many Requests"},"500":{"description":"500 Internal Server Error"},"502":{"description":"502 Bad Gateway"},"503":{"description":"503 Service Unavailable"},"504":{"description":"504 Gateway Timeout"}},"tags":["data"],"x-mojo-name":"run"}}},"swagger":"2.0"}