TalentFeatureUnlockedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6097348,
3  "createdAt": "2023-07-09T14:32:08.887Z",
4  "updatedAt": "2023-07-09T14:32:08.977Z",
5  "eventName": "TalentFeatureUnlockedEvent",
6  "keyId": "baffd764-8de2-425b-9e9b-08192f88b55c",
7  "eventData": {
8    "name": "TalentFeatureUnlockedEvent",
9    "type": "event",
10    "keyId": "baffd764-8de2-425b-9e9b-08192f88b55c",
11    "version": 1,
12    "talentFeature": {
13      "id": "9dc46a7a-e426-44e6-ab63-eb1edb9bebb8",
14      "isLocked": false,
15      "talentId": "42e74f66-2024-4707-a224-46fe4a2a7852",
16      "createdAt": "2023-07-01T09:33:09.390Z",
17      "deletedAt": null,
18      "updatedAt": "2023-07-09T18:32:08.838Z",
19      "featureKey": "FEEDBACK_ME"
20    }
21  },
22  "status": "ACKNOWLEDGED",
23  "publisherNodeId": "phoenix-production-788774c7f-ptzwj",
24  "processorNodeId": "phoenix-production-788774c7f-9dccm",
25  "version": 1,
26  "userId": null,
27  "talentId": "42e74f66-2024-4707-a224-46fe4a2a7852"
28}
29

TalentFeatureUnlockedEvent payload

TalentFeatureUnlockedEvent Schema (json)
{
  "$id": "TalentFeatureUnlockedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talent": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talentFeature": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "isLocked": { "default": true, "type": "boolean" },
        "featureKey": {
          "anyOf": [
            { "const": "CHANCE_XP", "type": "string" },
            { "const": "DUOS_CHANCE", "type": "string" },
            { "const": "FB_GROUPS", "type": "string" },
            { "const": "FEEDBACK_ME", "type": "string" },
            { "const": "MY_CIRCLE", "type": "string" },
            { "const": "PERSONALITY_TESTS", "type": "string" },
            { "const": "PROJECT_EXPLORATION", "type": "string" },
            { "const": "RESOURCES", "type": "string" },
            { "const": "ROLES_EXPLORATION", "type": "string" }
          ]
        },
        "talentId": { "type": "string" }
      },
      "required": ["id", "isLocked", "featureKey", "talentId"]
    }
  },
  "required": ["user", "talent", "talentFeature"]
}


Edit this pageLast updated on 2024/8/5