ProjectDeletedEvent
v1

Project
You are currently viewing an old version of this event (1).Read latest version →

Details

Example event payload

1{
2	"id": 6240529,
3	"createdAt": "2023-07-13T17:08:37.747Z",
4	"updatedAt": "2023-07-13T17:08:37.778Z",
5	"eventName": "ProjectDeletedEvent",
6	"keyId": "fb46c3f4-8993-4699-8f7b-bc0beec535ce",
7	"eventData": {
8		"name": "ProjectDeletedEvent",
9		"type": "event",
10		"keyId": "fb46c3f4-8993-4699-8f7b-bc0beec535ce",
11		"project": {
12			"id": "25302403-3435-4c9e-85b3-131bab6af254",
13			"name": "Sage-femme",
14			"roleId": null,
15			"status": "IN_PROGRESS",
16			"createdAt": "2023-06-25T21:32:04.292Z",
17			"deletedAt": "2023-07-13T21:08:37.735Z",
18			"updatedAt": "2023-07-13T21:08:37.735Z",
19			"archivedAt": null,
20			"description": "devenir sage-femme",
21			"talentProfileId": "1400a24e-3e37-4ef7-b163-fa3cbf7a92b4",
22			"pillarCriteriaIds": [],
23			"projectEvaluationIds": ["f99f764a-c86e-4be6-9ae2-972d98a930e1", "8fab72db-4d51-473e-8e85-9d6994b2ff94", "39e7e279-fc72-4571-b04e-fcb19030da6b"]
24		},
25		"version": 1
26	},
27	"status": "ACKNOWLEDGED",
28	"publisherNodeId": "phoenix-production-788774c7f-ptzwj",
29	"processorNodeId": "phoenix-production-788774c7f-v2hp2",
30	"version": 1,
31	"userId": null,
32	"talentId": null
33}

ProjectDeletedEvent payload

ProjectDeletedEvent Schema (json)
{
  "$id": "ProjectDeletedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "project": {
      "$id": "ProjectEntity",
      "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" },
        "name": { "description": "Project name", "type": "string" },
        "description": {
          "anyOf": [
            { "description": "Project description", "type": "string" },
            { "type": "null" }
          ]
        },
        "status": {
          "default": "IN_PROGRESS",
          "description": "Project status",
          "anyOf": [
            { "const": "ARCHIVED", "type": "string" },
            { "const": "IN_PROGRESS", "type": "string" },
            { "const": "VALIDATED", "type": "string" },
            { "const": "DELETED", "type": "string" }
          ]
        },
        "talentProfile": {
          "description": "Talent Profile object associated with this project. The owner."
        },
        "talentProfileId": {
          "description": "ID of the talent profile associated with this project. The owner.",
          "type": "string"
        },
        "role": {
          "anyOf": [
            { "description": "Role associated with this project." },
            { "type": "null" }
          ]
        },
        "roleId": {
          "anyOf": [
            {
              "description": "ID of the role associated with this project. References career-explorer api.",
              "nullable": true,
              "type": "number"
            },
            { "type": "null" }
          ]
        },
        "pillarCriteria": {
          "anyOf": [{ "type": "array", "items": {} }, { "type": "null" }]
        },
        "pillarCriteriaIds": {
          "anyOf": [
            {
              "description": "Pillar criteria ids associated with this project.",
              "type": "array",
              "items": { "type": "string" }
            },
            { "type": "null" }
          ]
        },
        "archivedAt": { "format": "datetime", "type": "string" },
        "projectEvaluations": {
          "anyOf": [
            {
              "description": "Project evaluations associated with this project.",
              "type": "array",
              "items": {}
            },
            { "type": "null" }
          ]
        },
        "projectEvaluationIds": {
          "anyOf": [
            {
              "description": "Project ids associated with this talent profile.",
              "type": "array",
              "items": { "type": "string" }
            },
            { "type": "null" }
          ]
        },
        "feasibility": {},
        "realism": {},
        "motivation": {}
      },
      "required": [
        "createdAt",
        "id",
        "name",
        "status",
        "talentProfile",
        "talentProfileId",
        "roleId",
        "archivedAt",
        "feasibility",
        "realism",
        "motivation"
      ]
    }
  },
  "required": ["project"]
}


Edit this pageLast updated on 2024/8/5