TalentPhaseResetEvent
v1

Phoenix parcours B2C course

Details

TalentPhaseResetEvent payload

TalentPhaseResetEvent Schema (json)
{
  "$id": "TalentPhaseResetEventPayloadTSchema",
  "type": "object",
  "properties": {
    "talentPhase": {
      "$id": "TalentPhaseEntity",
      "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" },
        "phase": {},
        "phaseId": { "type": "string" },
        "program": {},
        "programId": { "type": "string" },
        "status": {
          "default": "LOCKED",
          "anyOf": [
            { "const": "LOCKED", "type": "string" },
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "COMPLETED", "type": "string" }
          ]
        },
        "talentBlocks": { "type": "array", "items": {} },
        "talentBlockIds": { "type": "array", "items": { "type": "string" } },
        "parent": { "anyOf": [{}, { "type": "null" }] },
        "parentId": { "anyOf": [{ "type": "string" }, { "type": "null" }] },
        "children": {
          "anyOf": [
            { "default": [], "type": "array", "items": {} },
            { "type": "null" }
          ]
        },
        "childrenIds": {
          "anyOf": [
            { "default": [], "type": "array", "items": { "type": "string" } },
            { "type": "null" }
          ]
        },
        "order": { "type": "number" }
      },
      "required": [
        "createdAt",
        "id",
        "talent",
        "talentId",
        "phase",
        "phaseId",
        "program",
        "programId",
        "status",
        "talentBlocks",
        "talentBlockIds",
        "parent",
        "parentId",
        "children",
        "childrenIds",
        "order"
      ]
    },
    "resetParams": {
      "$id": "ResetTalentPhaseInput",
      "type": "object",
      "properties": {
        "talentPhaseId": { "type": "string" },
        "clearAnswers": { "default": false, "type": "boolean" },
        "reinitialize": { "default": false, "type": "boolean" },
        "talentSubphaseIds": {
          "anyOf": [
            { "type": "array", "items": { "type": "string" } },
            { "type": "null" }
          ]
        }
      },
      "required": ["talentPhaseId", "clearAnswers", "reinitialize"]
    }
  },
  "required": ["talentPhase", "resetParams"]
}


Edit this pageLast updated on 2024/8/5