diff --git a/specification/maps/data-plane/Common/preview/1.0/common.json b/specification/maps/data-plane/Common/preview/1.0/common.json index a50864ab973e..c860dab1333f 100644 --- a/specification/maps/data-plane/Common/preview/1.0/common.json +++ b/specification/maps/data-plane/Common/preview/1.0/common.json @@ -65,6 +65,7 @@ "created": { "description": "The created timestamp.", "type": "string", + "format": "date-time", "readOnly": true }, "error": { diff --git a/specification/maps/data-plane/Creator/preview/2.0/alias.json b/specification/maps/data-plane/Creator/preview/2.0/alias.json index 4240e14e8d08..5072e87c483b 100644 --- a/specification/maps/data-plane/Creator/preview/2.0/alias.json +++ b/specification/maps/data-plane/Creator/preview/2.0/alias.json @@ -243,6 +243,7 @@ "createdTimestamp": { "description": "The created timestamp for the alias.", "type": "string", + "format": "date-time", "readOnly": true }, "aliasId": { @@ -258,6 +259,7 @@ "lastUpdatedTimestamp": { "description": "The timestamp of the last time the alias was assigned.", "type": "string", + "format": "date-time", "readOnly": true } } @@ -304,6 +306,7 @@ "lastUpdatedTimestamp": { "description": "The timestamp of the last time the alias was assigned.", "type": "string", + "format": "date-time", "readOnly": true } } diff --git a/specification/maps/data-plane/Render/preview/2.0/render.json b/specification/maps/data-plane/Render/preview/2.0/render.json index 234fba73e523..80e8b03b3116 100644 --- a/specification/maps/data-plane/Render/preview/2.0/render.json +++ b/specification/maps/data-plane/Render/preview/2.0/render.json @@ -177,7 +177,8 @@ "name": "timeStamp", "in": "query", "description": "The desired date and time of the requested tile. This parameter must be specified in the standard date-time format (e.g. 2019-11-14T16:03:00-08:00), as defined by [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601). This parameter is only supported when tilesetId parameter is set to one of the values below.\n \n* microsoft.weather.infrared.main: We provide tiles up to 3 hours in the past. Tiles are available in 10-minute intervals. We round the timeStamp value to the nearest 10-minute time frame.\n* microsoft.weather.radar.main: We provide tiles up to 1.5 hours in the past and up to 2 hours in the future. Tiles are available in 5-minute intervals. We round the timeStamp value to the nearest 5-minute time frame.", - "type": "string" + "type": "string", + "format": "date-time" }, { "name": "tileSize", diff --git a/specification/maps/data-plane/Weather/preview/1.0/weather.json b/specification/maps/data-plane/Weather/preview/1.0/weather.json index 9e376ad9363f..6cbd62b09082 100644 --- a/specification/maps/data-plane/Weather/preview/1.0/weather.json +++ b/specification/maps/data-plane/Weather/preview/1.0/weather.json @@ -607,7 +607,8 @@ "properties": { "date": { "type": "string", - "description": "Date and time of the forecast in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." + "description": "Date and time of the forecast in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00.", + "format": "date-time" }, "iconCode": { "type": "integer", @@ -794,6 +795,7 @@ "properties": { "startTime": { "type": "string", + "format": "date-time", "description": "The date and time for the start of the interval in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "minute": { @@ -889,10 +891,11 @@ "properties": { "date": { "type": "string", - "description": "Date and time of the forecast in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." + "description": "Date of the forecast as example, 2019-10-27T00:00:00" }, "effectiveDate": { "type": "string", + "format": "date-time", "description": "Date and time of the beginning of the forecast quarter displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "quarter": { @@ -1137,6 +1140,7 @@ "properties": { "dateTime": { "type": "string", + "format": "date-time", "description": "Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "phrase": { @@ -1248,10 +1252,12 @@ "properties": { "startDate": { "type": "string", + "format": "date-time", "description": "Date and time that the summary is in effect, displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "endDate": { "type": "string", + "format": "date-time", "description": "Date and time that the summary period ends, displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "severity": { @@ -1315,6 +1321,7 @@ "properties": { "date": { "type": "string", + "format": "date-time", "description": "Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "temperature": { @@ -1771,10 +1778,12 @@ }, "startTime": { "type": "string", + "format": "date-time", "description": "The start date and time of the alert in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00. If the alert crosses multiple time zones the returned time in the response is the local time to the requested coordinate location." }, "endTime": { "type": "string", + "format": "date-time", "description": "The end date and time of the alert in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00. If the alert crosses multiple time zones the returned time in the response is the local time to the requested coordinate location." }, "latestStatus": { @@ -1885,6 +1894,7 @@ }, "dateTime": { "type": "string", + "format": "date-time", "description": "Date and time of the current observation displayed in ISO 8601 format, for example, 2019-10-27T19:39:57-08:00." }, "value": {