ProjectEvaluationRatingCreatedEvent
v1

Project

Details

Example event payload

1{
2	"id": 6102114,
3	"createdAt": "2023-07-09T17:45:27.632Z",
4	"updatedAt": "2023-07-09T17:45:27.671Z",
5	"eventName": "ProjectEvaluationRatingCreatedEvent",
6	"keyId": "1ff4c2f3-f677-46a3-a844-2248e9f70047",
7	"eventData": {
8		"name": "ProjectEvaluationRatingCreatedEvent",
9		"type": "event",
10		"keyId": "1ff4c2f3-f677-46a3-a844-2248e9f70047",
11		"version": 1,
12		"projectEvaluationRating": {
13			"id": "94dc4b64-3c61-439b-8fb9-356a19a380af",
14			"type": "NUMERIC",
15			"variant": "PREREQUISITES",
16			"createdAt": "2023-07-09T21:45:27.624Z",
17			"deletedAt": null,
18			"updatedAt": "2023-07-09T21:45:27.624Z",
19			"elementText": "Inspecter les installations ou les équipements.",
20			"booleanValue": null,
21			"numericValue": null,
22			"projectEvaluation": {
23				"id": "56685edd-7fbf-4a6c-8f69-986ea305f91c"
24			},
25			"projectEvaluationId": "56685edd-7fbf-4a6c-8f69-986ea305f91c"
26		}
27	},
28	"status": "ACKNOWLEDGED",
29	"publisherNodeId": "phoenix-production-788774c7f-8xmfs",
30	"processorNodeId": "phoenix-production-788774c7f-9dccm",
31	"version": 1,
32	"userId": null,
33	"talentId": null
34}

ProjectEvaluationRatingCreatedEvent payload

ProjectEvaluationRatingCreatedEvent Schema (json)
{
  "$id": "ProjectEvaluationRatingCreatedEventPayloadTSchema",
  "type": "object",
  "properties": {
    "projectEvaluationRating": {
      "$id": "ProjectEvaluationRatingEntity",
      "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" },
        "projectEvaluation": {},
        "projectEvaluationId": { "type": "string" },
        "variant": {
          "description": "Project evaluation rating variant",
          "anyOf": [
            { "const": "PREREQUISITES", "type": "string" },
            { "const": "ASPIRATIONS", "type": "string" },
            { "const": "IMPERATIVES", "type": "string" }
          ]
        },
        "type": {
          "description": "Project evaluation rating type",
          "anyOf": [
            { "const": "NUMERIC", "type": "string" },
            { "const": "BOOLEAN", "type": "string" }
          ]
        },
        "numericValue": {
          "anyOf": [
            {
              "minimum": 1,
              "maximum": 10,
              "description": "Value must be an integer ranging from 1 to 10",
              "type": "number"
            },
            { "type": "null" }
          ]
        },
        "booleanValue": {
          "anyOf": [
            { "description": "Value must be boolean", "type": "boolean" },
            { "type": "null" }
          ]
        }
      },
      "required": [
        "createdAt",
        "id",
        "projectEvaluation",
        "projectEvaluationId",
        "variant",
        "type"
      ]
    }
  },
  "required": ["projectEvaluationRating"]
}


Edit this pageLast updated on 2024/8/5