{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indeed/json-schema/indeed-disposition-update-schema.json",
  "title": "DispositionUpdate",
  "description": "An update to the disposition (application status) of a candidate for a specific job posting. Used to sync hiring pipeline status changes back to Indeed.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/indeed-candidates-api-openapi.yml#/components/schemas/DispositionUpdate",
  "type": "object",
  "required": [
    "applicationId",
    "status"
  ],
  "properties": {
    "applicationId": {
      "type": "string",
      "description": "The unique identifier for the application."
    },
    "status": {
      "type": "string",
      "description": "The new disposition status for the application. Must be one of Indeed's predefined categories.",
      "enum": [
        "NEW",
        "CONTACTED",
        "INTERVIEWED",
        "OFFERED",
        "HIRED",
        "REJECTED"
      ]
    },
    "statusUpdatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "The timestamp when the status change occurred."
    },
    "rejectionReason": {
      "type": "string",
      "description": "The reason for rejection, if the status is REJECTED."
    }
  }
}