ProjectArchivedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6159790,
3  "createdAt": "2023-07-11T08:47:14.503Z",
4  "updatedAt": "2023-07-11T08:47:14.537Z",
5  "eventName": "ProjectArchivedEvent",
6  "keyId": "0ab37dbe-8135-4c59-8868-199752c2461c",
7  "eventData": {
8    "name": "ProjectArchivedEvent",
9    "type": "event",
10    "keyId": "0ab37dbe-8135-4c59-8868-199752c2461c",
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": "2059b40f-a737-4abe-8944-8d3824992ee6",
20        "name": "Devenir Travel Planner",
21        "roleId": 599,
22        "status": "ARCHIVED",
23        "archivedAt": "2023-07-11T12:47:14.481Z",
24        "description": "Je souhaite pouvoir travailler à compte en tant que travel planner spécialisé dans le voyage en France, ou dans la région Occitanie.",
25        "talentProfileId": "4672a2f7-d168-4587-b630-fe035a95a555",
26        "pillarCriteriaIds": [
27          "1572c7e4-876d-4f95-9eca-353d2bb42eb6",
28          "18222b99-74b3-403a-8043-22199a791d33",
29          "182a8489-d785-415d-8db3-58fe47f92633",
30          "1dba3ca0-cdf6-4ce4-94be-fe5498840d70",
31          "1f92984c-699c-40d0-8810-2e695757ab2c"
32        ],
33        "projectEvaluationIds": [
34          "b3a9de46-a218-40fd-be62-2f12b34059d9",
35          "d631a98b-d32c-4499-adb2-7ae67e054930",
36          "2bc554ad-3f0b-4c42-b30e-214815af798a"
37        ]
38      }
39    },
40
41    "version": 2
42  },
43  "status": "ACKNOWLEDGED",
44  "publisherNodeId": "phoenix-production-788774c7f-jz25k",
45  "processorNodeId": "phoenix-production-788774c7f-jz25k",
46  "version": 2,
47  "userId": "2343c7e4-876d-4f95-9eca-353d2bb42eb6",
48  "talentId": "1234c7e4-876d-4f95-9eca-353d2bb42eb6"
49}
50

ProjectArchivedEvent payload

ProjectArchivedEvent Schema (json)
{
  "$id": "ProjectArchivedEventPayloadTSchema",
  "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": {
        "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" }
          ]
        },
        "archivedAt": {
          "anyOf": [
            { "format": "datetime", "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", "archivedAt"]
    }
  },
  "required": ["user", "talent", "project"]
}


Edit this pageLast updated on 2024/8/5