UserNotifiedEventv1
Phoenix parcours B2C course
Details
Example event payload
1{
2 "id": 6097349,
3 "createdAt": "2023-07-09T14:32:08.983Z",
4 "updatedAt": "2023-07-09T14:32:09.030Z",
5 "eventName": "UserNotifiedEvent",
6 "keyId": "df184fab-b6c6-4c93-8a14-37eab5fc3b9b",
7 "eventData": {
8 "name": "UserNotifiedEvent",
9 "type": "event",
10 "keyId": "df184fab-b6c6-4c93-8a14-37eab5fc3b9b",
11 "version": 1,
12 "notification": {
13 "id": "24350da3-91af-4d89-9059-8f50264d04d4",
14 "type": "FEATURE_UNLOCK",
15 "user": {
16 "id": "27779fd5-5ce5-4472-8af3-c099356061e1"
17 },
18 "userId": "27779fd5-5ce5-4472-8af3-c099356061e1",
19 "objectId": "9dc46a7a-e426-44e6-ab63-eb1edb9bebb8",
20 "createdAt": "2023-07-09T18:32:08.977Z",
21 "objectKey": "TALENT_FEATURE",
22 "acknowledged": false
23 }
24 },
25 "status": "ACKNOWLEDGED",
26 "publisherNodeId": "phoenix-production-788774c7f-9dccm",
27 "processorNodeId": "phoenix-production-788774c7f-8xmfs",
28 "version": 1,
29 "userId": "27779fd5-5ce5-4472-8af3-c099356061e1",
30 "talentId": null
31}
32UserNotifiedEvent payload
UserNotifiedEvent Schema (json)
{
"$id": "UserNotifiedEventPayloadTSchema",
"type": "object",
"properties": {
"notification": {
"$id": "NotificationEntity",
"type": "object",
"properties": {
"id": { "type": "string" },
"acknowledged": { "default": false, "type": "boolean" },
"createdAt": { "format": "datetime", "type": "string" },
"objectId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
"objectKey": {
"anyOf": [
{ "const": "TALENT_FEATURE", "type": "string" },
{ "type": "null" }
]
},
"objectContent": { "anyOf": [{}, { "type": "null" }] },
"type": {
"anyOf": [
{ "const": "FEATURE_UNLOCK", "type": "string" },
{ "const": "SHOW_ONBOARDING_MODAL", "type": "string" },
{ "const": "VC_BLOCK_COMPLETED", "type": "string" }
]
},
"user": {},
"userId": { "type": "string" }
},
"required": ["id", "acknowledged", "createdAt", "type", "user", "userId"]
}
},
"required": ["notification"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5