ProjectCreatedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6108834,
3  "createdAt": "2023-07-10T04:34:30.252Z",
4  "updatedAt": "2023-07-10T04:34:30.274Z",
5  "eventName": "ProjectCreatedEvent",
6  "keyId": "efda08ee-17d8-424e-b24e-af704de3f025",
7  "eventData": {
8    "name": "ProjectCreatedEvent",
9    "type": "event",
10    "keyId": "efda08ee-17d8-424e-b24e-af704de3f025",
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": "cdd90a26-18a8-4ab1-b583-187c258d53d8",
20        "name": "Mon métier d'avenir",
21        "roleId": 244,
22        "status": "IN_PROGRESS",
23        "createdAt": "2023-07-10T08:34:30.238Z",
24        "description": "Je voudrais travailler pour moi, en gagnant au moins trois mille euros pour que le travail soit disponible à mesure que je vieillis. Je veux aider les gens, être satisfait du fait que je rends le monde.",
25        "talentProfileId": "ac4f3a12-36c3-41b2-9e79-731841d2d50b",
26        "pillarCriteriaIds": [
27          "2b5cc220-cb8e-4430-a919-0cf25a513364",
28          "39479c7f-7b99-4899-84e1-4b89dead0024",
29          "dfe4ddc1-da9a-4d08-9b17-ea555917aa70",
30          "0c0046ce-91d7-4d53-bb70-52f6aa100012",
31          "dfbcc5f7-debe-4b08-9915-5e4bb368b2e4",
32          "9fd03fc5-3806-4ef8-a01f-5e55433c5f95",
33          "584c0cf7-11d0-48e4-8a7c-bbc566d6fc63",
34          "dfd0d4eb-0c66-4447-82e4-5284bbc11be6"
35        ]
36      }
37    },
38    "version": 2
39  },
40  "status": "ACKNOWLEDGED",
41  "publisherNodeId": "phoenix-production-788774c7f-9dccm",
42  "processorNodeId": "phoenix-production-788774c7f-v2hp2",
43  "version": 2,
44  "userId": "2343c7e4-876d-4f95-9eca-353d2bb42eb6",
45  "talentId": "1234c7e4-876d-4f95-9eca-353d2bb42eb6"
46}
47

ProjectCreatedEvent payload

ProjectCreatedEvent Schema (json)
{
  "$id": "ProjectCreatedEventPayloadTSchema",
  "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": {
        "createdAt": { "format": "datetime", "type": "string" },
        "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": [
        "createdAt",
        "id",
        "name",
        "status",
        "talentProfileId",
        "roleId"
      ]
    }
  },
  "required": ["user", "talent", "project"]
}


Edit this pageLast updated on 2024/8/5