TalentSubphaseInitializedEvent
v3

Phoenix parcours B2C course

Details

Example event payload

1{
2  "id": 6100427,
3  "createdAt": "2023-07-09T16:29:55.368Z",
4  "updatedAt": "2023-07-09T16:29:55.404Z",
5  "eventName": "TalentSubphaseInitializedEvent",
6  "keyId": "2c34aa0b-cbbc-459d-a0b2-fe3686b233b7",
7  "eventData": {
8    "name": "TalentSubphaseInitializedEvent",
9    "type": "event",
10    "keyId": "2c34aa0b-cbbc-459d-a0b2-fe3686b233b7",
11    "version": 3,
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        "parentId": "d904e8d4-518e-4af8-8e78-147744458f4f",
25        "talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8",
26        "programId": "dceea9b7-5740-4f33-b080-a54c27223107",
27        "talentBlockIds": []
28      },
29      "phase": {
30        "id": "3e550f16-d29e-444a-95e2-ba9219989b11",
31        "name": "Exploration"
32      }
33    }
34  },
35  "status": "ACKNOWLEDGED",
36  "publisherNodeId": "phoenix-production-788774c7f-9dccm",
37  "processorNodeId": "phoenix-production-788774c7f-v2hp2",
38  "version": 3,
39  "userId": "13236564-5334-45ef-a0a9-32be758be5c3",
40  "talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8"
41}
42

TalentSubphaseInitializedEvent payload

TalentSubphaseInitializedEvent Schema (json)
{
  "$id": "TalentSubphaseInitializedEventPayloadTSchema",
  "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" }
          ]
        },
        "talentBlockIds": { "type": "array", "items": { "type": "string" } },
        "parentId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "order": { "type": "number" }
      },
      "required": [
        "id",
        "talentId",
        "phaseId",
        "programId",
        "status",
        "talentBlockIds",
        "parentId",
        "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