{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-drive/json-schema/google-drive-resolve-access-proposal-request-schema.json",
  "title": "ResolveAccessProposalRequest",
  "description": "Request message for resolving an AccessProposal on a file.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-drive-accessproposals-api-openapi.yml#/components/schemas/ResolveAccessProposalRequest",
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "description": "Required. The action to take on the access proposal.",
      "enum": [
        "ACTION_UNSPECIFIED",
        "ACCEPT",
        "DENY"
      ]
    },
    "view": {
      "type": "string",
      "description": "Optional. Indicates the view for this access proposal. This should only be set when the proposal belongs to a view. Only `published` is supported."
    },
    "sendNotification": {
      "type": "boolean",
      "description": "Optional. Whether to send an email to the requester when the access proposal is denied or accepted."
    },
    "role": {
      "type": "array",
      "description": "Optional. The roles that the approver has allowed, if any. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles). Note: This field is required for the `ACCEPT` action.",
      "items": {
        "type": "string"
      }
    }
  }
}