ProjectCreatedEvent
v1

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

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		"project": {
12			"id": "cdd90a26-18a8-4ab1-b583-187c258d53d8",
13			"name": "Mon métier d'avenir",
14			"roleId": 244,
15			"status": "IN_PROGRESS",
16			"createdAt": "2023-07-10T08:34:30.238Z",
17			"deletedAt": null,
18			"updatedAt": "2023-07-10T08:34:30.238Z",
19			"archivedAt": null,
20			"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.",
21			"talentProfile": {
22				"id": "ac4f3a12-36c3-41b2-9e79-731841d2d50b"
23			},
24			"pillarCriteria": [{
25				"id": "2b5cc220-cb8e-4430-a919-0cf25a513364"
26			}, {
27				"id": "39479c7f-7b99-4899-84e1-4b89dead0024"
28			}, {
29				"id": "dfe4ddc1-da9a-4d08-9b17-ea555917aa70"
30			}, {
31				"id": "0c0046ce-91d7-4d53-bb70-52f6aa100012"
32			}, {
33				"id": "dfbcc5f7-debe-4b08-9915-5e4bb368b2e4"
34			}, {
35				"id": "9fd03fc5-3806-4ef8-a01f-5e55433c5f95"
36			}, {
37				"id": "584c0cf7-11d0-48e4-8a7c-bbc566d6fc63"
38			}, {
39				"id": "dfd0d4eb-0c66-4447-82e4-5284bbc11be6"
40			}],
41			"talentProfileId": "ac4f3a12-36c3-41b2-9e79-731841d2d50b",
42			"pillarCriteriaIds": ["2b5cc220-cb8e-4430-a919-0cf25a513364", "39479c7f-7b99-4899-84e1-4b89dead0024", "dfe4ddc1-da9a-4d08-9b17-ea555917aa70", "0c0046ce-91d7-4d53-bb70-52f6aa100012", "dfbcc5f7-debe-4b08-9915-5e4bb368b2e4", "9fd03fc5-3806-4ef8-a01f-5e55433c5f95", "584c0cf7-11d0-48e4-8a7c-bbc566d6fc63", "dfd0d4eb-0c66-4447-82e4-5284bbc11be6"]
43		},
44		"version": 1
45	},
46	"status": "ACKNOWLEDGED",
47	"publisherNodeId": "phoenix-production-788774c7f-9dccm",
48	"processorNodeId": "phoenix-production-788774c7f-v2hp2",
49	"version": 1,
50	"userId": null,
51	"talentId": null
52}
53

ProjectCreatedEvent payload

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