ProjectEvaluationConfirmedEvent
v2

Project

Details

Example event payload

1{
2  "id": 6106346,
3  "createdAt": "2023-07-10T03:39:13.676Z",
4  "updatedAt": "2023-07-10T03:39:13.791Z",
5  "eventName": "ProjectEvaluationConfirmedEvent",
6  "keyId": "f24c349d-ce5a-48df-a367-cdeb4f394f4b",
7  "eventData": {
8    "name": "ProjectEvaluationConfirmedEvent",
9    "type": "event",
10    "keyId": "f24c349d-ce5a-48df-a367-cdeb4f394f4b",
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": "68b1b387-4bb1-442a-a600-a2538b8081d6",
21        "status": "CONFIRMED",
22        "variant": "MOTIVATION",
23        "projectId": "6cf6b1da-b447-4fef-b760-1e4037bc7f0a",
24        "projectEvaluationRatingIds": ["6e49249b-0f6f-4fe7-ac09-5cb475ae5e8b"]
25      }
26    }
27  },
28  "status": "ACKNOWLEDGED",
29  "publisherNodeId": "phoenix-production-788774c7f-ptzwj",
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

ProjectEvaluationConfirmedEvent payload

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