TalentActivityResetEvent
v1

Phoenix parcours B2C course
You are currently viewing an old version of this event (1).Read latest version →

Details

Example event payload

1{
2  "id": 6096316,
3  "createdAt": "2023-07-09T14:00:48.669Z",
4  "updatedAt": "2023-07-09T14:00:48.728Z",
5  "eventName": "TalentActivityResetdEvent",
6  "keyId": "9852b51b-35f6-46fe-a005-214fb6a9e960",
7  "eventData": {
8    "name": "TalentActivityResetdEvent",
9    "type": "event",
10    "keyId": "9852b51b-35f6-46fe-a005-214fb6a9e960",
11    "version": 2,
12    "talentActivity": {
13      "id": "b6ca00df-9c7d-48a0-886e-07893e96dba7",
14      "order": 0,
15      "status": "IN_PROGRESS",
16      "talentId": "827a5af5-62ef-491b-852a-343dbc3ea430",
17      "createdAt": "2023-06-30T14:30:04.421Z",
18      "deletedAt": null,
19      "updatedAt": "2023-07-09T18:00:48.606Z",
20      "activityId": "60e76872-0ef4-472d-a130-a4c82b9b9351",
21      "talentBlockId": "1034849a-d3f9-4082-8d82-ff35d266de28"
22    }
23  },
24  "status": "ACKNOWLEDGED",
25  "publisherNodeId": "phoenix-production-788774c7f-8xmfs",
26  "processorNodeId": "phoenix-production-788774c7f-ptzwj",
27  "version": 1,
28  "userId": "b0d37bfb-7920-45be-8f64-499ca83dab7a",
29  "talentId": "827a5af5-62ef-491b-852a-343dbc3ea430"
30}
31

TalentActivityResetEvent payload

TalentActivityResetEvent Schema (json)
{
  "$id": "TalentActivityResetEventPayloadTSchema",
  "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