TalentUnassignedToCoachEvent
v2

Phoenix parcours B2C course

Details

Example event payload

1{
2  "id": 6098050,
3  "createdAt": "2023-07-09T14:53:17.295Z",
4  "updatedAt": "2023-07-09T14:53:17.348Z",
5  "eventName": "TalentUnassignedToCoachEvent",
6  "keyId": "765f1fdb-3a7b-420a-b7f4-9c03c69403a5",
7  "eventData": {
8    "name": "TalentUnassignedToCoachEvent",
9    "type": "event",
10    "keyId": "765f1fdb-3a7b-420a-b7f4-9c03c69403a5",
11    "version": 2,
12    "payload": {
13      "talent": {
14        "id": "9c40bc21-5269-46d8-9b8d-c8c7f85c6499"
15      },
16      "userTalent": {
17        "id": "3440bc21-5269-46d8-9b8d-c8c7f85c6499",
18        "firstName": "Robert",
19        "lastName": "Talent",
20        "email": "robert.talent@chance.co"
21      },
22      "coach": {
23        "id": "1c40bc21-5269-46d8-9b8d-c8c7f85c6410"
24      },
25      "userCoach": {
26        "id": "0c40bc21-5269-46d8-9b8d-c8c7f85c6499",
27        "firstName": "Joe",
28        "lastName": "Coche",
29        "email": "joe.coche@chance.co"
30      }
31    }
32  },
33  "status": "ACKNOWLEDGED",
34  "publisherNodeId": "phoenix-production-788774c7f-jz25k",
35  "processorNodeId": "phoenix-production-788774c7f-ptzwj",
36  "version": 2,
37  "userId": "0c40bc21-5269-46d8-9b8d-c8c7f85c6499",
38  "talentId": "9c40bc21-5269-46d8-9b8d-c8c7f85c6499"
39}
40

TalentUnassignedToCoachEvent payload

TalentUnassignedToCoachEvent Schema (json)
{
  "$id": "TalentUnassignedToCoachEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talent": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "userTalent": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "lastName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "email": { "type": "string" }
      },
      "required": ["id", "email"]
    },
    "coach": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "userCoach": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "firstName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "lastName": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "email": { "type": "string" }
      },
      "required": ["id", "email"]
    }
  },
  "required": ["talent", "userTalent", "coach", "userCoach"]
}


Edit this pageLast updated on 2024/8/5