{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/eightfold-ai/json-schema/eightfold-ai-performance-feedback-request-schema-schema.json",
  "title": "PerformanceFeedbackRequestSchema",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/eightfold-ai-performance-feedback-api-openapi.yml#/components/schemas/PerformanceFeedbackRequestSchema",
  "type": "object",
  "properties": {
    "deadline": {
      "type": [
        "string",
        "null"
      ],
      "description": "ISO datetime by which the reviewer should respond"
    },
    "requesteeEmails": {
      "type": "array",
      "description": "Reviewer emails to ask for feedback — one ProfileFeedback row is created per email",
      "items": {
        "type": "string"
      }
    },
    "onBehalfOf": {
      "type": [
        "string",
        "null"
      ],
      "description": "Email of the person on whose behalf this request is sent (delegation)"
    },
    "contextPrompt": {
      "type": [
        "string",
        "null"
      ],
      "description": "Free-text context shown to the reviewer"
    },
    "profileEncId": {
      "type": "string",
      "description": "Encoded profile ID of the candidate the feedback is about"
    },
    "templateId": {
      "type": "integer",
      "format": "int32",
      "description": "ID of the question template the reviewers should fill out"
    }
  },
  "required": [
    "profileEncId",
    "requesteeEmails",
    "templateId"
  ]
}