ProjectDeletedEventv2
Project
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 "payload": {
12 "user": {
13 "id": "2343c7e4-876d-4f95-9eca-353d2bb42eb6"
14 },
15 "talent": {
16 "id": "1234c7e4-876d-4f95-9eca-353d2bb42eb6"
17 },
18 "project": {
19 "id": "25302403-3435-4c9e-85b3-131bab6af254",
20 "name": "Sage-femme",
21 "roleId": null,
22 "status": "IN_PROGRESS",
23 "deletedAt": "2023-07-13T21:08:37.735Z",
24 "description": "devenir sage-femme",
25 "talentProfileId": "1400a24e-3e37-4ef7-b163-fa3cbf7a92b4",
26 "pillarCriteriaIds": [],
27 "projectEvaluationIds": [
28 "f99f764a-c86e-4be6-9ae2-972d98a930e1",
29 "8fab72db-4d51-473e-8e85-9d6994b2ff94",
30 "39e7e279-fc72-4571-b04e-fcb19030da6b"
31 ]
32 }
33 },
34
35 "version": 2
36 },
37 "status": "ACKNOWLEDGED",
38 "publisherNodeId": "phoenix-production-788774c7f-ptzwj",
39 "processorNodeId": "phoenix-production-788774c7f-v2hp2",
40 "version": 2,
41 "userId": "2343c7e4-876d-4f95-9eca-353d2bb42eb6",
42 "talentId": "1234c7e4-876d-4f95-9eca-353d2bb42eb6"
43}
44ProjectDeletedEvent payload
ProjectDeletedEvent Schema (json)
{
"$id": "ProjectDeletedEventPayloadTSchema",
"type": "object",
"properties": {
"user": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
},
"talent": {
"type": "object",
"properties": { "id": { "type": "string" } },
"required": ["id"]
},
"project": {
"type": "object",
"properties": {
"deletedAt": {
"anyOf": [
{ "format": "datetime", "type": "string" },
{ "type": "null" }
]
},
"id": { "type": "string" },
"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" }
]
},
"talentProfileId": {
"description": "ID of the talent profile associated with this project. The owner.",
"type": "string"
},
"roleId": {
"anyOf": [
{
"description": "ID of the role associated with this project. References career-explorer api.",
"nullable": true,
"type": "number"
},
{ "type": "null" }
]
},
"pillarCriteriaIds": {
"anyOf": [
{
"description": "Pillar criteria ids associated with this project.",
"type": "array",
"items": { "type": "string" }
},
{ "type": "null" }
]
},
"projectEvaluationIds": {
"anyOf": [
{
"description": "Project ids associated with this talent profile.",
"type": "array",
"items": { "type": "string" }
},
{ "type": "null" }
]
}
},
"required": ["id", "status", "talentProfileId", "roleId"]
}
},
"required": ["user", "talent", "project"]
}
Domain Graph
Edit this pageLast updated on 2024/8/5