ProjectValidatedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6127147,
3  "createdAt": "2023-07-10T10:04:33.909Z",
4  "updatedAt": "2023-07-10T10:04:33.999Z",
5  "eventName": "ProjectValidatedEvent",
6  "keyId": "c7ad0a6a-edac-4a00-9ff3-993c7f1e6556",
7  "eventData": {
8    "name": "ProjectValidatedEvent",
9    "type": "event",
10    "keyId": "c7ad0a6a-edac-4a00-9ff3-993c7f1e6556",
11    "payload": {
12      "user": {
13        "id": "a34c11e1-f483-4453-85ab-043936876cff"
14      },
15      "talent": {
16        "id": "bad085ce-2823-481f-928b-b8dc756d83f0"
17      },
18      "project": {
19        "id": "67b8d2ab-a289-4565-847d-d99a06ede574",
20        "name": "Le projet rêvé",
21        "roleId": 235,
22        "status": "VALIDATED",
23        "description": "Je suis co-gérante avec mon conjoint d'un lieu créatif, de loisir et de séminaire au bord de l'océan. J'y gère la partie créative et co-gère la partie chambre d'hôtes. 
24Le concept tourne autour de l'évasion, création et convivialité.",
25        "talentProfileId": "b6a81aad-5318-4f24-b3b2-65ada06fb61c",
26        "pillarCriteriaIds": [
27          "dfbcc5f7-debe-4b08-9915-5e4bb368b2e4",
28          "dfd0d4eb-0c66-4447-82e4-5284bbc11be6",
29          "dfe4ddc1-da9a-4d08-9b17-ea555917aa70",
30          "f99a40e4-8849-40c3-ad85-25a3332b1bd6"
31        ],
32        "projectEvaluationIds": [
33          "8d4a17a3-ad89-4919-afdf-99bfc87fa56b",
34          "f611e9b9-1400-47ca-8c77-6a4ebd84ae75",
35          "a64ef4ce-4631-4614-9f36-789c1902cb9f"
36        ]
37      }
38    },
39    "version": 2
40  },
41  "status": "ACKNOWLEDGED",
42  "publisherNodeId": "phoenix-production-788774c7f-8xmfs",
43  "processorNodeId": "phoenix-production-788774c7f-ptzwj",
44  "version": 2,
45  "userId": "a34c11e1-f483-4453-85ab-043936876cff",
46  "talentId": "bad085ce-2823-481f-928b-b8dc756d83f0"
47}
48

ProjectValidatedEvent payload

ProjectValidatedEvent Schema (json)
{
  "$id": "ProjectValidatedEventPayloadTSchema",
  "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" }
          ]
        },
        "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"]
}


Edit this pageLast updated on 2024/8/5