From f81dedc94905dc218c5fc8edf0afb58e22bccb73 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Sat, 11 Dec 2021 13:50:01 -0500 Subject: [PATCH 01/11] Added self to publisher --- independent-publisher-connectors/AccuWeather/apiProperties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/independent-publisher-connectors/AccuWeather/apiProperties.json b/independent-publisher-connectors/AccuWeather/apiProperties.json index f393ca062d..1598c3b32a 100644 --- a/independent-publisher-connectors/AccuWeather/apiProperties.json +++ b/independent-publisher-connectors/AccuWeather/apiProperties.json @@ -17,7 +17,7 @@ }, "iconBrandColor": "#da3b01", "capabilities": [], - "publisher": "Ahmad Najjar", + "publisher": "Ahmad Najjar, Troy Taylor", "stackOwner": "AccuWeather, Inc." } } From d0dc0fe7afed849a2f1c22c5c2ba001a1b6fa9ad Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Sat, 11 Dec 2021 14:32:51 -0500 Subject: [PATCH 02/11] New actions --- .../AccuWeather/apiDefinition.swagger.json | 1226 ++++++++++++++++- 1 file changed, 1218 insertions(+), 8 deletions(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 38ddc8eff1..2fc8fb90de 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "AccuWeather", "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "2.1", + "version": "2.2", "contact": { "name": "Ahmad Najjar", "email": "ahmadn82@hotmail.com" @@ -805,7 +805,7 @@ "type": "number", "format": "float", "description": "Gmt Offset", - "title": "" + "title": "GMT Offset" }, "IsDaylightSaving": { "type": "boolean", @@ -946,7 +946,7 @@ "type": "number", "format": "float", "description": "Station Gmt Offset", - "title": "" + "title": "Station GMT Offset" }, "BandMap": { "type": "string", @@ -4174,7 +4174,7 @@ "type": "number", "format": "float", "description": "Gmt Offset", - "title": "" + "title": "GMT Offset" }, "IsDaylightSaving": { "type": "boolean", @@ -4210,7 +4210,7 @@ "type": "number", "format": "double", "description": "Value", - "title": "" + "title": "Value" }, "Unit": { "type": "string", @@ -4231,7 +4231,7 @@ "type": "number", "format": "double", "description": "Value", - "title": "" + "title": "Value" }, "Unit": { "type": "string", @@ -4311,7 +4311,7 @@ "type": "number", "format": "float", "description": "Value", - "title": "" + "title": "Value" }, "Unit": { "type": "string", @@ -8671,6 +8671,1216 @@ } ] } + }, + "/alarms/v1/1day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get one day of weather alarms", + "description": "Returns 1 day of weather alarms for a specific location.", + "operationId": "AlarmOne", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/alarms/v1/5day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get 5 days of weather alarms", + "description": "Returns 5 days of weather alarms for a specific location.", + "operationId": "AlarmFive", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/alarms/v1/10day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get ten days of weather alarms", + "description": "Returns 10 days of weather alarms for a specific location.", + "operationId": "AlarmTen", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/alarms/v1/15day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get fifteen day of weather alarms", + "description": "Returns 15 days of weather alarms for a specific location.", + "operationId": "AlarmFifteen", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/translations/v1/languages": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "DisplayName": { + "type": "string", + "description": "The display name.", + "title": "Display Name" + }, + "LocalizedName": { + "type": "string", + "description": "The translated name.", + "title": "Localized Name" + }, + "ISO": { + "type": "string", + "description": "The culture code.", + "title": "ISO" + }, + "LanguageType": { + "type": "integer", + "format": "int32", + "description": "The identifier for the language type", + "title": "Language Type" + }, + "MicroSoftName": { + "type": "string", + "description": "The Microsoft display name of the language.", + "title": "Microsoft Name" + }, + "MicroSoftCode": { + "type": "string", + "description": "The Microsoft culture code for the language.", + "title": "Microsoft Code" + }, + "TimeStamp": { + "type": "string", + "description": "The time that the language information was pulled from the database.", + "title": "Timestamp" + } + } + } + } + } + }, + "parameters": [], + "summary": "List all languages", + "description": "Returns metadata for all languages.", + "operationId": "LanguageList" + } + }, + "/translations/v1/groups": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + } + } + } + } + } + }, + "summary": "List the available translation groups", + "parameters": [], + "description": "Lists groups of phrases that are available for translation.", + "operationId": "LanguageGroups" + } + }, + "/translations/v1/groups/{groupID}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LanguageCode": { + "type": "string", + "description": "Culture code of the language, for which the phrase is translated.", + "title": "Language Code" + }, + "PhraseCode": { + "type": "string", + "description": "Word (or phrase - without spaces) to use as a key for joining the translations.", + "title": "Phrase Code" + }, + "Text": { + "type": "string", + "description": "Translated word or phrase.", + "title": "Text" + }, + "DataCode": { + "type": "string", + "description": "Key to use for translation.", + "title": "Data Code" + } + } + } + } + } + }, + "parameters": [ + { + "name": "groupID", + "in": "path", + "x-ms-summary": "Group ID", + "description": "The string indicating the group ID in which to return the resource.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ], + "summary": "List the translations for a specific group", + "description": "Returns all translated phrases for a specific group, in the desired language.", + "operationId": "LanguageTranslationsGroup" + } + }, + "/alerts/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "CountryCode": { + "type": "string", + "description": "Unique country code ID.", + "title": "Country Code" + }, + "AlertID": { + "type": "integer", + "format": "int32", + "description": "Unique numeric id that identifies an alert for a particular country.", + "title": "Alert ID" + }, + "Description": { + "type": "object", + "properties": { + "Localized": { + "type": "string", + "description": "Description of the alert in the local dialect set with language code in URL. Default is US English (en-us).", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "Description of the alert in US English.", + "title": "English" + } + }, + "title": "Description" + }, + "Category": { + "type": "string", + "description": "Category of the alert.", + "title": "Category" + }, + "Priority": { + "type": "integer", + "format": "int32", + "description": "Number signifying the importance or ranking order of the given alert within the country in which it has originated. A lower number signifies a higher priority. For example, 1 is the highest priority.", + "title": "Priority" + }, + "Type": { + "type": "string", + "description": "Abbreviated form of the alert description.", + "title": "Type" + }, + "TypeId": { + "type": "string", + "description": "ID associated with the alert description.", + "title": "Type ID" + }, + "Class": { + "type": "string", + "description": "Classification of the alert. Not available for all countries.", + "title": "Class" + }, + "Level": { + "type": "string", + "description": "Severity identifier for the alert. Not available for all countries.", + "title": "Level" + }, + "Color": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Descriptive name of the color.", + "title": "Name" + }, + "Red": { + "type": "integer", + "format": "int32", + "description": "The red RGB component of the color.", + "title": "Red" + }, + "Green": { + "type": "integer", + "format": "int32", + "description": "The green RGB component of the color.", + "title": "Green" + }, + "Blue": { + "type": "integer", + "format": "int32", + "description": "The blue RGB component of the color.", + "title": "Blue" + }, + "Hex": { + "type": "string", + "description": "The hexadecimal number that describes the color.", + "title": "Hex" + } + }, + "title": "Color" + }, + "Source": { + "type": "string", + "description": "Provider of the alert data.", + "title": "Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description": "ID associated with the provider of the alert data.", + "title": "Source ID" + }, + "Disclaimer": { + "type": "string", + "description": "Disclaimer that must be displayed with the alert data.", + "title": "Disclaimer" + }, + "Area": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Name of the area that encompasses the location that was requested and falls under the current alert.", + "title": "Name" + }, + "StartTime": { + "type": "string", + "description": "Start time of the alert, displayed in ISO8601 format.", + "title": "Start Time" + }, + "EpochStartTime": { + "type": "integer", + "description": "Start time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", + "title": "Epoch Start Time" + }, + "EndTime": { + "type": "string", + "description": "End time of the alert, displayed in ISO8601 format.", + "title": "End Time" + }, + "EpochEndTime": { + "type": "integer", + "description": "End time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", + "title": "Epoch End Time" + }, + "LastAction": { + "type": "object", + "properties": { + "Localized": { + "type": "string", + "description": "Status of the alert in the local dialect set with language code in URL. Default is US English (en-us).", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "Status of the alert in US English.", + "title": "English" + } + }, + "title": "Last Action" + }, + "Text": { + "type": "string", + "description": "Full text associated with the alert.", + "title": "Text" + }, + "LanguageCode": { + "type": "string", + "description": "Language of the alert text.", + "title": "Language Code" + }, + "Summary": { + "type": "string", + "description": "Alert summary, in English.", + "title": "Summary" + } + }, + "title": "Area" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + }, + { + "name": "details", + "in": "query", + "x-ms-summary": "Details", + "description": "Boolean value specifies whether or not to include full details in the response.", + "required": false, + "type": "boolean" + } + ], + "summary": "Get alerts by location key", + "description": "Returns alert data for a specific location. Alert searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the alert data is returned. The full object can be obtained by passing details=true.", + "operationId": "AlertLocation" + } + }, + "/imagery/v1/maps/radsat/{resolution}/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + }, + "Radar": { + "type": "object", + "properties": { + "Size": { + "type": "string", + "description": "The resolution of the image.", + "title": "Size" + }, + "Images": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date/time of the image, displayed in ISO8601 format.", + "title": "Date" + }, + "Url": { + "type": "string", + "description": "The URL of the image.", + "title": "URL" + } + }, + "description": "Images" + } + }, + "title": "Radar" + }, + "Satellite": { + "type": "object", + "properties": { + "Size": { + "type": "string", + "description": "The resolution of the image.", + "title": "Size" + }, + "Images": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date/time of the image, displayed in ISO8601 format.", + "title": "Date" + }, + "Url": { + "type": "string", + "description": "The URL of the image.", + "title": "URL" + } + }, + "description": "Images" + } + }, + "title": "Satellite" + } + } + } + } + } + }, + "summary": "Get radar and satellite imagery", + "description": "Returns links to radar and satellite images by location key. Imagery searches require a location key. Please use the Locations API to obtain a location key for your desired location. Radar images are not available for all locations worldwide at this time. If radar is not available for your desired location, satellite images are still provided.", + "operationId": "Imagery", + "parameters": [ + { + "name": "resolution", + "in": "path", + "x-ms-summary": "Resolution", + "description": "The requested resolution.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } } }, "definitions": {}, @@ -8703,4 +9913,4 @@ "propertyValue": "Data" } ] -} \ No newline at end of file +} From a78ab6ec3a2669a5317859c2d3ba82163bafdaef Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Sat, 11 Dec 2021 14:40:27 -0500 Subject: [PATCH 03/11] Update readme.md --- .../AccuWeather/readme.md | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/independent-publisher-connectors/AccuWeather/readme.md b/independent-publisher-connectors/AccuWeather/readme.md index f58ab33b90..041fdb9739 100644 --- a/independent-publisher-connectors/AccuWeather/readme.md +++ b/independent-publisher-connectors/AccuWeather/readme.md @@ -72,6 +72,32 @@ Returns information about a specific location, by location key. #### Search location by IP address Returns information about a specific location, by IP Address. +### [Weather Alarms](https://developer.accuweather.com/accuweather-weather-alarms-api/apis) +#### Get one day of weather alarms +Returns 1 day of weather alarms for a specific location. +#### Get five days of weather alarms +Returns 5 days of weather alarms for a specific location. +#### Get ten days of weather alarms +Returns 10 days of weather alarms for a specific location. +#### Get fifteen day of weather alarms +Returns 15 days of weather alarms for a specific location. + +### [Translations](https://developer.accuweather.com/accuweather-translations-api/apis) +#### List all languages +Returns metadata for all languages. +#### List the available translation groups +Lists groups of phrases that are available for translation. +#### List the translations for a specific group +Returns all translated phrases for a specific group, in the desired language. + +### [Alerts](https://developer.accuweather.com/accuweather-alerts-api/apis) +#### Get alerts by location key +Returns alert data for a specific location. Alert searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the alert data is returned. The full object can be obtained by passing details=true. + +### [Imagery](https://developer.accuweather.com/accuweather-imagery-api/apis) +#### Get radar and satellite imagery +Returns links to radar and satellite images by location key. Imagery searches require a location key. Please use the Locations API to obtain a location key for your desired location. Radar images are not available for all locations worldwide at this time. If radar is not available for your desired location, satellite images are still provided. + ## API Documentation Visit [AccuWeather APIs reference](https://developer.accuweather.com/apis) page for further details. @@ -80,4 +106,4 @@ Visit [AccuWeather APIs reference](https://developer.accuweather.com/apis) page * Operation "Get Daily Index Values for a Specific Index" Not all daily indices/groups' indices data are available for retrieval, check (https://developer.accuweather.com/list-available-daily-indices) -#### Not all operations provided by AccuWeather are part of the first IP connector submission. I will keep adding/updating/supporting this connector based on your feedback/requests :) \ No newline at end of file +#### Not all operations provided by AccuWeather are part of the first IP connector submission. I will keep adding/updating/supporting this connector based on your feedback/requests :) From c458af498384f69517fde614f9831c7bd59871e0 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Sat, 11 Dec 2021 14:41:16 -0500 Subject: [PATCH 04/11] Update to 3.0 --- .../AccuWeather/apiDefinition.swagger.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 2fc8fb90de..4c1d3bd9ca 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "AccuWeather", "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "2.2", + "version": "3.0", "contact": { "name": "Ahmad Najjar", "email": "ahmadn82@hotmail.com" From 788e763f91ecf2140be8f9c2bda04c5f620a164c Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 21 Nov 2023 13:08:49 -0500 Subject: [PATCH 05/11] Add files via upload --- .../AccuWeather/apiDefinition.minified.json | 4399 ++++ .../AccuWeather/apiDefinition.swagger.json | 21014 ++++++++-------- 2 files changed, 15497 insertions(+), 9916 deletions(-) create mode 100644 independent-publisher-connectors/AccuWeather/apiDefinition.minified.json diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json b/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json new file mode 100644 index 0000000000..9c051464b5 --- /dev/null +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json @@ -0,0 +1,4399 @@ +{ + "swagger": "2.0", + "info": { + "title": "AccuWeather", + "description": "AccuWeather provides commercial weather forecasting services worldwide.", + "version": "3.1", + "contact": { + "name": "Ahmad Najjar", + "email": "ahmadn82@hotmail.com" + } + }, + "host": "dataservice.accuweather.com", + "basePath": "/", + "schemes": [ + "http" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/locations/v1/cities/autocomplete": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + } + }, + "title": "Administrative Area" + } + } + } + } + } + }, + "summary": "Autocomplete search (Cities)", + "description": "Returns basic information about locations matching an autocomplete of the search text.", + "operationId": "AutocompleteCities", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "q", + "in": "query", + "required": true, + "type": "string", + "description": "Text to use for Autocomplete search.", + "x-ms-summary": "Text", + "x-ms-visibility": "important" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "AutocompleteCities", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/forecasts/v1/daily/{duration}day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Headline": { + "type": "object", + "properties": { + "EffectiveDate": { + "type": "string", + "description": "The effective date.", + "title": "Effective Date" + }, + "EffectiveEpochDate": { + "type": "integer", + "format": "int32", + "description": "The effective epoch date.", + "title": "Effective Epoch Date" + }, + "Severity": { + "type": "integer", + "format": "int32", + "description": "The severity.", + "title": "Severity" + }, + "Text": { + "type": "string", + "description": "The text.", + "title": "Text" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "EndDate": { + "type": "string", + "description": "The end date.", + "title": "End Date" + }, + "EndEpochDate": { + "type": "integer", + "format": "int32", + "description": "The end epoch date.", + "title": "End Epoch Date" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + }, + "title": "Headline" + }, + "DailyForecasts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "The epoch date.", + "title": "Epoch Date" + }, + "Sun": { + "type": "object", + "properties": { + "Rise": { + "type": "string", + "description": "The rise.", + "title": "Rise" + }, + "EpochRise": { + "type": "integer", + "format": "int32", + "description": "The epoch rise.", + "title": "Epoch Rise" + }, + "Set": { + "type": "string", + "description": "The set.", + "title": "Set" + }, + "EpochSet": { + "type": "integer", + "format": "int32", + "description": "The epoch set.", + "title": "Epoch Set" + } + }, + "title": "Sun" + }, + "Moon": { + "type": "object", + "properties": { + "Rise": { + "type": "string", + "description": "The rise.", + "title": "Rise" + }, + "EpochRise": { + "type": "integer", + "format": "int32", + "description": "The epoch rise.", + "title": "Epoch Rise" + }, + "Set": { + "type": "string", + "description": "The set.", + "title": "Set" + }, + "EpochSet": { + "type": "integer", + "format": "int32", + "description": "The epoch set.", + "title": "Epoch Set" + }, + "Phase": { + "type": "string", + "description": "The phase.", + "title": "Phase" + }, + "Age": { + "type": "integer", + "format": "int32", + "description": "The age.", + "title": "Age" + } + }, + "title": "Moon" + }, + "Temperature": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Real Feel Temperature Shade" + }, + "HoursOfSun": { + "type": "number", + "format": "float", + "description": "The hours of sun.", + "title": "Hours Of Sun" + }, + "DegreeDaySummary": { + "type": "object", + "properties": { + "Heating": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Heating" + }, + "Cooling": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Cooling" + } + }, + "title": "Degree Day Summary" + }, + "AirAndPollen": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "CategoryValue": { + "type": "integer", + "format": "int32", + "description": "The category value.", + "title": "Category Value" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + } + } + }, + "title": "Air And Pollen" + }, + "Day": { + "type": "object", + "properties": { + "Icon": { + "type": "integer", + "format": "int32", + "description": "The icon.", + "title": "Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "ShortPhrase": { + "type": "string", + "description": "The short phase.", + "title": "Short Phrase" + }, + "LongPhrase": { + "type": "string", + "description": "The long phase.", + "title": "Long Phrase" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind Gust" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "HoursOfPrecipitation": { + "type": "number", + "format": "double", + "description": "The hours of precipitation.", + "title": "Hours Of Precipitation" + }, + "HoursOfRain": { + "type": "number", + "format": "double", + "description": "The hours of rain.", + "title": "Hours Of Rain" + }, + "HoursOfSnow": { + "type": "number", + "format": "double", + "description": "The hours of snow.", + "title": "Hours Of Snow" + }, + "HoursOfIce": { + "type": "number", + "format": "double", + "description": "The hours of ice.", + "title": "Hours Of Ice" + }, + "CloudCover": { + "type": "number", + "format": "double", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + } + }, + "title": "Day" + }, + "Night": { + "type": "object", + "properties": { + "Icon": { + "type": "integer", + "format": "int32", + "description": "The icon.", + "title": "Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "ShortPhrase": { + "type": "string", + "description": "The short phase.", + "title": "Short Phrase" + }, + "LongPhrase": { + "type": "string", + "description": "The long phase.", + "title": "Long Phrase" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind Gust" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "HoursOfPrecipitation": { + "type": "number", + "format": "double", + "description": "The hours of precipitation.", + "title": "Hours Of Precipitation" + }, + "HoursOfRain": { + "type": "number", + "format": "double", + "description": "The hours of rain.", + "title": "Hours Of Rain" + }, + "HoursOfSnow": { + "type": "number", + "format": "double", + "description": "The hours of snow.", + "title": "Hours Of Snow" + }, + "HoursOfIce": { + "type": "number", + "format": "double", + "description": "The hours of ice.", + "title": "Hours Of Ice" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + } + }, + "title": "Night" + }, + "Sources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Sources" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + }, + "title": "Daily Forecasts" + } + } + } + } + }, + "summary": "Get Daily Forecasts", + "description": "Returns daily forecast data for a specific location.", + "operationId": "DailyForcasts", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (days)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 5, + 10, + 15 + ], + "default": 5 + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to include full details in the response.", + "enum": [ + false, + true + ] + }, + { + "name": "metric", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Metric", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to display metric values.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "DailyForcasts", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/forecasts/v1/hourly/{duration}hour/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DateTime": { + "type": "string", + "description": "The date time.", + "title": "Date Time" + }, + "EpochDateTime": { + "type": "integer", + "format": "int32", + "description": "The epoch date time.", + "title": "Epoch Date Time" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "IsDaylight": { + "type": "boolean", + "description": "Whether is daylight.", + "title": "Is Daylight" + }, + "Temperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Real Feel TemperatureShade" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Wet Bulb Temperature" + }, + "DewPoint": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + } + }, + "title": "WindGust" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "Visibility": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Visibility" + }, + "Ceiling": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ceiling" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Hourly Forecasts", + "description": "Returns forecast data for the next hour(s) for a specific location.", + "operationId": "HourlyForcasts", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (hours)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 12, + 24, + 72, + 120 + ] + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to include full details in the response.", + "enum": [ + false, + true + ] + }, + { + "name": "metric", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Metric", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to display metric values.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "HourlyForcasts", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/currentconditions/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LocalObservationDateTime": { + "type": "string", + "description": "The local observation date time.", + "title": "Local Observation Date Time" + }, + "EpochTime": { + "type": "integer", + "format": "int32", + "description": "The epoch time.", + "title": "Epoch Time" + }, + "WeatherText": { + "type": "string", + "description": "The weather text.", + "title": "Weather Text" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "PrecipitationType": { + "type": "string", + "description": "The precipitation type.", + "title": "Precipitation Type" + }, + "IsDayTime": { + "type": "boolean", + "description": "Whether is day time.", + "title": "Is Day Time" + }, + "Temperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature Shade" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "DewPoint": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + }, + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind Gust" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "Visibility": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Visibility" + }, + "ObstructionsToVisibility": { + "type": "string", + "description": "The obstructions to visibility.", + "title": "Obstructions To Visibility" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Ceiling": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Ceiling" + }, + "Pressure": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Pressure" + }, + "PressureTendency": { + "type": "object", + "properties": { + "LocalizedText": { + "type": "string", + "description": "The localized text.", + "title": "Localized Text" + }, + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + } + }, + "title": "Pressure Tendency" + }, + "Past24HourTemperatureDeparture": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hour Temperature Departure" + }, + "ApparentTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Apparent Temperature" + }, + "WindChillTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wind Chill Temperature" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wet Bulb Temperature" + }, + "Precip1hr": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation 1 hour" + }, + "PrecipitationSummary": { + "type": "object", + "properties": { + "Precipitation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation" + }, + "PastHour": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past Hour" + }, + "Past3Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 3 Hours" + }, + "Past6Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 6 Hours" + }, + "Past9Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 9 Hours" + }, + "Past12Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 12 Hours" + }, + "Past18Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 18 Hours" + }, + "Past24Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hours" + } + }, + "title": "Precipitation Summary" + }, + "TemperatureSummary": { + "type": "object", + "properties": { + "Past6HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 6 Hour Range" + }, + "Past12HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 12 Hour Range" + }, + "Past24HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 24 Hour Range" + } + }, + "title": "Temperature Summary" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Current Conditions", + "description": "Returns current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", + "operationId": "CurrentConditions", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "x-ms-dynamic-values": { + "operationId": "AutocompleteCities", + "value-path": "Key", + "value-title": "LocalizedName", + "parameters": { + "q": { + "parameter": "locationKey" + } + } + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "CurrentConditions", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The response version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The location key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The location type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The location rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The location postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The region ID.", + "title": "Region ID" + }, + "LocalizedName": { + "type": "string", + "description": "The region localized name.", + "title": "Region Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The region English name.", + "title": "Region English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The country ID.", + "title": "Country ID" + }, + "LocalizedName": { + "type": "string", + "description": "The country localized name.", + "title": "Country Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The country English name.", + "title": "Country English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The administrative area ID.", + "title": "Administrative Area ID" + }, + "LocalizedName": { + "type": "string", + "description": "The administrative area name.", + "title": "Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The administrative area English name.", + "title": "Administrative Area English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The administrative area level.", + "title": "Administrative Area Level" + }, + "LocalizedType": { + "type": "string", + "description": "The administrative area localized type.", + "title": "Administrative Area Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The administrative area English type.", + "title": "Administrative Area English Type" + }, + "CountryID": { + "type": "string", + "description": "The administrative area country ID.", + "title": "Administrative Area Country ID" + } + }, + "title": "Administrative Area" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The time zone code.", + "title": "Time Zone Code" + }, + "Name": { + "type": "string", + "description": "The time zone name.", + "title": "Time Zone Name" + }, + "GmtOffset": { + "type": "integer", + "format": "int32", + "description": "The time zone GMT offset.", + "title": "Time Zone GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether he time zone is Daylight Saving.", + "title": "Time Zone Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The time zone next offset change.", + "title": "Time Zone Next Offset Change" + } + }, + "title": "Time Zone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The geoposition latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The geoposition longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric value.", + "title": "Elevation Metric Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in metric unit.", + "title": "Elevation Metric Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric unit type.", + "title": "Elevation Metric Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial value.", + "title": "Elevation Imperial Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in imperial unit.", + "title": "Elevation Imperial Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial unit type.", + "title": "Elevation Imperial Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "GeoPosition" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether location is alias.", + "title": "Is Alias" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Level": { + "type": "integer", + "format": "int32", + "description": "The supplemental administrative level.", + "title": "Supplemental Administrative Level" + }, + "LocalizedName": { + "type": "string", + "description": "The supplemental administrative localized name.", + "title": "Supplemental Administrative Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The supplemental administrative English name.", + "title": "Supplemental Administrative English Name" + } + } + }, + "title": "SupplementalAdminAreas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + } + } + } + } + }, + "summary": "Search by location key", + "description": "Returns information about a specific location, by location key. You must know the location key to perform this query.", + "operationId": "SearchLocationKey", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "description": "The key for the location being searched.", + "x-ms-summary": "Location Key" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "default": "en-us", + "description": "String indicating the language in which to return the resource.", + "x-ms-summary": "Language" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "default": false, + "description": "Boolean value specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "SearchLocationKey", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/cities/ipaddress": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The response version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The location key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The location type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The location rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The location localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The location English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The location postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The region ID.", + "title": "Region ID." + }, + "LocalizedName": { + "type": "string", + "description": "The region localized name.", + "title": "Region Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The region English name.", + "title": "Region English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The country ID.", + "title": "Country ID" + }, + "LocalizedName": { + "type": "string", + "description": "The country localized name.", + "title": "Country Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The country English name.", + "title": "Country English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The administrative area ID.", + "title": "Administrative Area ID" + }, + "LocalizedName": { + "type": "string", + "description": "The administrative area localized name.", + "title": "Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The administrative area English name.", + "title": "Administrative Area English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The administrative area level.", + "title": "Administrative Area Level" + }, + "LocalizedType": { + "type": "string", + "description": "The administrative area localized type.", + "title": "Administrative Area Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The administrative area English type.", + "title": "Administrative Area English Type" + }, + "CountryID": { + "type": "string", + "description": "The administrative area country ID.", + "title": "Administrative Area Country ID" + } + }, + "title": "AdministrativeArea" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The time zone code.", + "title": "Time Zone Code" + }, + "Name": { + "type": "string", + "description": "The time zone name.", + "title": "Time Zone Name" + }, + "GmtOffset": { + "type": "integer", + "format": "int32", + "description": "The time zone GMT offset.", + "title": "Time Zone GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether the time zone is Daylight Saving.", + "title": "Time Zone Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The time zone next offset change.", + "title": "Time Zone Next Offset Change" + } + }, + "title": "TimeZone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The location latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The location longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric.", + "title": "Elevation Metric Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in metric unit.", + "title": "Elevation Metric Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric unit type.", + "title": "Elevation Metric Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial.", + "title": "Elevation Imperial Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in imperial unit.", + "title": "Elevation Imperial Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial unit type.", + "title": "Elevation Imperial Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "GeoPosition" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether location is alias.", + "title": "Is Alias" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Level": { + "type": "integer", + "format": "int32", + "description": "The supplemental administrative area level.", + "title": "Supplemental Administrative Area Level" + }, + "LocalizedName": { + "type": "string", + "description": "The supplemental administrative area localized name.", + "title": "Supplemental Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The supplemental administrative area English name.", + "title": "Supplemental Administrative Area English Name" + } + } + }, + "title": "SupplementalAdminAreas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + }, + "Details": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The details key.", + "title": "Details Key" + }, + "StationCode": { + "type": "string", + "description": "The details station code.", + "title": "Details Station Code" + }, + "StationGmtOffset": { + "type": "integer", + "format": "int32", + "description": "The details station GMT offset.", + "title": "Details Station GMT Offset" + }, + "BandMap": { + "type": "string", + "description": "The details band map.", + "title": "Details Band Map" + }, + "Climo": { + "type": "string", + "description": "The details source of the climatology data.", + "title": "Details Climo" + }, + "LocalRadar": { + "type": "string", + "description": "The details local radar.", + "title": "Details Local Radar" + }, + "MediaRegion": { + "type": "string", + "description": "The details media region.", + "title": "Details Media Region" + }, + "Metar": { + "type": "string", + "description": "The details metar station.", + "title": "Details Metar" + }, + "NXMetro": { + "type": "string", + "description": "The details city level radar code.", + "title": "Details NX Metro" + }, + "NXState": { + "type": "string", + "description": "The details state level radar code.", + "title": "Details NX State" + }, + "Population": { + "type": "integer", + "format": "int32", + "description": "The details population.", + "title": "Details Population" + }, + "PrimaryWarningCountyCode": { + "type": "string", + "description": "The details primary warning county code.", + "title": "Details Primary Warning County Code" + }, + "PrimaryWarningZoneCode": { + "type": "string", + "description": "The details primary warning zone code.", + "title": "Details Primary Warning Zone Code" + }, + "Satellite": { + "type": "string", + "description": "The details satellite.", + "title": "Details Satellite" + }, + "Synoptic": { + "type": "string", + "description": "The details synoptic station.", + "title": "Details Synoptic" + }, + "MarineStation": { + "type": "string", + "description": "The details marine station.", + "title": "Details Marine Station" + }, + "MarineStationGMTOffset": { + "type": "string", + "description": "The details marine station GMT offset.", + "title": "Details Marine Station GMT Offset" + }, + "VideoCode": { + "type": "string", + "description": "The details video code.", + "title": "Details Video Code" + }, + "LocationStem": { + "type": "string", + "description": "The details location stem.", + "title": "Details Location Stem" + }, + "DMA": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The details Designated Marketing Area ID.", + "title": "Details DMA ID" + }, + "EnglishName": { + "type": "string", + "description": "The details Designated Marketing Area English name.", + "title": "Details DMA English Name" + } + }, + "title": "DMA" + }, + "PartnerID": { + "type": "string", + "description": "The details partner ID.", + "title": "Details Partner ID" + }, + "Sources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DataType": { + "type": "string", + "description":"The details source data type.", + "title": "Details Source Data Type" + }, + "Source": { + "type": "string", + "description":"The details source.", + "title": "Details Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description":"The details source ID.", + "title": "Details Source ID" + } + } + }, + "title": "Sources" + }, + "CanonicalPostalCode": { + "type": "string", + "description": "The details canonical postal code.", + "title": "Details Canonical Postal Code" + }, + "CanonicalLocationKey": { + "type": "string", + "description": "The details canonical location key.", + "title": "Details Canonical Location Key" + } + }, + "title": "Details" + } + } + } + } + }, + "summary": "Search location by IP address", + "description": "Returns information about a specific location, by IP Address.", + "operationId": "SearchLocationIP", + "parameters": [ + { + "name": "q", + "in": "query", + "required": true, + "type": "string", + "description": "A valid IP address to search for.", + "x-ms-summary": "IP Address" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "default": "en-us", + "description": "The language in which to return the resource.", + "x-ms-summary": "language" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "default": false, + "x-ms-summary": "Details", + "description": "Whether or not to include full details in the response.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "SearchLocationIP", + "x-ms-require-user-confirmation": false + } + ] + } + } + } + }, + "definitions": {}, + "parameters": {}, + "responses": {}, + "securityDefinitions": { + "API Key": { + "type": "apiKey", + "in": "query", + "name": "apikey" + } + }, + "security": [ + { + "API Key": [] + } + ], + "tags": [], + "x-ms-connector-metadata": [ + { + "propertyName": "Website", + "propertyValue": "https://www.accuweather.com/" + }, + { + "propertyName": "Privacy policy", + "propertyValue": "https://www.accuweather.com/en/privacy" + }, + { + "propertyName": "Categories", + "propertyValue": "Data" + } + ], + "x-ms-openai-manifest": { + "humanName": "AccuWeather", + "modelDescription": "This is a Copilot plugin for the AccuWeather weather service. It can return forecasts, current conditions, and historical conditions.", + "contactEmail": "ttaylor@hitachisolutions.com" + } +} \ No newline at end of file diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 4c1d3bd9ca..6ea2c28361 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -1,9916 +1,11098 @@ -{ - "swagger": "2.0", - "info": { - "title": "AccuWeather", - "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "3.0", - "contact": { - "name": "Ahmad Najjar", - "email": "ahmadn82@hotmail.com" - } - }, - "host": "dataservice.accuweather.com", - "basePath": "/", - "schemes": [ - "http" - ], - "consumes": [], - "produces": [], - "paths": { - "/locations/v1/adminareas/{countryCode}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "Level" - }, - "LocalizedType": { - "type": "string", - "description": "Localized type" - }, - "EnglishType": { - "type": "string", - "description": "English type" - }, - "CountryID": { - "type": "string", - "description": "Country Id" - } - } - } - } - } - }, - "summary": "Get Admin Area List", - "description": "Returns basic information about administrative areas in the specified country.", - "operationId": "AdminAreas", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "countryCode", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "description": "The country code to return administrative areas for", - "x-ms-summary": "Country Code", - "x-ms-visibility": "important" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "offset", - "in": "query", - "required": false, - "type": "integer", - "x-ms-summary": "Offset", - "x-ms-visibility": "advanced", - "description": "Integer, along with the limit (25) that determines the first resource to be returned. If no offset is provided, the max number (100) of results will be returned." - } - ] - } - }, - "/locations/v1/countries/{regionCode}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - } - } - } - } - }, - "summary": "Get Country List", - "description": "Returns basic information about all countries within a specified region.", - "operationId": "CountryList", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "regionCode", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "description": "The region code to return country list for", - "x-ms-summary": "Region Code", - "x-ms-visibility": "important", - "x-ms-dynamic-values": { - "operationId": "RegionList", - "value-path": "ID", - "value-title": "EnglishName" - } - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - } - ] - } - }, - "/locations/v1/regions": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - } - } - } - } - }, - "summary": "Get Region List", - "description": "Returns basic information about all regions.", - "operationId": "RegionList", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource.", - "x-ms-visibility": "advanced", - "x-ms-summary": "Language" - } - ] - } - }, - "/locations/v1/topcities/{group}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "Version" - }, - "Key": { - "type": "string", - "description": "Key" - }, - "Type": { - "type": "string", - "description": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "Level" - }, - "LocalizedType": { - "type": "string", - "description": "Localized type" - }, - "EnglishType": { - "type": "string", - "description": "English type" - }, - "CountryID": { - "type": "string", - "description": "Country Id" - } - }, - "description": "Administrative area" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "Code" - }, - "Name": { - "type": "string", - "description": "Name" - }, - "GmtOffset": { - "type": "number", - "format": "float", - "description": "Gmt Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Is Day light Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "Next Offset Change" - } - }, - "description": "Time Zone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Elevation" - } - }, - "description": "Geo Position" - }, - "IsAlias": { - "type": "boolean", - "description": "Is Alias" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": {}, - "description": "Supplemental Admin Areas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Data Sets" - }, - "Details": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "Key" - }, - "StationCode": { - "type": "string", - "description": "Station Code" - }, - "StationGmtOffset": { - "type": "number", - "format": "float", - "description": "Station Gmt Offset" - }, - "BandMap": { - "type": "string", - "description": "Band Map" - }, - "Climo": { - "type": "string", - "description": "Climo" - }, - "LocalRadar": { - "type": "string", - "description": "Local Radar" - }, - "MediaRegion": { - "type": "string", - "description": "Media Region" - }, - "Metar": { - "type": "string", - "description": "Metar" - }, - "NXMetro": { - "type": "string", - "description": "NX Metro" - }, - "NXState": { - "type": "string", - "description": "NX State" - }, - "Population": { - "type": "integer", - "format": "int32", - "description": "Population" - }, - "PrimaryWarningCountyCode": { - "type": "string", - "description": "Primary Warning County Code" - }, - "PrimaryWarningZoneCode": { - "type": "string", - "description": "Primary Warning Zone Code" - }, - "Satellite": { - "type": "string", - "description": "Satellite" - }, - "Synoptic": { - "type": "string", - "description": "Synoptic" - }, - "MarineStation": { - "type": "string", - "description": "Marine Station" - }, - "MarineStationGMTOffset": { - "type": "number", - "format": "float", - "description": "Marine Station GMT Offset" - }, - "VideoCode": { - "type": "string", - "description": "Video Code" - }, - "LocationStem": { - "type": "string", - "description": "Location Stem" - }, - "PartnerID": { - "type": "string", - "description": "Partner ID" - }, - "Sources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DataType": { - "type": "string", - "description": "Data Type" - }, - "Source": { - "type": "string", - "description": "Source" - }, - "SourceId": { - "type": "integer", - "format": "int32", - "description": "Source Id" - }, - "PartnerSourceUrl": { - "type": "string", - "description": "Partner Source Url" - } - } - }, - "description": "Sources" - }, - "CanonicalPostalCode": { - "type": "string", - "description": "Canonical Postal Code" - }, - "CanonicalLocationKey": { - "type": "string", - "description": "Canonical Location Key" - } - }, - "description": "Details" - } - } - } - } - } - }, - "summary": "Get Top Cities List", - "description": "Returns information for the top 50, 100, or 150 cities, worldwide.", - "operationId": "TopCitiesList", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "group", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Group", - "description": "The number of cities to return.", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 50, - 100, - 150 - ] - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to include full details in the response.", - "enum": [ - false, - true - ] - } - ] - } - }, - "/locations/v1/cities/autocomplete": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "Version" - }, - "Key": { - "type": "string", - "description": "Key" - }, - "Type": { - "type": "string", - "description": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - } - }, - "description": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - } - }, - "description": "Administrative Area" - } - } - } - } - } - }, - "summary": "Autocomplete search (Cities)", - "description": "Returns basic information about locations matching an autocomplete of the search text.", - "operationId": "AutocompleteCities", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "q", - "in": "query", - "required": true, - "type": "string", - "description": "Text to use for Autocomplete search.", - "x-ms-summary": "Text", - "x-ms-visibility": "important" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - } - ] - } - }, - "/locations/v1/cities/geoposition/search": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "Version" - }, - "Key": { - "type": "string", - "description": "Key" - }, - "Type": { - "type": "string", - "description": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "Level" - }, - "LocalizedType": { - "type": "string", - "description": "Localized type" - }, - "EnglishType": { - "type": "string", - "description": "English type" - }, - "CountryID": { - "type": "string", - "description": "Country Id" - } - }, - "description": "Administrative Area" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "Code" - }, - "Name": { - "type": "string", - "description": "Name" - }, - "GmtOffset": { - "type": "number", - "format": "float", - "description": "Gmt Offset", - "title": "GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Is Daylight Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "Next Offset Change" - } - }, - "description": "TimeZone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Elevation" - } - }, - "description": "Geo Position" - }, - "IsAlias": { - "type": "boolean", - "description": "Is Alias" - }, - "ParentCity": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "Key" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Parent City" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Level": { - "type": "integer", - "format": "int32", - "description": "Level" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - } - }, - "description": "Supplemental Admin Areas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Data Sets" - }, - "Details": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "Key" - }, - "StationCode": { - "type": "string", - "description": "Station Code" - }, - "StationGmtOffset": { - "type": "number", - "format": "float", - "description": "Station Gmt Offset", - "title": "Station GMT Offset" - }, - "BandMap": { - "type": "string", - "description": "Band Map" - }, - "Climo": { - "type": "string", - "description": "Climo" - }, - "LocalRadar": { - "type": "string", - "description": "Local Radar" - }, - "MediaRegion": { - "type": "string", - "description": "Media Region" - }, - "Metar": { - "type": "string", - "description": "Metar" - }, - "NXMetro": { - "type": "string", - "description": "NX Metro" - }, - "NXState": { - "type": "string", - "description": "NX State" - }, - "Population": { - "type": "integer", - "format": "int32", - "description": "Population" - }, - "PrimaryWarningCountyCode": { - "type": "string", - "description": "Primary Warning County Code" - }, - "PrimaryWarningZoneCode": { - "type": "string", - "description": "Primary Warning Zone Code" - }, - "Satellite": { - "type": "string", - "description": "Satellite" - }, - "Synoptic": { - "type": "string", - "description": "Synoptic" - }, - "MarineStation": { - "type": "string", - "description": "Marine Station" - }, - "MarineStationGMTOffset": { - "type": "number", - "format": "float", - "description": "Marine Station GMT Offset" - }, - "VideoCode": { - "type": "string", - "description": "Video Code" - }, - "LocationStem": { - "type": "string", - "description": "Location Stem" - }, - "DMA": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "DMA" - }, - "PartnerID": { - "type": "string", - "description": "Partner ID" - }, - "Sources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DataType": { - "type": "string", - "description": "Data Type" - }, - "Source": { - "type": "string", - "description": "Source" - }, - "SourceId": { - "type": "integer", - "format": "int32", - "description": "SourceId" - } - } - }, - "description": "Sources" - }, - "CanonicalPostalCode": { - "type": "string", - "description": "Canonical Postal Code" - }, - "CanonicalLocationKey": { - "type": "string", - "description": "Canonical Location Key" - } - }, - "description": "Details" - } - } - } - } - }, - "summary": "Geoposition Search (Latitude and Longitude)", - "description": "Returns information about a specific location, by GeoPosition (Latitude and Longitude).", - "operationId": "GeopositionSearch", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "q", - "in": "query", - "required": true, - "type": "string", - "description": "A comma-separated lat/long pair (lat,long).", - "x-ms-summary": "Latitude,Longitude", - "x-ms-visibility": "important" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - }, - { - "name": "toplevel", - "in": "query", - "required": false, - "type": "boolean", - "description": "When toplevel=true, the city with the highest rank will be returned. Large cities have higher rank than the neighborhoods within them, so toplevel=true delivers a more generic location result. (Example: 40.73,-74.00 returns Greenwich Village, NY when toplevel=false. If toplevel=true, the same lat/lon pair will return New York, NY.)", - "x-ms-summary": "Top Level", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/forecasts/v1/daily/{duration}day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Headline": { - "type": "object", - "properties": { - "EffectiveDate": { - "type": "string", - "description": "Effective Date" - }, - "EffectiveEpochDate": { - "type": "integer", - "format": "int32", - "description": "Effective Epoch Date" - }, - "Severity": { - "type": "integer", - "format": "int32", - "description": "Severity" - }, - "Text": { - "type": "string", - "description": "Text" - }, - "Category": { - "type": "string", - "description": "Category" - }, - "EndDate": { - "type": "string", - "description": "EndDate" - }, - "EndEpochDate": { - "type": "integer", - "format": "int32", - "description": "End Epoch Date" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - }, - "description": "Headline" - }, - "DailyForecasts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "Epoch Date" - }, - "Sun": { - "type": "object", - "properties": { - "Rise": { - "type": "string", - "description": "Rise" - }, - "EpochRise": { - "type": "integer", - "format": "int32", - "description": "Epoch Rise" - }, - "Set": { - "type": "string", - "description": "Set" - }, - "EpochSet": { - "type": "integer", - "format": "int32", - "description": "Epoch Set" - } - }, - "description": "Sun" - }, - "Moon": { - "type": "object", - "properties": { - "Rise": { - "type": "string", - "description": "Rise" - }, - "EpochRise": { - "type": "integer", - "format": "int32", - "description": "Epoch Rise" - }, - "Set": { - "type": "string", - "description": "Set" - }, - "EpochSet": { - "type": "integer", - "format": "int32", - "description": "Epoch Set" - }, - "Phase": { - "type": "string", - "description": "Phase" - }, - "Age": { - "type": "integer", - "format": "int32", - "description": "Age" - } - }, - "description": "Moon" - }, - "Temperature": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Maximum" - } - }, - "description": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Maximum" - } - }, - "description": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Maximum" - } - }, - "description": "Real Feel Temperature Shade" - }, - "HoursOfSun": { - "type": "number", - "format": "float", - "description": "Hours Of Sun" - }, - "DegreeDaySummary": { - "type": "object", - "properties": { - "Heating": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Heating" - }, - "Cooling": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Cooling" - } - }, - "description": "Degree Day Summary" - }, - "AirAndPollen": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Category": { - "type": "string", - "description": "Category" - }, - "CategoryValue": { - "type": "integer", - "format": "int32", - "description": "Category Value" - }, - "Type": { - "type": "string", - "description": "Type" - } - } - }, - "description": "Air And Pollen" - }, - "Day": { - "type": "object", - "properties": { - "Icon": { - "type": "integer", - "format": "int32", - "description": "Icon" - }, - "IconPhrase": { - "type": "string", - "description": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "ShortPhrase": { - "type": "string", - "description": "Short Phrase" - }, - "LongPhrase": { - "type": "string", - "description": "Long Phrase" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "Ice Probability" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - } - }, - "description": "Wind Gust" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Ice" - }, - "HoursOfPrecipitation": { - "type": "number", - "format": "double", - "description": "Hours Of Precipitation" - }, - "HoursOfRain": { - "type": "number", - "format": "double", - "description": "Hours Of Rain" - }, - "HoursOfSnow": { - "type": "number", - "format": "double", - "description": "Hours Of Snow" - }, - "HoursOfIce": { - "type": "number", - "format": "double", - "description": "Hours Of Ice" - }, - "CloudCover": { - "type": "number", - "format": "double", - "description": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Solar Irradiance" - } - }, - "description": "Day" - }, - "Night": { - "type": "object", - "properties": { - "Icon": { - "type": "integer", - "format": "int32", - "description": "Icon" - }, - "IconPhrase": { - "type": "string", - "description": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "ShortPhrase": { - "type": "string", - "description": "Short Phrase" - }, - "LongPhrase": { - "type": "string", - "description": "Long Phrase" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "Ice Probability" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - } - }, - "description": "Wind Gust" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Ice" - }, - "HoursOfPrecipitation": { - "type": "number", - "format": "double", - "description": "Hours Of Precipitation" - }, - "HoursOfRain": { - "type": "number", - "format": "double", - "description": "Hours Of Rain" - }, - "HoursOfSnow": { - "type": "number", - "format": "double", - "description": "Hours Of Snow" - }, - "HoursOfIce": { - "type": "number", - "format": "double", - "description": "Hours Of Ice" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Solar Irradiance" - } - }, - "description": "Night" - }, - "Sources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Sources" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - }, - "description": "Daily Forecasts" - } - } - } - } - }, - "summary": "Get Daily Forecasts", - "description": "Returns daily forecast data for a specific location.", - "operationId": "DailyForcasts", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (days)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 5, - 10, - 15 - ] - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to include full details in the response.", - "enum": [ - false, - true - ] - }, - { - "name": "metric", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Metric", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to display metric values.", - "enum": [ - false, - true - ] - } - ] - } - }, - "/forecasts/v1/hourly/{duration}hour/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DateTime": { - "type": "string", - "description": "Date Time" - }, - "EpochDateTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Date Time" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "Weather Icon" - }, - "IconPhrase": { - "type": "string", - "description": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "IsDaylight": { - "type": "boolean", - "description": "Is Daylight" - }, - "Temperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Real Feel TemperatureShade" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Wet Bulb Temperature" - }, - "DewPoint": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Speed" - } - }, - "description": "WindGust" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Indoor Relative Humidity" - }, - "Visibility": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Visibility" - }, - "Ceiling": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Ceiling" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "UV IndexText" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "Ice Probability" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Ice" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Solar Irradiance" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Hourly Forecasts", - "description": "Returns forecast data for the next hour(s) for a specific location.", - "operationId": "HourlyForcasts", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (hours)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 12, - 24, - 72, - 120 - ] - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to include full details in the response.", - "enum": [ - false, - true - ] - }, - { - "name": "metric", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Metric", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to display metric values.", - "enum": [ - false, - true - ] - } - ] - } - }, - "/currentconditions/v1/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "LocalObservationDateTime": { - "type": "string", - "description": "Local Observation Date Time" - }, - "EpochTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Time" - }, - "WeatherText": { - "type": "string", - "description": "Weather Text" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "Weather Icon" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "PrecipitationType": { - "type": "string", - "description": "Precipitation Type" - }, - "IsDayTime": { - "type": "boolean", - "description": "Is Day Time" - }, - "Temperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature Shade" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Indoor Relative Humidity" - }, - "DewPoint": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - }, - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "Wind Gust" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "UV Index Text" - }, - "Visibility": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Visibility" - }, - "ObstructionsToVisibility": { - "type": "string", - "description": "Obstructions To Visibility" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "Cloud Cover" - }, - "Ceiling": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Ceiling" - }, - "Pressure": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Pressure" - }, - "PressureTendency": { - "type": "object", - "properties": { - "LocalizedText": { - "type": "string", - "description": "Localized Text" - }, - "Code": { - "type": "string", - "description": "Code" - } - }, - "description": "Pressure Tendency" - }, - "Past24HourTemperatureDeparture": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hour Temperature Departure" - }, - "ApparentTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Apparent Temperature" - }, - "WindChillTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wind Chill Temperature" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wet Bulb Temperature" - }, - "Precip1hr": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Precipitation 1 hour" - }, - "PrecipitationSummary": { - "type": "object", - "properties": { - "Precipitation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Precipitation" - }, - "PastHour": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past Hour" - }, - "Past3Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 3 Hours" - }, - "Past6Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 6 Hours" - }, - "Past9Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 9 Hours" - }, - "Past12Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 12 Hours" - }, - "Past18Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 18 Hours" - }, - "Past24Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hours" - } - }, - "description": "PrecipitationSummary" - }, - "TemperatureSummary": { - "type": "object", - "properties": { - "Past6HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 6 Hour Range" - }, - "Past12HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 12 Hour Range" - }, - "Past24HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 24 Hour Range" - } - }, - "description": "Temperature Summary" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Current Conditions", - "description": "Returns current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", - "operationId": "CurrentConditions", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/currentconditions/v1/topcities/{group}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "Key" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "Localized name" - }, - "EnglishName": { - "type": "string", - "description": "English name" - } - }, - "description": "Country" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "Code" - }, - "Name": { - "type": "string", - "description": "Name" - }, - "GmtOffset": { - "type": "number", - "format": "float", - "description": "Gmt Offset", - "title": "GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Is Day lightSaving" - }, - "NextOffsetChange": { - "type": "string", - "description": "Next Offset Change" - } - }, - "description": "Time Zone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Elevation" - } - }, - "description": "Geo Position" - }, - "LocalObservationDateTime": { - "type": "string", - "description": "Local Observation Date Time" - }, - "EpochTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Time" - }, - "WeatherText": { - "type": "string", - "description": "Weather Text" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "Weather Icon" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "PrecipitationType": { - "type": "string", - "description": "Precipitation Type" - }, - "IsDayTime": { - "type": "boolean", - "description": "Is Day Time" - }, - "Temperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "Value", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Temperature" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - }, - "LocalSource": { - "type": "object", - "properties": { - "Id": { - "type": "integer", - "format": "int32", - "description": "Id" - }, - "Name": { - "type": "string", - "description": "Name" - }, - "WeatherCode": { - "type": "string", - "description": "Weather Code" - } - }, - "description": "Local Source" - } - } - } - } - } - }, - "summary": "Get Current Conditions for Top Cities", - "description": "Returns current conditions data for the top 50, 100, or 150 cities worldwide, based on rank.", - "operationId": "CurrentConditionsTopCities", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "group", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Group", - "description": "Group size, indicating how many cities to return. Valid values are 50, 100, or 150.", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 50, - 100, - 150 - ] - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - } - ] - } - }, - "/currentconditions/v1/{locationKey}/historical/24": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "LocalObservationDateTime": { - "type": "string", - "description": "Local Observation Date Time" - }, - "EpochTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Time" - }, - "WeatherText": { - "type": "string", - "description": "Weather Text" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "Weather Icon" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "PrecipitationType": { - "type": "string", - "description": "Precipitation Type" - }, - "IsDayTime": { - "type": "boolean", - "description": "Is Day Time" - }, - "Temperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature Shade" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Indoor Relative Humidity" - }, - "DewPoint": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - }, - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "WindGust" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "UV Index Text" - }, - "Visibility": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Visibility" - }, - "ObstructionsToVisibility": { - "type": "string", - "description": "Obstructions To Visibility" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "Cloud Cover" - }, - "Ceiling": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Ceiling" - }, - "Pressure": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Pressure" - }, - "PressureTendency": { - "type": "object", - "properties": { - "LocalizedText": { - "type": "string", - "description": "Localized Text" - }, - "Code": { - "type": "string", - "description": "Code" - } - }, - "description": "Pressure Tendency" - }, - "Past24HourTemperatureDeparture": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hour Temperature Departure" - }, - "ApparentTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Apparent Temperature" - }, - "WindChillTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wind Chill Temperature" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wet Bulb Temperature" - }, - "Precip1hr": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Precipitation 1 Hour" - }, - "PrecipitationSummary": { - "type": "object", - "properties": { - "Precipitation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Precipitation" - }, - "PastHour": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past Hour" - }, - "Past3Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 3 Hours" - }, - "Past6Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 6 Hours" - }, - "Past9Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 9 Hours" - }, - "Past12Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 12 Hours" - }, - "Past18Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 18 Hours" - }, - "Past24Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hours" - } - }, - "description": "Precipitation Summary" - }, - "TemperatureSummary": { - "type": "object", - "properties": { - "Past6HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 6 Hour Range" - }, - "Past12HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 12 Hour Range" - }, - "Past24HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 24 Hour Range" - } - }, - "description": "Temperature Summary" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Historical Current Conditions (past 24 hours)", - "description": "Returns historical current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", - "operationId": "HistoricalCurrentConditions24H", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/currentconditions/v1/{locationKey}/historical": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "LocalObservationDateTime": { - "type": "string", - "description": "Local Observation Date Time" - }, - "EpochTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Time" - }, - "WeatherText": { - "type": "string", - "description": "Weather Text" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "Weather Icon" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Has Precipitation" - }, - "PrecipitationType": { - "type": "string", - "description": "Precipitation Type" - }, - "IsDayTime": { - "type": "boolean", - "description": "Is Day Time" - }, - "Temperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Real Feel Temperature Shade" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "Indoor Relative Humidity" - }, - "DewPoint": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "Degrees" - }, - "Localized": { - "type": "string", - "description": "Localized" - }, - "English": { - "type": "string", - "description": "English" - } - }, - "description": "Direction" - }, - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Speed" - } - }, - "description": "Wind Gust" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "UV Index Text" - }, - "Visibility": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Visibility" - }, - "ObstructionsToVisibility": { - "type": "string", - "description": "Obstructions To Visibility" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "Cloud Cover" - }, - "Ceiling": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Ceiling" - }, - "Pressure": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Pressure" - }, - "PressureTendency": { - "type": "object", - "properties": { - "LocalizedText": { - "type": "string", - "description": "Localized Text" - }, - "Code": { - "type": "string", - "description": "Code" - } - }, - "description": "Pressure Tendency" - }, - "Past24HourTemperatureDeparture": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hour Temperature Departure" - }, - "ApparentTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Apparent Temperature" - }, - "WindChillTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wind Chill Temperature" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Wet Bulb Temperature" - }, - "Precip1hr": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "precipitation 1 Hour" - }, - "PrecipitationSummary": { - "type": "object", - "properties": { - "Precipitation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Precipitation" - }, - "PastHour": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past Hour" - }, - "Past3Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 3 Hours" - }, - "Past6Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 6 Hours" - }, - "Past9Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 9 Hours" - }, - "Past12Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 12 Hours" - }, - "Past18Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 18 Hours" - }, - "Past24Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Past 24 Hours" - } - }, - "description": "Precipitation Summary" - }, - "TemperatureSummary": { - "type": "object", - "properties": { - "Past6HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 6 Hour Range" - }, - "Past12HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 12 Hour Range" - }, - "Past24HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Unit": { - "type": "string", - "description": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "Unit type" - } - }, - "description": "Imperial" - } - }, - "description": "Maximum" - } - }, - "description": "Past 24 Hour Range" - } - }, - "description": "Temperature Summary" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Historical Current Conditions (past 6 hours)", - "description": "Returns historical current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", - "operationId": "HistoricalCurrentConditions6H", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/indices/v1/daily/{duration}day/{locationKey}/groups/{groupId}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - }, - "Ascending": { - "type": "boolean", - "description": "Ascending" - }, - "LocalDateTime": { - "type": "string", - "description": "Local Date Time" - }, - "EpochDateTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Date Time" - }, - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Category": { - "type": "string", - "description": "Category" - }, - "CategoryValue": { - "type": "integer", - "format": "int32", - "description": "Category Value" - }, - "Text": { - "type": "string", - "description": "Text" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Daily Index Values for a Group of Indices", - "description": "Returns daily index data for a specific group of indices, by location key.", - "operationId": "DailyIndexValuesByGroupOfIndicies", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (days)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 5, - 10, - 15 - ] - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "groupId", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "x-ms-summary": "Indices Group", - "description": "All index groups", - "x-ms-visibility": "important", - "x-ms-dynamic-values": { - "operationId": "ListIndexGroups", - "value-path": "ID", - "value-title": "Name" - } - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/indices/v1/daily/{duration}day/{locationKey}/{indexId}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - }, - "Ascending": { - "type": "boolean", - "description": "Ascending" - }, - "LocalDateTime": { - "type": "string", - "description": "Local Date Time" - }, - "EpochDateTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Date Time" - }, - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Category": { - "type": "string", - "description": "Category" - }, - "CategoryValue": { - "type": "integer", - "format": "int32", - "description": "Category Value" - }, - "Text": { - "type": "string", - "description": "Text" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Daily Index Values for a Specific Index", - "description": "Returns daily index data for a specific index, by location key. Not all daily indices data are available for retrieval, check (https://developer.accuweather.com/list-available-daily-indices)", - "operationId": "DailyIndexValuesBySpecificIndex", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (days)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 5, - 10, - 15 - ] - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "indexId", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Index", - "description": "The index to get the values for. NOTE: Not all daily indices data are available for retrieval, Check: https://developer.accuweather.com/list-available-daily-indices", - "x-ms-visibility": "important", - "format": "int32", - "x-ms-dynamic-values": { - "operationId": "ListDailyIndices", - "value-path": "ID", - "value-title": "Name" - } - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/indices/v1/daily/{duration}day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - }, - "Ascending": { - "type": "boolean", - "description": "Ascending" - }, - "LocalDateTime": { - "type": "string", - "description": "Local Date Time" - }, - "EpochDateTime": { - "type": "integer", - "format": "int32", - "description": "Epoch Date Time" - }, - "Value": { - "type": "number", - "format": "double", - "description": "Value" - }, - "Category": { - "type": "string", - "description": "Category" - }, - "CategoryValue": { - "type": "integer", - "format": "int32", - "description": "Category Value" - }, - "Text": { - "type": "string", - "description": "Text" - }, - "MobileLink": { - "type": "string", - "description": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link" - } - } - } - } - } - }, - "summary": "Get Daily Index Values for for All Indices", - "description": "Returns daily index data for all indices, by location key.", - "operationId": "DailyIndexValuesForAllIndices", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (days)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 5, - 10, - 15 - ] - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ] - } - }, - "/indices/v1/daily": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - }, - "Ascending": { - "type": "boolean", - "description": "Ascending" - }, - "Description": { - "type": "string", - "description": "Description" - } - } - } - } - } - }, - "summary": "Get List of Daily Indices", - "description": "Returns metadata for all daily indices.", - "operationId": "ListDailyIndices", - "x-ms-visibility": "advanced", - "parameters": [] - } - }, - "/indices/v1/daily/groups": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - } - } - } - } - } - }, - "summary": "Get List of Index Groups", - "description": "Returns metadata for all index groups.", - "operationId": "ListIndexGroups", - "x-ms-visibility": "advanced", - "parameters": [] - } - }, - "/indices/v1/daily/groups/{groupId}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name" - }, - "ID": { - "type": "integer", - "format": "int32", - "description": "ID" - }, - "Ascending": { - "type": "boolean", - "description": "Ascending" - }, - "Description": { - "type": "string", - "description": "Description" - } - } - } - } - } - }, - "summary": "Get List of Indices in a Specific Group", - "description": "Returns metadata for all indices in a specified group.", - "operationId": "ListOfIndiciesInAGroupByGroupID", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "groupId", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "description": "Index group Id", - "x-ms-summary": "Group Id", - "x-ms-visibility": "important", - "format": "int32", - "x-ms-dynamic-values": { - "operationId": "ListIndexGroups", - "value-path": "ID", - "value-title": "Name" - } - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - } - ] - } - }, - "/locations/v1/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "The response version.", - "title": "Version" - }, - "Key": { - "type": "string", - "description": "The location key.", - "title": "Key" - }, - "Type": { - "type": "string", - "description": "The location type.", - "title": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "The location rank.", - "title": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "The localized name.", - "title": "Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The English name.", - "title": "English Name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "The location postal code.", - "title": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The region ID.", - "title": "Region ID" - }, - "LocalizedName": { - "type": "string", - "description": "The region localized name.", - "title": "Region Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The region English name.", - "title": "Region English Name" - } - }, - "description": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The country ID.", - "title": "Country ID" - }, - "LocalizedName": { - "type": "string", - "description": "The country localized name.", - "title": "Country Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The country English name.", - "title": "Country English Name" - } - }, - "description": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The administrative area ID.", - "title": "Administrative Area ID" - }, - "LocalizedName": { - "type": "string", - "description": "The administrative area name.", - "title": "Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The administrative area English name.", - "title": "Administrative Area English Name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "The administrative area level.", - "title": "Administrative Area Level" - }, - "LocalizedType": { - "type": "string", - "description": "The administrative area localized type.", - "title": "Administrative Area Localized Type" - }, - "EnglishType": { - "type": "string", - "description": "The administrative area English type.", - "title": "Administrative Area English Type" - }, - "CountryID": { - "type": "string", - "description": "The administrative area country ID.", - "title": "Administrative Area Country ID" - } - }, - "description": "Administrative Area" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "The time zone code.", - "title": "Time Zone Code" - }, - "Name": { - "type": "string", - "description": "The time zone name.", - "title": "Time Zone Name" - }, - "GmtOffset": { - "type": "integer", - "format": "int32", - "description": "The time zone GMT offset.", - "title": "Time Zone GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Whether he time zone is Daylight Saving.", - "title": "Time Zone Is Daylight Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "The time zone next offset change.", - "title": "Time Zone Next Offset Change" - } - }, - "description": "Time Zone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "The geoposition latitude.", - "title": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "The geoposition longitude.", - "title": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric value.", - "title": "Elevation Metric Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in metric unit.", - "title": "Elevation Metric Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric unit type.", - "title": "Elevation Metric Unit Type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial value.", - "title": "Elevation Imperial Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in imperial unit.", - "title": "Elevation Imperial Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial unit type.", - "title": "Elevation Imperial Unit Type" - } - }, - "description": "Imperial" - } - }, - "description": "Elevation" - } - }, - "description": "GeoPosition" - }, - "IsAlias": { - "type": "boolean", - "description": "Whether location is alias.", - "title": "Is Alias" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Level": { - "type": "integer", - "format": "int32", - "description": "The supplemental administrative level.", - "title": "Supplemental Administrative Level" - }, - "LocalizedName": { - "type": "string", - "description": "The supplemental administrative localized name.", - "title": "Supplemental Administrative Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The supplemental administrative English name.", - "title": "Supplemental Administrative English Name" - } - } - }, - "description": "SupplementalAdminAreas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The data sets.", - "title": "Data Sets" - } - } - } - } - }, - "summary": "Search by location key", - "description": "Returns information about a specific location, by location key. You must know the location key to perform this query.", - "operationId": "SearchLocationKey", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "description": "The key for the location being searched.", - "x-ms-summary": "Location Key" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "default": "en-us", - "description": "String indicating the language in which to return the resource.", - "x-ms-summary": "Language" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "default": false, - "description": "Boolean value specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "enum": [ - false, - true - ] - } - ] - } - }, - "/locations/v1/cities/ipaddress": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "The response version.", - "title": "Version" - }, - "Key": { - "type": "string", - "description": "The location key.", - "title": "Key" - }, - "Type": { - "type": "string", - "description": "The location type.", - "title": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "The location rank.", - "title": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "The location localized name.", - "title": "Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The location English name.", - "title": "English Name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "The location postal code.", - "title": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The region ID.", - "title": "Region ID." - }, - "LocalizedName": { - "type": "string", - "description": "The region localized name.", - "title": "Region Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The region English name.", - "title": "Region English Name" - } - }, - "description": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The country ID.", - "title": "Country ID" - }, - "LocalizedName": { - "type": "string", - "description": "The country localized name.", - "title": "Country Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The country English name.", - "title": "Country English Name" - } - }, - "description": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The administrative area ID.", - "title": "Administrative Area ID" - }, - "LocalizedName": { - "type": "string", - "description": "The administrative area localized name.", - "title": "Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The administrative area English name.", - "title": "Administrative Area English Name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "The administrative area level.", - "title": "Administrative Area Level" - }, - "LocalizedType": { - "type": "string", - "description": "The administrative area localized type.", - "title": "Administrative Area Localized Type" - }, - "EnglishType": { - "type": "string", - "description": "The administrative area English type.", - "title": "Administrative Area English Type" - }, - "CountryID": { - "type": "string", - "description": "The administrative area country ID.", - "title": "Administrative Area Country ID" - } - }, - "description": "AdministrativeArea" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "The time zone code.", - "title": "Time Zone Code" - }, - "Name": { - "type": "string", - "description": "The time zone name.", - "title": "Time Zone Name" - }, - "GmtOffset": { - "type": "integer", - "format": "int32", - "description": "The time zone GMT offset.", - "title": "Time Zone GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Whether the time zone is Daylight Saving.", - "title": "Time Zone Is Daylight Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "The time zone next offset change.", - "title": "Time Zone Next Offset Change" - } - }, - "description": "TimeZone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "The location latitude.", - "title": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "The location longitude.", - "title": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric.", - "title": "Elevation Metric Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in metric unit.", - "title": "Elevation Metric Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric unit type.", - "title": "Elevation Metric Unit Type" - } - }, - "description": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial.", - "title": "Elevation Imperial Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in imperial unit.", - "title": "Elevation Imperial Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial unit type.", - "title": "Elevation Imperial Unit Type" - } - }, - "description": "Imperial" - } - }, - "description": "Elevation" - } - }, - "description": "GeoPosition" - }, - "IsAlias": { - "type": "boolean", - "description": "Whether location is alias.", - "title": "Is Alias" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Level": { - "type": "integer", - "format": "int32", - "description": "The supplemental administrative area level.", - "title": "Supplemental Administrative Area Level" - }, - "LocalizedName": { - "type": "string", - "description": "The supplemental administrative area localized name.", - "title": "Supplemental Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The supplemental administrative area English name.", - "title": "Supplemental Administrative Area English Name" - } - } - }, - "description": "SupplementalAdminAreas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The data sets.", - "title": "Data Sets" - }, - "Details": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "The details key.", - "title": "Details Key" - }, - "StationCode": { - "type": "string", - "description": "The details station code.", - "title": "Details Station Code" - }, - "StationGmtOffset": { - "type": "integer", - "format": "int32", - "description": "The details station GMT offset.", - "title": "Details Station GMT Offset" - }, - "BandMap": { - "type": "string", - "description": "The details band map.", - "title": "Details Band Map" - }, - "Climo": { - "type": "string", - "description": "The details source of the climatology data.", - "title": "Details Climo" - }, - "LocalRadar": { - "type": "string", - "description": "The details local radar.", - "title": "Details Local Radar" - }, - "MediaRegion": { - "type": "string", - "description": "The details media region.", - "title": "Details Media Region" - }, - "Metar": { - "type": "string", - "description": "The details metar station.", - "title": "Details Metar" - }, - "NXMetro": { - "type": "string", - "description": "The details city level radar code.", - "title": "Details NX Metro" - }, - "NXState": { - "type": "string", - "description": "The details state level radar code.", - "title": "Details NX State" - }, - "Population": { - "type": "integer", - "format": "int32", - "description": "The details population.", - "title": "Details Population" - }, - "PrimaryWarningCountyCode": { - "type": "string", - "description": "The details primary warning county code.", - "title": "Details Primary Warning County Code" - }, - "PrimaryWarningZoneCode": { - "type": "string", - "description": "The details primary warning zone code.", - "title": "Details Primary Warning Zone Code" - }, - "Satellite": { - "type": "string", - "description": "The details satellite.", - "title": "Details Satellite" - }, - "Synoptic": { - "type": "string", - "description": "The details synoptic station.", - "title": "Details Synoptic" - }, - "MarineStation": { - "type": "string", - "description": "The details marine station.", - "title": "Details Marine Station" - }, - "MarineStationGMTOffset": { - "type": "string", - "description": "The details marine station GMT offset.", - "title": "Details Marine Station GMT Offset" - }, - "VideoCode": { - "type": "string", - "description": "The details video code.", - "title": "Details Video Code" - }, - "LocationStem": { - "type": "string", - "description": "The details location stem.", - "title": "Details Location Stem" - }, - "DMA": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The details Designated Marketing Area ID.", - "title": "Details DMA ID" - }, - "EnglishName": { - "type": "string", - "description": "The details Designated Marketing Area English name.", - "title": "Details DMA English Name" - } - }, - "description": "DMA" - }, - "PartnerID": { - "type": "string", - "description": "The details partner ID.", - "title": "Details Partner ID" - }, - "Sources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DataType": { - "type": "string", - "description": "The details source data type.", - "title": "Details Source Data Type" - }, - "Source": { - "type": "string", - "description": "The details source.", - "title": "Details Source" - }, - "SourceId": { - "type": "integer", - "format": "int32", - "description": "The details source ID.", - "title": "Details Source ID" - } - } - }, - "description": "Sources" - }, - "CanonicalPostalCode": { - "type": "string", - "description": "The details canonical postal code.", - "title": "Details Canonical Postal Code" - }, - "CanonicalLocationKey": { - "type": "string", - "description": "The details canonical location key.", - "title": "Details Canonical Location Key" - } - }, - "description": "Details" - } - } - } - } - }, - "summary": "Search location by IP address", - "description": "Returns information about a specific location, by IP Address.", - "operationId": "SearchLocationIP", - "parameters": [ - { - "name": "q", - "in": "query", - "required": true, - "type": "string", - "description": "A valid IP address to search for.", - "x-ms-summary": "IP Address" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "default": "en-us", - "description": "The language in which to return the resource.", - "x-ms-summary": "language" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "default": false, - "x-ms-summary": "Details", - "description": "Whether or not to include full details in the response.", - "enum": [ - false, - true - ] - } - ] - } - }, - "/alarms/v1/1day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date for which the alarm exists, displayed in ISO8601 format.", - "title": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", - "title": "Epoch Date" - }, - "Alarms": { - "type": "array", - "items": { - "type": "object", - "properties": { - "AlarmType": { - "type": "string", - "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", - "title": "Alarm Type" - }, - "Value": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Value" - }, - "Day": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Day" - } - } - }, - "title": "Alarms" - }, - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get one day of weather alarms", - "description": "Returns 1 day of weather alarms for a specific location.", - "operationId": "AlarmOne", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ] - } - }, - "/alarms/v1/5day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date for which the alarm exists, displayed in ISO8601 format.", - "title": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", - "title": "Epoch Date" - }, - "Alarms": { - "type": "array", - "items": { - "type": "object", - "properties": { - "AlarmType": { - "type": "string", - "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", - "title": "Alarm Type" - }, - "Value": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Value" - }, - "Day": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Day" - } - } - }, - "title": "Alarms" - }, - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get 5 days of weather alarms", - "description": "Returns 5 days of weather alarms for a specific location.", - "operationId": "AlarmFive", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ] - } - }, - "/alarms/v1/10day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date for which the alarm exists, displayed in ISO8601 format.", - "title": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", - "title": "Epoch Date" - }, - "Alarms": { - "type": "array", - "items": { - "type": "object", - "properties": { - "AlarmType": { - "type": "string", - "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", - "title": "Alarm Type" - }, - "Value": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Value" - }, - "Day": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Day" - } - } - }, - "title": "Alarms" - }, - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get ten days of weather alarms", - "description": "Returns 10 days of weather alarms for a specific location.", - "operationId": "AlarmTen", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ] - } - }, - "/alarms/v1/15day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date for which the alarm exists, displayed in ISO8601 format.", - "title": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", - "title": "Epoch Date" - }, - "Alarms": { - "type": "array", - "items": { - "type": "object", - "properties": { - "AlarmType": { - "type": "string", - "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", - "title": "Alarm Type" - }, - "Value": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Value" - }, - "Day": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "float", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Day" - } - } - }, - "title": "Alarms" - }, - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get fifteen day of weather alarms", - "description": "Returns 15 days of weather alarms for a specific location.", - "operationId": "AlarmFifteen", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ] - } - }, - "/translations/v1/languages": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ID": { - "type": "integer", - "format": "int32", - "description": "The identifier.", - "title": "ID" - }, - "Name": { - "type": "string", - "description": "The name.", - "title": "Name" - }, - "DisplayName": { - "type": "string", - "description": "The display name.", - "title": "Display Name" - }, - "LocalizedName": { - "type": "string", - "description": "The translated name.", - "title": "Localized Name" - }, - "ISO": { - "type": "string", - "description": "The culture code.", - "title": "ISO" - }, - "LanguageType": { - "type": "integer", - "format": "int32", - "description": "The identifier for the language type", - "title": "Language Type" - }, - "MicroSoftName": { - "type": "string", - "description": "The Microsoft display name of the language.", - "title": "Microsoft Name" - }, - "MicroSoftCode": { - "type": "string", - "description": "The Microsoft culture code for the language.", - "title": "Microsoft Code" - }, - "TimeStamp": { - "type": "string", - "description": "The time that the language information was pulled from the database.", - "title": "Timestamp" - } - } - } - } - } - }, - "parameters": [], - "summary": "List all languages", - "description": "Returns metadata for all languages.", - "operationId": "LanguageList" - } - }, - "/translations/v1/groups": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "ID": { - "type": "integer", - "format": "int32", - "description": "The identifier.", - "title": "ID" - }, - "Name": { - "type": "string", - "description": "The name.", - "title": "Name" - } - } - } - } - } - }, - "summary": "List the available translation groups", - "parameters": [], - "description": "Lists groups of phrases that are available for translation.", - "operationId": "LanguageGroups" - } - }, - "/translations/v1/groups/{groupID}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "LanguageCode": { - "type": "string", - "description": "Culture code of the language, for which the phrase is translated.", - "title": "Language Code" - }, - "PhraseCode": { - "type": "string", - "description": "Word (or phrase - without spaces) to use as a key for joining the translations.", - "title": "Phrase Code" - }, - "Text": { - "type": "string", - "description": "Translated word or phrase.", - "title": "Text" - }, - "DataCode": { - "type": "string", - "description": "Key to use for translation.", - "title": "Data Code" - } - } - } - } - } - }, - "parameters": [ - { - "name": "groupID", - "in": "path", - "x-ms-summary": "Group ID", - "description": "The string indicating the group ID in which to return the resource.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ], - "summary": "List the translations for a specific group", - "description": "Returns all translated phrases for a specific group, in the desired language.", - "operationId": "LanguageTranslationsGroup" - } - }, - "/alerts/v1/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "CountryCode": { - "type": "string", - "description": "Unique country code ID.", - "title": "Country Code" - }, - "AlertID": { - "type": "integer", - "format": "int32", - "description": "Unique numeric id that identifies an alert for a particular country.", - "title": "Alert ID" - }, - "Description": { - "type": "object", - "properties": { - "Localized": { - "type": "string", - "description": "Description of the alert in the local dialect set with language code in URL. Default is US English (en-us).", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "Description of the alert in US English.", - "title": "English" - } - }, - "title": "Description" - }, - "Category": { - "type": "string", - "description": "Category of the alert.", - "title": "Category" - }, - "Priority": { - "type": "integer", - "format": "int32", - "description": "Number signifying the importance or ranking order of the given alert within the country in which it has originated. A lower number signifies a higher priority. For example, 1 is the highest priority.", - "title": "Priority" - }, - "Type": { - "type": "string", - "description": "Abbreviated form of the alert description.", - "title": "Type" - }, - "TypeId": { - "type": "string", - "description": "ID associated with the alert description.", - "title": "Type ID" - }, - "Class": { - "type": "string", - "description": "Classification of the alert. Not available for all countries.", - "title": "Class" - }, - "Level": { - "type": "string", - "description": "Severity identifier for the alert. Not available for all countries.", - "title": "Level" - }, - "Color": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Descriptive name of the color.", - "title": "Name" - }, - "Red": { - "type": "integer", - "format": "int32", - "description": "The red RGB component of the color.", - "title": "Red" - }, - "Green": { - "type": "integer", - "format": "int32", - "description": "The green RGB component of the color.", - "title": "Green" - }, - "Blue": { - "type": "integer", - "format": "int32", - "description": "The blue RGB component of the color.", - "title": "Blue" - }, - "Hex": { - "type": "string", - "description": "The hexadecimal number that describes the color.", - "title": "Hex" - } - }, - "title": "Color" - }, - "Source": { - "type": "string", - "description": "Provider of the alert data.", - "title": "Source" - }, - "SourceId": { - "type": "integer", - "format": "int32", - "description": "ID associated with the provider of the alert data.", - "title": "Source ID" - }, - "Disclaimer": { - "type": "string", - "description": "Disclaimer that must be displayed with the alert data.", - "title": "Disclaimer" - }, - "Area": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "Name of the area that encompasses the location that was requested and falls under the current alert.", - "title": "Name" - }, - "StartTime": { - "type": "string", - "description": "Start time of the alert, displayed in ISO8601 format.", - "title": "Start Time" - }, - "EpochStartTime": { - "type": "integer", - "description": "Start time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", - "title": "Epoch Start Time" - }, - "EndTime": { - "type": "string", - "description": "End time of the alert, displayed in ISO8601 format.", - "title": "End Time" - }, - "EpochEndTime": { - "type": "integer", - "description": "End time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", - "title": "Epoch End Time" - }, - "LastAction": { - "type": "object", - "properties": { - "Localized": { - "type": "string", - "description": "Status of the alert in the local dialect set with language code in URL. Default is US English (en-us).", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "Status of the alert in US English.", - "title": "English" - } - }, - "title": "Last Action" - }, - "Text": { - "type": "string", - "description": "Full text associated with the alert.", - "title": "Text" - }, - "LanguageCode": { - "type": "string", - "description": "Language of the alert text.", - "title": "Language Code" - }, - "Summary": { - "type": "string", - "description": "Alert summary, in English.", - "title": "Summary" - } - }, - "title": "Area" - }, - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - } - } - } - } - } - }, - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - }, - { - "name": "details", - "in": "query", - "x-ms-summary": "Details", - "description": "Boolean value specifies whether or not to include full details in the response.", - "required": false, - "type": "boolean" - } - ], - "summary": "Get alerts by location key", - "description": "Returns alert data for a specific location. Alert searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the alert data is returned. The full object can be obtained by passing details=true.", - "operationId": "AlertLocation" - } - }, - "/imagery/v1/maps/radsat/{resolution}/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "MobileLink": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", - "title": "Link" - }, - "Radar": { - "type": "object", - "properties": { - "Size": { - "type": "string", - "description": "The resolution of the image.", - "title": "Size" - }, - "Images": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date/time of the image, displayed in ISO8601 format.", - "title": "Date" - }, - "Url": { - "type": "string", - "description": "The URL of the image.", - "title": "URL" - } - }, - "description": "Images" - } - }, - "title": "Radar" - }, - "Satellite": { - "type": "object", - "properties": { - "Size": { - "type": "string", - "description": "The resolution of the image.", - "title": "Size" - }, - "Images": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date/time of the image, displayed in ISO8601 format.", - "title": "Date" - }, - "Url": { - "type": "string", - "description": "The URL of the image.", - "title": "URL" - } - }, - "description": "Images" - } - }, - "title": "Satellite" - } - } - } - } - } - }, - "summary": "Get radar and satellite imagery", - "description": "Returns links to radar and satellite images by location key. Imagery searches require a location key. Please use the Locations API to obtain a location key for your desired location. Radar images are not available for all locations worldwide at this time. If radar is not available for your desired location, satellite images are still provided.", - "operationId": "Imagery", - "parameters": [ - { - "name": "resolution", - "in": "path", - "x-ms-summary": "Resolution", - "description": "The requested resolution.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "locationKey", - "in": "path", - "x-ms-summary": "Location Key", - "description": "The unique ID used to search for a specific location.", - "x-ms-url-encoding": "single", - "required": true, - "type": "string" - }, - { - "name": "language", - "in": "query", - "x-ms-summary": "Language", - "description": "The string indicating the language in which to return the resource.", - "required": false, - "type": "string" - } - ] - } - } - }, - "definitions": {}, - "parameters": {}, - "responses": {}, - "securityDefinitions": { - "API Key": { - "type": "apiKey", - "in": "query", - "name": "apikey" - } - }, - "security": [ - { - "API Key": [] - } - ], - "tags": [], - "x-ms-connector-metadata": [ - { - "propertyName": "Website", - "propertyValue": "https://www.accuweather.com/" - }, - { - "propertyName": "Privacy policy", - "propertyValue": "https://www.accuweather.com/en/privacy" - }, - { - "propertyName": "Categories", - "propertyValue": "Data" - } - ] -} +{ + "swagger": "2.0", + "info": { + "title": "AccuWeather", + "description": "AccuWeather provides commercial weather forecasting services worldwide.", + "version": "3.1", + "contact": { + "name": "Ahmad Najjar", + "email": "ahmadn82@hotmail.com" + } + }, + "host": "dataservice.accuweather.com", + "basePath": "/", + "schemes": [ + "http" + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "paths": { + "/locations/v1/adminareas/{countryCode}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The level.", + "title": "Level" + }, + "LocalizedType": { + "type": "string", + "description": "The localized type.", + "title": "Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The English type.", + "title": "English Type" + }, + "CountryID": { + "type": "string", + "description": "The country identifier.", + "title": "Country ID" + } + } + } + } + } + }, + "summary": "Get Admin Area List", + "description": "Returns basic information about administrative areas in the specified country.", + "operationId": "AdminAreas", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "countryCode", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "description": "The country code to return administrative areas for", + "x-ms-summary": "Country Code", + "x-ms-visibility": "important" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "offset", + "in": "query", + "required": false, + "type": "integer", + "x-ms-summary": "Offset", + "x-ms-visibility": "advanced", + "description": "Integer, along with the limit (25) that determines the first resource to be returned. If no offset is provided, the max number (100) of results will be returned." + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "AdminAreas", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/countries/{regionCode}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + } + } + } + } + }, + "summary": "Get Country List", + "description": "Returns basic information about all countries within a specified region.", + "operationId": "CountryList", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "regionCode", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "description": "The region code to return country list for", + "x-ms-summary": "Region Code", + "x-ms-visibility": "important", + "x-ms-dynamic-values": { + "operationId": "RegionList", + "value-path": "ID", + "value-title": "EnglishName" + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "CountryList", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/regions": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + } + } + } + } + }, + "summary": "Get Region List", + "description": "Returns basic information about all regions.", + "operationId": "RegionList", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource.", + "x-ms-visibility": "advanced", + "x-ms-summary": "Language" + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "RegionList", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/topcities/{group}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The primary postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The level.", + "title": "Level" + }, + "LocalizedType": { + "type": "string", + "description": "The localized type.", + "title": "Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The English type.", + "title": "English Type" + }, + "CountryID": { + "type": "string", + "description": "The country identifier.", + "title": "Country ID" + } + }, + "title": "Administrative area" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "GmtOffset": { + "type": "number", + "format": "float", + "description": "The GMT offset.", + "title": "GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether is daylight saving.", + "title": "Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The next offset change.", + "title": "Next Offset Change" + } + }, + "title": "Time Zone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "Geo Position" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether is alias.", + "title": "Is Alias" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type":"string" + }, + "description": "The supploement admin areas.", + "title": "Supplemental Admin Areas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + }, + "Details": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "StationCode": { + "type": "string", + "description": "The station code.", + "title": "Station Code" + }, + "StationGmtOffset": { + "type": "number", + "format": "float", + "description": "The station GMT offset.", + "title": "Station GMT Offset" + }, + "BandMap": { + "type": "string", + "description": "The band map.", + "title": "Band Map" + }, + "Climo": { + "type": "string", + "description": "The climo.", + "title": "Climo" + }, + "LocalRadar": { + "type": "string", + "description": "The local radar.", + "title": "Local Radar" + }, + "MediaRegion": { + "type": "string", + "description": "The media region.", + "title": "Media Region" + }, + "Metar": { + "type": "string", + "description": "The metar.", + "title": "Metar" + }, + "NXMetro": { + "type": "string", + "description": "The NX metro.", + "title": "NX Metro" + }, + "NXState": { + "type": "string", + "description": "The NX state.", + "title": "NX State" + }, + "Population": { + "type": "integer", + "format": "int32", + "description": "The population.", + "title": "Population" + }, + "PrimaryWarningCountyCode": { + "type": "string", + "description": "The primary warning country code.", + "title": "Primary Warning County Code" + }, + "PrimaryWarningZoneCode": { + "type": "string", + "description": "The primary warning zone code.", + "title": "Primary Warning Zone Code" + }, + "Satellite": { + "type": "string", + "description": "The satellite.", + "title": "Satellite" + }, + "Synoptic": { + "type": "string", + "description": "The synoptic.", + "title": "Synoptic" + }, + "MarineStation": { + "type": "string", + "description": "The marine station.", + "title": "Marine Station" + }, + "MarineStationGMTOffset": { + "type": "number", + "format": "float", + "description": "The marine station GMT offset.", + "title": "Marine Station GMT Offset" + }, + "VideoCode": { + "type": "string", + "description": "The video code.", + "title": "Video Code" + }, + "LocationStem": { + "type": "string", + "description": "The location stem.", + "title": "Location Stem" + }, + "PartnerID": { + "type": "string", + "description": "The partner identifier.", + "title": "Partner ID" + }, + "Sources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DataType": { + "type": "string", + "description": "The data type.", + "title": "Data Type" + }, + "Source": { + "type": "string", + "description": "The source.", + "title": "Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description": "The source identifier.", + "title": "Source ID" + }, + "PartnerSourceUrl": { + "type": "string", + "description": "The partner source URL address.", + "title": "Partner Source URL" + } + } + }, + "title": "Sources" + }, + "CanonicalPostalCode": { + "type": "string", + "description": "The canonical postal code.", + "title": "Canonical Postal Code" + }, + "CanonicalLocationKey": { + "type": "string", + "description": "The canonical location key.", + "title": "Canonical Location Key" + } + }, + "title": "Details" + } + } + } + } + } + }, + "summary": "Get Top Cities List", + "description": "Returns information for the top 50, 100, or 150 cities, worldwide.", + "operationId": "TopCitiesList", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "group", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Group", + "description": "The number of cities to return.", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 50, + 100, + 150 + ] + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to include full details in the response.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "TopCitiesList", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/cities/autocomplete": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + } + }, + "title": "Administrative Area" + } + } + } + } + } + }, + "summary": "Autocomplete search (Cities)", + "description": "Returns basic information about locations matching an autocomplete of the search text.", + "operationId": "AutocompleteCities", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "q", + "in": "query", + "required": true, + "type": "string", + "description": "Text to use for Autocomplete search.", + "x-ms-summary": "Text", + "x-ms-visibility": "important" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "AutocompleteCities", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/cities/geoposition/search": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The primary postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The level.", + "title": "Level" + }, + "LocalizedType": { + "type": "string", + "description": "The localized type.", + "title": "Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The English type.", + "title": "English Type" + }, + "CountryID": { + "type": "string", + "description": "The country identifier.", + "title": "Country ID" + } + }, + "title": "Administrative Area" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "GmtOffset": { + "type": "number", + "format": "float", + "description": "The GMT offset.", + "title": "GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether is daylight saving.", + "title": "Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The next offset change.", + "title": "Next Offset Change" + } + }, + "title": "TimeZone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "Geo Position" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether is alias.", + "title": "Is Alias" + }, + "ParentCity": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Parent City" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Level": { + "type": "integer", + "format": "int32", + "description": "The level.", + "title": "Level" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + } + }, + "title": "Supplemental Admin Areas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + }, + "Details": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "StationCode": { + "type": "string", + "description": "The station code.", + "title": "Station Code" + }, + "StationGmtOffset": { + "type": "number", + "format": "float", + "description": "The station GMT offset.", + "title": "Station GMT Offset" + }, + "BandMap": { + "type": "string", + "description": "The band map.", + "title": "Band Map" + }, + "Climo": { + "type": "string", + "description": "The climo.", + "title": "Climo" + }, + "LocalRadar": { + "type": "string", + "description": "The local radar.", + "title": "Local Radar" + }, + "MediaRegion": { + "type": "string", + "description": "The media region.", + "title": "Media Region" + }, + "Metar": { + "type": "string", + "description": "The metar.", + "title": "Metar" + }, + "NXMetro": { + "type": "string", + "description": "The NX metro.", + "title": "NX Metro" + }, + "NXState": { + "type": "string", + "description": "The NX state.", + "title": "NX State" + }, + "Population": { + "type": "integer", + "format": "int32", + "description": "The population.", + "title": "Population" + }, + "PrimaryWarningCountyCode": { + "type": "string", + "description": "The primary warning county code.", + "title": "Primary Warning County Code" + }, + "PrimaryWarningZoneCode": { + "type": "string", + "description": "The primary warning zone code.", + "title": "Primary Warning Zone Code" + }, + "Satellite": { + "type": "string", + "description": "The satellite.", + "title": "Satellite" + }, + "Synoptic": { + "type": "string", + "description": "The synoptic.", + "title": "Synoptic" + }, + "MarineStation": { + "type": "string", + "description": "The marine station.", + "title": "Marine Station" + }, + "MarineStationGMTOffset": { + "type": "number", + "format": "float", + "description": "The marine station GMT offset.", + "title": "Marine Station GMT Offset" + }, + "VideoCode": { + "type": "string", + "description": "The video code.", + "title": "Video Code" + }, + "LocationStem": { + "type": "string", + "description": "The location stem.", + "title": "Location Stem" + }, + "DMA": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "DMA" + }, + "PartnerID": { + "type": "string", + "description": "The partner identifier.", + "title": "Partner ID" + }, + "Sources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DataType": { + "type": "string", + "description": "The data type.", + "title": "Data Type" + }, + "Source": { + "type": "string", + "description": "The source.", + "title": "Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description": "The source identifier.", + "title": "Source ID" + } + } + }, + "title": "Sources" + }, + "CanonicalPostalCode": { + "type": "string", + "description": "The canonical postal code.", + "title": "Canonical Postal Code" + }, + "CanonicalLocationKey": { + "type": "string", + "description": "The canonical location key.", + "title": "Canonical Location Key" + } + }, + "title": "Details" + } + } + } + } + }, + "summary": "Geoposition Search (Latitude and Longitude)", + "description": "Returns information about a specific location, by GeoPosition (Latitude and Longitude).", + "operationId": "GeopositionSearch", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "q", + "in": "query", + "required": true, + "type": "string", + "description": "A comma-separated lat/long pair (lat,long).", + "x-ms-summary": "Latitude,Longitude", + "x-ms-visibility": "important" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + }, + { + "name": "toplevel", + "in": "query", + "required": false, + "type": "boolean", + "description": "When toplevel=true, the city with the highest rank will be returned. Large cities have higher rank than the neighborhoods within them, so toplevel=true delivers a more generic location result. (Example: 40.73,-74.00 returns Greenwich Village, NY when toplevel=false. If toplevel=true, the same lat/lon pair will return New York, NY.)", + "x-ms-summary": "Top Level", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "GeopositionSearch", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/forecasts/v1/daily/{duration}day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Headline": { + "type": "object", + "properties": { + "EffectiveDate": { + "type": "string", + "description": "The effective date.", + "title": "Effective Date" + }, + "EffectiveEpochDate": { + "type": "integer", + "format": "int32", + "description": "The effective epoch date.", + "title": "Effective Epoch Date" + }, + "Severity": { + "type": "integer", + "format": "int32", + "description": "The severity.", + "title": "Severity" + }, + "Text": { + "type": "string", + "description": "The text.", + "title": "Text" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "EndDate": { + "type": "string", + "description": "The end date.", + "title": "End Date" + }, + "EndEpochDate": { + "type": "integer", + "format": "int32", + "description": "The end epoch date.", + "title": "End Epoch Date" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + }, + "title": "Headline" + }, + "DailyForecasts": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "The epoch date.", + "title": "Epoch Date" + }, + "Sun": { + "type": "object", + "properties": { + "Rise": { + "type": "string", + "description": "The rise.", + "title": "Rise" + }, + "EpochRise": { + "type": "integer", + "format": "int32", + "description": "The epoch rise.", + "title": "Epoch Rise" + }, + "Set": { + "type": "string", + "description": "The set.", + "title": "Set" + }, + "EpochSet": { + "type": "integer", + "format": "int32", + "description": "The epoch set.", + "title": "Epoch Set" + } + }, + "title": "Sun" + }, + "Moon": { + "type": "object", + "properties": { + "Rise": { + "type": "string", + "description": "The rise.", + "title": "Rise" + }, + "EpochRise": { + "type": "integer", + "format": "int32", + "description": "The epoch rise.", + "title": "Epoch Rise" + }, + "Set": { + "type": "string", + "description": "The set.", + "title": "Set" + }, + "EpochSet": { + "type": "integer", + "format": "int32", + "description": "The epoch set.", + "title": "Epoch Set" + }, + "Phase": { + "type": "string", + "description": "The phase.", + "title": "Phase" + }, + "Age": { + "type": "integer", + "format": "int32", + "description": "The age.", + "title": "Age" + } + }, + "title": "Moon" + }, + "Temperature": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Maximum" + } + }, + "title": "Real Feel Temperature Shade" + }, + "HoursOfSun": { + "type": "number", + "format": "float", + "description": "The hours of sun.", + "title": "Hours Of Sun" + }, + "DegreeDaySummary": { + "type": "object", + "properties": { + "Heating": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Heating" + }, + "Cooling": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Cooling" + } + }, + "title": "Degree Day Summary" + }, + "AirAndPollen": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "CategoryValue": { + "type": "integer", + "format": "int32", + "description": "The category value.", + "title": "Category Value" + }, + "Type": { + "type": "string", + "description": "The type.", + "title": "Type" + } + } + }, + "title": "Air And Pollen" + }, + "Day": { + "type": "object", + "properties": { + "Icon": { + "type": "integer", + "format": "int32", + "description": "The icon.", + "title": "Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "ShortPhrase": { + "type": "string", + "description": "The short phase.", + "title": "Short Phrase" + }, + "LongPhrase": { + "type": "string", + "description": "The long phase.", + "title": "Long Phrase" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind Gust" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "HoursOfPrecipitation": { + "type": "number", + "format": "double", + "description": "The hours of precipitation.", + "title": "Hours Of Precipitation" + }, + "HoursOfRain": { + "type": "number", + "format": "double", + "description": "The hours of rain.", + "title": "Hours Of Rain" + }, + "HoursOfSnow": { + "type": "number", + "format": "double", + "description": "The hours of snow.", + "title": "Hours Of Snow" + }, + "HoursOfIce": { + "type": "number", + "format": "double", + "description": "The hours of ice.", + "title": "Hours Of Ice" + }, + "CloudCover": { + "type": "number", + "format": "double", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + } + }, + "title": "Day" + }, + "Night": { + "type": "object", + "properties": { + "Icon": { + "type": "integer", + "format": "int32", + "description": "The icon.", + "title": "Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "ShortPhrase": { + "type": "string", + "description": "The short phase.", + "title": "Short Phrase" + }, + "LongPhrase": { + "type": "string", + "description": "The long phase.", + "title": "Long Phrase" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind Gust" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "HoursOfPrecipitation": { + "type": "number", + "format": "double", + "description": "The hours of precipitation.", + "title": "Hours Of Precipitation" + }, + "HoursOfRain": { + "type": "number", + "format": "double", + "description": "The hours of rain.", + "title": "Hours Of Rain" + }, + "HoursOfSnow": { + "type": "number", + "format": "double", + "description": "The hours of snow.", + "title": "Hours Of Snow" + }, + "HoursOfIce": { + "type": "number", + "format": "double", + "description": "The hours of ice.", + "title": "Hours Of Ice" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + } + }, + "title": "Night" + }, + "Sources": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Sources" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + }, + "title": "Daily Forecasts" + } + } + } + } + }, + "summary": "Get Daily Forecasts", + "description": "Returns daily forecast data for a specific location.", + "operationId": "DailyForcasts", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (days)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 5, + 10, + 15 + ], + "default": 5 + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to include full details in the response.", + "enum": [ + false, + true + ] + }, + { + "name": "metric", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Metric", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to display metric values.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "DailyForcasts", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/forecasts/v1/hourly/{duration}hour/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DateTime": { + "type": "string", + "description": "The date time.", + "title": "Date Time" + }, + "EpochDateTime": { + "type": "integer", + "format": "int32", + "description": "The epoch date time.", + "title": "Epoch Date Time" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "IconPhrase": { + "type": "string", + "description": "The icon phase.", + "title": "Icon Phrase" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "IsDaylight": { + "type": "boolean", + "description": "Whether is daylight.", + "title": "Is Daylight" + }, + "Temperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Real Feel TemperatureShade" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Wet Bulb Temperature" + }, + "DewPoint": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + }, + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Speed" + } + }, + "title": "WindGust" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "Visibility": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Visibility" + }, + "Ceiling": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ceiling" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "PrecipitationProbability": { + "type": "integer", + "format": "int32", + "description": "The precipitation probability.", + "title": "Precipitation Probability" + }, + "ThunderstormProbability": { + "type": "integer", + "format": "int32", + "description": "The thunderstorm probability.", + "title": "Thunderstorm Probability" + }, + "RainProbability": { + "type": "integer", + "format": "int32", + "description": "The rain probability.", + "title": "Rain Probability" + }, + "SnowProbability": { + "type": "integer", + "format": "int32", + "description": "The snow probability.", + "title": "Snow Probability" + }, + "IceProbability": { + "type": "integer", + "format": "int32", + "description": "The ice probability.", + "title": "Ice Probability" + }, + "TotalLiquid": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Total Liquid" + }, + "Rain": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Rain" + }, + "Snow": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Snow" + }, + "Ice": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Ice" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Evapotranspiration": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Evapotranspiration" + }, + "SolarIrradiance": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Solar Irradiance" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Hourly Forecasts", + "description": "Returns forecast data for the next hour(s) for a specific location.", + "operationId": "HourlyForcasts", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (hours)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 12, + 24, + 72, + 120 + ] + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to include full details in the response.", + "enum": [ + false, + true + ] + }, + { + "name": "metric", + "in": "query", + "required": false, + "type": "boolean", + "x-ms-summary": "Metric", + "x-ms-visibility": "advanced", + "description": "Specifies whether or not to display metric values.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "HourlyForcasts", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/currentconditions/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LocalObservationDateTime": { + "type": "string", + "description": "The local observation date time.", + "title": "Local Observation Date Time" + }, + "EpochTime": { + "type": "integer", + "format": "int32", + "description": "The epoch time.", + "title": "Epoch Time" + }, + "WeatherText": { + "type": "string", + "description": "The weather text.", + "title": "Weather Text" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "PrecipitationType": { + "type": "string", + "description": "The precipitation type.", + "title": "Precipitation Type" + }, + "IsDayTime": { + "type": "boolean", + "description": "Whether is day time.", + "title": "Is Day Time" + }, + "Temperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature Shade" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "DewPoint": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + }, + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind Gust" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "Visibility": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Visibility" + }, + "ObstructionsToVisibility": { + "type": "string", + "description": "The obstructions to visibility.", + "title": "Obstructions To Visibility" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Ceiling": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Ceiling" + }, + "Pressure": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Pressure" + }, + "PressureTendency": { + "type": "object", + "properties": { + "LocalizedText": { + "type": "string", + "description": "The localized text.", + "title": "Localized Text" + }, + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + } + }, + "title": "Pressure Tendency" + }, + "Past24HourTemperatureDeparture": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hour Temperature Departure" + }, + "ApparentTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Apparent Temperature" + }, + "WindChillTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wind Chill Temperature" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wet Bulb Temperature" + }, + "Precip1hr": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation 1 hour" + }, + "PrecipitationSummary": { + "type": "object", + "properties": { + "Precipitation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation" + }, + "PastHour": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past Hour" + }, + "Past3Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 3 Hours" + }, + "Past6Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 6 Hours" + }, + "Past9Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 9 Hours" + }, + "Past12Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 12 Hours" + }, + "Past18Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 18 Hours" + }, + "Past24Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hours" + } + }, + "title": "Precipitation Summary" + }, + "TemperatureSummary": { + "type": "object", + "properties": { + "Past6HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 6 Hour Range" + }, + "Past12HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 12 Hour Range" + }, + "Past24HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 24 Hour Range" + } + }, + "title": "Temperature Summary" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Current Conditions", + "description": "Returns current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", + "operationId": "CurrentConditions", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "x-ms-dynamic-values": { + "operationId": "AutocompleteCities", + "value-path": "Key", + "value-title": "LocalizedName", + "parameters": { + "q": { + "parameter": "locationKey" + } + } + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "CurrentConditions", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/currentconditions/v1/topcities/{group}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The key.", + "title": "Key" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The identifier.", + "title": "ID" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + } + }, + "title": "Country" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "GmtOffset": { + "type": "number", + "format": "float", + "description": "The GMT offset.", + "title": "GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether is daylight saving.", + "title": "Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The next offset change.", + "title": "Next Offset Change" + } + }, + "title": "Time Zone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "Geo Position" + }, + "LocalObservationDateTime": { + "type": "string", + "description": "The local observation date time.", + "title": "Local Observation Date Time" + }, + "EpochTime": { + "type": "integer", + "format": "int32", + "description": "The epoch time.", + "title": "Epoch Time" + }, + "WeatherText": { + "type": "string", + "description": "The weather text.", + "title": "Weather Text" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "PrecipitationType": { + "type": "string", + "description": "The precipitation type.", + "title": "Precipitation Type" + }, + "IsDayTime": { + "type": "boolean", + "description": "Whether is day time.", + "title": "Is Day Time" + }, + "Temperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Temperature" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + }, + "LocalSource": { + "type": "object", + "properties": { + "Id": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "WeatherCode": { + "type": "string", + "description": "The weather code.", + "title": "Weather Code" + } + }, + "title": "Local Source" + } + } + } + } + } + }, + "summary": "Get Current Conditions for Top Cities", + "description": "Returns current conditions data for the top 50, 100, or 150 cities worldwide, based on rank.", + "operationId": "CurrentConditionsTopCities", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "group", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Group", + "description": "Group size, indicating how many cities to return. Valid values are 50, 100, or 150.", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 50, + 100, + 150 + ] + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "CurrentConditionsTopCities", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/currentconditions/v1/{locationKey}/historical/24": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LocalObservationDateTime": { + "type": "string", + "description": "The local observation date time.", + "title": "Local Observation Date Time" + }, + "EpochTime": { + "type": "integer", + "format": "int32", + "description": "The epoch time.", + "title": "Epoch Time" + }, + "WeatherText": { + "type": "string", + "description": "The weather text.", + "title": "Weather Text" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "PrecipitationType": { + "type": "string", + "description": "The precipitation type.", + "title": "Precipitation Type" + }, + "IsDayTime": { + "type": "boolean", + "description": "Whether is day time.", + "title": "Is Day Time" + }, + "Temperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature Shade" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "DewPoint": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + }, + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "WindGust" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "Visibility": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Visibility" + }, + "ObstructionsToVisibility": { + "type": "string", + "description": "The obstructions to visibility.", + "title": "Obstructions To Visibility" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Ceiling": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Ceiling" + }, + "Pressure": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Pressure" + }, + "PressureTendency": { + "type": "object", + "properties": { + "LocalizedText": { + "type": "string", + "description": "The localized text.", + "title": "Localized Text" + }, + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + } + }, + "title": "Pressure Tendency" + }, + "Past24HourTemperatureDeparture": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hour Temperature Departure" + }, + "ApparentTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Apparent Temperature" + }, + "WindChillTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wind Chill Temperature" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wet Bulb Temperature" + }, + "Precip1hr": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation 1 Hour" + }, + "PrecipitationSummary": { + "type": "object", + "properties": { + "Precipitation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation" + }, + "PastHour": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past Hour" + }, + "Past3Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 3 Hours" + }, + "Past6Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 6 Hours" + }, + "Past9Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 9 Hours" + }, + "Past12Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 12 Hours" + }, + "Past18Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 18 Hours" + }, + "Past24Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hours" + } + }, + "title": "Precipitation Summary" + }, + "TemperatureSummary": { + "type": "object", + "properties": { + "Past6HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 6 Hour Range" + }, + "Past12HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 12 Hour Range" + }, + "Past24HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 24 Hour Range" + } + }, + "title": "Temperature Summary" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Historical Current Conditions (past 24 hours)", + "description": "Returns historical current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", + "operationId": "HistoricalCurrentConditions24H", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "HistoricalCurrentConditions24H", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/currentconditions/v1/{locationKey}/historical": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LocalObservationDateTime": { + "type": "string", + "description": "The local observation date time.", + "title": "Local Observation Date Time" + }, + "EpochTime": { + "type": "integer", + "format": "int32", + "description": "The epoch time.", + "title": "Epoch Time" + }, + "WeatherText": { + "type": "string", + "description": "The weather text.", + "title": "Weather Text" + }, + "WeatherIcon": { + "type": "integer", + "format": "int32", + "description": "The weather icon.", + "title": "Weather Icon" + }, + "HasPrecipitation": { + "type": "boolean", + "description": "Whether has precipitation.", + "title": "Has Precipitation" + }, + "PrecipitationType": { + "type": "string", + "description": "The precipitation type.", + "title": "Precipitation Type" + }, + "IsDayTime": { + "type": "boolean", + "description": "Whether is day time.", + "title": "Is Day Time" + }, + "Temperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Temperature" + }, + "RealFeelTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature" + }, + "RealFeelTemperatureShade": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Real Feel Temperature Shade" + }, + "RelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The relative humidity.", + "title": "Relative Humidity" + }, + "IndoorRelativeHumidity": { + "type": "integer", + "format": "int32", + "description": "The indoor relative humidity.", + "title": "Indoor Relative Humidity" + }, + "DewPoint": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Dew Point" + }, + "Wind": { + "type": "object", + "properties": { + "Direction": { + "type": "object", + "properties": { + "Degrees": { + "type": "integer", + "format": "int32", + "description": "The degrees.", + "title": "Degrees" + }, + "Localized": { + "type": "string", + "description": "The localized.", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "The English.", + "title": "English" + } + }, + "title": "Direction" + }, + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind" + }, + "WindGust": { + "type": "object", + "properties": { + "Speed": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Speed" + } + }, + "title": "Wind Gust" + }, + "UVIndex": { + "type": "integer", + "format": "int32", + "description": "The UV index.", + "title": "UV Index" + }, + "UVIndexText": { + "type": "string", + "description": "The UV index text.", + "title": "UV IndexText" + }, + "Visibility": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Visibility" + }, + "ObstructionsToVisibility": { + "type": "string", + "description": "The obstructions to visibility.", + "title": "Obstructions To Visibility" + }, + "CloudCover": { + "type": "integer", + "format": "int32", + "description": "The cloud cover.", + "title": "Cloud Cover" + }, + "Ceiling": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Ceiling" + }, + "Pressure": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Pressure" + }, + "PressureTendency": { + "type": "object", + "properties": { + "LocalizedText": { + "type": "string", + "description": "The localized text.", + "title": "Localized Text" + }, + "Code": { + "type": "string", + "description": "The code.", + "title": "Code" + } + }, + "title": "Pressure Tendency" + }, + "Past24HourTemperatureDeparture": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hour Temperature Departure" + }, + "ApparentTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Apparent Temperature" + }, + "WindChillTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wind Chill Temperature" + }, + "WetBulbTemperature": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Wet Bulb Temperature" + }, + "Precip1hr": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "precipitation 1 Hour" + }, + "PrecipitationSummary": { + "type": "object", + "properties": { + "Precipitation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Precipitation" + }, + "PastHour": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past Hour" + }, + "Past3Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 3 Hours" + }, + "Past6Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 6 Hours" + }, + "Past9Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 9 Hours" + }, + "Past12Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 12 Hours" + }, + "Past18Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 18 Hours" + }, + "Past24Hours": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Past 24 Hours" + } + }, + "title": "Precipitation Summary" + }, + "TemperatureSummary": { + "type": "object", + "properties": { + "Past6HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 6 Hour Range" + }, + "Past12HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 12 Hour Range" + }, + "Past24HourRange": { + "type": "object", + "properties": { + "Minimum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Minimum" + }, + "Maximum": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Maximum" + } + }, + "title": "Past 24 Hour Range" + } + }, + "title": "Temperature Summary" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Historical Current Conditions (past 6 hours)", + "description": "Returns historical current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", + "operationId": "HistoricalCurrentConditions6H", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "HistoricalCurrentConditions6H", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/indices/v1/daily/{duration}day/{locationKey}/groups/{groupId}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Ascending": { + "type": "boolean", + "description": "Whether ascending.", + "title": "Ascending" + }, + "LocalDateTime": { + "type": "string", + "description": "The local date time.", + "title": "Local Date Time" + }, + "EpochDateTime": { + "type": "integer", + "format": "int32", + "description": "The epoch day time.", + "title": "Epoch Date Time" + }, + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "CategoryValue": { + "type": "integer", + "format": "int32", + "description": "The category value.", + "title": "Category Value" + }, + "Text": { + "type": "string", + "description": "The text.", + "title": "Text" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Daily Index Values for a Group of Indices", + "description": "Returns daily index data for a specific group of indices, by location key.", + "operationId": "DailyIndexValuesByGroupOfIndicies", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (days)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 5, + 10, + 15 + ] + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "groupId", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "x-ms-summary": "Indices Group", + "description": "All index groups", + "x-ms-visibility": "important", + "x-ms-dynamic-values": { + "operationId": "ListIndexGroups", + "value-path": "ID", + "value-title": "Name" + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "DailyIndexValuesByGroupOfIndicies", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/indices/v1/daily/{duration}day/{locationKey}/{indexId}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Ascending": { + "type": "boolean", + "description": "Whether ascending.", + "title": "Ascending" + }, + "LocalDateTime": { + "type": "string", + "description": "The local date time.", + "title": "Local Date Time" + }, + "EpochDateTime": { + "type": "integer", + "format": "int32", + "description": "The epoch day time.", + "title": "Epoch Date Time" + }, + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "CategoryValue": { + "type": "integer", + "format": "int32", + "description": "The category value.", + "title": "Category Value" + }, + "Text": { + "type": "string", + "description": "The text.", + "title": "Text" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Daily Index Values for a Specific Index", + "description": "Returns daily index data for a specific index, by location key. Not all daily indices data are available for retrieval, check (https://developer.accuweather.com/list-available-daily-indices)", + "operationId": "DailyIndexValuesBySpecificIndex", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (days)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 5, + 10, + 15 + ] + }, + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "indexId", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Index", + "description": "The index to get the values for. NOTE: Not all daily indices data are available for retrieval, Check: https://developer.accuweather.com/list-available-daily-indices", + "x-ms-visibility": "important", + "format": "int32", + "x-ms-dynamic-values": { + "operationId": "ListDailyIndices", + "value-path": "ID", + "value-title": "Name" + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ] + } + }, + "/indices/v1/daily/{duration}day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Ascending": { + "type": "boolean", + "description": "Whether ascending.", + "title": "Ascending" + }, + "LocalDateTime": { + "type": "string", + "description": "The local date time.", + "title": "Local Date Time" + }, + "EpochDateTime": { + "type": "integer", + "format": "int32", + "description": "The epoch day time.", + "title": "Epoch Date Time" + }, + "Value": { + "type": "number", + "format": "double", + "description": "The value.", + "title": "Value" + }, + "Category": { + "type": "string", + "description": "The category.", + "title": "Category" + }, + "CategoryValue": { + "type": "integer", + "format": "int32", + "description": "The category value.", + "title": "Category Value" + }, + "Text": { + "type": "string", + "description": "The text.", + "title": "Text" + }, + "MobileLink": { + "type": "string", + "description": "The mobile link.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "The link.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get Daily Index Values for for All Indices", + "description": "Returns daily index data for all indices, by location key.", + "operationId": "DailyIndexValuesForAllIndices", + "x-ms-visibility": "important", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Location Key", + "description": "Unique ID used to search for a specific location.", + "x-ms-visibility": "important", + "format": "int32" + }, + { + "name": "duration", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "x-ms-summary": "Duration (days)", + "description": "Time interval (duration)", + "x-ms-visibility": "important", + "format": "int32", + "enum": [ + 1, + 5, + 10, + 15 + ] + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "description": "Specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "x-ms-visibility": "advanced", + "enum": [ + false, + true + ] + } + ] + } + }, + "/indices/v1/daily": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Ascending": { + "type": "boolean", + "description": "Whether ascending.", + "title": "Ascending" + }, + "Description": { + "type": "string", + "description": "The description.", + "title": "Description" + } + } + } + } + } + }, + "summary": "Get List of Daily Indices", + "description": "Returns metadata for all daily indices.", + "operationId": "ListDailyIndices", + "x-ms-visibility": "advanced", + "parameters": [] + } + }, + "/indices/v1/daily/groups": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + } + } + } + } + } + }, + "summary": "Get List of Index Groups", + "description": "Returns metadata for all index groups.", + "operationId": "ListIndexGroups", + "x-ms-visibility": "advanced", + "parameters": [] + } + }, + "/indices/v1/daily/groups/{groupId}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Ascending": { + "type": "boolean", + "description": "Whether ascending.", + "title": "Ascending" + }, + "Description": { + "type": "string", + "description": "The description.", + "title": "Description" + } + } + } + } + } + }, + "summary": "Get List of Indices in a Specific Group", + "description": "Returns metadata for all indices in a specified group.", + "operationId": "ListOfIndiciesInAGroupByGroupID", + "x-ms-visibility": "advanced", + "parameters": [ + { + "name": "groupId", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "integer", + "description": "Index group ID", + "x-ms-summary": "Group ID", + "x-ms-visibility": "important", + "format": "int32", + "x-ms-dynamic-values": { + "operationId": "ListIndexGroups", + "value-path": "ID", + "value-title": "Name" + } + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "description": "String indicating the language in which to return the resource. (Default en-us)", + "x-ms-summary": "Language", + "x-ms-visibility": "advanced" + } + ] + } + }, + "/locations/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The response version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The location key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The location type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The location rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The location postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The region ID.", + "title": "Region ID" + }, + "LocalizedName": { + "type": "string", + "description": "The region localized name.", + "title": "Region Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The region English name.", + "title": "Region English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The country ID.", + "title": "Country ID" + }, + "LocalizedName": { + "type": "string", + "description": "The country localized name.", + "title": "Country Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The country English name.", + "title": "Country English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The administrative area ID.", + "title": "Administrative Area ID" + }, + "LocalizedName": { + "type": "string", + "description": "The administrative area name.", + "title": "Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The administrative area English name.", + "title": "Administrative Area English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The administrative area level.", + "title": "Administrative Area Level" + }, + "LocalizedType": { + "type": "string", + "description": "The administrative area localized type.", + "title": "Administrative Area Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The administrative area English type.", + "title": "Administrative Area English Type" + }, + "CountryID": { + "type": "string", + "description": "The administrative area country ID.", + "title": "Administrative Area Country ID" + } + }, + "title": "Administrative Area" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The time zone code.", + "title": "Time Zone Code" + }, + "Name": { + "type": "string", + "description": "The time zone name.", + "title": "Time Zone Name" + }, + "GmtOffset": { + "type": "integer", + "format": "int32", + "description": "The time zone GMT offset.", + "title": "Time Zone GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether he time zone is Daylight Saving.", + "title": "Time Zone Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The time zone next offset change.", + "title": "Time Zone Next Offset Change" + } + }, + "title": "Time Zone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The geoposition latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The geoposition longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric value.", + "title": "Elevation Metric Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in metric unit.", + "title": "Elevation Metric Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric unit type.", + "title": "Elevation Metric Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial value.", + "title": "Elevation Imperial Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in imperial unit.", + "title": "Elevation Imperial Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial unit type.", + "title": "Elevation Imperial Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "GeoPosition" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether location is alias.", + "title": "Is Alias" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Level": { + "type": "integer", + "format": "int32", + "description": "The supplemental administrative level.", + "title": "Supplemental Administrative Level" + }, + "LocalizedName": { + "type": "string", + "description": "The supplemental administrative localized name.", + "title": "Supplemental Administrative Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The supplemental administrative English name.", + "title": "Supplemental Administrative English Name" + } + } + }, + "title": "SupplementalAdminAreas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + } + } + } + } + }, + "summary": "Search by location key", + "description": "Returns information about a specific location, by location key. You must know the location key to perform this query.", + "operationId": "SearchLocationKey", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-url-encoding": "single", + "required": true, + "type": "string", + "description": "The key for the location being searched.", + "x-ms-summary": "Location Key" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "default": "en-us", + "description": "String indicating the language in which to return the resource.", + "x-ms-summary": "Language" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "default": false, + "description": "Boolean value specifies whether or not to include full details in the response.", + "x-ms-summary": "Details", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "SearchLocationKey", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/locations/v1/cities/ipaddress": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "object", + "properties": { + "Version": { + "type": "integer", + "format": "int32", + "description": "The response version.", + "title": "Version" + }, + "Key": { + "type": "string", + "description": "The location key.", + "title": "Key" + }, + "Type": { + "type": "string", + "description": "The location type.", + "title": "Type" + }, + "Rank": { + "type": "integer", + "format": "int32", + "description": "The location rank.", + "title": "Rank" + }, + "LocalizedName": { + "type": "string", + "description": "The location localized name.", + "title": "Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The location English name.", + "title": "English Name" + }, + "PrimaryPostalCode": { + "type": "string", + "description": "The location postal code.", + "title": "Primary Postal Code" + }, + "Region": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The region ID.", + "title": "Region ID." + }, + "LocalizedName": { + "type": "string", + "description": "The region localized name.", + "title": "Region Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The region English name.", + "title": "Region English Name" + } + }, + "title": "Region" + }, + "Country": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The country ID.", + "title": "Country ID" + }, + "LocalizedName": { + "type": "string", + "description": "The country localized name.", + "title": "Country Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The country English name.", + "title": "Country English Name" + } + }, + "title": "Country" + }, + "AdministrativeArea": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The administrative area ID.", + "title": "Administrative Area ID" + }, + "LocalizedName": { + "type": "string", + "description": "The administrative area localized name.", + "title": "Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The administrative area English name.", + "title": "Administrative Area English Name" + }, + "Level": { + "type": "integer", + "format": "int32", + "description": "The administrative area level.", + "title": "Administrative Area Level" + }, + "LocalizedType": { + "type": "string", + "description": "The administrative area localized type.", + "title": "Administrative Area Localized Type" + }, + "EnglishType": { + "type": "string", + "description": "The administrative area English type.", + "title": "Administrative Area English Type" + }, + "CountryID": { + "type": "string", + "description": "The administrative area country ID.", + "title": "Administrative Area Country ID" + } + }, + "title": "AdministrativeArea" + }, + "TimeZone": { + "type": "object", + "properties": { + "Code": { + "type": "string", + "description": "The time zone code.", + "title": "Time Zone Code" + }, + "Name": { + "type": "string", + "description": "The time zone name.", + "title": "Time Zone Name" + }, + "GmtOffset": { + "type": "integer", + "format": "int32", + "description": "The time zone GMT offset.", + "title": "Time Zone GMT Offset" + }, + "IsDaylightSaving": { + "type": "boolean", + "description": "Whether the time zone is Daylight Saving.", + "title": "Time Zone Is Daylight Saving" + }, + "NextOffsetChange": { + "type": "string", + "description": "The time zone next offset change.", + "title": "Time Zone Next Offset Change" + } + }, + "title": "TimeZone" + }, + "GeoPosition": { + "type": "object", + "properties": { + "Latitude": { + "type": "number", + "format": "float", + "description": "The location latitude.", + "title": "Latitude" + }, + "Longitude": { + "type": "number", + "format": "float", + "description": "The location longitude.", + "title": "Longitude" + }, + "Elevation": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric.", + "title": "Elevation Metric Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in metric unit.", + "title": "Elevation Metric Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in metric unit type.", + "title": "Elevation Metric Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial.", + "title": "Elevation Imperial Value" + }, + "Unit": { + "type": "string", + "description": "The elevation in imperial unit.", + "title": "Elevation Imperial Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The elevation in imperial unit type.", + "title": "Elevation Imperial Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Elevation" + } + }, + "title": "GeoPosition" + }, + "IsAlias": { + "type": "boolean", + "description": "Whether location is alias.", + "title": "Is Alias" + }, + "SupplementalAdminAreas": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Level": { + "type": "integer", + "format": "int32", + "description": "The supplemental administrative area level.", + "title": "Supplemental Administrative Area Level" + }, + "LocalizedName": { + "type": "string", + "description": "The supplemental administrative area localized name.", + "title": "Supplemental Administrative Area Localized Name" + }, + "EnglishName": { + "type": "string", + "description": "The supplemental administrative area English name.", + "title": "Supplemental Administrative Area English Name" + } + } + }, + "title": "SupplementalAdminAreas" + }, + "DataSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The data sets.", + "title": "Data Sets" + }, + "Details": { + "type": "object", + "properties": { + "Key": { + "type": "string", + "description": "The details key.", + "title": "Details Key" + }, + "StationCode": { + "type": "string", + "description": "The details station code.", + "title": "Details Station Code" + }, + "StationGmtOffset": { + "type": "integer", + "format": "int32", + "description": "The details station GMT offset.", + "title": "Details Station GMT Offset" + }, + "BandMap": { + "type": "string", + "description": "The details band map.", + "title": "Details Band Map" + }, + "Climo": { + "type": "string", + "description": "The details source of the climatology data.", + "title": "Details Climo" + }, + "LocalRadar": { + "type": "string", + "description": "The details local radar.", + "title": "Details Local Radar" + }, + "MediaRegion": { + "type": "string", + "description": "The details media region.", + "title": "Details Media Region" + }, + "Metar": { + "type": "string", + "description": "The details metar station.", + "title": "Details Metar" + }, + "NXMetro": { + "type": "string", + "description": "The details city level radar code.", + "title": "Details NX Metro" + }, + "NXState": { + "type": "string", + "description": "The details state level radar code.", + "title": "Details NX State" + }, + "Population": { + "type": "integer", + "format": "int32", + "description": "The details population.", + "title": "Details Population" + }, + "PrimaryWarningCountyCode": { + "type": "string", + "description": "The details primary warning county code.", + "title": "Details Primary Warning County Code" + }, + "PrimaryWarningZoneCode": { + "type": "string", + "description": "The details primary warning zone code.", + "title": "Details Primary Warning Zone Code" + }, + "Satellite": { + "type": "string", + "description": "The details satellite.", + "title": "Details Satellite" + }, + "Synoptic": { + "type": "string", + "description": "The details synoptic station.", + "title": "Details Synoptic" + }, + "MarineStation": { + "type": "string", + "description": "The details marine station.", + "title": "Details Marine Station" + }, + "MarineStationGMTOffset": { + "type": "string", + "description": "The details marine station GMT offset.", + "title": "Details Marine Station GMT Offset" + }, + "VideoCode": { + "type": "string", + "description": "The details video code.", + "title": "Details Video Code" + }, + "LocationStem": { + "type": "string", + "description": "The details location stem.", + "title": "Details Location Stem" + }, + "DMA": { + "type": "object", + "properties": { + "ID": { + "type": "string", + "description": "The details Designated Marketing Area ID.", + "title": "Details DMA ID" + }, + "EnglishName": { + "type": "string", + "description": "The details Designated Marketing Area English name.", + "title": "Details DMA English Name" + } + }, + "title": "DMA" + }, + "PartnerID": { + "type": "string", + "description": "The details partner ID.", + "title": "Details Partner ID" + }, + "Sources": { + "type": "array", + "items": { + "type": "object", + "properties": { + "DataType": { + "type": "string", + "description":"The details source data type.", + "title": "Details Source Data Type" + }, + "Source": { + "type": "string", + "description":"The details source.", + "title": "Details Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description":"The details source ID.", + "title": "Details Source ID" + } + } + }, + "title": "Sources" + }, + "CanonicalPostalCode": { + "type": "string", + "description": "The details canonical postal code.", + "title": "Details Canonical Postal Code" + }, + "CanonicalLocationKey": { + "type": "string", + "description": "The details canonical location key.", + "title": "Details Canonical Location Key" + } + }, + "title": "Details" + } + } + } + } + }, + "summary": "Search location by IP address", + "description": "Returns information about a specific location, by IP Address.", + "operationId": "SearchLocationIP", + "parameters": [ + { + "name": "q", + "in": "query", + "required": true, + "type": "string", + "description": "A valid IP address to search for.", + "x-ms-summary": "IP Address" + }, + { + "name": "language", + "in": "query", + "required": false, + "type": "string", + "default": "en-us", + "description": "The language in which to return the resource.", + "x-ms-summary": "language" + }, + { + "name": "details", + "in": "query", + "required": false, + "type": "boolean", + "default": false, + "x-ms-summary": "Details", + "description": "Whether or not to include full details in the response.", + "enum": [ + false, + true + ] + } + ], + "x-ms-openai-data": { + "openai-enabled": true, + "operations": [ + { + "operationId": "SearchLocationIP", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/alarms/v1/1day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get one day of weather alarms", + "description": "Returns 1 day of weather alarms for a specific location.", + "operationId": "AlarmOne", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ], + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "AlarmOne", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/alarms/v1/5day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get 5 days of weather alarms", + "description": "Returns 5 days of weather alarms for a specific location.", + "operationId": "AlarmFive", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/alarms/v1/10day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get ten days of weather alarms", + "description": "Returns 10 days of weather alarms for a specific location.", + "operationId": "AlarmTen", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/alarms/v1/15day/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description": "The date for which the alarm exists, displayed in ISO8601 format.", + "title": "Date" + }, + "EpochDate": { + "type": "integer", + "format": "int32", + "description": "Date of the forecast, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).", + "title": "Epoch Date" + }, + "Alarms": { + "type": "array", + "items": { + "type": "object", + "properties": { + "AlarmType": { + "type": "string", + "description": "Type of alarm in effect: Rain, Ice, Snow, Wind, WindGust, or Thunderstorm.", + "title": "Alarm Type" + }, + "Value": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Value" + }, + "Day": { + "type": "object", + "properties": { + "Metric": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Metric" + }, + "Imperial": { + "type": "object", + "properties": { + "Value": { + "type": "number", + "format": "float", + "description": "The value.", + "title": "Value" + }, + "Unit": { + "type": "string", + "description": "The unit.", + "title": "Unit" + }, + "UnitType": { + "type": "integer", + "format": "int32", + "description": "The unit type.", + "title": "Unit Type" + } + }, + "title": "Imperial" + } + }, + "title": "Day" + } + } + }, + "title": "Alarms" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "summary": "Get fifteen day of weather alarms", + "description": "Returns 15 days of weather alarms for a specific location.", + "operationId": "AlarmFifteen", + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + }, + "/translations/v1/languages": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + }, + "DisplayName": { + "type": "string", + "description": "The display name.", + "title": "Display Name" + }, + "LocalizedName": { + "type": "string", + "description": "The translated name.", + "title": "Localized Name" + }, + "ISO": { + "type": "string", + "description": "The culture code.", + "title": "ISO" + }, + "LanguageType": { + "type": "integer", + "format": "int32", + "description": "The identifier for the language Type", + "title": "Language Type" + }, + "MicroSoftName": { + "type": "string", + "description": "The Microsoft display name of the language.", + "title": "Microsoft Name" + }, + "MicroSoftCode": { + "type": "string", + "description": "The Microsoft culture code for the language.", + "title": "Microsoft Code" + }, + "TimeStamp": { + "type": "string", + "description": "The time that the language information was pulled from the database.", + "title": "Timestamp" + } + } + } + } + } + }, + "parameters": [], + "summary": "List all languages", + "description": "Returns metadata for all languages.", + "operationId": "LanguageList", + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "LanguageList", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/translations/v1/groups": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "ID": { + "type": "integer", + "format": "int32", + "description": "The identifier.", + "title": "ID" + }, + "Name": { + "type": "string", + "description": "The name.", + "title": "Name" + } + } + } + } + } + }, + "summary": "List the available translation groups", + "parameters": [], + "description": "Lists groups of phrases that are available for translation.", + "operationId": "LanguageGroups" + } + }, + "/translations/v1/groups/{groupID}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "LanguageCode": { + "type": "string", + "description": "Culture code of the language, for which the phrase is translated.", + "title": "Language Code" + }, + "PhraseCode": { + "type": "string", + "description": "Word (or phrase - without spaces) to use as a key for joining the translations.", + "title": "Phrase Code" + }, + "Text": { + "type": "string", + "description": "Translated word or phrase.", + "title": "Text" + }, + "DataCode": { + "type": "string", + "description": "Key to use for translation.", + "title": "Data Code" + } + } + } + } + } + }, + "parameters": [ + { + "name": "groupID", + "in": "path", + "x-ms-summary": "Group ID", + "description": "The string indicating the group ID in which to return the resource.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ], + "summary": "List the translations for a specific group", + "description": "Returns all translated phrases for a specific group, in the desired language.", + "operationId": "LanguageTranslationsGroup", + "x-ms-openai-data": { + "openai-enabled": false, + "operations": [ + { + "operationId": "LanguageTranslationsGroup", + "x-ms-require-user-confirmation": false + } + ] + } + } + }, + "/alerts/v1/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "CountryCode": { + "type": "string", + "description": "Unique country code ID.", + "title": "Country Code" + }, + "AlertID": { + "type": "integer", + "format": "int32", + "description": "Unique numeric id that identifies an alert for a particular country.", + "title": "Alert ID" + }, + "Description": { + "type": "object", + "properties": { + "Localized": { + "type": "string", + "description": "Description of the alert in the local dialect set with language code in URL. Default is US English (en-us).", + "title": "Localized" + }, + "English": { + "type": "string", + "description": "Description of the alert in US English.", + "title": "English" + } + }, + "title": "Description" + }, + "Category": { + "type": "string", + "description": "Category of the alert.", + "title": "Category" + }, + "Priority": { + "type": "integer", + "format": "int32", + "description": "Number signifying the importance or ranking order of the given alert within the country in which it has originated. A lower number signifies a higher priority. For example, 1 is the highest priority.", + "title": "Priority" + }, + "Type": { + "type": "string", + "description": "Abbreviated form of the alert description.", + "title": "Type" + }, + "TypeId": { + "type": "string", + "description": "ID associated with the alert description.", + "title": "Type ID" + }, + "Class": { + "type": "string", + "description": "Classification of the alert. Not available for all countries.", + "title": "Class" + }, + "Level": { + "type": "string", + "description": "Severity identifier for the alert. Not available for all countries.", + "title": "Level" + }, + "Color": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Descriptive name of the color.", + "title": "Name" + }, + "Red": { + "type": "integer", + "format": "int32", + "description": "The red RGB component of the color.", + "title": "Red" + }, + "Green": { + "type": "integer", + "format": "int32", + "description": "The green RGB component of the color.", + "title": "Green" + }, + "Blue": { + "type": "integer", + "format": "int32", + "description": "The blue RGB component of the color.", + "title": "Blue" + }, + "Hex": { + "type": "string", + "description": "The hexadecimal number that describes the color.", + "title": "Hex" + } + }, + "title": "Color" + }, + "Source": { + "type": "string", + "description": "Provider of the alert data.", + "title": "Source" + }, + "SourceId": { + "type": "integer", + "format": "int32", + "description": "ID associated with the provider of the alert data.", + "title": "Source ID" + }, + "Disclaimer": { + "type": "string", + "description": "Disclaimer that must be displayed with the alert data.", + "title": "Disclaimer" + }, + "Area": { + "type": "object", + "properties": { + "Name": { + "type": "string", + "description": "Name of the area that encompasses the location that was requested and falls under the current alert.", + "title": "Name" + }, + "StartTime": { + "type": "string", + "description": "Start time of the alert, displayed in ISO8601 format.", + "title": "Start Time" + }, + "EpochStartTime": { + "type": "integer", + "description": "Start time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", + "title": "Epoch Start Time" + }, + "EndTime": { + "type": "string", + "description": "End time of the alert, displayed in ISO8601 format.", + "title": "End Time" + }, + "EpochEndTime": { + "type": "integer", + "description": "End time of the alert, displayed as the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT). May be NULL.", + "title": "Epoch End Time" + }, + "LastAction": { + "type": "object", + "properties": { + "Localized": { + "type": "string", + "description":"Status of the alert in the local dialect set with language code in URL. Default is US English (en-us).", + "title": "Localized" + }, + "English": { + "type": "string", + "description":"Status of the alert in US English.", + "title": "English" + } + }, + "title": "Last Action" + }, + "Text": { + "type": "string", + "description": "Full text associated with the alert.", + "title": "Text" + }, + "LanguageCode": { + "type": "string", + "description": "Language of the alert text.", + "title": "Language Code" + }, + "Summary": { + "type": "string", + "description": "Alert summary, in English.", + "title": "Summary" + } + }, + "title": "Area" + }, + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + } + } + } + } + } + }, + "parameters": [ + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + }, + { + "name": "details", + "in": "query", + "x-ms-summary": "Details", + "description": "Boolean value specifies whether or not to include full details in the response.", + "required": false, + "type": "boolean" + } + ], + "summary": "Get alerts by location key", + "description": "Returns alert data for a specific location. Alert searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the alert data is returned. The full object can be obtained by passing details=true.", + "operationId": "AlertLocation" + } + }, + "/imagery/v1/maps/radsat/{resolution}/{locationKey}": { + "get": { + "responses": { + "200": { + "description": "default", + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "MobileLink": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s mobile site.", + "title": "Mobile Link" + }, + "Link": { + "type": "string", + "description": "Link to the daily forecast for the requested location on AccuWeather`s web site.", + "title": "Link" + }, + "Radar": { + "type": "object", + "properties": { + "Size": { + "type": "string", + "description": "The resolution of the image.", + "title": "Size" + }, + "Images": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description":"The date/time of the image, displayed in ISO8601 format.", + "title": "Date" + }, + "Url": { + "type": "string", + "description":"The URL of the image.", + "title": "URL" + } + }, + "title": "Images" + } + }, + "title": "Radar" + }, + "Satellite": { + "type": "object", + "properties": { + "Size": { + "type": "string", + "description": "The resolution of the image.", + "title": "Size" + }, + "Images": { + "type": "object", + "properties": { + "Date": { + "type": "string", + "description":"The date/time of the image, displayed in ISO8601 format.", + "title": "Date" + }, + "Url": { + "type": "string", + "description":"The URL of the image.", + "title": "URL" + } + }, + "title": "Images" + } + }, + "title": "Satellite" + } + } + } + } + } + }, + "summary": "Get radar and satellite imagery", + "description": "Returns links to radar and satellite images by location key. Imagery searches require a location key. Please use the Locations API to obtain a location key for your desired location. Radar images are not available for all locations worldwide at this time. If radar is not available for your desired location, satellite images are still provided.", + "operationId": "Imagery", + "parameters": [ + { + "name": "resolution", + "in": "path", + "x-ms-summary": "Resolution", + "description": "The requested resolution.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "locationKey", + "in": "path", + "x-ms-summary": "Location Key", + "description": "The unique ID used to search for a specific location.", + "x-ms-url-encoding": "single", + "required": true, + "type": "string" + }, + { + "name": "language", + "in": "query", + "x-ms-summary": "Language", + "description": "The string indicating the language in which to return the resource.", + "required": false, + "type": "string" + } + ] + } + } + }, + "definitions": {}, + "parameters": {}, + "responses": {}, + "securityDefinitions": { + "API Key": { + "type": "apiKey", + "in": "query", + "name": "apikey" + } + }, + "security": [ + { + "API Key": [] + } + ], + "tags": [], + "x-ms-connector-metadata": [ + { + "propertyName": "Website", + "propertyValue": "https://www.accuweather.com/" + }, + { + "propertyName": "Privacy policy", + "propertyValue": "https://www.accuweather.com/en/privacy" + }, + { + "propertyName": "Categories", + "propertyValue": "Data" + } + ], + "x-ms-openai-manifest": { + "humanName": "AccuWeather", + "modelDescription": "This is a Copilot plugin for the AccuWeather weather service. It can return forecasts, current conditions, and historical conditions.", + "contactEmail": "ttaylor@hitachisolutions.com" + } +} \ No newline at end of file From da991c434c04687fce397035fce00c8b6b607890 Mon Sep 17 00:00:00 2001 From: Troy Taylor Date: Wed, 22 Nov 2023 12:57:50 -0500 Subject: [PATCH 06/11] Delete apiDefinition.minified.json --- .../AccuWeather/apiDefinition.minified.json | 4399 ----------------- 1 file changed, 4399 deletions(-) delete mode 100644 independent-publisher-connectors/AccuWeather/apiDefinition.minified.json diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json b/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json deleted file mode 100644 index 9c051464b5..0000000000 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.minified.json +++ /dev/null @@ -1,4399 +0,0 @@ -{ - "swagger": "2.0", - "info": { - "title": "AccuWeather", - "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "3.1", - "contact": { - "name": "Ahmad Najjar", - "email": "ahmadn82@hotmail.com" - } - }, - "host": "dataservice.accuweather.com", - "basePath": "/", - "schemes": [ - "http" - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "paths": { - "/locations/v1/cities/autocomplete": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "The version.", - "title": "Version" - }, - "Key": { - "type": "string", - "description": "The key.", - "title": "Key" - }, - "Type": { - "type": "string", - "description": "The type.", - "title": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "The rank.", - "title": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "The localized name.", - "title": "Localized Name" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The identifier.", - "title": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "The localized name.", - "title": "Localized Name" - } - }, - "title": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The identifier.", - "title": "ID" - }, - "LocalizedName": { - "type": "string", - "description": "The localized name.", - "title": "Localized Name" - } - }, - "title": "Administrative Area" - } - } - } - } - } - }, - "summary": "Autocomplete search (Cities)", - "description": "Returns basic information about locations matching an autocomplete of the search text.", - "operationId": "AutocompleteCities", - "x-ms-visibility": "advanced", - "parameters": [ - { - "name": "q", - "in": "query", - "required": true, - "type": "string", - "description": "Text to use for Autocomplete search.", - "x-ms-summary": "Text", - "x-ms-visibility": "important" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "AutocompleteCities", - "x-ms-require-user-confirmation": false - } - ] - } - } - }, - "/forecasts/v1/daily/{duration}day/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Headline": { - "type": "object", - "properties": { - "EffectiveDate": { - "type": "string", - "description": "The effective date.", - "title": "Effective Date" - }, - "EffectiveEpochDate": { - "type": "integer", - "format": "int32", - "description": "The effective epoch date.", - "title": "Effective Epoch Date" - }, - "Severity": { - "type": "integer", - "format": "int32", - "description": "The severity.", - "title": "Severity" - }, - "Text": { - "type": "string", - "description": "The text.", - "title": "Text" - }, - "Category": { - "type": "string", - "description": "The category.", - "title": "Category" - }, - "EndDate": { - "type": "string", - "description": "The end date.", - "title": "End Date" - }, - "EndEpochDate": { - "type": "integer", - "format": "int32", - "description": "The end epoch date.", - "title": "End Epoch Date" - }, - "MobileLink": { - "type": "string", - "description": "The mobile link.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "The link.", - "title": "Link" - } - }, - "title": "Headline" - }, - "DailyForecasts": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Date": { - "type": "string", - "description": "The date.", - "title": "Date" - }, - "EpochDate": { - "type": "integer", - "format": "int32", - "description": "The epoch date.", - "title": "Epoch Date" - }, - "Sun": { - "type": "object", - "properties": { - "Rise": { - "type": "string", - "description": "The rise.", - "title": "Rise" - }, - "EpochRise": { - "type": "integer", - "format": "int32", - "description": "The epoch rise.", - "title": "Epoch Rise" - }, - "Set": { - "type": "string", - "description": "The set.", - "title": "Set" - }, - "EpochSet": { - "type": "integer", - "format": "int32", - "description": "The epoch set.", - "title": "Epoch Set" - } - }, - "title": "Sun" - }, - "Moon": { - "type": "object", - "properties": { - "Rise": { - "type": "string", - "description": "The rise.", - "title": "Rise" - }, - "EpochRise": { - "type": "integer", - "format": "int32", - "description": "The epoch rise.", - "title": "Epoch Rise" - }, - "Set": { - "type": "string", - "description": "The set.", - "title": "Set" - }, - "EpochSet": { - "type": "integer", - "format": "int32", - "description": "The epoch set.", - "title": "Epoch Set" - }, - "Phase": { - "type": "string", - "description": "The phase.", - "title": "Phase" - }, - "Age": { - "type": "integer", - "format": "int32", - "description": "The age.", - "title": "Age" - } - }, - "title": "Moon" - }, - "Temperature": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Maximum" - } - }, - "title": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Maximum" - } - }, - "title": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Maximum" - } - }, - "title": "Real Feel Temperature Shade" - }, - "HoursOfSun": { - "type": "number", - "format": "float", - "description": "The hours of sun.", - "title": "Hours Of Sun" - }, - "DegreeDaySummary": { - "type": "object", - "properties": { - "Heating": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Heating" - }, - "Cooling": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Cooling" - } - }, - "title": "Degree Day Summary" - }, - "AirAndPollen": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Name": { - "type": "string", - "description": "The name.", - "title": "Name" - }, - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Category": { - "type": "string", - "description": "The category.", - "title": "Category" - }, - "CategoryValue": { - "type": "integer", - "format": "int32", - "description": "The category value.", - "title": "Category Value" - }, - "Type": { - "type": "string", - "description": "The type.", - "title": "Type" - } - } - }, - "title": "Air And Pollen" - }, - "Day": { - "type": "object", - "properties": { - "Icon": { - "type": "integer", - "format": "int32", - "description": "The icon.", - "title": "Icon" - }, - "IconPhrase": { - "type": "string", - "description": "The icon phase.", - "title": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Whether has precipitation.", - "title": "Has Precipitation" - }, - "ShortPhrase": { - "type": "string", - "description": "The short phase.", - "title": "Short Phrase" - }, - "LongPhrase": { - "type": "string", - "description": "The long phase.", - "title": "Long Phrase" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "The precipitation probability.", - "title": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "The thunderstorm probability.", - "title": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "The rain probability.", - "title": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "The snow probability.", - "title": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "The ice probability.", - "title": "Ice Probability" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - } - }, - "title": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - } - }, - "title": "Wind Gust" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Ice" - }, - "HoursOfPrecipitation": { - "type": "number", - "format": "double", - "description": "The hours of precipitation.", - "title": "Hours Of Precipitation" - }, - "HoursOfRain": { - "type": "number", - "format": "double", - "description": "The hours of rain.", - "title": "Hours Of Rain" - }, - "HoursOfSnow": { - "type": "number", - "format": "double", - "description": "The hours of snow.", - "title": "Hours Of Snow" - }, - "HoursOfIce": { - "type": "number", - "format": "double", - "description": "The hours of ice.", - "title": "Hours Of Ice" - }, - "CloudCover": { - "type": "number", - "format": "double", - "description": "The cloud cover.", - "title": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Solar Irradiance" - } - }, - "title": "Day" - }, - "Night": { - "type": "object", - "properties": { - "Icon": { - "type": "integer", - "format": "int32", - "description": "The icon.", - "title": "Icon" - }, - "IconPhrase": { - "type": "string", - "description": "The icon phase.", - "title": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Whether has precipitation.", - "title": "Has Precipitation" - }, - "ShortPhrase": { - "type": "string", - "description": "The short phase.", - "title": "Short Phrase" - }, - "LongPhrase": { - "type": "string", - "description": "The long phase.", - "title": "Long Phrase" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "The precipitation probability.", - "title": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "The thunderstorm probability.", - "title": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "The rain probability.", - "title": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "The snow probability.", - "title": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "The ice probability.", - "title": "Ice Probability" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - } - }, - "title": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - } - }, - "title": "Wind Gust" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Ice" - }, - "HoursOfPrecipitation": { - "type": "number", - "format": "double", - "description": "The hours of precipitation.", - "title": "Hours Of Precipitation" - }, - "HoursOfRain": { - "type": "number", - "format": "double", - "description": "The hours of rain.", - "title": "Hours Of Rain" - }, - "HoursOfSnow": { - "type": "number", - "format": "double", - "description": "The hours of snow.", - "title": "Hours Of Snow" - }, - "HoursOfIce": { - "type": "number", - "format": "double", - "description": "The hours of ice.", - "title": "Hours Of Ice" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "The cloud cover.", - "title": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Solar Irradiance" - } - }, - "title": "Night" - }, - "Sources": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Sources" - }, - "MobileLink": { - "type": "string", - "description": "The mobile link.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "The link.", - "title": "Link" - } - } - }, - "title": "Daily Forecasts" - } - } - } - } - }, - "summary": "Get Daily Forecasts", - "description": "Returns daily forecast data for a specific location.", - "operationId": "DailyForcasts", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (days)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 5, - 10, - 15 - ], - "default": 5 - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to include full details in the response.", - "enum": [ - false, - true - ] - }, - { - "name": "metric", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Metric", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to display metric values.", - "enum": [ - false, - true - ] - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "DailyForcasts", - "x-ms-require-user-confirmation": false - } - ] - } - } - }, - "/forecasts/v1/hourly/{duration}hour/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DateTime": { - "type": "string", - "description": "The date time.", - "title": "Date Time" - }, - "EpochDateTime": { - "type": "integer", - "format": "int32", - "description": "The epoch date time.", - "title": "Epoch Date Time" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "The weather icon.", - "title": "Weather Icon" - }, - "IconPhrase": { - "type": "string", - "description": "The icon phase.", - "title": "Icon Phrase" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Whether has precipitation.", - "title": "Has Precipitation" - }, - "IsDaylight": { - "type": "boolean", - "description": "Whether is daylight.", - "title": "Is Daylight" - }, - "Temperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Real Feel TemperatureShade" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Wet Bulb Temperature" - }, - "DewPoint": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - }, - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - } - }, - "title": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Speed" - } - }, - "title": "WindGust" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "The relative humidity.", - "title": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "The indoor relative humidity.", - "title": "Indoor Relative Humidity" - }, - "Visibility": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Visibility" - }, - "Ceiling": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Ceiling" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "The UV index.", - "title": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "The UV index text.", - "title": "UV IndexText" - }, - "PrecipitationProbability": { - "type": "integer", - "format": "int32", - "description": "The precipitation probability.", - "title": "Precipitation Probability" - }, - "ThunderstormProbability": { - "type": "integer", - "format": "int32", - "description": "The thunderstorm probability.", - "title": "Thunderstorm Probability" - }, - "RainProbability": { - "type": "integer", - "format": "int32", - "description": "The rain probability.", - "title": "Rain Probability" - }, - "SnowProbability": { - "type": "integer", - "format": "int32", - "description": "The snow probability.", - "title": "Snow Probability" - }, - "IceProbability": { - "type": "integer", - "format": "int32", - "description": "The ice probability.", - "title": "Ice Probability" - }, - "TotalLiquid": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Total Liquid" - }, - "Rain": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Rain" - }, - "Snow": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Snow" - }, - "Ice": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Ice" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "The cloud cover.", - "title": "Cloud Cover" - }, - "Evapotranspiration": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Evapotranspiration" - }, - "SolarIrradiance": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Solar Irradiance" - }, - "MobileLink": { - "type": "string", - "description": "The mobile link.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "The link.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get Hourly Forecasts", - "description": "Returns forecast data for the next hour(s) for a specific location.", - "operationId": "HourlyForcasts", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "duration", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Duration (hours)", - "description": "Time interval (duration)", - "x-ms-visibility": "important", - "format": "int32", - "enum": [ - 1, - 12, - 24, - 72, - 120 - ] - }, - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "integer", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "format": "int32" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to include full details in the response.", - "enum": [ - false, - true - ] - }, - { - "name": "metric", - "in": "query", - "required": false, - "type": "boolean", - "x-ms-summary": "Metric", - "x-ms-visibility": "advanced", - "description": "Specifies whether or not to display metric values.", - "enum": [ - false, - true - ] - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "HourlyForcasts", - "x-ms-require-user-confirmation": false - } - ] - } - } - }, - "/currentconditions/v1/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "LocalObservationDateTime": { - "type": "string", - "description": "The local observation date time.", - "title": "Local Observation Date Time" - }, - "EpochTime": { - "type": "integer", - "format": "int32", - "description": "The epoch time.", - "title": "Epoch Time" - }, - "WeatherText": { - "type": "string", - "description": "The weather text.", - "title": "Weather Text" - }, - "WeatherIcon": { - "type": "integer", - "format": "int32", - "description": "The weather icon.", - "title": "Weather Icon" - }, - "HasPrecipitation": { - "type": "boolean", - "description": "Whether has precipitation.", - "title": "Has Precipitation" - }, - "PrecipitationType": { - "type": "string", - "description": "The precipitation type.", - "title": "Precipitation Type" - }, - "IsDayTime": { - "type": "boolean", - "description": "Whether is day time.", - "title": "Is Day Time" - }, - "Temperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Temperature" - }, - "RealFeelTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Real Feel Temperature" - }, - "RealFeelTemperatureShade": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Real Feel Temperature Shade" - }, - "RelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "The relative humidity.", - "title": "Relative Humidity" - }, - "IndoorRelativeHumidity": { - "type": "integer", - "format": "int32", - "description": "The indoor relative humidity.", - "title": "Indoor Relative Humidity" - }, - "DewPoint": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Dew Point" - }, - "Wind": { - "type": "object", - "properties": { - "Direction": { - "type": "object", - "properties": { - "Degrees": { - "type": "integer", - "format": "int32", - "description": "The degrees.", - "title": "Degrees" - }, - "Localized": { - "type": "string", - "description": "The localized.", - "title": "Localized" - }, - "English": { - "type": "string", - "description": "The English.", - "title": "English" - } - }, - "title": "Direction" - }, - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Speed" - } - }, - "title": "Wind" - }, - "WindGust": { - "type": "object", - "properties": { - "Speed": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Speed" - } - }, - "title": "Wind Gust" - }, - "UVIndex": { - "type": "integer", - "format": "int32", - "description": "The UV index.", - "title": "UV Index" - }, - "UVIndexText": { - "type": "string", - "description": "The UV index text.", - "title": "UV IndexText" - }, - "Visibility": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Visibility" - }, - "ObstructionsToVisibility": { - "type": "string", - "description": "The obstructions to visibility.", - "title": "Obstructions To Visibility" - }, - "CloudCover": { - "type": "integer", - "format": "int32", - "description": "The cloud cover.", - "title": "Cloud Cover" - }, - "Ceiling": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Ceiling" - }, - "Pressure": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Pressure" - }, - "PressureTendency": { - "type": "object", - "properties": { - "LocalizedText": { - "type": "string", - "description": "The localized text.", - "title": "Localized Text" - }, - "Code": { - "type": "string", - "description": "The code.", - "title": "Code" - } - }, - "title": "Pressure Tendency" - }, - "Past24HourTemperatureDeparture": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 24 Hour Temperature Departure" - }, - "ApparentTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Apparent Temperature" - }, - "WindChillTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Wind Chill Temperature" - }, - "WetBulbTemperature": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Wet Bulb Temperature" - }, - "Precip1hr": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Precipitation 1 hour" - }, - "PrecipitationSummary": { - "type": "object", - "properties": { - "Precipitation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Precipitation" - }, - "PastHour": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past Hour" - }, - "Past3Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 3 Hours" - }, - "Past6Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 6 Hours" - }, - "Past9Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 9 Hours" - }, - "Past12Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 12 Hours" - }, - "Past18Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 18 Hours" - }, - "Past24Hours": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Past 24 Hours" - } - }, - "title": "Precipitation Summary" - }, - "TemperatureSummary": { - "type": "object", - "properties": { - "Past6HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Maximum" - } - }, - "title": "Past 6 Hour Range" - }, - "Past12HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Maximum" - } - }, - "title": "Past 12 Hour Range" - }, - "Past24HourRange": { - "type": "object", - "properties": { - "Minimum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Minimum" - }, - "Maximum": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "number", - "format": "double", - "description": "The value.", - "title": "Value" - }, - "Unit": { - "type": "string", - "description": "The unit.", - "title": "Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The unit type.", - "title": "Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Maximum" - } - }, - "title": "Past 24 Hour Range" - } - }, - "title": "Temperature Summary" - }, - "MobileLink": { - "type": "string", - "description": "The mobile link.", - "title": "Mobile Link" - }, - "Link": { - "type": "string", - "description": "The link.", - "title": "Link" - } - } - } - } - } - }, - "summary": "Get Current Conditions", - "description": "Returns current conditions data for a specific location. Current conditions searches require a location key. Please use the Locations API to obtain the location key for your desired location. By default, a truncated version of the current conditions data is returned. The full object can be obtained by passing \"details=true\" into the url string.", - "operationId": "CurrentConditions", - "x-ms-visibility": "important", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "x-ms-summary": "Location Key", - "description": "Unique ID used to search for a specific location.", - "x-ms-visibility": "important", - "x-ms-dynamic-values": { - "operationId": "AutocompleteCities", - "value-path": "Key", - "value-title": "LocalizedName", - "parameters": { - "q": { - "parameter": "locationKey" - } - } - } - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "description": "String indicating the language in which to return the resource. (Default en-us)", - "x-ms-summary": "Language", - "x-ms-visibility": "advanced" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "description": "Specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "x-ms-visibility": "advanced", - "enum": [ - false, - true - ] - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "CurrentConditions", - "x-ms-require-user-confirmation": false - } - ] - } - } - }, - "/locations/v1/{locationKey}": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "The response version.", - "title": "Version" - }, - "Key": { - "type": "string", - "description": "The location key.", - "title": "Key" - }, - "Type": { - "type": "string", - "description": "The location type.", - "title": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "The location rank.", - "title": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "The localized name.", - "title": "Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The English name.", - "title": "English Name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "The location postal code.", - "title": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The region ID.", - "title": "Region ID" - }, - "LocalizedName": { - "type": "string", - "description": "The region localized name.", - "title": "Region Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The region English name.", - "title": "Region English Name" - } - }, - "title": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The country ID.", - "title": "Country ID" - }, - "LocalizedName": { - "type": "string", - "description": "The country localized name.", - "title": "Country Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The country English name.", - "title": "Country English Name" - } - }, - "title": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The administrative area ID.", - "title": "Administrative Area ID" - }, - "LocalizedName": { - "type": "string", - "description": "The administrative area name.", - "title": "Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The administrative area English name.", - "title": "Administrative Area English Name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "The administrative area level.", - "title": "Administrative Area Level" - }, - "LocalizedType": { - "type": "string", - "description": "The administrative area localized type.", - "title": "Administrative Area Localized Type" - }, - "EnglishType": { - "type": "string", - "description": "The administrative area English type.", - "title": "Administrative Area English Type" - }, - "CountryID": { - "type": "string", - "description": "The administrative area country ID.", - "title": "Administrative Area Country ID" - } - }, - "title": "Administrative Area" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "The time zone code.", - "title": "Time Zone Code" - }, - "Name": { - "type": "string", - "description": "The time zone name.", - "title": "Time Zone Name" - }, - "GmtOffset": { - "type": "integer", - "format": "int32", - "description": "The time zone GMT offset.", - "title": "Time Zone GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Whether he time zone is Daylight Saving.", - "title": "Time Zone Is Daylight Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "The time zone next offset change.", - "title": "Time Zone Next Offset Change" - } - }, - "title": "Time Zone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "The geoposition latitude.", - "title": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "The geoposition longitude.", - "title": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric value.", - "title": "Elevation Metric Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in metric unit.", - "title": "Elevation Metric Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric unit type.", - "title": "Elevation Metric Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial value.", - "title": "Elevation Imperial Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in imperial unit.", - "title": "Elevation Imperial Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial unit type.", - "title": "Elevation Imperial Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Elevation" - } - }, - "title": "GeoPosition" - }, - "IsAlias": { - "type": "boolean", - "description": "Whether location is alias.", - "title": "Is Alias" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Level": { - "type": "integer", - "format": "int32", - "description": "The supplemental administrative level.", - "title": "Supplemental Administrative Level" - }, - "LocalizedName": { - "type": "string", - "description": "The supplemental administrative localized name.", - "title": "Supplemental Administrative Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The supplemental administrative English name.", - "title": "Supplemental Administrative English Name" - } - } - }, - "title": "SupplementalAdminAreas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The data sets.", - "title": "Data Sets" - } - } - } - } - }, - "summary": "Search by location key", - "description": "Returns information about a specific location, by location key. You must know the location key to perform this query.", - "operationId": "SearchLocationKey", - "parameters": [ - { - "name": "locationKey", - "in": "path", - "x-ms-url-encoding": "single", - "required": true, - "type": "string", - "description": "The key for the location being searched.", - "x-ms-summary": "Location Key" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "default": "en-us", - "description": "String indicating the language in which to return the resource.", - "x-ms-summary": "Language" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "default": false, - "description": "Boolean value specifies whether or not to include full details in the response.", - "x-ms-summary": "Details", - "enum": [ - false, - true - ] - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "SearchLocationKey", - "x-ms-require-user-confirmation": false - } - ] - } - } - }, - "/locations/v1/cities/ipaddress": { - "get": { - "responses": { - "200": { - "description": "default", - "schema": { - "type": "object", - "properties": { - "Version": { - "type": "integer", - "format": "int32", - "description": "The response version.", - "title": "Version" - }, - "Key": { - "type": "string", - "description": "The location key.", - "title": "Key" - }, - "Type": { - "type": "string", - "description": "The location type.", - "title": "Type" - }, - "Rank": { - "type": "integer", - "format": "int32", - "description": "The location rank.", - "title": "Rank" - }, - "LocalizedName": { - "type": "string", - "description": "The location localized name.", - "title": "Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The location English name.", - "title": "English Name" - }, - "PrimaryPostalCode": { - "type": "string", - "description": "The location postal code.", - "title": "Primary Postal Code" - }, - "Region": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The region ID.", - "title": "Region ID." - }, - "LocalizedName": { - "type": "string", - "description": "The region localized name.", - "title": "Region Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The region English name.", - "title": "Region English Name" - } - }, - "title": "Region" - }, - "Country": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The country ID.", - "title": "Country ID" - }, - "LocalizedName": { - "type": "string", - "description": "The country localized name.", - "title": "Country Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The country English name.", - "title": "Country English Name" - } - }, - "title": "Country" - }, - "AdministrativeArea": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The administrative area ID.", - "title": "Administrative Area ID" - }, - "LocalizedName": { - "type": "string", - "description": "The administrative area localized name.", - "title": "Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The administrative area English name.", - "title": "Administrative Area English Name" - }, - "Level": { - "type": "integer", - "format": "int32", - "description": "The administrative area level.", - "title": "Administrative Area Level" - }, - "LocalizedType": { - "type": "string", - "description": "The administrative area localized type.", - "title": "Administrative Area Localized Type" - }, - "EnglishType": { - "type": "string", - "description": "The administrative area English type.", - "title": "Administrative Area English Type" - }, - "CountryID": { - "type": "string", - "description": "The administrative area country ID.", - "title": "Administrative Area Country ID" - } - }, - "title": "AdministrativeArea" - }, - "TimeZone": { - "type": "object", - "properties": { - "Code": { - "type": "string", - "description": "The time zone code.", - "title": "Time Zone Code" - }, - "Name": { - "type": "string", - "description": "The time zone name.", - "title": "Time Zone Name" - }, - "GmtOffset": { - "type": "integer", - "format": "int32", - "description": "The time zone GMT offset.", - "title": "Time Zone GMT Offset" - }, - "IsDaylightSaving": { - "type": "boolean", - "description": "Whether the time zone is Daylight Saving.", - "title": "Time Zone Is Daylight Saving" - }, - "NextOffsetChange": { - "type": "string", - "description": "The time zone next offset change.", - "title": "Time Zone Next Offset Change" - } - }, - "title": "TimeZone" - }, - "GeoPosition": { - "type": "object", - "properties": { - "Latitude": { - "type": "number", - "format": "float", - "description": "The location latitude.", - "title": "Latitude" - }, - "Longitude": { - "type": "number", - "format": "float", - "description": "The location longitude.", - "title": "Longitude" - }, - "Elevation": { - "type": "object", - "properties": { - "Metric": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric.", - "title": "Elevation Metric Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in metric unit.", - "title": "Elevation Metric Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in metric unit type.", - "title": "Elevation Metric Unit Type" - } - }, - "title": "Metric" - }, - "Imperial": { - "type": "object", - "properties": { - "Value": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial.", - "title": "Elevation Imperial Value" - }, - "Unit": { - "type": "string", - "description": "The elevation in imperial unit.", - "title": "Elevation Imperial Unit" - }, - "UnitType": { - "type": "integer", - "format": "int32", - "description": "The elevation in imperial unit type.", - "title": "Elevation Imperial Unit Type" - } - }, - "title": "Imperial" - } - }, - "title": "Elevation" - } - }, - "title": "GeoPosition" - }, - "IsAlias": { - "type": "boolean", - "description": "Whether location is alias.", - "title": "Is Alias" - }, - "SupplementalAdminAreas": { - "type": "array", - "items": { - "type": "object", - "properties": { - "Level": { - "type": "integer", - "format": "int32", - "description": "The supplemental administrative area level.", - "title": "Supplemental Administrative Area Level" - }, - "LocalizedName": { - "type": "string", - "description": "The supplemental administrative area localized name.", - "title": "Supplemental Administrative Area Localized Name" - }, - "EnglishName": { - "type": "string", - "description": "The supplemental administrative area English name.", - "title": "Supplemental Administrative Area English Name" - } - } - }, - "title": "SupplementalAdminAreas" - }, - "DataSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The data sets.", - "title": "Data Sets" - }, - "Details": { - "type": "object", - "properties": { - "Key": { - "type": "string", - "description": "The details key.", - "title": "Details Key" - }, - "StationCode": { - "type": "string", - "description": "The details station code.", - "title": "Details Station Code" - }, - "StationGmtOffset": { - "type": "integer", - "format": "int32", - "description": "The details station GMT offset.", - "title": "Details Station GMT Offset" - }, - "BandMap": { - "type": "string", - "description": "The details band map.", - "title": "Details Band Map" - }, - "Climo": { - "type": "string", - "description": "The details source of the climatology data.", - "title": "Details Climo" - }, - "LocalRadar": { - "type": "string", - "description": "The details local radar.", - "title": "Details Local Radar" - }, - "MediaRegion": { - "type": "string", - "description": "The details media region.", - "title": "Details Media Region" - }, - "Metar": { - "type": "string", - "description": "The details metar station.", - "title": "Details Metar" - }, - "NXMetro": { - "type": "string", - "description": "The details city level radar code.", - "title": "Details NX Metro" - }, - "NXState": { - "type": "string", - "description": "The details state level radar code.", - "title": "Details NX State" - }, - "Population": { - "type": "integer", - "format": "int32", - "description": "The details population.", - "title": "Details Population" - }, - "PrimaryWarningCountyCode": { - "type": "string", - "description": "The details primary warning county code.", - "title": "Details Primary Warning County Code" - }, - "PrimaryWarningZoneCode": { - "type": "string", - "description": "The details primary warning zone code.", - "title": "Details Primary Warning Zone Code" - }, - "Satellite": { - "type": "string", - "description": "The details satellite.", - "title": "Details Satellite" - }, - "Synoptic": { - "type": "string", - "description": "The details synoptic station.", - "title": "Details Synoptic" - }, - "MarineStation": { - "type": "string", - "description": "The details marine station.", - "title": "Details Marine Station" - }, - "MarineStationGMTOffset": { - "type": "string", - "description": "The details marine station GMT offset.", - "title": "Details Marine Station GMT Offset" - }, - "VideoCode": { - "type": "string", - "description": "The details video code.", - "title": "Details Video Code" - }, - "LocationStem": { - "type": "string", - "description": "The details location stem.", - "title": "Details Location Stem" - }, - "DMA": { - "type": "object", - "properties": { - "ID": { - "type": "string", - "description": "The details Designated Marketing Area ID.", - "title": "Details DMA ID" - }, - "EnglishName": { - "type": "string", - "description": "The details Designated Marketing Area English name.", - "title": "Details DMA English Name" - } - }, - "title": "DMA" - }, - "PartnerID": { - "type": "string", - "description": "The details partner ID.", - "title": "Details Partner ID" - }, - "Sources": { - "type": "array", - "items": { - "type": "object", - "properties": { - "DataType": { - "type": "string", - "description":"The details source data type.", - "title": "Details Source Data Type" - }, - "Source": { - "type": "string", - "description":"The details source.", - "title": "Details Source" - }, - "SourceId": { - "type": "integer", - "format": "int32", - "description":"The details source ID.", - "title": "Details Source ID" - } - } - }, - "title": "Sources" - }, - "CanonicalPostalCode": { - "type": "string", - "description": "The details canonical postal code.", - "title": "Details Canonical Postal Code" - }, - "CanonicalLocationKey": { - "type": "string", - "description": "The details canonical location key.", - "title": "Details Canonical Location Key" - } - }, - "title": "Details" - } - } - } - } - }, - "summary": "Search location by IP address", - "description": "Returns information about a specific location, by IP Address.", - "operationId": "SearchLocationIP", - "parameters": [ - { - "name": "q", - "in": "query", - "required": true, - "type": "string", - "description": "A valid IP address to search for.", - "x-ms-summary": "IP Address" - }, - { - "name": "language", - "in": "query", - "required": false, - "type": "string", - "default": "en-us", - "description": "The language in which to return the resource.", - "x-ms-summary": "language" - }, - { - "name": "details", - "in": "query", - "required": false, - "type": "boolean", - "default": false, - "x-ms-summary": "Details", - "description": "Whether or not to include full details in the response.", - "enum": [ - false, - true - ] - } - ], - "x-ms-openai-data": { - "openai-enabled": true, - "operations": [ - { - "operationId": "SearchLocationIP", - "x-ms-require-user-confirmation": false - } - ] - } - } - } - }, - "definitions": {}, - "parameters": {}, - "responses": {}, - "securityDefinitions": { - "API Key": { - "type": "apiKey", - "in": "query", - "name": "apikey" - } - }, - "security": [ - { - "API Key": [] - } - ], - "tags": [], - "x-ms-connector-metadata": [ - { - "propertyName": "Website", - "propertyValue": "https://www.accuweather.com/" - }, - { - "propertyName": "Privacy policy", - "propertyValue": "https://www.accuweather.com/en/privacy" - }, - { - "propertyName": "Categories", - "propertyValue": "Data" - } - ], - "x-ms-openai-manifest": { - "humanName": "AccuWeather", - "modelDescription": "This is a Copilot plugin for the AccuWeather weather service. It can return forecasts, current conditions, and historical conditions.", - "contactEmail": "ttaylor@hitachisolutions.com" - } -} \ No newline at end of file From 2bd38525319fde7c73f36bbbced4071d76abdf19 Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Wed, 22 Nov 2023 12:58:20 -0500 Subject: [PATCH 07/11] Add files via upload --- .../AccuWeather/apiDefinition.swagger.json | 480 +++++++++--------- 1 file changed, 240 insertions(+), 240 deletions(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 6ea2c28361..99c0ac55bf 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -430,7 +430,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -453,7 +453,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -485,7 +485,7 @@ "SupplementalAdminAreas": { "type": "array", "items": { - "type":"string" + "type": "string" }, "description": "The supploement admin areas.", "title": "Supplemental Admin Areas" @@ -1000,7 +1000,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1023,7 +1023,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1484,7 +1484,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1507,7 +1507,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1536,7 +1536,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1559,7 +1559,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1588,7 +1588,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1611,7 +1611,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1646,7 +1646,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1669,7 +1669,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1702,7 +1702,7 @@ }, "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1793,7 +1793,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1844,7 +1844,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1892,7 +1892,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1915,7 +1915,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1938,7 +1938,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1961,7 +1961,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -1981,31 +1981,31 @@ }, "HoursOfPrecipitation": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of precipitation.", "title": "Hours Of Precipitation" }, "HoursOfRain": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of rain.", "title": "Hours Of Rain" }, "HoursOfSnow": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of snow.", "title": "Hours Of Snow" }, "HoursOfIce": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of ice.", "title": "Hours Of Ice" }, "CloudCover": { "type": "number", - "format": "double", + "format": "float", "description": "The cloud cover.", "title": "Cloud Cover" }, @@ -2014,7 +2014,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2037,7 +2037,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2125,7 +2125,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2176,7 +2176,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2224,7 +2224,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2247,7 +2247,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2270,7 +2270,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2293,7 +2293,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2313,25 +2313,25 @@ }, "HoursOfPrecipitation": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of precipitation.", "title": "Hours Of Precipitation" }, "HoursOfRain": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of rain.", "title": "Hours Of Rain" }, "HoursOfSnow": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of snow.", "title": "Hours Of Snow" }, "HoursOfIce": { "type": "number", - "format": "double", + "format": "float", "description": "The hours of ice.", "title": "Hours Of Ice" }, @@ -2346,7 +2346,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2369,7 +2369,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2543,7 +2543,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2566,7 +2566,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2589,7 +2589,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2612,7 +2612,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2635,7 +2635,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2661,7 +2661,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2712,7 +2712,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2750,7 +2750,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2773,7 +2773,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2837,7 +2837,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2860,7 +2860,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2883,7 +2883,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2906,7 +2906,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2935,7 +2935,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -2958,7 +2958,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3127,7 +3127,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3150,7 +3150,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3179,7 +3179,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3202,7 +3202,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3231,7 +3231,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3254,7 +3254,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3295,7 +3295,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3318,7 +3318,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3372,7 +3372,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3395,7 +3395,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3430,7 +3430,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3453,7 +3453,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3496,7 +3496,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3519,7 +3519,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3559,7 +3559,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3582,7 +3582,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3611,7 +3611,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3634,7 +3634,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3679,7 +3679,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3702,7 +3702,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3731,7 +3731,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3754,7 +3754,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3783,7 +3783,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3806,7 +3806,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3835,7 +3835,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3858,7 +3858,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3887,7 +3887,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3910,7 +3910,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3942,7 +3942,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3965,7 +3965,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -3994,7 +3994,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4017,7 +4017,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4046,7 +4046,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4069,7 +4069,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4098,7 +4098,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4121,7 +4121,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4150,7 +4150,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4173,7 +4173,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4202,7 +4202,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4225,7 +4225,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4254,7 +4254,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4277,7 +4277,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4306,7 +4306,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4329,7 +4329,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4367,7 +4367,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4390,7 +4390,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4419,7 +4419,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4442,7 +4442,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4477,7 +4477,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4500,7 +4500,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4529,7 +4529,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4552,7 +4552,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4587,7 +4587,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4610,7 +4610,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4639,7 +4639,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4662,7 +4662,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4864,7 +4864,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4887,7 +4887,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -4956,7 +4956,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5134,7 +5134,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5157,7 +5157,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5186,7 +5186,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5209,7 +5209,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5238,7 +5238,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5261,7 +5261,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5302,7 +5302,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5325,7 +5325,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5379,7 +5379,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5402,7 +5402,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5437,7 +5437,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5460,7 +5460,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5503,7 +5503,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5526,7 +5526,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5566,7 +5566,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5589,7 +5589,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5618,7 +5618,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5641,7 +5641,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5686,7 +5686,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5709,7 +5709,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5738,7 +5738,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5761,7 +5761,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5790,7 +5790,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5813,7 +5813,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5842,7 +5842,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5865,7 +5865,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5894,7 +5894,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5917,7 +5917,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5949,7 +5949,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -5972,7 +5972,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6001,7 +6001,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6024,7 +6024,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6053,7 +6053,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6076,7 +6076,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6105,7 +6105,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6128,7 +6128,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6157,7 +6157,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6180,7 +6180,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6209,7 +6209,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6232,7 +6232,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6261,7 +6261,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6284,7 +6284,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6313,7 +6313,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6336,7 +6336,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6374,7 +6374,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6397,7 +6397,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6426,7 +6426,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6449,7 +6449,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6484,7 +6484,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6507,7 +6507,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6536,7 +6536,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6559,7 +6559,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6594,7 +6594,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6617,7 +6617,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6646,7 +6646,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6669,7 +6669,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6751,7 +6751,7 @@ } ], "x-ms-openai-data": { - "openai-enabled": true, + "openai-enabled": false, "operations": [ { "operationId": "HistoricalCurrentConditions24H", @@ -6816,7 +6816,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6839,7 +6839,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6868,7 +6868,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6891,7 +6891,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6920,7 +6920,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6943,7 +6943,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -6984,7 +6984,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7007,7 +7007,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7061,7 +7061,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7084,7 +7084,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7119,7 +7119,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7142,7 +7142,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7185,7 +7185,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7208,7 +7208,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7248,7 +7248,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7271,7 +7271,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7300,7 +7300,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7323,7 +7323,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7368,7 +7368,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7391,7 +7391,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7420,7 +7420,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7443,7 +7443,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7472,7 +7472,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7495,7 +7495,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7524,7 +7524,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7547,7 +7547,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7576,7 +7576,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7599,7 +7599,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7631,7 +7631,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7654,7 +7654,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7683,7 +7683,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7706,7 +7706,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7735,7 +7735,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7758,7 +7758,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7787,7 +7787,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7810,7 +7810,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7839,7 +7839,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7862,7 +7862,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7891,7 +7891,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7914,7 +7914,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7943,7 +7943,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7966,7 +7966,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -7995,7 +7995,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8018,7 +8018,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8056,7 +8056,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8079,7 +8079,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8108,7 +8108,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8131,7 +8131,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8166,7 +8166,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8189,7 +8189,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8218,7 +8218,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8241,7 +8241,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8276,7 +8276,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8299,7 +8299,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8328,7 +8328,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8351,7 +8351,7 @@ "properties": { "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8482,7 +8482,7 @@ }, "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8638,7 +8638,7 @@ }, "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -8786,7 +8786,7 @@ }, "Value": { "type": "number", - "format": "double", + "format": "float", "description": "The value.", "title": "Value" }, @@ -9334,7 +9334,7 @@ } ], "x-ms-openai-data": { - "openai-enabled": true, + "openai-enabled": false, "operations": [ { "operationId": "SearchLocationKey", @@ -9741,18 +9741,18 @@ "properties": { "DataType": { "type": "string", - "description":"The details source data type.", + "description": "The details source data type.", "title": "Details Source Data Type" }, "Source": { "type": "string", - "description":"The details source.", + "description": "The details source.", "title": "Details Source" }, "SourceId": { "type": "integer", "format": "int32", - "description":"The details source ID.", + "description": "The details source ID.", "title": "Details Source ID" } } @@ -9812,7 +9812,7 @@ } ], "x-ms-openai-data": { - "openai-enabled": true, + "openai-enabled": false, "operations": [ { "operationId": "SearchLocationIP", @@ -10871,12 +10871,12 @@ "properties": { "Localized": { "type": "string", - "description":"Status of the alert in the local dialect set with language code in URL. Default is US English (en-us).", + "description": "Status of the alert in the local dialect set with language code in URL. Default is US English (en-us).", "title": "Localized" }, "English": { "type": "string", - "description":"Status of the alert in US English.", + "description": "Status of the alert in US English.", "title": "English" } }, @@ -10980,12 +10980,12 @@ "properties": { "Date": { "type": "string", - "description":"The date/time of the image, displayed in ISO8601 format.", + "description": "The date/time of the image, displayed in ISO8601 format.", "title": "Date" }, "Url": { "type": "string", - "description":"The URL of the image.", + "description": "The URL of the image.", "title": "URL" } }, @@ -11007,12 +11007,12 @@ "properties": { "Date": { "type": "string", - "description":"The date/time of the image, displayed in ISO8601 format.", + "description": "The date/time of the image, displayed in ISO8601 format.", "title": "Date" }, "Url": { "type": "string", - "description":"The URL of the image.", + "description": "The URL of the image.", "title": "URL" } }, From 8702c3faa4712c597d653f554ab0307a806990af Mon Sep 17 00:00:00 2001 From: Troy Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 7 May 2024 12:47:36 -0400 Subject: [PATCH 08/11] Update apiDefinition.swagger.json --- .../AccuWeather/apiDefinition.swagger.json | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 99c0ac55bf..2143abefd1 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -3,11 +3,18 @@ "info": { "title": "AccuWeather", "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "3.1", + "version": "3.2", "contact": { - "name": "Ahmad Najjar", - "email": "ahmadn82@hotmail.com" - } + "name": "Troy Taylor" + "url": "https://www.hitachisolutions.com", + "email": "ttaylor@hitachisolutions.com" + }, + "x-ms-keywords": [ + "AccuWeather", + "weather", + "forecast", + "current conditions" + ] }, "host": "dataservice.accuweather.com", "basePath": "/", @@ -11095,4 +11102,4 @@ "modelDescription": "This is a Copilot plugin for the AccuWeather weather service. It can return forecasts, current conditions, and historical conditions.", "contactEmail": "ttaylor@hitachisolutions.com" } -} \ No newline at end of file +} From 04426199a8df00ea918656e9e738ade1d0b7af38 Mon Sep 17 00:00:00 2001 From: Troy Simeon Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 16 Sep 2025 11:57:26 -0400 Subject: [PATCH 09/11] Fix for missing comma --- .../AccuWeather/apiDefinition.swagger.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index 2143abefd1..e59abe53b7 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -3,9 +3,9 @@ "info": { "title": "AccuWeather", "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "3.2", + "version": "3.1", "contact": { - "name": "Troy Taylor" + "name": "Troy Taylor", "url": "https://www.hitachisolutions.com", "email": "ttaylor@hitachisolutions.com" }, @@ -11103,3 +11103,4 @@ "contactEmail": "ttaylor@hitachisolutions.com" } } + From db981fcabd7f1c38629d1a9dd84a8cdcdcd95915 Mon Sep 17 00:00:00 2001 From: Troy Simeon Taylor <44444967+troystaylor@users.noreply.github.com> Date: Tue, 16 Sep 2025 11:58:11 -0400 Subject: [PATCH 10/11] Bump version --- .../AccuWeather/apiDefinition.swagger.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json index e59abe53b7..f7122dc05b 100644 --- a/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json +++ b/independent-publisher-connectors/AccuWeather/apiDefinition.swagger.json @@ -3,7 +3,7 @@ "info": { "title": "AccuWeather", "description": "AccuWeather provides commercial weather forecasting services worldwide.", - "version": "3.1", + "version": "3.3", "contact": { "name": "Troy Taylor", "url": "https://www.hitachisolutions.com", @@ -11104,3 +11104,4 @@ } } + From 2db3620deddb8a3df99186efb244dfa296d50bd1 Mon Sep 17 00:00:00 2001 From: Troy Simeon Taylor <44444967+troystaylor@users.noreply.github.com> Date: Thu, 23 Oct 2025 16:23:51 -0400 Subject: [PATCH 11/11] Add files via upload --- .../AccuWeather/ConnectorPackage.zip | Bin 0 -> 21371 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 independent-publisher-connectors/AccuWeather/ConnectorPackage.zip diff --git a/independent-publisher-connectors/AccuWeather/ConnectorPackage.zip b/independent-publisher-connectors/AccuWeather/ConnectorPackage.zip new file mode 100644 index 0000000000000000000000000000000000000000..5ba4dcf4444411057a94a1a02da390181b1914c4 GIT binary patch literal 21371 zcmV)AK*YaLO9KQH000080KI}&TWE`zS(F6;07V!800;m80BLS?a&IneWbIhpZ`(Ey zfA?Q;NFEvwj-3qa9t!NiYq2g^&<1JIVF>m>Qzx6XENUd>)c^hNNQ#zY*;Ueg^q~(< zB=PQd-^U|QVJc<)I|{czGiW`7vLL{sSu2U)7Q#Vg^jc+TLF&~CjZ~t5`$(N@gHl+h z%6Y?N;a-~}yC;_MU~qa0H}$MgmgSt%+jOxK8N3l6KME6;4I2EbR#rK*gFkc)C1M6n z!$PbPMA=pq?lN3sp(}b6QtG;Nf1WLztL%%(BrT0;sg5d+N$bfFG||JIt!GvmRXL?g zsDxaKIria?q;?oAdRJGKHjcD>OVonVtT*oNTFda-TInO8^?qJ780Vr=6Z+X9gP+1{ zbTG|UiacUaz_qe&aEq=sByJ|GlAuZo$jWnrnCaSqV0t2CUD%t%Xo-v>i(o61DpzEN zccj^P>!P5S;Zsj3MG-L+$6vVxi4ZLT2IoZG#=rGn`ojkV+lF|rD|o3Ki`;=}1JIMV z)e-IUixFI2&>#AC`TPQ;=N&!BSI*JeX^Ki!pd&A#FmeHBLDKNE%BJuEeU=NZ49a2A zhSYiRe?WHl$!*Qjm8MEyxOY+THNm+$<5I}rT9eHaGwYcXv5B-9y%HPpD$sU8xLHe$pEvX|7j@xAB+i+-q!prA zqp{2$YvPc3ij`##U^a&LM3~pq6!h#PN+PBLn_<+7Fe%k5VJ(;5Nrv>Xus@MRJfT`4 z?O6_G3s6@ilAWfvA8Iyf+h}@);dsBL_e51qolc1RHS>TLr6&(CEt&3TKUIclW2C=m$MnEYd zm(arrG@{c!-N2lCd5t%QgC1UZ*I4D(di%hy^fmk|GMIl;(yw34iSS^ITe5hJ<$Opo zcc52P20M^DzUjgVTKoJw0uz)CDRltFJKxXrDa;=ADCm}Hdl2wa8XMEZn)7xbPTF5~ zuOFUh6L!w0L1MN?(4QY5=mGDr{2cn_#na()l{*X~j!AgD0U@yOX&ke~(>4&-;(ZuY zUr<~eg(&AWUnm@|pF}cl@$#;>?R+g!v3dtgWt-iB?5-Auh5#Eba`yXX3*n)dwjG`O zR#Kg{ZK$cj8fl2rChu-{cby{!^xv&?2||E?oOsBgU-=%5}M|-|7+B2l+x+wl48gS-wqTjRSDyo z29PU5O`GNuI&hU#>7=EtXDel`&(SNm=Zsh)Ry_Vty-(_jtm6k8ZnC)t_+;E7q^k*^ zdpTk@6LLA>%0k{_UJM6+15ir?1QY-O00;opf>&F2n(OQnO#lEpO#lE30001RVPk7y zXJsyWX>b59K+wNXO9KQH000080M&w5Tg60VYQ{bQ0P8^j02crN08ndZL349ubaO95 zZ*Fd7V{~tFE_!KjmAeD5EkV*Qx^3IGZJ%x1w(YZVwr$(CZQHhO`<s!S660tR#r!T)s^y6z#u39KmZT`rTJ=Fh}ff1BtQTFBA@^ONB}qhMlMdyb~YBC z2F@0CwoY{JHr53B7yuNxC;bTdTW3J=&T0HXs59FSL>VndurSPGDKke^w%VaO z*aWeQ#$7A+`+CPDPeq`hf8%)Bbh-{nI5g9MEW>vVxv(1R)ER4S-=XBfwr;GxMl8Qr zuOZeO1&Z<~5UzZi0$h_cdLt2$&A7a1mGKC!H&hR}moG{D0#f5OhMa7! zVtYj4$^bW)@z^uWuXmn>OS4NtJJPnN1-%&a9l^>N-?lI%J3<0E5onB+snaP0g%OTM zn3_K$`2%yUA6nqR(wVV8#sEivXX?SGGvdI9IU?xajwwq9EJD)6TCxMN)(xfwSt5d`ADlxHKy`k|^zOEO`Zuuon}?dh059_cmX0I5Sha1DZ!k#4y% zk3&zCYVje3APqPSdA=8I*U&U?w<^9OcIG6*4qzi|hviCU2sna_YOkH9>Ns9z1JnkZ zn?14ty7p55A~#zk-UAn)qMi=bwDv_CVfDFuRG!FO4pLxTv(e!5d2HwD9Xr47P2%3o zMz-8S6OHo|hJGakk9nmac4F4`ulc!y&Z`iI2Ab8g-`qqBJH9OFeFo{D-6iMa@ z`e`qwSk{57FKxTHtpF-M?QpwVdufR!y@$sla5A3JbsWuMX4dg zJF+p+zXyEpF4kprAHc~NO%Dj?8Hj%77{kh;rdtFCRv`;}7X!qv?Vwj+a`w7(^_?GJ-68AL^QG1+KhOnZBKo{3Kxo{DF?oty3j8N z&auan-7d!ICq3Zl*Tpbqa1KL+LP#6kGh_wy0xj5`18dC3mU~n0=EivFkKUcg1@EB- z$uYh|6^_df;$wa#^|B-Ny^g;mm=Rb48}?%Y>pARcpbA|(j(8)@vqLD#ADbhy1I2dd z){Q%s2eQG{Jz?9TPN=WDbY?JB(~NmM8I{)YhK8}EsV~L95j>%Dz5?EFQ4$)cAV44}^27BUGv{DR67R+N zt-7T7KAFJL#gSN*V?bHvFNWCc?NZ4!OcEC^=5aC&Qh91yS$I#AC3xeKqw*l!58}8T zbODzo8p?KoKucfggD_=TvD-qTxj%M*qp1w_zd~q%t4+UKaSk-Szuk7uJwA~sMEg@nS z7on}+fP{nC)i!?f%XP%Y>ifAjG-5dJ|vMSNMj%F0Y=*q#kGpjQVynb@;; zaph|KNe!MHUTyTKLo4$^zyWKy8OXJuG5DoRiB7ywJ?*m|*h!g$^zja6s1I0<8D#j_ zmu&;z8uX0&jfU|9`tP&#aW!$4hZ+DtA{PjN;qPqyWoK(^V&rV+Nbl_AtY=_k0ZP*JKl-t^~lu4!L=X&Jd~(ffw1rwBomgZ|GNC5{Kyk z9BiZq#^wVm8Pm(~nS789Mj2vvw($pv=kwj&?{6PplDvL#Qwf%#Ws{FtI0}kkZNoVp zHI<)=rqu!aTNk^`D{n+*bCpzB-7mSSotL2=YrWdI1r}5XINs=AWu>ruz-0cQcL{Jz<2zOu};n|Ng#)SlRHr*_sd4fEYn- z=-qaIISiC2*kVtk>YF0tkY^Wr1#^rKaa8cgRsYZeRRUgRhq9!kf38^+Nhg;8#DPs# zi~0k~?rU$0BM@}9>;|qA+&Z1=k^B(%yFpR$9TI5;5q6f7KpRRc0N?ivx5Q0~eh(H})8#HmfCWmXeOI92yRVG()ZI&k=p>X`E!O&*K6u`a> zzg`~LQr-%#FlZ0FrgLc2SgLwkWNlG7CD`oLG4h>#;z4Qlz@E-EV_NMvm{SH`N=hX& z2PuZSl4-nxj%}2)Jg^P^>d--4E&_f&4SZgY z_Gm4=(n)a4dZ?xxD=OB>mIg|rhCX1EDNZP1qWiApOFd#M91cvE|PDNRGM4YaAC&LE<`#R5{W(5kwODd6&4CQqxIT{KB6zm#5!)EJ+P70nB+ zDV8HAX29?U1!=1Mp_YHbaoE$6NyIEyq1a7jW<8})jO*Q}bgFr}$LURw!^L?-^ffN$ zUYLwmeqis`3G1%9nKqI_DPf?1zg}5s0UE@2Ppv(bP_OSBhu%}K3CCc0G@^0hr;yGw zP6{lypjcE^p=XV7#!iP0!)j6iOhiPL&1MuAy$>BcCTtc`UkV`=s*p2Ct~X4lB6Y!$ z$bMRo!Kqkei6;X_p)X00AQ`UBzb)M#*6nOyX7Vvd77Z3g7E#IBKK+$piCykR4Q^a6 zQ&OwYjq+Ar)%(Q;taExRvM!A%CQ5X|biZ0t-CEQ+xitGuUzAootF8!}XE3Vf>XmVuJrrUk&@R}_5`R)W8w3aGYZX5^j3(6c)#4*!d6H|SWky%;C3e0DhQ118Y zpW3}(C|KZF3oe1DDhN_LYnqc-T%(|Hv7W``*Un8BzvoArGmMD#M#rsow;uu0OUi%z zNtO}wx))PY7;-FTBLsy*U@H(8Q|=D)r%4yQr*B9V$wEO*FZUE`wWIUhu>=QGVY@Hy zOxV{{aD&g0Et1>>yKJIhc`M(;bbTwk4HWrvws+9O9X1X-M^qRt@Jf3$wF+j-870AE4 zHaGFBSk5@uHnIHoCom1`$kELFqQ{K>6TzQphCKFQ!H5+h@FNoT;))|dt&cU$r`aCH zJP`Q+A3p?zV1k~Rotr-IwYph?`3AkC>e}Jg#@q$s)QkDSGUHjBt_qODVTtIk6bA&E zUwyX43WL(rHrDyP3Y+vHGVI8JPaat#1yv75Z5TA(JmV!ENF+w9`Ia5w)8c25j~|?5 zAAYh8?J+{i;2G4P4kpJ9(zhs&pUhR-*=}@CI&+LcmVQ+tc#-y`d$-l&K&m3BBUPM7 z`&QdXeL7{i8TFa4w`MQzd#I-&C(yYMf_YQ{#Ujc>{<=^oRLV z@uR#lt4%2G&cLI-I`uK;4Ti1P+H!oFutz12o11Gel2)o17PmKE21gZaA^mw_6cFo*Bf9{tnuMw)70(r))*St8XbsFwZtjiqT^A}`Zx+M{ zCy_ongvu>_0H!FF@}dr}#Pyq*@q8_g$&F5Ux=`8l9S3iugOpQd#Iz$w&~6{OB*Y|; z(8`K-huk5kR%}4Tnd9C6z$JKR7W!{Nskc%gZyQSi?|!}~85Q-k_^e;u8C z4g6YYjqH*L3cW$}@D*qPn}ULMR0sYO`@JzXKHd@#qEK{ z6P-U%KV8Ydc83w*dfEnq(gKA=TT!Oo&P=B@xI0{tK#H{F@l3-ZRr4!6zE!OZN7Dvs zR$QT9pIKyl!i650A4KMW3B8AAW}MR>;)GjPE{0?wm*|>8)LCa0fB`je3*ik$QvD7l z*wbM2a%g?;1?-9@3}C<3?~>6!j&M2~+?w2AFTaP$y$0DZXOf=l`$}Z*;v$sEGaNxh zmU^Qxi2pGy`I5{4`GFPkw#yB%IAXNK$9E%=;f>zn8=Y*RFPp?MEib;3ikd|7E=ySP zu9KzwiC^^^GBrK|sZeGp zC*t;a%s@aCOv&v~F|_idGfW~>Uo%9|i*^?mCnK@*TlI>YWHHTKy%}Sf+TLje^TD5s ziUsibNR-JM;1)^k>M0G{DI%F zY+!((0Nb2G84zb`TAEZda?+5l|2B$_+3Elvjusr=zk^<|_?ti6IXy$Mupb6f`IVqEj&+BA?$Fo0*`?C@#xGz%u;-i)4%K`<%iV?{oYD>P!ic1#C7>{ zaKKc2bym=9DQ9$EvZvo~v9P%pBGWz9!?|t2HPhB9O>`2kCpD+VAX(P462YQ^Q=rF- z)Fs%z+jotJ??@zz_aq$2=SeX^#s7ec_kHm|;al~$UT)t>#Fy|)lQBJgdZm+TWvnV6 zdJQf#upH$L_6o-r#-xj-)rHUE07qBo+;C4;2+*-P);-~=I@ZNSL}^EFp3`<5#w(>OF34@$Z)UVy_2wkAHP;`cPYHO!knK@%jdTrF+%( zS>?#W!avg-HY8IsEmke4a|d|<2T9+ZKzA&Uyd?+g2u=R+b!-)?Y|ti&17GowCxG#-N>fFVcCU-soVKX$l|0d;*z)kl>xU2j zI>P?Onj`Hwuw$U+Kc-jrLBiRqA5UBFBAesTVlG^JaT-=VPP*wUj#t<|6HAlS^_Y40 zf{|*z*6gMvW3=7>P>r|jP>ztJ<1~ zJcaQ3`bOu{EF`|&>a&npf5v$U2wnVA?2#K`(k6W#oi!l-H44dBPY+FJt~+87UwE-k zkJ|J$HH)KRW%XTZ-3h4-EvSNsp4|o^F$V6H0FR+TxWW$*w|`MD&HwFJimr#7?aLt3 zKys5)J&$C4SkU-O)L zSY>UeFCle1dUNhIPwZKU$?iWgagL|YGw+qm`vOlkC+$X+EE6Fi77qJ(S6XNRu z_`~rj?LdMeCgecEjV(4`ed+});cpR+{v{M9zjcuhB-u>pEZnxVqi0t76zkq2kK`R< zp{QyX^D^s}uG(5_+B$ZgM|Pz^)&zj;o09-bUe=Lm%@O9p$!mBxUI3QH0dI-6x=Afk zFxZDs+}4rfLw+NEdfR#iHxtZPk$t+2PcR&gR>jmK?CUD>23 zB``~R%E#x-?m!Djm=@bfDo$5JnyU}8h4n+go<717lcSGEkEkxL;5Z>N2J8K6OB^+p z${k2$7EiY|PG44tgV4(gLDyJleT|}-3qC zVp$Zp_7S2+lY;B*iB1m$X%;H5Rr6By_R?=>EJ)E^G5H{T7u#CQB*@g(1om#qiweB z{2pWxhc)&k97Qs25whNj{Td3o+<~YES*t?OVmJOd7J5DfHArUYKsCG=zMPA|GXIgx zC7rbmT0Q>rTtjE>0s-QeEbwt?sD*J8J9YP_d2$_);MBKsWYyw|@9ss-V;T^7gwfD7 z+n8t35VSD7kBrxKqz73JvSfpx#jOm>$GwRmZDnj`BrcgA+oNSjOe!P4g;@8bG(QZv zZ)wq0MnWqyyF*(SmrPcA9lH8%Ve!!yIyaxRBHLUxA5#CzVnoi_Qp;8Gu-QhwF>FKz zO(5ws%lex?-FQ0a%J9Le&BNSu?#I#9uE!qa@G7?uWb8ls7%w<}J z?9ftVDHIb9sS)=9TP^+0b69$Ki?DWL!2-rEcQ8wwxiWi`!ck`{A#F^Iw%FVetX0%Cs zeGR*WhhJ04ltT4(F!O0X%yS}@BGgpU?j4JqzcEjk02#R=W!Ihn>b4S+JL_!JQcO6d zA%C7%$h}k1yUi{6w*pUjn3@drc=C3deCKi<>mjcm-Osxya-`ezMv`OX$ry<|0^h4^ z2HC=x(h;Uu>hCI^(gAAdm~^~>^}~Cu{&2Z;M4u~sZfZ+-kzy9#{bHejMsHil9Fhf& z7ft|9?k6LfUl@kMJqd-tmN%8LRKu}JXm~_pb+2kjzc2OFzT~|*Zf_L2$W>YFhTlFi zGNccsu!iimb^Q?iK>oQv@Sz`HD0c6fsCUoJ4jQ3X?W~ewQeF>?m&Byg!&<07v0rhv zFjjgjo=Q&8DJ=RD2wI*^Oy^Y*#`J5cF6a&n?VoD`+9YX@A0US~j|O}$_OoK2ab?%L zJMqfM)cV6sBZ&Ji**VEX(WyezfgEm-x{I2@961}GBTE^sjB zgCBvHfFs_?gHvDd>lHW~w~NPkJ)`$Jfd%SDu>F_o)Ep=HJNuDmDf%mGu7OBLvV$}g z|1g$zJZZG$b}oCcA2rKUqDd_&o@$n5!C`ik2Ty}P<)+04Okz09)R%K)Nj}}g(DgW2 zZxlEb1R-wj-P?x?j%WL_bk6(RG8TsRj))I9aoQ0ijTsM@``rU_+r}syId|rzef_`~ z+zuLdX7v;Cscqissb)_VHj>bNaGdnY`&^R`OH7N3wR07|&c#cYLAr9^yE358MN8B# z5r`d@{xem6e}t*dscD|}rI=&VsfnwM6z2+j0~hEa(U$kQDjyazHz{l9ik)RRSVB+l z&|s@fB79Z*i75=*bsL11A!|( zgFR{Of5wDLxApac;r5eMusrGxvpk@WO$S6%a=ow(qOOFqV~1ta?mNRQ(YkZECZ2C^ z&13?pXX{ZyvzJJ^nQoUzn#qQ)Ma?#j^!;cgFsp;_Oew`d=y5VAs?kp=^{NUOe|-0T z%xD7nw*z;ig(B#M5@;f+7j{TELbpXAvm~-CMt)h#TA7$dzlH96=VrHughfAOg%$o}26+f>XCx>lD)M|7pzmKxA__S?ffy&k;P| zbhe8Ow#1Ft+;(rn0+zl1u&E?+ca)L%EIDl#F%x+ypMUcA+(O`wkVd~7nba$NB1vX^ zpi=y8QGDRfJhxaYmTMkUK*(&*T z20jj;ijJtV3=6AlicY=>1dy0Arv%j>JbB(}AjA+`*KiSw!nP_UQZ*z`28*?1i3mP& zR8QtF59k10$2rQ`4JN}2mQ%QqsZ~4j-hDO+-h^zB;>L%g)*|^lRXeMmOtN6{hNWa4 z>hzl*Oz*D)kB_lWI82+8QY+_qQd+;s%2+%3rravWVpOG)q2k7*v6Ds9oGncu(E->w zbBD;XzN6%u-hi}m)k#N_po>hiAESCh;v9i6s>^>Z8MrVifJd0p<0%7@4 z6yNSzDcHn}p)2!OM|Woq9?!Qn%lJ=yvQ!O-mDv?T&82qBV!v$ksBXM~r~HyXy6Nby zB3-a%vtF2<qb{%!N$w(|x`23%gOI<&xKB*JVS~d=4ur^)kNh8;e>&wu5|M#m7LH z#m1@e29m*Np0Ep2R_v#r1rzB-=Q0auCN}~vPKz(i-I`CRpwZt0-0sny>T^=>OKCIBTWuBY7x66v;$e&~|Xx_#p+o{Ruq$^+4db%||J+pQnJ%>~?bieYBY>GEL zELUT*zI8Uvx@ZmS1IFOUxKl58|2o2}uQM0zN!HSKIcZm24=JTR--EW|S?DV`bL&{_ zn#-@?$RsfaRoRLsFD@MqMN-Y8g>L`dXONkl@Fe4Ff57&1Zs?!}C97&U+Kikw3g_hj zxL@m;c?d947}K~KHn=Du!r8!Dyfv2iYA=@-G6Rwd)H`k2b>v00_9~rCS0}{}y&6c2 z#TXbCP+V8~v@y-o`$j`knI4oc5&Z7#_Ql#lgI8Y~oWL4u!H{s)S0?s5cCz=)(O^ybqz1NiAPde_qwMl=q|WOE~}kP)535(3VJi~%K_4nA%rVDya9dK0%LU- z*k$mSCY8vhmvP=?>4Q!3r=S{RV3}I7^@RPi`1&T}jvyjsM`D|3x8TGZ2jXgDtEgT zcALoxu2TbB1rz?!f5Ze4Lk&y5cLT(z&-euE>d%QU$ZM$7**}{UWy@wl5=;BvQy8v9 z>}jJZLq21dQybK)a)ec`$**m%6LE? zf5cm(6ut)bz;ax?B{qjT^Cq>lYSU^OQ*QpS@SMOV+N_NKQen8jtMp$H4W6**%>;DP z+j;!$He)j-|FN zKYSA&&05;WbR*ht8sIJp=X=lsW;<5-a_-P6tA z8t$B|qUO^YaAzC8q`3^TBHnS9QlT za~YcEZs=;gQqH?Ns=L-f>rw|Ft$Q#?{_)vagWq&&&IAJ!{(e_c59Y|uL9;%sO`+V@ zP4hk2-oQJ3hdLv|<@-w1s0+3F>@|I4PmAwtWzVW~aM){p7z~oBFcdphJUSt}UU~bT z=!pSg*8_>Pg&8!HEjT?)1pwcDbis$_sbq;#)w-aDzh>F_Eb-Ke zod%(SR-68**>hUUElszkku@8={#W6+OIRSSDwPaWmbg9|**`+F3EgF^cKs-c4nmFu zl#y6hoQx_&aG6r<^@rA&+guIMjMezabp|mMYG@c+ABZftUpken%)c-Tp1yP$UtBOv zGBi`leVSovY~e_Cc=mPYP!?@$Q$CBlHJIO~5OVv54@ic2?!0FRpppBKPPrm!Dx355 zuhi?^6?hNz>S1-rH>X5f=SbkA^0O59O?t;8vve4+#cMrp;Sso(2hl+9GIe0u4c)(S zoWbH>g->vddP8BTah(!k8bSOMr+gA~Gb@&a?DJ)Ucb$Vr8-F{$kL>c8mPP?-)QDr_ z-8onGTSqsOPOO&wh=RP}VA|TtGr}A`XE-@n8Uw`enZf-ri@TD_>Z&l%@qtnHo&m+)Hgsz|6rA2a z1{3f0pK1jm^*{?H?1)VGAp9UXkpFoz4X^j}>%fvZKv*<@t9O~ELuKs9UhzJ1=GG$D zY0t7rFtp<3rf7E@=gkj;Cvnjj+_{IM*RAs`w2(TsIXKL<18xq798>WOvTGsa!N+0yG+^ScXv z%#-XQt?~rlD2Q|*u=1oTh0QOq^2DYo+X?ZdDJKSQ#YjLeEcNo_sv&3WL;9I{ZH9jo zOR5-hZAOdU28eQPX2X(yXEa0G9J@URvWpGBabMQ-F*$Y4WBh=IiWyfEPR>Pb%ao2t z>&w4U$p-f2^;S~N+(*?U8=bQD-Hf=_=r}0~;Tg_H85pD2V*S$*8B(7cmO)hmYMhYj zp;c3ux;-hHV@6?RfpZzhc!LiAW(GpV zMOZrlJberGlIRN1d@FoS>AW`ONFyJk^!vHDmZw)(MWFDJ3p%_EODm0r9} zdCoRxnPqyqKlUg_{>sBr=$LBb`>Wg>e+^4YMGt2?N*v5O3px2V(Zo|dXlz}ICl1nVPbbT2- z%Hj{{OTv3FH*n2w=R{i6DJFs8@ATG}$k{B$6Wj!XV!$O}{(}A%YLnzy0d%5HYEd+S zT{9bDn12zVtiD$bH6iwhfXfRzo8$X{eT}H84GHai=TIyLvsV}r*g!ifujoh`4!8*d z8d+H>YfX?mD&LUK1guGPN%m~W80?wh>4lFVpQ$IAwMMD!a!=*-K)S0W-O&MNSBF7| z+!naz`<-&gij2O3&1w7lB29WCkMtzEPHgr6oY?{41((tl^u zOD!#iYNphZ;F@3X5{$+RbI7wS2A27%~?FFS{wnAXxe{1?B1P#-Et zSQ9QI+nXz-1L464x~whv!ZKm4&XT-)?hvX16TzYwtM9CJ3r5r#QpTG27ipNt8{)7OoQ*9^GyoaL=% z2BUPd?}n!xnN|vwj0?)aUC67G`|kb*mQk+0-bk!jbal%O@%=Kb23fT zKRHM0Ls1G-<)&s={fiok!>Voi_O>UYfC_BT@is@Qx`+1nb$IHc`hP=0w}o2?(lbS} zJMRrYVq~*eG&w3L!3 zY$ABzr#iEnwv$PWLehyHWIWv?*=o4cD34bdC);$mmC!!8*R{MzgH*+jy!VRl;^JuS z>Df8aM^0Vc{UX4`FTJZ!Xcs@ih3{pMCc>QbL_)di6JD_+wwYco3>U0O7?O_^oo-}| zIf9+!M!7SG>VYW=cK|LNuC0lYwK4~q3V5;TEA}NKmKRJg_k;$h7gY)pLZr(Idz1w$ z?QSfyW-x`VwpQohoAW4gU{IFCZS8~ji)xOj2Z=w&Jz{^jz`nqz#+~>g;vaiNk+OwI z3nZ9O@Bj{e0RDZK?jgavUN!&#z{=mk{9kwJ8vU;p3p-nT14jcJ6K4}gr~h%Iu1GXL zbUy>aP>*D5TY?c=UlGK7UdQ0ECA<+5J-P*@k6R7Z>+;KQUse0GX?E@2Y62}$NjO{1whyqIj%6Iy?LQ+-3`g`}UxCLbX^eGoVc~PMprl0v ziKyosyki9#iY5Dt4*xOlK7dBp($&|m1Oa=L-R{RU$`(0I<46UzqNI{0mGBXIO*cO4Uu%L>yH5P(%8 zSBYf+)9kL><_!Zt|L2zdl+SZ-W_^bC{KA|tC%0Rx0pxxY{J=CN>41I&b^l@KNnEsS zcxx|IG~?YILiZ1FQ(&m3xMXrn_E@fun-)M->GKd-H3e)Q6SuUxCaR^=qIS2YvgvQ> za~n^+D;BW6D-%KNH;G#mbO6Oo{;yKf9siQm3r3%;~{h;g2CdltA6oKwFl-Y zEPqw{2sWP#TzgHWp1n;KJ9Py-O6O4Ef*&A8Y`;D;!}9{e5- zIXB(db=_{{U|rwxDOl}X;6R@@uGTlY(Kn9mCo=NrtZ8!$6#N~L(fjyCW+8MQFdxR6 zq&qcUv4KX-2kNsO^$|@AlULvu4$>DQw}dEh+se43Lv^;_aV+E7qTK>b3=M$YkoXnP z{pH6Hg+YmH$#ST+aR0&8Mv2SE%!*uwPoxjLOlSZ+6I^b`+{hXzhrXqArMnZ!QgBp# z2%DzSLE=fFPBikQfPTEhL_0mZB(=v;$+t&W7XDmiYjd(u`qotwFlF%B^Hk+cq&|xO z93?rgH0{ax{E_BKp;#e``AZu41hQI1fa1q_Sc%n-I}wj*+OM<=zIng!R(IED@(TP$ zGr7g$zz!`)ZrVO_67Vvu3TeDC+@?OTbsF`!?;wOKz-?Pmb(F(Z#EHHjIi=%jcK|)= z;*F`(91`Ij3`vzYC1C2Ht%kGG;nzY}NK5&l6N~ObkaX_3iuFL-)d??jn~fwbY#Ewe zR8o#OuJ4jfb+l?fCpWkOb^xTv+Q^mcHb}0#&=+2u z^SS!_TCj>Ph9AqOJlN3Bgq8ag^>Sa$AyitJtN$ zv6RRZtF0FKex<Q!ox3imuD|Ck$`HRaJ-!^_mX1PDofU8GE$jk6Qv_-82G7oUtr5? zyPLKjzFR|THJ~qV^nddgWoID#AUf6~ZW!mOnKDT%M`Ll)@WB-W``hh@D<|Vi7J{7| z>sh0ixDLi>ARUN3K7CJlWVg3Hc%907Jz^5?|Tsy{6iOvViqNk%qA^Zjm;-@z*EazQuCq*89A_)&|xoj8zb=dI*=oP(uQgK+f z6u23Xr|UZ-4%rVM5*K7|%61ub)*Q6<3`*!p&SaPNz7qaGv(zA&$?aaT^mf1bsvAth zEPE^O;TD)c=%baZ0V%8j<-#<2N**r8idwMGKv`MXTD_JcD|>{4-KKg!^noZqPAJ+V zxIhUJa&3O(a@IDFSg5+e%?I1Wo3BM9#H21O&C5~x9$4ddk(x2*`K+%a3O`3XVhOo( z-(bTo#?+#U73k2vPx7-TX*MX3EJi-W4cuLtj6q5u-36f3en+=UzSS2hAWb ziEqKHCu<3GqwYqZy-ifzE9PUTtN)4jZYe16(gZsStGkHynp!dW@!$Rx{oYK4uNW&7T90@jGazJ;AGmq$cHCKfrS{S2x9Gg}Vp*$_DhOW{zNHB-XI zZUu(vjKSAbty_T2q)$pi)z_m6R`E64JH{%kgKVbgbx9ExhQZAw6Stiei`ouA%c6o@ z4QQ1aj4N5n$1g|5z(LRP2X8L}SZNi~yoQ(7o;PR&^(e18rSUNe|JdK6vv15|m7gYx z9$we$5V-qT1H8+427=)TVW%0Yo}KmdX4O-TDI}>a%E540O;>v?=6yAjj?eftB5( zH0edL8rPR98=QA7*w}6r8brC^U^hB@As*C7twP+z?BZBBzEqWJi zMUQS-H9?48mLMd0N$?Xjh_zN?^}2iW-aB*WeP`}H=fjyZXU-pRX3q1th|1sSW=9>m z9s>z_%iY25BKpvCjPZIEAM@gQ|HEZn?4YAy7|VqG4pl4&GSLunwfy-SKxOeA|5Q%G`)``Ynu&V{AYkEB2knKZS&K9RtvWPj$jok<+6w~ zyDKchEM8^=C&p6K-q6-*lI@*#9Ezdl2&5r>4rKfyhxlz*BNwwRT3f%Tn!0u9bmx&B zf*ywVlMHiuq1`Mc)@7My4VI>SE=%S*B+O#uJSPT$WGf$x4ol-by8C9KB;@?Iv9ngN3}01JPVnYnGtc)h z&P96LzIVfHDksb<~GHY0zf)T$Hm$j|Lp~FBR zGLNY{s2t=XQ8#)MqqAR;y7fFy(PB*9_(w-_xxdMsZr&m0N^cnS{t1BY^&suWHX+pCy<#Vofp@_S3V>zw2O=I6{Flr>m*jba_TN$!9qS-9_v8< zlU+dtLO)`V-_&QEG2zf^YYgGGa=n!M*!3m~O-1%6VD%6+?TGiV=mpl9yl=FkqGf3G~Z0s9^Ik3CAsKJUq`z5NKVTn&mQ}}^bsXF|Ms_+yhW)sfUG__wh2pE<=23k5*>__5>oqqDy}!gH zV!(hPxuvj@=%dwQbj(xtRF|sLv0XfQEp<6PjyAtOMTU`MMKNOzN$V@%C9e5yZeg^aQv2H0?C2kO1Jsr_v#zT|8b;v~mUUobt6 z!Abc;<1TzLHyhKJypmbj>t;t=EH`NFbcCEUXrftiaY<#g=Y}a>L0Kr{sah!hm2W4< zt=0oSKs?H9uvr$S>7G2q9#cUgni2 zZ;y#!t|PSyqO#AmHRrP{?-^o))QQ@yD`nu7bw2FEn}%>l;mU-I$Uq=uYrQ2FAR^+T ziNc4gkFTH9L^G}tH_r~tONl{HlKoz_%3h~OeMH9JMAH96-=*5X)Bf~-(RT(C66XIv z-*r5^1OG+6_vE@fWLcbvXXyk*u>|YhM8)&X7?NoO|KZ`HV0qgD`p^CL;DLnH|i^^(?ovq_B0>M1UI zTWZp0WY4v}u;KCO@9&1;gH(5@=?9%^75zSAnU5FDUkISi*41RB zx%*0y>G0eF=U?b-%8FS0Oe&l%;YON1q5Y`Su&<)4tIOU1m21D?yz`sstKiL?cyek0 z3e}}Kb4pO_hP(V;x-4XzEL4=;zC1q=M7fW{=WmT(5Z5`5`ZxXkMb607IracjyQ=2}sQV#t6K{lLi#ibM`O531V z{EU28U8R7HVns3U03~FArZh)}LNNH{JG9DsgIK?ZN)`0+A;Ztr@3i3#FfFq?GAzr@ zv3{oHz(Nkt?@Rq)7u8}5J{;LveU*I^pMCKquAz1RgAW3jWU?5eDD{ACwm_yY>Qv|_`UVj6?lfIq&X zcd-f49lB%gK}K_xS3c=4z=66C>qXq%IoSY1%BR8HqE9`W$N`M!Uu~-I^w^Nj`*D+R z0+_cA1dgpqZ%BNV@6oNvP%&o~&8E$xaL%)%jE3V}+WL7z zEJ>31J&Okp>?+r{^=Z0Zut_%hJ7eZ%p{}-_W47DWS|3MoLvF1_XzXAi~RJ+36$4ZIFQwqLn+uNlX1rV*{D*U1-fh+;oChCl02htT z)gWoVs!iriW{-br%XjPRAIDl*u>8x`&B^(;=*jQah7IP}+!A>a(IBt#xnEaov0zR2 zaI$W`)WO15N7yT{OLGE|{VTL6i?K2i0m7%pTqbggNTvo@m4+ELq$$h5@o{3-44jthE z%nFOP5bcHfnq#F(B7b+2r(PoRtmma}-$|<%Y(u5me&sH8i?aARsjnB;P#R(6j)4}c z^lVgA)4Z7L=3_Gw+MSM>LJfsZ3q#^H@?vG#bxPDfy z21|gBik_WE#=u(ml6F_vNh%H;I@=%$-D1(00fTk7yxVLEOklV>!2E(-e9B7#RXW_SosUYTPoJ5Z_51h5@%W% z{!i^anU}9*8)}+jYwH%@Wwu^K+Qs(w8*$czYGfd13p@nJ6I?3j?&^)Hz@vx9&Uka% zUCNXeRW^+#G(M30egFJXj-1t*`&Jirp?Z0J^}g`s{_>Ac2U;YYj;=_n>scL z765$;3`@JEE9%+Jp7pZIP26-US*bnq+MN7O0#c_JG>hFCk(V3*t?vdT4;oButdUoW zxZ!5w8FxAV(L>Tbm?-iW&rp(Af+q~W5+24d3^Q;8Mtca$g_pq_7BTbrK3E!;s*dy*3~=hU`i(aO(NwErJJ4d}QI+)Q)i5 z@rO|8xfoe`0}3fIn0n~-sr&7(cJfnHTbgoJRV?`aL#Tq_R&^E#h~zFYDZbvsAxD&{p+z>RDhKSM@U?` zzx$CePd0vnVXx4Zd+wW&ozRnolUw5r(J();G`n_GdH0@G5f{hx)ctpgodC8Kq~w<9 zPIPeG8H;tXnX36@Ct~-|gnqp8v*y!q`a%!&70%1#GG;H1DmLd0o%{uXY?U*mhJkl4 z*2#1-SWd>bG+uv1HR%8R_QqZYo{JUMJlzg|rd2=3vE&ddfZ+VnQ@#Z@n9id&goT-7 zo4M#aya?EPQPJ|-0p3f#np$+XiXp|anmAaot|o(Xd^4+t(W73QF$4K2O{fR^d5t06 z#PR*et#eAV$H_dpXUidBx_;Uv%5;r}lMof;PoI3nbJ7sM=~-SIx3y0lT`@1hD88_4 zP#xEP0b3651xn2w&b2|dIz7XOS`P9iYAr7Y;_#cUp+Qu>%4}yIE4Pee)c!nU{S`-V5ZjQqlkFk<~H=gK{-PBdxnl$psY;JUI_d~X{?>8 zeUQo{od{r>p)57|6>#q8p0J?=4}mT1AKCQH8=Q#}Vhxr{fccOQ4AZ;P3C10p>0t>W zq!M_l^J3155E(a$Om4qxXGy`=w&lTyFUFsY1O{Cr`xN)R*5a! zmv4p@_qc6s$Mm`KUXJe>Ug0SxkXc4pM}PH;swq@mT>CGhfaLzI!qdIX)DZ?Fphwks zc74}Zxok^JVZ$zQ;S!R>*)&a9F*<)R>+C_>C-O@Vt&OJI5q@3)P0UyN=xn)~VzxNM z?b_J{#c?h@#JqRP9Q-;|)6!!f6{b{b(Rjo9EGzx_+HoG01?vzJhz!; zQF&Ih6vvzv!I=zVxUSJX*x#%leg-?{!wo6X$#@3ZrYWgJ9eXVOb*`1F3fMuG^wjE0 z6LyMzyt*#pGsg-w(q|fgoiW^^u*sa0vt(o)0-=F8>7{liMu-!6N(i?baB7AG`0jPr zrUSNDT+P#83>Wb-B|`Y(Nw4|__i2QwAt@Ov$^Y-Y{CgMvceMUXF!jF{%zxkdznp9T ivqM7C8rAvNq4{qHHd8}#ihm8s{-*cedSd>s?!N%6CtKwJ literal 0 HcmV?d00001