TalentSubphaseInitializedEvent
v2

Phoenix parcours B2C course
You are currently viewing an old version of this event (2).Read latest version →

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": 2,
12		"talentPhase": {
13			"id": "cdf78021-102e-411c-b571-cd3beab32947",
14			"order": 0,
15			"status": "IN_PROGRESS",
16			"phaseId": "3e550f16-d29e-444a-95e2-ba9219989b11",
17			"parentId": "d904e8d4-518e-4af8-8e78-147744458f4f",
18			"talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8",
19			"createdAt": "2023-07-09T20:29:55.348Z",
20			"deletedAt": null,
21			"programId": "dceea9b7-5740-4f33-b080-a54c27223107",
22			"updatedAt": "2023-07-09T20:29:55.348Z"
23		}
24	},
25	"status": "ACKNOWLEDGED",
26	"publisherNodeId": "phoenix-production-788774c7f-9dccm",
27	"processorNodeId": "phoenix-production-788774c7f-v2hp2",
28	"version": 2,
29	"userId": "13236564-5334-45ef-a0a9-32be758be5c3",
30	"talentId": "7584c43f-c0c3-4184-87ee-f7c5af3384e8"
31}

TalentSubphaseInitializedEvent payload

TalentSubphaseInitializedEvent Schema (json)
{
  "$id": "TalentSubphaseInitializedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talentPhase": {
      "$id": "TalentPhaseEntity",
      "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": {},
        "talentId": { "type": "string" },
        "phase": {},
        "phaseId": { "type": "string" },
        "program": {},
        "programId": { "type": "string" },
        "status": {
          "default": "LOCKED",
          "anyOf": [
            { "const": "LOCKED", "type": "string" },
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "COMPLETED", "type": "string" }
          ]
        },
        "talentBlocks": { "type": "array", "items": {} },
        "talentBlockIds": { "type": "array", "items": { "type": "string" } },
        "parent": { "anyOf": [{}, { "type": "null" }] },
        "parentId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "children": {
          "anyOf": [
            { "default": [], "type": "array", "items": {} },
            { "type": "null" }
          ]
        },
        "childrenIds": {
          "anyOf": [
            { "default": [], "type": "array", "items": { "type": "string" } },
            { "type": "null" }
          ]
        },
        "order": { "type": "number" }
      },
      "required": [
        "createdAt",
        "id",
        "talent",
        "talentId",
        "phase",
        "phaseId",
        "program",
        "programId",
        "status",
        "talentBlocks",
        "talentBlockIds",
        "parent",
        "parentId",
        "children",
        "childrenIds",
        "order"
      ]
    }
  },
  "required": ["talentPhase"]
}


Edit this pageLast updated on 2024/8/5