TalentActivityEvent
v2

Phoenix parcours B2C course

Details

TalentActivityEvent payload

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