ProjectEvaluationCreatedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6104683,
3  "createdAt": "2023-07-10T02:54:40.183Z",
4  "updatedAt": "2023-07-10T02:54:40.218Z",
5  "eventName": "ProjectEvaluationCreatedEvent",
6  "keyId": "35f5a3ff-ed60-4e76-913b-e39c504a0560",
7  "eventData": {
8    "name": "ProjectEvaluationCreatedEvent",
9    "type": "event",
10    "keyId": "35f5a3ff-ed60-4e76-913b-e39c504a0560",
11    "version": 2,
12    "payload": {
13      "user": {
14        "id": "34d9e496-fe96-41ef-8e2a-42ec0538c6f7"
15      },
16      "talent": {
17        "id": "29d9e496-fe96-41ef-8e2a-42ec0538c6f7"
18      },
19      "projectEvaluation": {
20        "id": "83bbf6ea-c641-493f-af14-41636052ae50",
21        "status": "UNSET",
22        "variant": "FEASIBILITY",
23        "projectId": "204451c2-4ab1-4f3b-a4dc-0fc733444d96",
24        "projectEvaluationRatingIds": []
25      }
26    }
27  },
28  "status": "ACKNOWLEDGED",
29  "publisherNodeId": "phoenix-production-788774c7f-v2hp2",
30  "processorNodeId": "phoenix-production-788774c7f-ptzwj",
31  "version": 2,
32  "userId": "34d9e496-fe96-41ef-8e2a-42ec0538c6f7",
33  "talentId": "29d9e496-fe96-41ef-8e2a-42ec0538c6f7"
34}
35

ProjectEvaluationCreatedEvent payload

ProjectEvaluationCreatedEvent Schema (json)
{
  "$id": "ProjectEvaluationCreatedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "user": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "talent": {
      "type": "object",
      "properties": { "id": { "type": "string" } },
      "required": ["id"]
    },
    "projectEvaluation": {
      "type": "object",
      "properties": {
        "id": { "type": "string" },
        "status": {
          "default": "UNSET",
          "description": "Project evaluation status",
          "anyOf": [
            { "const": "UNSET", "type": "string" },
            { "const": "CONFIRMED", "type": "string" },
            { "const": "REJECTED", "type": "string" }
          ]
        },
        "variant": {
          "description": "Project evaluation variant",
          "anyOf": [
            { "const": "FEASIBILITY", "type": "string" },
            { "const": "REALISM", "type": "string" },
            { "const": "MOTIVATION", "type": "string" }
          ]
        },
        "projectId": { "type": "string" },
        "projectEvaluationRatingIds": {
          "anyOf": [
            {
              "description": "Project evaluation ids associated with this project evaluation rating.",
              "type": "array",
              "items": { "type": "string" }
            },
            { "type": "null" }
          ]
        }
      },
      "required": ["id", "status", "variant", "projectId"]
    }
  },
  "required": ["user", "talent", "projectEvaluation"]
}


Edit this pageLast updated on 2024/8/5