TalentActivityUnlockedEventv2
Phoenix parcours B2C course
You are currently viewing an old version of this event (1).Read latest version →
Details
Example event payload
1{
2 "id": 6096857,
3 "createdAt": "2023-07-09T14:19:01.382Z",
4 "updatedAt": "2023-07-09T14:19:01.440Z",
5 "eventName": "TalentActivityUnlockedEvent",
6 "keyId": "350a56e8-be9a-4b17-a636-2992c6d389c6",
7 "eventData": {
8 "name": "TalentActivityUnlockedEvent",
9 "type": "event",
10 "keyId": "350a56e8-be9a-4b17-a636-2992c6d389c6",
11 "version": 1,
12 "talentActivity": {
13 "id": "8e190e48-8170-46df-a9f5-e4aa10d9b103",
14 "order": 1,
15 "status": "NOT_STARTED",
16 "talentId": "422d3d77-4fc2-47dc-b7de-3ac7aa9d6dae",
17 "createdAt": "2023-07-07T13:42:24.892Z",
18 "deletedAt": null,
19 "updatedAt": "2023-07-09T18:19:01.320Z",
20 "activityId": "643219c2-a98a-4885-ba09-5dbe04f6e988",
21 "talentBlockId": "6288829f-1d20-4a19-ae6e-c4181fb61664"
22 }
23 },
24 "status": "ACKNOWLEDGED",
25 "publisherNodeId": "phoenix-production-788774c7f-jz25k",
26 "processorNodeId": "phoenix-production-788774c7f-jz25k",
27 "version": 1,
28 "userId": "cb4bcc58-84b1-4921-a47a-8a44264f4991",
29 "talentId": "422d3d77-4fc2-47dc-b7de-3ac7aa9d6dae"
30}
31TalentActivityUnlockedEvent payload
TalentActivityUnlockedEvent Schema (json)
{
"$id": "TalentActivityUnlockedEventPayloadTSchema",
"type": "object",
"properties": {
"talentActivity": {
"$id": "TalentActivityEntity",
"type": "object",
"properties": {
"createdAt": { "format": "datetime", "type": "string" },
"updatedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"deletedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"id": { "type": "string" },
"talent": {},
"talentId": { "type": "string" },
"activity": {},
"activityId": { "type": "string" },
"talentBlock": {},
"talentBlockId": { "type": "string" },
"content": {
"type": "array",
"items": {
"$id": "ActivityContentDTO",
"type": "object",
"properties": {
"id": { "type": "string" },
"data": {
"anyOf": [
{
"$id": "ActivityContentDataInterface",
"additionalProperties": true,
"type": "object",
"properties": {
"isRequired": {
"anyOf": [{ "type": "boolean" }, { "type": "null" }]
},
"tags": {
"anyOf": [
{ "type": "array", "items": { "type": "string" } },
{ "type": "null" }
]
},
"name": {
"anyOf": [{ "type": "string" }, { "type": "null" }]
}
}
},
{ "type": "null" }
]
},
"type": {
"anyOf": [
{ "const": "header", "type": "string" },
{ "const": "paragraph", "type": "string" },
{ "const": "embed", "type": "string" },
{ "const": "image", "type": "string" },
{ "const": "delimiter", "type": "string" },
{ "const": "checklists", "type": "string" },
{ "const": "link", "type": "string" },
{ "const": "nestedList", "type": "string" },
{ "const": "underline", "type": "string" },
{ "const": "choiceQuestion", "type": "string" },
{ "const": "listOrderingQuestion", "type": "string" },
{ "const": "textQuestion", "type": "string" },
{ "const": "linearScaleQuestion", "type": "string" },
{ "const": "quoteCard", "type": "string" },
{ "const": "audioFile", "type": "string" },
{ "const": "drivers", "type": "string" },
{ "const": "uploadVideo", "type": "string" },
{ "const": "uploadImage", "type": "string" },
{ "const": "linkTool", "type": "string" },
{ "const": "text", "type": "string" },
{ "const": "fourPillars", "type": "string" },
{ "const": "copyLink", "type": "string" }
]
},
"answer": { "anyOf": [{}, { "type": "null" }] }
},
"required": ["id", "type"]
}
},
"status": {
"default": "NOT_STARTED",
"anyOf": [
{ "const": "IN_PROGRESS", "type": "string" },
{ "const": "LOCKED", "type": "string" },
{ "const": "NOT_STARTED", "type": "string" },
{ "const": "SUBMITTED", "type": "string" }
]
},
"order": { "type": "number" }
},
"required": [
"createdAt",
"id",
"talent",
"talentId",
"activity",
"activityId",
"talentBlock",
"talentBlockId",
"content",
"status",
"order"
]
}
},
"required": ["talentActivity"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5