ProjectUpdatedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6118206,
3  "createdAt": "2023-07-10T07:12:36.420Z",
4  "updatedAt": "2023-07-10T07:12:36.453Z",
5  "eventName": "ProjectUpdatedEvent",
6  "keyId": "fbf34817-3ada-4764-b192-f886d20b5e27",
7  "eventData": {
8    "name": "ProjectUpdatedEvent",
9    "type": "event",
10    "keyId": "fbf34817-3ada-4764-b192-f886d20b5e27",
11    "payload": {
12      "user": {
13        "id": "a34c11e1-f483-4453-85ab-043936876cff"
14      },
15      "talent": {
16        "id": "e35c11e1-f483-4453-85ab-043936876cff"
17      },
18      "project": {
19        "id": "1c389fb5-f0e0-4da0-b3c8-46f9782781a2",
20        "name": "Aventure entrepreneuriale ",
21        "roleId": 1241,
22        "status": "VALIDATED",
23        "description": "Développer une plateforme web et/ou application qui connecte les gens,  facilite la transmission des savoirs autour du hobby",
24        "talentProfileId": "27dff62e-067c-4e26-b979-2e840d68492a",
25        "pillarCriteriaIds": [
26          "00bdbcc2-3e2d-4314-a4e9-adf26b9e3e73",
27          "0f4b06a6-7f8d-46ab-afa1-bc573a2b9496",
28          "9aeab4ac-6c76-4908-a3ea-9d245cd81aa6",
29          "f4cead0d-fba2-45b5-acd3-592d0987a89b"
30        ],
31        "projectEvaluationIds": [
32          "ff4ea8fe-f6a7-4d58-974f-8b73b1f17a43",
33          "b1aa0577-2701-489f-b179-f3fd6020c8d6",
34          "42fddfa8-d3c1-4ed1-be28-d005bf23d10b"
35        ]
36      }
37    },
38    "version": 2
39  },
40  "status": "ACKNOWLEDGED",
41  "publisherNodeId": "phoenix-production-788774c7f-jz25k",
42  "processorNodeId": "phoenix-production-788774c7f-9dccm",
43  "version": 2,
44  "userId": "a34c11e1-f483-4453-85ab-043936876cff",
45  "talentId": "e35c11e1-f483-4453-85ab-043936876cff"
46}
47

ProjectUpdatedEvent payload

ProjectUpdatedEvent Schema (json)
{
  "$id": "ProjectUpdatedEventPayloadTSchema",
  "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" },
        "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" }
          ]
        },
        "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", "name", "status", "talentProfileId", "roleId"]
    },
    "hasRoleChanged": { "type": "boolean" },
    "updatedPillarTypes": {
      "type": "array",
      "items": {
        "anyOf": [
          { "const": "ENVIRONMENT", "type": "string" },
          { "const": "PROFESSION", "type": "string" },
          { "const": "PURPOSE", "type": "string" },
          { "const": "REQUIREMENTS", "type": "string" }
        ]
      }
    }
  },
  "required": [
    "user",
    "talent",
    "project",
    "hasRoleChanged",
    "updatedPillarTypes"
  ]
}


Edit this pageLast updated on 2024/8/5