{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-drive/json-schema/google-drive-reassign-approval-request-schema.json",
  "title": "ReassignApprovalRequest",
  "description": "Request for reassigning an approval. Reviewers can be added or replaced, but not removed.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-drive-approvals-api-openapi.yml#/components/schemas/ReassignApprovalRequest",
  "type": "object",
  "properties": {
    "replaceReviewers": {
      "type": "array",
      "description": "Optional. The list of reviewer replacements.",
      "items": {
        "$ref": "#/$defs/ReplaceReviewer"
      }
    },
    "addReviewers": {
      "type": "array",
      "description": "Optional. The list of reviewers to add.",
      "items": {
        "$ref": "#/$defs/AddReviewer"
      }
    },
    "message": {
      "type": "string",
      "description": "Optional. A message to send to the new reviewers. This message is included in notifications for the action and in the approval activity log."
    }
  },
  "$defs": {
    "AddReviewer": {
      "type": "object",
      "description": "Representation of a reviewer addition.",
      "properties": {
        "addedReviewerEmail": {
          "type": "string",
          "description": "Required. The email of the reviewer to add."
        }
      }
    },
    "ReplaceReviewer": {
      "type": "object",
      "description": "Representation of a reviewer replacement.",
      "properties": {
        "removedReviewerEmail": {
          "type": "string",
          "description": "Required. The email of the reviewer to remove."
        },
        "addedReviewerEmail": {
          "type": "string",
          "description": "Required. The email of the reviewer to add."
        }
      }
    }
  }
}