|
7 | 7 | }, |
8 | 8 | "paths": {}, |
9 | 9 | "definitions": { |
10 | | - "ACSChatMessageReceivedEventData": { |
| 10 | + "AcsChatMessageReceivedEventData": { |
11 | 11 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageReceived event.", |
12 | 12 | "allOf": [ |
13 | 13 | { |
14 | | - "$ref": "#/definitions/ACSChatMessageEventBaseProperties" |
| 14 | + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" |
15 | 15 | } |
16 | 16 | ], |
17 | 17 | "properties": { |
|
21 | 21 | } |
22 | 22 | } |
23 | 23 | }, |
24 | | - "ACSChatMessageEditedEventData": { |
| 24 | + "AcsChatMessageEditedEventData": { |
25 | 25 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageEdited event.", |
26 | 26 | "allOf": [ |
27 | 27 | { |
28 | | - "$ref": "#/definitions/ACSChatMessageEventBaseProperties" |
| 28 | + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" |
29 | 29 | } |
30 | 30 | ], |
31 | 31 | "properties": { |
|
40 | 40 | } |
41 | 41 | } |
42 | 42 | }, |
43 | | - "ACSChatMessageDeletedEventData": { |
| 43 | + "AcsChatMessageDeletedEventData": { |
44 | 44 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMessageDeleted event.", |
45 | 45 | "allOf": [ |
46 | 46 | { |
47 | | - "$ref": "#/definitions/ACSChatMessageEventBaseProperties" |
| 47 | + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" |
48 | 48 | } |
49 | 49 | ], |
50 | 50 | "properties": { |
|
55 | 55 | } |
56 | 56 | } |
57 | 57 | }, |
58 | | - "ACSChatThreadCreatedWithUserEventData": { |
| 58 | + "AcsChatThreadCreatedWithUserEventData": { |
59 | 59 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadCreatedWithUser event.", |
60 | 60 | "allOf": [ |
61 | 61 | { |
62 | | - "$ref": "#/definitions/ACSChatThreadEventBaseProperties" |
| 62 | + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" |
63 | 63 | } |
64 | 64 | ], |
65 | 65 | "properties": { |
66 | | - "createdBy": { |
67 | | - "description": "The MRI of the creator of the thread", |
68 | | - "type": "string" |
| 66 | + "createdByCommunicationIdentifier": { |
| 67 | + "description": "The communication identifier of the user who created the thread", |
| 68 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
69 | 69 | }, |
70 | 70 | "properties": { |
71 | 71 | "description": "The thread properties", |
|
74 | 74 | "type": "object" |
75 | 75 | } |
76 | 76 | }, |
77 | | - "members": { |
78 | | - "description": "The list of properties of users who are part of the thread", |
| 77 | + "participants": { |
| 78 | + "description": "The list of properties of participants who are part of the thread", |
79 | 79 | "type": "array", |
80 | 80 | "items": { |
81 | | - "$ref": "#/definitions/ACSChatThreadMemberProperties" |
| 81 | + "$ref": "#/definitions/AcsChatThreadParticipantProperties" |
82 | 82 | } |
83 | 83 | } |
84 | 84 | } |
85 | 85 | }, |
86 | | - "ACSChatThreadWithUserDeletedEventData": { |
| 86 | + "AcsChatThreadWithUserDeletedEventData": { |
87 | 87 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadWithUserDeleted event.", |
88 | 88 | "allOf": [ |
89 | 89 | { |
90 | | - "$ref": "#/definitions/ACSChatThreadEventBaseProperties" |
| 90 | + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" |
91 | 91 | } |
92 | 92 | ], |
93 | 93 | "properties": { |
94 | | - "deletedBy": { |
95 | | - "description": "The MRI of the user who deleted the thread", |
96 | | - "type": "string" |
| 94 | + "deletedByCommunicationIdentifier": { |
| 95 | + "description": "The communication identifier of the user who deleted the thread", |
| 96 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
97 | 97 | }, |
98 | 98 | "deleteTime": { |
99 | 99 | "description": "The deletion time of the thread", |
|
102 | 102 | } |
103 | 103 | } |
104 | 104 | }, |
105 | | - "ACSChatThreadPropertiesUpdatedPerUserEventData": { |
| 105 | + "AcsChatThreadPropertiesUpdatedPerUserEventData": { |
106 | 106 | "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.", |
107 | 107 | "allOf": [ |
108 | 108 | { |
109 | | - "$ref": "#/definitions/ACSChatThreadEventBaseProperties" |
| 109 | + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" |
110 | 110 | } |
111 | 111 | ], |
112 | 112 | "properties": { |
113 | | - "editedBy": { |
114 | | - "description": "The MRI of the user who updated the thread properties", |
115 | | - "type": "string" |
| 113 | + "editedByCommunicationIdentifier": { |
| 114 | + "description": "The communication identifier of the user who updated the thread properties", |
| 115 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
116 | 116 | }, |
117 | 117 | "editTime": { |
118 | 118 | "description": "The time at which the properties of the thread were updated", |
|
128 | 128 | } |
129 | 129 | } |
130 | 130 | }, |
131 | | - "ACSChatMemberAddedToThreadWithUserEventData": { |
132 | | - "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberAddedToThreadWithUser event.", |
| 131 | + "AcsChatParticipantAddedToThreadWithUserEventData": { |
| 132 | + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantAddedToThreadWithUser event.", |
133 | 133 | "allOf": [ |
134 | 134 | { |
135 | | - "$ref": "#/definitions/ACSChatThreadEventBaseProperties" |
| 135 | + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" |
136 | 136 | } |
137 | 137 | ], |
138 | 138 | "properties": { |
|
141 | 141 | "format": "date-time", |
142 | 142 | "type": "string" |
143 | 143 | }, |
144 | | - "addedBy": { |
145 | | - "description": "The MRI of the user who added the user", |
146 | | - "type": "string" |
| 144 | + "addedByCommunicationIdentifier": { |
| 145 | + "description": "The communication identifier of the user who added the user", |
| 146 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
147 | 147 | }, |
148 | | - "memberAdded": { |
| 148 | + "participantAdded": { |
149 | 149 | "description": "The details of the user who was added", |
150 | | - "$ref": "#/definitions/ACSChatThreadMemberProperties" |
| 150 | + "$ref": "#/definitions/AcsChatThreadParticipantProperties" |
151 | 151 | } |
152 | 152 | } |
153 | 153 | }, |
154 | | - "ACSChatMemberRemovedFromThreadWithUserEventData": { |
155 | | - "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatMemberRemovedFromThreadWithUser event.", |
| 154 | + "AcsChatParticipantRemovedFromThreadWithUserEventData": { |
| 155 | + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.", |
156 | 156 | "allOf": [ |
157 | 157 | { |
158 | | - "$ref": "#/definitions/ACSChatThreadEventBaseProperties" |
| 158 | + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" |
159 | 159 | } |
160 | 160 | ], |
161 | 161 | "properties": { |
|
164 | 164 | "format": "date-time", |
165 | 165 | "type": "string" |
166 | 166 | }, |
167 | | - "removedBy": { |
168 | | - "description": "The MRI of the user who removed the user", |
169 | | - "type": "string" |
| 167 | + "removedByCommunicationIdentifier": { |
| 168 | + "description": "The communication identifier of the user who removed the user", |
| 169 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
170 | 170 | }, |
171 | | - "memberRemoved": { |
| 171 | + "participantRemoved": { |
172 | 172 | "description": "The details of the user who was removed", |
173 | | - "$ref": "#/definitions/ACSChatThreadMemberProperties" |
| 173 | + "$ref": "#/definitions/AcsChatThreadParticipantProperties" |
174 | 174 | } |
175 | 175 | } |
176 | 176 | }, |
|
223 | 223 | } |
224 | 224 | } |
225 | 225 | }, |
226 | | - "ACSChatThreadEventBaseProperties": { |
| 226 | + "AcsChatThreadEventBaseProperties": { |
227 | 227 | "description": "Schema of common properties of all chat thread events", |
228 | 228 | "allOf": [ |
229 | 229 | { |
230 | | - "$ref": "#/definitions/ACSChatEventBaseProperties" |
| 230 | + "$ref": "#/definitions/AcsChatEventBaseProperties" |
231 | 231 | } |
232 | 232 | ], |
233 | 233 | "properties": { |
|
243 | 243 | } |
244 | 244 | } |
245 | 245 | }, |
246 | | - "ACSChatMessageEventBaseProperties": { |
| 246 | + "AcsChatMessageEventBaseProperties": { |
247 | 247 | "description": "Schema of common properties of all chat message events", |
248 | 248 | "allOf": [ |
249 | 249 | { |
250 | | - "$ref": "#/definitions/ACSChatEventBaseProperties" |
| 250 | + "$ref": "#/definitions/AcsChatEventBaseProperties" |
251 | 251 | } |
252 | 252 | ], |
253 | 253 | "properties": { |
254 | 254 | "messageId": { |
255 | 255 | "description": "The chat message id", |
256 | 256 | "type": "string" |
257 | 257 | }, |
258 | | - "senderId": { |
259 | | - "description": "The MRI of the sender", |
260 | | - "type": "string" |
| 258 | + "senderCommunicationIdentifier": { |
| 259 | + "description": "The communication identifier of the sender", |
| 260 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
261 | 261 | }, |
262 | 262 | "senderDisplayName": { |
263 | 263 | "description": "The display name of the sender", |
|
279 | 279 | } |
280 | 280 | } |
281 | 281 | }, |
282 | | - "ACSChatEventBaseProperties": { |
| 282 | + "AcsChatEventBaseProperties": { |
283 | 283 | "description": "Schema of common properties of all chat events", |
284 | 284 | "type": "object", |
285 | 285 | "properties": { |
286 | | - "recipientId": { |
287 | | - "description": "The MRI of the target user", |
288 | | - "type": "string" |
| 286 | + "recipientCommunicationIdentifier": { |
| 287 | + "description": "The communication identifier of the target user", |
| 288 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
289 | 289 | }, |
290 | 290 | "transactionId": { |
291 | 291 | "description": "The transaction id will be used as co-relation vector", |
|
297 | 297 | } |
298 | 298 | } |
299 | 299 | }, |
300 | | - "ACSChatThreadMemberProperties": { |
301 | | - "description": "Schema of the chat thread member", |
| 300 | + "AcsChatThreadParticipantProperties": { |
| 301 | + "description": "Schema of the chat thread participant", |
302 | 302 | "type": "object", |
303 | 303 | "properties": { |
304 | 304 | "displayName": { |
305 | 305 | "description": "The name of the user", |
306 | 306 | "type": "string" |
307 | 307 | }, |
308 | | - "memberId": { |
309 | | - "description": "The MRI of the user", |
310 | | - "type": "string" |
| 308 | + "participantCommunicationIdentifier": { |
| 309 | + "description": "The communication identifier of the user", |
| 310 | + "$ref": "../../../../../communication/data-plane/Microsoft.CommunicationServicesCommon/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel" |
311 | 311 | } |
312 | 312 | } |
313 | 313 | }, |
|
0 commit comments