TalentBlockInitializedEventv2
Phoenix parcours B2C course
Details
Example event payload
1{
2 "id": 6096309,
3 "createdAt": "2023-07-09T13:59:56.998Z",
4 "updatedAt": "2023-07-09T13:59:57.047Z",
5 "eventName": "TalentBlockInitializedEvent",
6 "keyId": "2dfd0fa7-1c5e-486a-a42a-e03e83e30d7d",
7 "eventData": {
8 "name": "TalentBlockInitializedEvent",
9 "type": "event",
10 "keyId": "2dfd0fa7-1c5e-486a-a42a-e03e83e30d7d",
11 "version": 2,
12 "payload": {
13 "user": {
14 "id": "6467f4e55d45-e854-48bb-b559-03516924"
15 },
16 "talent": {
17 "id": "03516924-e854-48bb-b559-6467f4e55d45"
18 },
19 "talentBlock": {
20 "id": "1702c4f7-6b5d-4ff4-b5e6-94fb08890761",
21 "order": 12,
22 "status": "NOT_STARTED",
23 "blockId": "e6ea0500-7f6b-40ed-85b9-a7e5ea9fbfdd",
24 "talentId": "03516924-e854-48bb-b559-6467f4e55d45",
25 "programId": "dceea9b7-5740-4f33-b080-a54c27223107",
26 "talentPhaseId": "b0a8f108-a31b-442d-a694-30a63162d981",
27 "talentActivities": [],
28 "talentActivityIds": []
29 }
30 }
31 },
32 "status": "ACKNOWLEDGED",
33 "publisherNodeId": "phoenix-production-788774c7f-ptzwj",
34 "processorNodeId": "phoenix-production-788774c7f-8xmfs",
35 "version": 2,
36 "userId": "6467f4e55d45-e854-48bb-b559-03516924",
37 "talentId": "03516924-e854-48bb-b559-6467f4e55d45"
38}
39TalentBlockInitializedEvent payload
TalentBlockInitializedEvent Schema (json)
{
"$id": "TalentBlockInitializedEventPayloadTSchema",
"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