TalentBlockUnlockedEvent
v1

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": 6098395,
3  "createdAt": "2023-07-09T14:59:53.072Z",
4  "updatedAt": "2023-07-09T14:59:53.085Z",
5  "eventName": "TalentBlockUnlockedEvent",
6  "keyId": "01eb2a3a-9565-4e49-8265-436f76d03ab4",
7  "eventData": {
8    "name": "TalentBlockUnlockedEvent",
9    "type": "event",
10    "keyId": "01eb2a3a-9565-4e49-8265-436f76d03ab4",
11    "version": 1,
12    "talentBlock": {
13      "id": "eb7ef94b-9da8-4650-a9c0-0682101dc703",
14      "order": 1,
15      "status": "NOT_STARTED",
16      "blockId": "5c9c487f-bdd9-4f3a-8549-a26a8a486c4f",
17      "talentId": "9c40bc21-5269-46d8-9b8d-c8c7f85c6499",
18      "createdAt": "2023-07-03T20:17:58.363Z",
19      "deletedAt": null,
20      "programId": "dceea9b7-5740-4f33-b080-a54c27223107",
21      "updatedAt": "2023-07-09T18:59:53.063Z",
22      "talentPhaseId": "dd28e0a9-8729-4347-962b-3a6c376898af",
23      "talentActivityIds": []
24    }
25  },
26  "status": "ACKNOWLEDGED",
27  "publisherNodeId": "phoenix-production-788774c7f-jz25k",
28  "processorNodeId": "phoenix-production-788774c7f-8xmfs",
29  "version": 1,
30  "userId": null,
31  "talentId": "9c40bc21-5269-46d8-9b8d-c8c7f85c6499"
32}
33

TalentBlockUnlockedEvent payload

TalentBlockUnlockedEvent Schema (json)
{
  "$id": "TalentBlockUnlockedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talentBlock": {
      "$id": "TalentBlockEntity",
      "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": { "anyOf": [{}, { "type": "null" }] },
        "talentId": { "type": "string" },
        "block": {},
        "blockId": { "type": "string" },
        "program": {},
        "programId": { "type": "string" },
        "talentActivities": { "type": "array", "items": {} },
        "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" }
          ]
        },
        "talentPhase": {},
        "talentPhaseId": { "type": "string" }
      },
      "required": [
        "createdAt",
        "id",
        "talent",
        "talentId",
        "block",
        "blockId",
        "program",
        "programId",
        "talentActivities",
        "talentActivityIds",
        "order",
        "status",
        "talentPhase",
        "talentPhaseId"
      ]
    }
  },
  "required": ["talentBlock"]
}


Edit this pageLast updated on 2024/8/5