TalentBlockStartedEventv2
Phoenix parcours B2C course
Details
Example event payload
1{
2 "id": 6096298,
3 "createdAt": "2023-07-09T13:59:42.368Z",
4 "updatedAt": "2023-07-09T13:59:42.398Z",
5 "eventName": "TalentBlockStartedEvent",
6 "keyId": "ac0e303e-68b1-4ecd-a96a-7bc7323c821f",
7 "eventData": {
8 "name": "TalentBlockStartedEvent",
9 "type": "event",
10 "keyId": "ac0e303e-68b1-4ecd-a96a-7bc7323c821f",
11 "version": 2,
12 "payload": {
13 "user": {
14 "id": "1244315-5615-4a5b-bad0-1244315"
15 },
16 "talent": {
17 "id": "f550d02e-5615-4a5b-bad0-5f17147c7afd"
18 },
19 "talentBlock": {
20 "id": "12c5f1c2-b696-4fea-bb36-c1959216d748",
21 "order": 1,
22 "status": "IN_PROGRESS",
23 "blockId": "c7250851-3e05-4441-8495-2920c9dc3f38",
24 "talentId": "f550d02e-5615-4a5b-bad0-5f17147c7afd",
25 "programId": "dceea9b7-5740-4f33-b080-a54c27223107",
26 "talentPhaseId": "a84ddde0-e090-4451-a669-52259cd4028a",
27 "talentActivityIds": [
28 "70a0be74-89dd-4dee-b8ec-408e8a439a6b",
29 "cb2db8dc-aa23-4ab9-a03b-e2a8fcde31d0"
30 ]
31 }
32 }
33 },
34 "status": "ACKNOWLEDGED",
35 "publisherNodeId": "phoenix-production-788774c7f-jz25k",
36 "processorNodeId": "phoenix-production-788774c7f-v2hp2",
37 "version": 2,
38 "userId": "1244315-5615-4a5b-bad0-1244315",
39 "talentId": "f550d02e-5615-4a5b-bad0-5f17147c7afd"
40}
41TalentBlockStartedEvent payload
TalentBlockStartedEvent Schema (json)
{
"$id": "TalentBlockStartedEventPayloadTSchema",
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
},
"talent": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
},
"talentBlock": {
"type": "object",
"properties": {
"id": { "type": "string" },
"talentId": { "type": "string" },
"blockId": { "type": "string" },
"programId": { "type": "string" },
"talentActivityIds": { "type": "array", "items": { "type": "string" } },
"order": { "type": "number" },
"status": {
"default": "IN_PROGRESS",
"anyOf": [
{ "const": "IN_PROGRESS", "type": "string" },
{ "const": "FINISHED", "type": "string" },
{ "const": "NOT_STARTED", "type": "string" },
{ "const": "LOCKED", "type": "string" }
]
},
"talentPhaseId": { "type": "string" }
},
"required": [
"id",
"talentId",
"blockId",
"programId",
"talentActivityIds",
"order",
"status",
"talentPhaseId"
]
}
},
"required": ["user", "talent", "talentBlock"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5