{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/beyondtrust/refs/heads/main/json-schema/beyondtrust-update-request-body-schema.json",
  "title": "UpdateRequestBody",
  "description": "Request body for approving, denying, or cancelling a request.",
  "type": "object",
  "properties": {
    "Action": {
      "type": "string",
      "description": "The action to perform on the request.",
      "enum": [
        "Approve",
        "Deny",
        "Cancel"
      ],
      "example": "Approve"
    },
    "Reason": {
      "type": "string",
      "description": "Reason for the action.",
      "example": "Approved for maintenance window"
    }
  },
  "required": [
    "Action"
  ]
}