TalentPhaseInitializedEvent
v2

Phoenix parcours B2C course

Details

Example event payload

1{
2  "id": 6103266,
3  "createdAt": "2023-07-10T01:05:22.820Z",
4  "updatedAt": "2023-07-10T01:05:23.389Z",
5  "eventName": "TalentPhaseInitializedEvent",
6  "keyId": "6e9671a6-ae0f-4bd6-b6ba-6af8fd30be7a",
7  "eventData": {
8    "name": "TalentPhaseInitializedEvent",
9    "type": "event",
10    "keyId": "6e9671a6-ae0f-4bd6-b6ba-6af8fd30be7a",
11    "version": 2,
12    "payload": {
13      "user": {
14        "id": "13236564-5334-45ef-a0a9-32be758be5c3"
15      },
16      "talent": {
17        "id": "7584c43f-c0c3-4184-87ee-f7c5af3384e8"
18      },
19      "talentPhase": {
20        "id": "cdf78021-102e-411c-b571-cd3beab32947",
21        "order": 0,
22        "status": "IN_PROGRESS",
23        "phaseId": "3e550f16-d29e-444a-95e2-ba9219989b11",
24        "talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8",
25        "programId": "dceea9b7-5740-4f33-b080-a54c27223107"
26      },
27      "phase": {
28        "id": "3e550f16-d29e-444a-95e2-ba9219989b11",
29        "name": "Exploration"
30      }
31    }
32  },
33  "status": "ACKNOWLEDGED",
34  "publisherNodeId": "phoenix-production-788774c7f-9dccm",
35  "processorNodeId": "phoenix-production-788774c7f-v2hp2",
36  "version": 2,
37  "userId": "10fd7e1d-b93d-4dce-93c2-16551844e32d",
38  "talentId": "cc80276d-7567-4cb6-9d2b-0950f6786c0f"
39}
40

TalentPhaseInitializedEvent payload

TalentPhaseInitializedEvent Schema (json)
{
  "$id": "TalentPhaseInitializedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talent": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talentPhase": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "talentId": { "type": "string" },
        "phaseId": { "type": "string" },
        "programId": { "type": "string" },
        "status": {
          "default": "LOCKED",
          "anyOf": [
            { "const": "LOCKED", "type": "string" },
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "COMPLETED", "type": "string" }
          ]
        },
        "order": { "type": "number" }
      },
      "required": ["id", "talentId", "phaseId", "programId", "status", "order"]
    },
    "phase": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "name": { "type": "string" }
      },
      "required": ["id", "name"]
    }
  },
  "required": ["user", "talent", "talentPhase", "phase"]
}


Edit this pageLast updated on 2024/8/5