TalentCreatedEvent
v1

Talent created

Details

Example event payload

1{
2  "id": 6108601,
3  "createdAt": "2023-07-10T04:26:14.180Z",
4  "updatedAt": "2023-07-10T04:26:14.219Z",
5  "eventName": "TalentCreatedEvent",
6  "keyId": "4cba1973-8609-43a3-b3a1-df9a21f2e11d",
7  "eventData": {
8    "name": "TalentCreatedEvent",
9    "type": "event",
10    "keyId": "4cba1973-8609-43a3-b3a1-df9a21f2e11d",
11    "talent": {
12      "id": "d9881d31-3796-44d5-bce7-14dd022e1900",
13      "user": {
14        "id": "a0f0ff0b-d435-40b5-a922-a130e4772d27"
15      },
16      "userId": "a0f0ff0b-d435-40b5-a922-a130e4772d27",
17      "createdAt": "2023-07-10T08:26:13.768Z",
18      "deletedAt": null,
19      "updatedAt": "2023-07-10T08:26:13.768Z",
20      "lastDiploma": null,
21      "linkedinUrl": null,
22      "previousJob": null,
23      "synthesisId": null,
24      "yearsOfStudy": null,
25      "hasCommunityAccess": true
26    },
27    "version": 1
28  },
29  "status": "ACKNOWLEDGED",
30  "publisherNodeId": "phoenix-production-788774c7f-v2hp2",
31  "processorNodeId": "phoenix-production-788774c7f-8xmfs",
32  "version": 1,
33  "userId": "a0f0ff0b-d435-40b5-a922-a130e4772d27",
34  "talentId": "d9881d31-3796-44d5-bce7-14dd022e1900"
35}
36

TalentCreatedEvent payload

TalentCreatedEvent Schema (json)
{
  "$id": "TalentCreatedEvent",
  "type": "object",
  "properties": {
    "talent": {
      "$id": "TalentEntity",
      "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" },
        "linkedinUrl": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "previousJob": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "yearsOfStudy": { "anyOf": [{ "type": "number" }, { "type": "null" }] },
        "lastDiploma": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "user": {},
        "userId": { "type": "string" },
        "programs": { "default": [], "type": "array", "items": {} },
        "programIds": { "type": "array", "items": { "type": "string" } },
        "talentCoachs": {
          "anyOf": [{ "type": "array", "items": {} }, { "type": "null" }]
        },
        "talentCoachIds": { "type": "array", "items": { "type": "string" } },
        "answers": {
          "anyOf": [
            { "default": [], "type": "array", "items": {} },
            { "type": "null" }
          ]
        },
        "talentBlocks": { "default": [], "type": "array", "items": {} },
        "talentBlockIds": { "type": "array", "items": { "type": "string" } },
        "talentActivities": { "default": [], "type": "array", "items": {} },
        "talentActivityIds": { "type": "array", "items": { "type": "string" } },
        "talentProfile": { "anyOf": [{}, { "type": "null" }] },
        "talentProfileId": {
          "anyOf": [{ "type": "string" }, { "type": "null" }]
        },
        "talentPhases": {
          "anyOf": [
            { "default": [], "type": "array", "items": {} },
            { "type": "null" }
          ]
        },
        "talentPhaseIds": { "type": "array", "items": { "type": "string" } },
        "talentFeatures": { "type": "array", "items": {} },
        "talentFeatureIds": { "type": "array", "items": { "type": "string" } },
        "featureLocks": {
          "$id": "FeatureLocksDTO",
          "type": "object",
          "properties": {
            "CHANCE_XP": { "anyOf": [{}, { "type": "null" }] },
            "DUOS_CHANCE": { "anyOf": [{}, { "type": "null" }] },
            "MY_CIRCLE": { "anyOf": [{}, { "type": "null" }] },
            "FB_GROUPS": { "anyOf": [{}, { "type": "null" }] },
            "FEEDBACK_ME": { "anyOf": [{}, { "type": "null" }] },
            "PERSONALITY_TESTS": { "anyOf": [{}, { "type": "null" }] },
            "PROJECT_EXPLORATION": { "anyOf": [{}, { "type": "null" }] },
            "RESOURCES": { "anyOf": [{}, { "type": "null" }] },
            "ROLES_EXPLORATIONS": { "anyOf": [{}, { "type": "null" }] }
          }
        },
        "appointments": { "default": [], "type": "array", "items": {} },
        "appointmentIds": { "type": "array", "items": { "type": "string" } },
        "hasCommunityAccess": { "default": true, "type": "boolean" },
        "synthesis": { "anyOf": [{}, { "type": "null" }] },
        "synthesisId": { "anyOf": [{ "type": "string" }, { "type": "null" }] }
      },
      "required": [
        "createdAt",
        "id",
        "linkedinUrl",
        "previousJob",
        "yearsOfStudy",
        "lastDiploma",
        "user",
        "userId",
        "programs",
        "programIds",
        "talentCoachs",
        "talentCoachIds",
        "answers",
        "talentBlocks",
        "talentBlockIds",
        "talentActivities",
        "talentActivityIds",
        "talentPhases",
        "talentPhaseIds",
        "talentFeatures",
        "talentFeatureIds",
        "featureLocks",
        "appointments",
        "appointmentIds",
        "hasCommunityAccess",
        "synthesis",
        "synthesisId"
      ]
    }
  },
  "required": ["talent"]
}


Edit this pageLast updated on 2024/8/5