{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/harness/main/json-schema/harness-update-approval-request-schema.json",
  "title": "UpdateApprovalRequest",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/harness-approvals-api-openapi.yml#/components/schemas/UpdateApprovalRequest",
  "type": "object",
  "properties": {
    "actioned_by": {
      "type": "string",
      "description": "User that approved/rejected the step"
    },
    "actioned_by_email": {
      "type": "string",
      "description": "Email of the user that approved/rejected the step"
    },
    "status": {
      "type": "string",
      "description": "Status update to be performed upon the Approval step",
      "default": "pending",
      "enum": [
        "approved",
        "rejected",
        "pending"
      ]
    }
  },
  "required": [
    "status",
    "pipeline_execution_id",
    "pipeline_stage_id",
    "workspace_id"
  ]
}