diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Cache/RedisCache.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Cache/RedisCache.tsp index d797c05a7602..1c03f354b6a9 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Cache/RedisCache.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Cache/RedisCache.tsp @@ -1,7 +1,10 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Redis Cache events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { alias RedisBaseEventData = { /** The time at which the event occurred. */ + @madeRequired(ServiceApiVersions.v2024_01_01) timestamp: utcDateTime; /** The name of this event. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp index c0ead6f22d20..ba76f9403764 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; - using TypeSpec.Versioning; - /** Describes the schema of the Azure Communication Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -55,6 +53,7 @@ model AcsChatMessageEditedEventData extends AcsChatMessageEventBaseProperties { ...AcsChatMessageBaseEventData; /** The time at which the message was edited */ + @madeRequired(ServiceApiVersions.v2024_01_01) editTime: utcDateTime; } @@ -65,6 +64,7 @@ model AcsChatMessageEditedInThreadEventData ...AcsChatMessageBaseEventData; /** The time at which the message was edited */ + @madeRequired(ServiceApiVersions.v2024_01_01) editTime: utcDateTime; } @@ -72,6 +72,7 @@ model AcsChatMessageEditedInThreadEventData #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Maintain compatibility with existing models." model AcsChatMessageDeletedEventData extends AcsChatMessageEventBaseProperties { /** The time at which the message was deleted */ + @madeRequired(ServiceApiVersions.v2024_01_01) deleteTime: utcDateTime; } @@ -80,6 +81,7 @@ model AcsChatMessageDeletedEventData extends AcsChatMessageEventBaseProperties { model AcsChatMessageDeletedInThreadEventData extends AcsChatMessageEventInThreadBaseProperties { /** The time at which the message was deleted */ + @madeRequired(ServiceApiVersions.v2024_01_01) deleteTime: utcDateTime; } @@ -119,6 +121,7 @@ model AcsChatThreadPropertiesUpdatedPerUserEventData editedByCommunicationIdentifier: CommunicationIdentifierModel; /** The time at which the properties of the thread were updated */ + @madeRequired(ServiceApiVersions.v2024_01_01) editTime: utcDateTime; /** The thread metadata */ @@ -148,6 +151,7 @@ model AcsChatParticipantAddedToThreadWithUserEventData model AcsChatParticipantRemovedFromThreadWithUserEventData extends AcsChatThreadEventBaseProperties { /** The time at which the user was removed to the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) time: utcDateTime; /** The communication identifier of the user who removed the user */ @@ -172,6 +176,7 @@ model AcsChatParticipantAddedToThreadEventData model AcsChatParticipantRemovedFromThreadEventData extends AcsChatEventInThreadBaseProperties { /** The time at which the user was removed to the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) time: utcDateTime; /** The communication identifier of the user who removed the user */ @@ -197,6 +202,7 @@ model AcsSmsDeliveryReportReceivedEventData extends AcsSmsEventBaseProperties { deliveryAttempts: AcsSmsDeliveryAttemptProperties[]; /** The time at which the SMS delivery report was received */ + @madeRequired(ServiceApiVersions.v2024_01_01) receivedTimestamp: utcDateTime; /** Customer Content */ @@ -210,6 +216,7 @@ model AcsSmsReceivedEventData extends AcsSmsEventBaseProperties { message?: string; /** The time at which the SMS was received */ + @madeRequired(ServiceApiVersions.v2024_01_01) receivedTimestamp: utcDateTime; } @@ -220,6 +227,7 @@ model AcsRecordingFileStatusUpdatedEventData { recordingStorageInfo: AcsRecordingStorageInfoProperties; /** The time at which the recording started */ + @madeRequired(ServiceApiVersions.v2024_01_01) recordingStartTime: utcDateTime; /** The recording duration in milliseconds */ @@ -260,6 +268,7 @@ model AcsEmailDeliveryReportReceivedEventData { deliveryStatusDetails: AcsEmailDeliveryReportStatusDetails; /** The time at which the email delivery report received timestamp */ + @madeRequired(ServiceApiVersions.v2024_01_01) deliveryAttemptTimestamp: utcDateTime; } @@ -275,6 +284,7 @@ model AcsEmailEngagementTrackingReportReceivedEventData { messageId?: string; /** The time at which the user interacted with the email */ + @madeRequired(ServiceApiVersions.v2024_01_01) userActionTimestamp: utcDateTime; /** The context of the type of engagement user had with email */ @@ -391,6 +401,7 @@ model AcsRouterJobReceivedEventData extends AcsRouterJobEventData { requestedWorkerSelectors: AcsRouterWorkerSelector[]; /** Router Job Received Scheduled Time in UTC */ + @madeRequired(ServiceApiVersions.v2024_01_01) scheduledOn: utcDateTime; /** Unavailable For Matching for Router Job Received */ @@ -452,6 +463,7 @@ model AcsRouterJobSchedulingFailedEventData extends AcsRouterJobEventData { /** Router Job Scheduling Failed Scheduled Time in UTC */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) scheduledOn: utcDateTime; /** Router Job Scheduling Failed Reason */ @@ -482,6 +494,7 @@ model AcsRouterJobWaitingForActivationEventData extends AcsRouterJobEventData { /** Router Job Waiting For Activation Scheduled Time in UTC */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) scheduledOn: utcDateTime; /** Router Job Waiting For Activation Unavailable For Matching */ @@ -574,10 +587,12 @@ model AcsRouterWorkerOfferIssuedEventData extends AcsRouterWorkerEventData { /** Router Worker Offer Issued Time in UTC */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) offeredOn: utcDateTime; /** Router Worker Offer Issued Expiration Time in UTC */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) expiresOn: utcDateTime; /** Router Worker Offer Issued Worker Tags */ @@ -717,6 +732,7 @@ model AcsRouterWorkerSelector { state: AcsRouterWorkerSelectorState; /** Router Job Worker Selector Expiration Time */ + @madeRequired(ServiceApiVersions.v2024_01_01) expirationTime: utcDateTime; } @@ -748,6 +764,7 @@ alias AcsChatThreadDeletedBaseEventData = { deletedByCommunicationIdentifier: CommunicationIdentifierModel; /** The deletion time of the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) deleteTime: utcDateTime; }; @@ -756,6 +773,7 @@ alias AcsChatThreadPropertiesBaseEventData = { editedByCommunicationIdentifier: CommunicationIdentifierModel; /** The time at which the properties of the thread were updated */ + @madeRequired(ServiceApiVersions.v2024_01_01) editTime: utcDateTime; /** The updated thread properties */ @@ -768,6 +786,7 @@ alias AcsChatThreadPropertiesBaseEventData = { alias AcsChatParticipantBaseEventData = { /** The time at which the user was added to the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) time: utcDateTime; /** The communication identifier of the user who added the user */ @@ -880,6 +899,7 @@ model AcsEmailDeliveryReportStatusDetails { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Maintain compatibility with existing models." model AcsChatThreadEventBaseProperties extends AcsChatEventBaseProperties { /** The original creation time of the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) createTime: utcDateTime; /** The version of the thread */ @@ -891,6 +911,7 @@ model AcsChatThreadEventBaseProperties extends AcsChatEventBaseProperties { model AcsChatThreadEventInThreadBaseProperties extends AcsChatEventInThreadBaseProperties { /** The original creation time of the thread */ + @madeRequired(ServiceApiVersions.v2024_01_01) createTime: utcDateTime; /** The version of the thread */ @@ -910,6 +931,7 @@ model AcsChatMessageEventBaseProperties extends AcsChatEventBaseProperties { senderDisplayName?: string; /** The original compose time of the message */ + @madeRequired(ServiceApiVersions.v2024_01_01) composeTime: utcDateTime; /** The type of the message */ @@ -933,6 +955,7 @@ model AcsChatMessageEventInThreadBaseProperties senderDisplayName?: string; /** The original compose time of the message */ + @madeRequired(ServiceApiVersions.v2024_01_01) composeTime: utcDateTime; /** The type of the message */ @@ -986,6 +1009,7 @@ model AcsSmsEventBaseProperties { /** Schema for details of a delivery attempt */ model AcsSmsDeliveryAttemptProperties { /** TimeStamp when delivery was attempted */ + @madeRequired(ServiceApiVersions.v2024_01_01) timestamp: utcDateTime; /** Number of segments that were successfully delivered */ @@ -1253,6 +1277,7 @@ model AcsMessageEventData { to?: string; /** The time message was received */ + @madeRequired(ServiceApiVersions.v2024_01_01) receivedTimeStamp: utcDateTime; /** The channel event error */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ContainerRegistry/ContainerRegistry.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ContainerRegistry/ContainerRegistry.tsp index 726089a7278c..5f71f3c4d0fb 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ContainerRegistry/ContainerRegistry.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ContainerRegistry/ContainerRegistry.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Azure Container Registry events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -26,6 +28,7 @@ alias ContainerRegistryBaseEventData = { id?: string; /** The time at which the event occurred. */ + @madeRequired(ServiceApiVersions.v2024_01_01) timestamp: utcDateTime; /** The action that encompasses the provided event. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp index 0651292894cf..649bf0c72dcc 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; - using TypeSpec.Versioning; - /** EG DataBox Data Model */ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event. */ @@ -28,6 +26,7 @@ namespace Microsoft.EventGrid.SystemEvents { stageName: DataBoxStageName; /** The time at which the stage happened. */ + @madeRequired(ServiceApiVersions.v2024_01_01) stageTime: utcDateTime; }; diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp index b94717379e5f..64142194e7c4 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; - using TypeSpec.Versioning; - /** Describes the schema of the Azure EventGrid events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -98,6 +96,7 @@ model EventGridMQTTClientCreatedOrUpdatedEventData /** Time the client resource is created based on the provider's UTC time. */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) createdOn: utcDateTime; /** @@ -105,6 +104,7 @@ Time the client resource is last updated based on the provider's UTC time. If the client resource was never updated, this value is identical to the value of the 'createdOn' property. */ + @madeRequired(ServiceApiVersions.v2024_01_01) updatedOn: utcDateTime; /** The key-value attributes that are assigned to the client resource. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventHub/EventHub.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventHub/EventHub.tsp index 1f903d9d64ad..38cf0a1e404a 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventHub/EventHub.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventHub/EventHub.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Azure EventHub events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -25,8 +27,10 @@ model EventHubCaptureFileCreatedEventData { lastSequenceNumber?: int32; /** The first time from the queue. */ + @madeRequired(ServiceApiVersions.v2024_01_01) firstEnqueueTime: utcDateTime; /** The last time from the queue. */ + @madeRequired(ServiceApiVersions.v2024_01_01) lastEnqueueTime: utcDateTime; } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.MachineLearningServices/MachineLearningServices.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.MachineLearningServices/MachineLearningServices.tsp index 7287fceca6e6..41b17e6b9ded 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.MachineLearningServices/MachineLearningServices.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.MachineLearningServices/MachineLearningServices.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Azure Machine Learning Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -82,9 +84,11 @@ model MachineLearningServicesDatasetDriftDetectedEventData { driftCoefficient?: float64; /** The start time of the target dataset time series that resulted in drift detection. */ + @madeRequired(ServiceApiVersions.v2024_01_01) startTime: utcDateTime; /** The end time of the target dataset time series that resulted in drift detection. */ + @madeRequired(ServiceApiVersions.v2024_01_01) endTime: utcDateTime; } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.PolicyInsights/PolicyInsights.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.PolicyInsights/PolicyInsights.tsp index 4f1aeb38de12..ba9e9e526b03 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.PolicyInsights/PolicyInsights.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.PolicyInsights/PolicyInsights.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Azure Policy events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateCreated event. */ @@ -17,6 +19,7 @@ namespace Microsoft.EventGrid.SystemEvents { alias PolicyInsightsBaseEventData = { /** The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ. */ + @madeRequired(ServiceApiVersions.v2024_01_01) timestamp: utcDateTime; /** The resource ID of the policy assignment. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ResourceNotifications/ResourceNotifications.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ResourceNotifications/ResourceNotifications.tsp index d43977b7fa8c..d92988211988 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ResourceNotifications/ResourceNotifications.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.ResourceNotifications/ResourceNotifications.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Health Resources events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. @@ -54,6 +56,7 @@ model ResourceNotificationsResourceUpdatedDetails { model ResourceNotificationsOperationalDetails { /** Date and Time when resource was updated */ // FIXME: (utcDateTime) Please double check that this is the correct type for your scenario. + @madeRequired(ServiceApiVersions.v2024_01_01) resourceEventTime: utcDateTime; } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.SignalRService/SignalRService.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.SignalRService/SignalRService.tsp index 7eec1b99c30e..332188465cc4 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.SignalRService/SignalRService.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.SignalRService/SignalRService.tsp @@ -1,3 +1,5 @@ +import "@typespec/versioning"; +using TypeSpec.Versioning; /** Describes the schema of the Azure SignalR Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ #suppress "@azure-tools/typespec-azure-core/casing-style" "Modeling after service swagger." namespace Microsoft.EventGrid.SystemEvents { @@ -18,6 +20,7 @@ namespace Microsoft.EventGrid.SystemEvents { alias SignalRServiceBaseEventdata = { /** The time at which the event occurred. */ + @madeRequired(ServiceApiVersions.v2024_01_01) timestamp: utcDateTime; /** The hub of connected client connection. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp index d400fe8bacc2..43c5e972dda3 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp @@ -1,7 +1,5 @@ import "@typespec/versioning"; - using TypeSpec.Versioning; - /** Describes the schema of the Azure Storage events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobCreated event. */ @@ -245,6 +243,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event. */ model StorageBlobInventoryPolicyCompletedEventData { /** The time at which inventory policy was scheduled. */ + @madeRequired(ServiceApiVersions.v2024_01_01) scheduleDateTime: utcDateTime; /** The account name for which inventory policy is registered. */ @@ -273,6 +272,7 @@ namespace Microsoft.EventGrid.SystemEvents { status: StorageTaskCompletedStatus; /** The time at which a storage task was completed. */ + @madeRequired(ServiceApiVersions.v2024_01_01) completedDateTime: utcDateTime; /** The execution id for a storage task. */ @@ -288,6 +288,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskQueued event. */ model StorageTaskQueuedEventData { /** The time at which a storage task was queued. */ + @madeRequired(ServiceApiVersions.v2024_01_01) queuedDateTime: utcDateTime; /** The execution id for a storage task. */ @@ -298,6 +299,7 @@ namespace Microsoft.EventGrid.SystemEvents { model StorageTaskAssignmentQueuedEventData { /** The time at which a storage task was queued. */ // @encode("ISO8601") + @madeRequired(ServiceApiVersions.v2024_01_01) queuedDateTime: utcDateTime; /** The execution id for a storage task. */ @@ -312,6 +314,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** The time at which a storage task was completed. */ // @encode("ISO8601") + @madeRequired(ServiceApiVersions.v2024_01_01) completedDateTime: utcDateTime; /** The execution id for a storage task. */ diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json index 762b31e2614f..ad15d675970b 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json @@ -67,9 +67,6 @@ "description": "The time at which the message was deleted" } }, - "required": [ - "deleteTime" - ], "allOf": [ { "$ref": "#/definitions/AcsChatMessageEventBaseProperties" @@ -86,9 +83,6 @@ "description": "The time at which the message was deleted" } }, - "required": [ - "deleteTime" - ], "allOf": [ { "$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties" @@ -117,8 +111,7 @@ } }, "required": [ - "metadata", - "editTime" + "metadata" ], "allOf": [ { @@ -148,8 +141,7 @@ } }, "required": [ - "metadata", - "editTime" + "metadata" ], "allOf": [ { @@ -189,8 +181,7 @@ } }, "required": [ - "senderCommunicationIdentifier", - "composeTime" + "senderCommunicationIdentifier" ], "allOf": [ { @@ -230,8 +221,7 @@ } }, "required": [ - "senderCommunicationIdentifier", - "composeTime" + "senderCommunicationIdentifier" ], "allOf": [ { @@ -313,7 +303,6 @@ } }, "required": [ - "time", "addedByCommunicationIdentifier", "participantAdded" ], @@ -342,7 +331,6 @@ } }, "required": [ - "time", "addedByCommunicationIdentifier", "participantAdded" ], @@ -376,7 +364,6 @@ } }, "required": [ - "time", "removedByCommunicationIdentifier", "participantRemoved" ], @@ -405,7 +392,6 @@ } }, "required": [ - "time", "removedByCommunicationIdentifier", "participantRemoved" ], @@ -512,8 +498,7 @@ } }, "required": [ - "deletedByCommunicationIdentifier", - "deleteTime" + "deletedByCommunicationIdentifier" ], "allOf": [ { @@ -536,9 +521,6 @@ "description": "The version of the thread" } }, - "required": [ - "createTime" - ], "allOf": [ { "$ref": "#/definitions/AcsChatEventBaseProperties" @@ -560,9 +542,6 @@ "description": "The version of the thread" } }, - "required": [ - "createTime" - ], "allOf": [ { "$ref": "#/definitions/AcsChatEventInThreadBaseProperties" @@ -622,7 +601,6 @@ }, "required": [ "editedByCommunicationIdentifier", - "editTime", "properties", "metadata" ], @@ -660,7 +638,6 @@ }, "required": [ "editedByCommunicationIdentifier", - "editTime", "metadata", "properties" ], @@ -685,8 +662,7 @@ } }, "required": [ - "deletedByCommunicationIdentifier", - "deleteTime" + "deletedByCommunicationIdentifier" ], "allOf": [ { @@ -725,8 +701,7 @@ } }, "required": [ - "deliveryStatusDetails", - "deliveryAttemptTimestamp" + "deliveryStatusDetails" ] }, "AcsEmailDeliveryReportStatus": { @@ -821,10 +796,7 @@ "description": "The type of engagement user have with email", "x-ms-client-name": "engagement" } - }, - "required": [ - "userActionTimestamp" - ] + } }, "AcsIncomingCallCustomContext": { "type": "object", @@ -1077,7 +1049,6 @@ } }, "required": [ - "receivedTimeStamp", "error" ] }, @@ -1273,8 +1244,7 @@ } }, "required": [ - "recordingStorageInfo", - "recordingStartTime" + "recordingStorageInfo" ] }, "AcsRecordingStorageInfoProperties": { @@ -1623,7 +1593,6 @@ }, "required": [ "requestedWorkerSelectors", - "scheduledOn", "unavailableForMatching" ], "allOf": [ @@ -1669,8 +1638,7 @@ }, "required": [ "expiredAttachedWorkerSelectors", - "expiredRequestedWorkerSelectors", - "scheduledOn" + "expiredRequestedWorkerSelectors" ], "allOf": [ { @@ -1819,7 +1787,6 @@ "required": [ "expiredAttachedWorkerSelectors", "expiredRequestedWorkerSelectors", - "scheduledOn", "unavailableForMatching" ], "allOf": [ @@ -2171,8 +2138,6 @@ }, "required": [ "workerLabels", - "offeredOn", - "expiresOn", "workerTags", "jobLabels", "jobTags" @@ -2285,8 +2250,7 @@ }, "required": [ "value", - "ttlSeconds", - "expirationTime" + "ttlSeconds" ] }, "AcsRouterWorkerSelectorState": { @@ -2390,10 +2354,7 @@ "format": "int32", "description": "Number of segments whose delivery failed" } - }, - "required": [ - "timestamp" - ] + } }, "AcsSmsDeliveryReportReceivedEventData": { "type": "object", @@ -2426,8 +2387,7 @@ } }, "required": [ - "deliveryAttempts", - "receivedTimestamp" + "deliveryAttempts" ], "allOf": [ { @@ -2467,9 +2427,6 @@ "description": "The time at which the SMS was received" } }, - "required": [ - "receivedTimestamp" - ], "allOf": [ { "$ref": "#/definitions/AcsSmsEventBaseProperties" @@ -3379,7 +3336,6 @@ } }, "required": [ - "timestamp", "target", "connectedRegistry" ] @@ -3500,7 +3456,6 @@ } }, "required": [ - "timestamp", "target", "request", "actor", @@ -3706,10 +3661,7 @@ "format": "date-time", "description": "The time at which the stage happened." } - }, - "required": [ - "stageTime" - ] + } }, "DataBoxCopyStartedEventData": { "type": "object", @@ -3728,10 +3680,7 @@ "format": "date-time", "description": "The time at which the stage happened." } - }, - "required": [ - "stageTime" - ] + } }, "DataBoxOrderCompletedEventData": { "type": "object", @@ -3750,10 +3699,7 @@ "format": "date-time", "description": "The time at which the stage happened." } - }, - "required": [ - "stageTime" - ] + } }, "DataBoxStageName": { "type": "string", @@ -4017,8 +3963,6 @@ } }, "required": [ - "createdOn", - "updatedOn", "attributes" ], "allOf": [ @@ -4247,11 +4191,7 @@ "format": "date-time", "description": "The last time from the queue." } - }, - "required": [ - "firstEnqueueTime", - "lastEnqueueTime" - ] + } }, "HealthcareDicomImageCreatedEventData": { "type": "object", @@ -5849,11 +5789,7 @@ "format": "date-time", "description": "The end time of the target dataset time series that resulted in drift detection." } - }, - "required": [ - "startTime", - "endTime" - ] + } }, "MachineLearningServicesModelDeployedEventData": { "type": "object", @@ -7017,10 +6953,7 @@ "type": "string", "description": "The compliance reason code. May be empty." } - }, - "required": [ - "timestamp" - ] + } }, "PolicyInsightsPolicyStateCreatedEventData": { "type": "object", @@ -7055,10 +6988,7 @@ "type": "string", "description": "The compliance reason code. May be empty." } - }, - "required": [ - "timestamp" - ] + } }, "PolicyInsightsPolicyStateDeletedEventData": { "type": "object", @@ -7093,10 +7023,7 @@ "type": "string", "description": "The compliance reason code. May be empty." } - }, - "required": [ - "timestamp" - ] + } }, "RedisExportRDBCompletedEventData": { "type": "object", @@ -7115,10 +7042,7 @@ "type": "string", "description": "The status of this event. Failed or succeeded" } - }, - "required": [ - "timestamp" - ] + } }, "RedisImportRDBCompletedEventData": { "type": "object", @@ -7137,10 +7061,7 @@ "type": "string", "description": "The status of this event. Failed or succeeded" } - }, - "required": [ - "timestamp" - ] + } }, "RedisPatchingCompletedEventData": { "type": "object", @@ -7159,10 +7080,7 @@ "type": "string", "description": "The status of this event. Failed or succeeded" } - }, - "required": [ - "timestamp" - ] + } }, "RedisScalingCompletedEventData": { "type": "object", @@ -7181,10 +7099,7 @@ "type": "string", "description": "The status of this event. Failed or succeeded" } - }, - "required": [ - "timestamp" - ] + } }, "ResourceActionCancelEventData": { "type": "object", @@ -7607,10 +7522,7 @@ "format": "date-time", "description": "Date and Time when resource was updated" } - }, - "required": [ - "resourceEventTime" - ] + } }, "ResourceNotificationsResourceDeletedDetails": { "type": "object", @@ -8045,10 +7957,7 @@ "type": "string", "description": "The user Id of connected client connection." } - }, - "required": [ - "timestamp" - ] + } }, "SignalRServiceClientConnectionDisconnectedEventData": { "type": "object", @@ -8075,10 +7984,7 @@ "type": "string", "description": "The message of error that cause the client connection disconnected." } - }, - "required": [ - "timestamp" - ] + } }, "StampKind": { "type": "string", @@ -8300,10 +8206,7 @@ "type": "string", "description": "The blob URL for manifest file for inventory run." } - }, - "required": [ - "scheduleDateTime" - ] + } }, "StorageBlobRenamedEventData": { "type": "object", @@ -8601,7 +8504,6 @@ } }, "required": [ - "completedDateTime", "summaryReportBlobUrl" ] }, @@ -8643,10 +8545,7 @@ "type": "string", "description": "The execution id for a storage task." } - }, - "required": [ - "queuedDateTime" - ] + } }, "StorageTaskCompletedEventData": { "type": "object", @@ -8676,7 +8575,6 @@ } }, "required": [ - "completedDateTime", "summaryReportBlobUrl" ] }, @@ -8717,10 +8615,7 @@ "type": "string", "description": "The execution id for a storage task." } - }, - "required": [ - "queuedDateTime" - ] + } }, "SubscriptionDeletedEventData": { "type": "object",