TalentActivityInitializedEvent
v1

Phoenix parcours B2C course

Details

Example event payload

1{
2	"id": 6096314,
3	"createdAt": "2023-07-09T13:59:57.088Z",
4	"updatedAt": "2023-07-09T13:59:57.131Z",
5	"eventName": "TalentActivityInitializedEvent",
6	"keyId": "0392f5fa-7746-4a96-b735-fc1d5bef66d3",
7	"eventData": {
8		"name": "TalentActivityInitializedEvent",
9		"type": "event",
10		"keyId": "0392f5fa-7746-4a96-b735-fc1d5bef66d3",
11		"version": 2,
12		"talentActivity": {
13			"id": "26caf370-0681-4a3c-9d9e-34794a65ac57",
14			"order": 0,
15			"status": "NOT_STARTED",
16			"talentId": "03516924-e854-48bb-b559-6467f4e55d45",
17			"createdAt": "2023-07-09T17:59:57.065Z",
18			"deletedAt": null,
19			"updatedAt": "2023-07-09T17:59:57.065Z",
20			"activityId": "6e362d2c-2290-467b-b544-331623843f33",
21			"talentBlockId": "1702c4f7-6b5d-4ff4-b5e6-94fb08890761"
22		}
23	},
24	"status": "ACKNOWLEDGED",
25	"publisherNodeId": "phoenix-production-788774c7f-8xmfs",
26	"processorNodeId": "phoenix-production-788774c7f-8xmfs",
27	"version": 2,
28	"userId": null,
29	"talentId": "03516924-e854-48bb-b559-6467f4e55d45"
30}

TalentActivityInitializedEvent payload

TalentActivityInitializedEvent Schema (json)
{
  "$id": "TalentActivityInitializedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talentActivity": {
      "$id": "TalentActivityEntity",
      "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" },
        "activity": {},
        "activityId": { "type": "string" },
        "talentBlock": {},
        "talentBlockId": { "type": "string" },
        "content": {
          "type": "array",
          "items": {
            "$id": "ActivityContentDTO",
            "type": "object",
            "properties": {
              "id": { "type": "string" },
              "data": {
                "anyOf": [
                  {
                    "$id": "ActivityContentDataInterface",
                    "additionalProperties": true,
                    "type": "object",
                    "properties": {
                      "isRequired": {
                        "anyOf": [{ "type": "boolean" }, { "type": "null" }]
                      },
                      "tags": {
                        "anyOf": [
                          { "type": "array", "items": { "type": "string" } },
                          { "type": "null" }
                        ]
                      },
                      "name": {
                        "anyOf": [{ "type": "string" }, { "type": "null" }]
                      }
                    }
                  },
                  { "type": "null" }
                ]
              },
              "type": {
                "anyOf": [
                  { "const": "header", "type": "string" },
                  { "const": "paragraph", "type": "string" },
                  { "const": "embed", "type": "string" },
                  { "const": "image", "type": "string" },
                  { "const": "delimiter", "type": "string" },
                  { "const": "checklists", "type": "string" },
                  { "const": "link", "type": "string" },
                  { "const": "nestedList", "type": "string" },
                  { "const": "underline", "type": "string" },
                  { "const": "choiceQuestion", "type": "string" },
                  { "const": "listOrderingQuestion", "type": "string" },
                  { "const": "textQuestion", "type": "string" },
                  { "const": "linearScaleQuestion", "type": "string" },
                  { "const": "quoteCard", "type": "string" },
                  { "const": "audioFile", "type": "string" },
                  { "const": "drivers", "type": "string" },
                  { "const": "uploadVideo", "type": "string" },
                  { "const": "uploadImage", "type": "string" },
                  { "const": "linkTool", "type": "string" },
                  { "const": "text", "type": "string" },
                  { "const": "fourPillars", "type": "string" },
                  { "const": "copyLink", "type": "string" }
                ]
              },
              "answer": { "anyOf": [{}, { "type": "null" }] }
            },
            "required": ["id", "type"]
          }
        },
        "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": [
        "createdAt",
        "id",
        "talent",
        "talentId",
        "activity",
        "activityId",
        "talentBlock",
        "talentBlockId",
        "content",
        "status",
        "order"
      ]
    }
  },
  "required": ["talentActivity"]
}


Edit this pageLast updated on 2024/8/5