TalentSubphaseReadyEvent
v2

Phoenix parcours B2C course

Details

Example event payload

1{
2  "id": 6106643,
3  "createdAt": "2023-07-10T03:47:51.680Z",
4  "updatedAt": "2023-07-10T03:47:51.708Z",
5  "eventName": "TalentSubphaseReadyEvent",
6  "keyId": "4eece06a-184b-4ebf-a4b8-5b7ef650ef38",
7  "eventData": {
8    "name": "TalentSubphaseReadyEvent",
9    "type": "event",
10    "index": 1,
11    "keyId": "4eece06a-184b-4ebf-a4b8-5b7ef650ef38",
12    "version": 1,
13    "payload": {
14      "user": {
15        "id": "13236564-5334-45ef-a0a9-32be758be5c3"
16      },
17      "talent": {
18        "id": "7584c43f-c0c3-4184-87ee-f7c5af3384e8"
19      },
20      "talentPhase": {
21        "id": "cdf78021-102e-411c-b571-cd3beab32947",
22        "order": 0,
23        "status": "IN_PROGRESS",
24        "phaseId": "3e550f16-d29e-444a-95e2-ba9219989b11",
25        "talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8",
26        "programId": "dceea9b7-5740-4f33-b080-a54c27223107"
27      },
28      "phase": {
29        "id": "3e550f16-d29e-444a-95e2-ba9219989b11",
30        "name": "Exploration"
31      }
32    }
33  },
34  "status": "ACKNOWLEDGED",
35  "publisherNodeId": "phoenix-production-788774c7f-8xmfs",
36  "processorNodeId": "phoenix-production-788774c7f-jz25k",
37  "version": 1,
38  "userId": "13236564-5334-45ef-a0a9-32be758be5c3",
39  "talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8"
40}
41

TalentSubphaseReadyEvent payload

TalentSubphaseReadyEvent Schema (json)
{
  "$id": "TalentSubphaseReadyEventPayloadTSchema",
  "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"]
    },
    "index": { "type": "number" }
  },
  "required": ["user", "talent", "talentPhase", "phase", "index"]
}


Edit this pageLast updated on 2024/8/5