ProjectEvaluationResetEvent
v2

Project

Details

Example event payload

1{
2  "id": 6119688,
3  "createdAt": "2023-07-10T07:46:58.258Z",
4  "updatedAt": "2023-07-10T07:46:58.333Z",
5  "eventName": "ProjectEvaluationResetEvent",
6  "keyId": "dc813325-edd8-41ae-822f-430f207599d5",
7  "eventData": {
8    "name": "ProjectEvaluationResetEvent",
9    "type": "event",
10    "keyId": "dc813325-edd8-41ae-822f-430f207599d5",
11    "version": 2,
12    "payload": {
13      "user": {
14        "id": "9a60945c-0a96-4013-bf22-d0689d544341"
15      },
16      "talent": {
17        "id": "7e60945c-0a96-4013-bf22-d0689d544341"
18      },
19      "projectEvaluation": {
20        "id": "dc08328c-c0f7-4d86-8900-9009c0286534",
21        "status": "UNSET",
22        "resetAt": "2023-07-10T11:46:57.954Z",
23        "variant": "FEASIBILITY",
24        "projectId": "694659d0-74e2-4106-8dcd-d9c1f0aa46c0",
25        "projectEvaluationRatingIds": []
26      }
27    }
28  },
29  "status": "ACKNOWLEDGED",
30  "publisherNodeId": "phoenix-production-788774c7f-jz25k",
31  "processorNodeId": "phoenix-production-788774c7f-8xmfs",
32  "version": 2,
33  "userId": "9a60945c-0a96-4013-bf22-d0689d544341",
34  "talentId": "7e60945c-0a96-4013-bf22-d0689d544341"
35}
36

ProjectEvaluationResetEvent payload

ProjectEvaluationResetEvent Schema (json)
{
  "$id": "ProjectEvaluationResetEventPayloadTSchema",
  "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" },
        "resetAt": {
          "anyOf": [
            { "format": "datetime", "type": "string" },
            { "type": "null" }
          ]
        },
        "projectEvaluationRatingIds": {
          "anyOf": [
            {
              "description": "Project evaluation ids associated with this project evaluation rating.",
              "type": "array",
              "items": { "type": "string" }
            },
            { "type": "null" }
          ]
        }
      },
      "required": ["id", "status", "variant", "projectId", "resetAt"]
    }
  },
  "required": ["user", "talent", "projectEvaluation"]
}


Edit this pageLast updated on 2024/8/5