FlyingTalentBlockInitializedEvent
v1

Replace TalentFlyingBlockTriggeredEvent with FlyingTalentBlockInitializedEvent

Details

Example event payload

1{
2  "id": 6096788,
3  "createdAt": "2023-07-09T14:18:36.743Z",
4  "updatedAt": "2023-07-09T14:18:36.926Z",
5  "eventName": "FlyingTalentBlockInitializedEvent",
6  "keyId": "0b824832-1d8b-4ca9-927d-ba892baaeeb1",
7  "eventData": {
8    "name": "FlyingTalentBlockInitializedEvent",
9    "type": "event",
10    "keyId": "0b824832-1d8b-4ca9-927d-ba892baaeeb1",
11    "version": 1,
12    "payload": {
13      "user": {
14        "id": "03b396e7689b-09d0-4d63-8fa7-8a88f20d"
15      },
16      "talent": {
17        "id": "8a88f20d-0c60-4c55-b202-03b396e7689b"
18      },
19      "talentBlock": {
20        "id": "88571b8a-09d0-4d63-8fa7-1084b99d6633",
21        "order": 2,
22        "status": "NOT_STARTED",
23        "blockId": "21f7e4a2-a838-41d3-80e8-1d4c21f03314",
24        "talentId": "8a88f20d-0c60-4c55-b202-03b396e7689b",
25        "programId": "dceea9b7-5740-4f33-b080-a54c27223107",
26        "talentPhaseId": "8e5384db-d500-4d31-b6c0-d3483b796530",
27        "talentActivityIds": []
28      },
29      "talentActivity": {
30        "id": "b5afe58e-7c5e-4476-9239-a030d7e0b0c5",
31        "order": 0,
32        "status": "SUBMITTED",
33        "talentId": "8a88f20d-0c60-4c55-b202-03b396e7689b",
34        "activityId": "d3d90b3e-583c-433d-8541-1712b3b0d131",
35        "talentBlockId": "57c6f08e-4903-4e9f-a25b-12738d71af86"
36      }
37    }
38  },
39  "status": "ACKNOWLEDGED",
40  "publisherNodeId": "phoenix-production-788774c7f-ptzwj",
41  "processorNodeId": "phoenix-production-788774c7f-9dccm",
42  "version": 1,
43  "userId": "03b396e7689b-09d0-4d63-8fa7-8a88f20d",
44  "talentId": "8a88f20d-0c60-4c55-b202-03b396e7689b"
45}
46

FlyingTalentBlockInitializedEvent payload

FlyingTalentBlockInitializedEvent Schema (json)
{
  "$id": "FlyingTalentBlockInitializedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talent": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talentBlock": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "talentId": { "type": "string" },
        "blockId": { "type": "string" },
        "programId": { "type": "string" },
        "talentActivityIds": { "type": "array", "items": { "type": "string" } },
        "order": { "type": "number" },
        "status": {
          "default": "IN_PROGRESS",
          "anyOf": [
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "FINISHED", "type": "string" },
            { "const": "NOT_STARTED", "type": "string" },
            { "const": "LOCKED", "type": "string" }
          ]
        },
        "talentPhaseId": { "type": "string" }
      },
      "required": [
        "id",
        "talentId",
        "blockId",
        "programId",
        "talentActivityIds",
        "order",
        "status",
        "talentPhaseId"
      ]
    },
    "talentActivity": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "talentId": { "type": "string" },
        "activityId": { "type": "string" },
        "talentBlockId": { "type": "string" },
        "status": {
          "default": "NOT_STARTED",
          "anyOf": [
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "LOCKED", "type": "string" },
            { "const": "NOT_STARTED", "type": "string" },
            { "const": "SUBMITTED", "type": "string" }
          ]
        },
        "order": { "type": "number" }
      },
      "required": [
        "id",
        "talentId",
        "activityId",
        "talentBlockId",
        "status",
        "order"
      ]
    }
  },
  "required": ["user", "talent", "talentBlock", "talentActivity"]
}


Edit this pageLast updated on 2024/8/5