From cba4c34bf32b8d1d8d533f619c02cb8117c6e2a4 Mon Sep 17 00:00:00 2001 From: Osahumen Aghasomwan Date: Tue, 10 Oct 2023 12:09:13 -0700 Subject: [PATCH 1/2] Fixing mistake in the Routerevents add on to SDK --- .../stable/2018-01-01/AzureCommunicationServices.json | 2 +- .../cloud-events-schema/router_job_classification_failed.json | 2 +- .../examples/cloud-events-schema/router_job_classified.json | 2 +- .../examples/cloud-events-schema/router_job_queued.json | 4 ++-- .../examples/cloud-events-schema/router_job_received.json | 2 +- .../cloud-events-schema/router_job_scheduling_failed.json | 4 ++-- .../router_job_waiting_for_activation.json | 4 ++-- .../router_job_worker_selectors_expired.json | 4 ++-- .../event-grid-schema/router_job_classification_failed.json | 2 +- .../examples/event-grid-schema/router_job_classified.json | 2 +- .../examples/event-grid-schema/router_job_queued.json | 4 ++-- .../examples/event-grid-schema/router_job_received.json | 2 +- .../event-grid-schema/router_job_scheduling_failed.json | 4 ++-- .../event-grid-schema/router_job_waiting_for_activation.json | 4 ++-- .../router_job_worker_selectors_expired.json | 4 ++-- 15 files changed, 23 insertions(+), 23 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json index 60cf419dc41a..3b7b25db529b 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json @@ -1826,7 +1826,7 @@ "description": "Router Communication Error Target", "type": "string" }, - "innerError": { + "innererror": { "description": "Router Communication Inner Error", "$ref": "#/definitions/AcsRouterCommunicationError" }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classification_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classification_failed.json index fb3b6fd0d6df..e69e311abe25 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classification_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classification_failed.json @@ -8,7 +8,7 @@ "code": null, "message": "Classification failed due to ", "target": null, - "innerError": null, + "innererror": null, "details": null } ], diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json index 39bf9af18f8f..e6b6e2977875 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json @@ -33,7 +33,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:36" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json index 4a624031d800..0aeb465491d4 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:40" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:39" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json index 51a1b4a162de..923a8d239a7a 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json @@ -25,7 +25,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:36" } ], "scheduledOn": "3/28/2007 7:13:50 PM +00:00", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json index d19c5e46d2cd..ea34ded02ce9 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:36" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json index eb225a92aebc..0541f7b403dc 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:45" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:32" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json index 23be55969e5f..51dd129e3f21 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json @@ -22,7 +22,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "attachedWorkerSelectorsExpired": [ @@ -30,7 +30,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:35" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classification_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classification_failed.json index ad361b31ca0a..b214f4b4b396 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classification_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classification_failed.json @@ -8,7 +8,7 @@ "code": null, "message": "Classification failed due to ", "target": null, - "innerError": null, + "innererror": null, "details": null } ], diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json index 44466184eb22..6512e32d7737 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json @@ -33,7 +33,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:36" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json index 76462d18085d..71aa8b87c8d0 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:35" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json index 20da712b08b5..96a7bedd88b2 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json @@ -25,7 +25,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:36" } ], "scheduledOn": "3/28/2007 7:13:50 PM +00:00", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json index f6e4e6d0d206..b7941cc116f0 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:35" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:40" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json index d26020ea45f3..1acb2cea55b6 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json index 8b716e5d75d4..7ee0969ada8d 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json @@ -22,7 +22,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ], "expiredAttachedWorkerSelectors": [ @@ -30,7 +30,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "P3Y6M4DT12H30M5S" + "ttl": "00:00:30" } ] }, From 5b9ed9fbff76b95820ca5b6fbbbaefa6b3eb0b60 Mon Sep 17 00:00:00 2001 From: Osahumen Aghasomwan Date: Tue, 10 Oct 2023 15:16:42 -0700 Subject: [PATCH 2/2] changing ttl to ttlseconds --- .../stable/2018-01-01/AzureCommunicationServices.json | 7 +++---- .../cloud-events-schema/router_job_classified.json | 2 +- .../examples/cloud-events-schema/router_job_queued.json | 4 ++-- .../examples/cloud-events-schema/router_job_received.json | 2 +- .../cloud-events-schema/router_job_scheduling_failed.json | 4 ++-- .../router_job_waiting_for_activation.json | 4 ++-- .../router_job_worker_selectors_expired.json | 4 ++-- .../examples/event-grid-schema/router_job_classified.json | 2 +- .../examples/event-grid-schema/router_job_queued.json | 4 ++-- .../examples/event-grid-schema/router_job_received.json | 2 +- .../event-grid-schema/router_job_scheduling_failed.json | 4 ++-- .../router_job_waiting_for_activation.json | 4 ++-- .../router_job_worker_selectors_expired.json | 4 ++-- 13 files changed, 23 insertions(+), 24 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json index 3b7b25db529b..88da331c7565 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json @@ -1893,10 +1893,9 @@ "description": "Router Job Worker Selector Value", "type": "object" }, - "ttl": { - "description": "Router Job Worker Selector TTL", - "type": "number", - "x-ms-client-name": "timeToLive" + "ttlSeconds": { + "description": "Router Job Worker Selector Time to Live in Seconds", + "type": "number" }, "state": { "description": "Router Job Worker Selector State", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json index e6b6e2977875..6eefe7a54e91 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_classified.json @@ -33,7 +33,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:36" + "ttlSeconds": "36" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json index 0aeb465491d4..87b81eefa4e7 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_queued.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:40" + "ttl": "40" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:39" + "ttlSeconds": "39" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json index 923a8d239a7a..d4acf8b56363 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_received.json @@ -25,7 +25,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:36" + "ttlSeconds": "36" } ], "scheduledOn": "3/28/2007 7:13:50 PM +00:00", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json index ea34ded02ce9..f66a18157fe9 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_scheduling_failed.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:36" + "ttlSeconds": "36" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json index 0541f7b403dc..3c678bef71a0 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_waiting_for_activation.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:45" + "ttlSeconds": "45" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:32" + "ttlSeconds": "32" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json index 51dd129e3f21..0a16a67995cd 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/router_job_worker_selectors_expired.json @@ -22,7 +22,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "attachedWorkerSelectorsExpired": [ @@ -30,7 +30,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:35" + "ttlSeconds": "35" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json index 6512e32d7737..602bc037a79c 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_classified.json @@ -33,7 +33,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:36" + "ttlSeconds": "36" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json index 71aa8b87c8d0..2de01067a815 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_queued.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:35" + "ttlSeconds": "35" } ] }, diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json index 96a7bedd88b2..46c4e7167ff0 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_received.json @@ -25,7 +25,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:36" + "ttlSeconds": "36" } ], "scheduledOn": "3/28/2007 7:13:50 PM +00:00", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json index b7941cc116f0..a90d1fc9bf8a 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_scheduling_failed.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:35" + "ttlSeconds": "35" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:40" + "ttlSeconds": "40" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json index 1acb2cea55b6..a7e43549fd4f 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_waiting_for_activation.json @@ -23,7 +23,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "attachedWorkerSelectors": [ @@ -31,7 +31,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "scheduledOn": "2022-02-17T00:55:25.1736293Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json index 7ee0969ada8d..c559a8888fda 100644 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/router_job_worker_selectors_expired.json @@ -22,7 +22,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ], "expiredAttachedWorkerSelectors": [ @@ -30,7 +30,7 @@ "key": "string", "labelOperator": "equal", "value": 5, - "ttl": "00:00:30" + "ttlSeconds": "30" } ] },