-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Metadata to chat thread and user level events (#26347)
* Added Metadata to chat thread and user level events * Updated examples for each event which has new metadata fields * Apply suggestions for example user metadata * Update example metadata * Fix typo * Remove description from examples and add additional properties value for metadata dictionary to denote type string * Updated remaining examples in cloud-events-schema and event-grid-schema * Removed extra metadata properties
- Loading branch information
1 parent
e47b5ad
commit 66c27c4
Showing
16 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,9 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
}, | ||
{ | ||
|
@@ -31,6 +34,10 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value", | ||
"description": "A map of data associated with the participant" | ||
} | ||
}, | ||
{ | ||
|
@@ -40,6 +47,9 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f6-83fe-084822002337" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
}, | ||
{ | ||
|
@@ -49,9 +59,15 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e3-e1fe-084822002c35" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
} | ||
], | ||
"metadata": { | ||
"key": "value" | ||
}, | ||
"createTime": "2021-02-19T16:31:54.365-08:00", | ||
"version": 1613781114365, | ||
"threadId": "19:[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,9 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
}, | ||
{ | ||
|
@@ -29,6 +32,9 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
}, | ||
{ | ||
|
@@ -38,6 +44,9 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f6-83fe-084822002337" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
}, | ||
{ | ||
|
@@ -47,9 +56,15 @@ | |
"communicationUser": { | ||
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e3-e1fe-084822002c35" | ||
} | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
} | ||
} | ||
], | ||
"metadata": { | ||
"key": "value" | ||
}, | ||
"createTime": "2021-02-20T00:31:54.365+00:00", | ||
"version": 1613781114365, | ||
"threadId": "19:[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,9 @@ | |
"properties": { | ||
"topic": "Talk about new Thread Events in commuication services" | ||
}, | ||
"metadata": { | ||
"key": "value" | ||
}, | ||
"createTime": "2021-02-20T00:00:40.126+00:00", | ||
"version": 1613779447695, | ||
"threadId": "19:[email protected]", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters