ProjectArchivedEvent
v1

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

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		"project": {
12			"id": "2059b40f-a737-4abe-8944-8d3824992ee6",
13			"name": "Devenir Travel Planner",
14			"roleId": 599,
15			"status": "ARCHIVED",
16			"createdAt": "2023-07-11T12:44:01.300Z",
17			"deletedAt": null,
18			"updatedAt": "2023-07-11T12:47:14.496Z",
19			"archivedAt": "2023-07-11T12:47:14.481Z",
20			"description": "Je souhaite pouvoir travailler à compte en tant que travel planner spécialisé dans le voyage en France, ou dans la région Occitanie.",
21			"talentProfileId": "4672a2f7-d168-4587-b630-fe035a95a555",
22			"pillarCriteriaIds": ["1572c7e4-876d-4f95-9eca-353d2bb42eb6", "18222b99-74b3-403a-8043-22199a791d33", "182a8489-d785-415d-8db3-58fe47f92633", "1dba3ca0-cdf6-4ce4-94be-fe5498840d70", "1f92984c-699c-40d0-8810-2e695757ab2c", "4910b730-99ce-440f-9311-f97c9125595d", "589d7598-0c9c-423e-a0cf-0a5c20a9da5c", "6562f2b4-d0b3-4038-86e5-f7dfd515870f", "84c84273-34f2-40b7-91f8-2643f7e4c36c", "8b98e486-fcf3-4ff1-8f97-99fe2e58f1d7", "8c8a2fdf-02bd-4a62-88ec-190c9e19650a", "981c20a0-1c6e-42fd-91d4-6a74f8fe62cf", "98f00207-75f7-4eab-9b28-59a7759975bb", "a9e319b1-a96b-4f07-aba3-8038df34b6d6", "aa36afec-fa67-4b73-aeb0-5fb3a85b0ace", "b157dc12-b682-4ae9-b9b4-6bac456f5d59", "beb6b580-6a4a-437f-b25f-731769730e02", "cf2ecdf3-ef9d-4767-aa05-a3395db192f8", "d86e76b9-3f21-4c58-af22-639154c76316", "d89d167a-d48e-4a68-80ae-338d31787c3b", "f18c00cb-e7b3-403b-8c54-f8f36fa6a2e2"],
23			"projectEvaluationIds": ["b3a9de46-a218-40fd-be62-2f12b34059d9", "d631a98b-d32c-4499-adb2-7ae67e054930", "2bc554ad-3f0b-4c42-b30e-214815af798a"]
24		},
25		"version": 1
26	},
27	"status": "ACKNOWLEDGED",
28	"publisherNodeId": "phoenix-production-788774c7f-jz25k",
29	"processorNodeId": "phoenix-production-788774c7f-jz25k",
30	"version": 1,
31	"userId": null,
32	"talentId": null
33}

ProjectArchivedEvent payload

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