{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-drive/json-schema/google-drive-list-access-proposals-response-schema.json",
  "title": "ListAccessProposalsResponse",
  "description": "The response to an access proposal list request.",
  "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/ListAccessProposalsResponse",
  "type": "object",
  "properties": {
    "nextPageToken": {
      "type": "string",
      "description": "The continuation token for the next page of results. This will be absent if the end of the results list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results."
    },
    "accessProposals": {
      "type": "array",
      "description": "The list of access proposals. This field is only populated in Drive API v3.",
      "items": {
        "$ref": "#/$defs/AccessProposal"
      }
    }
  },
  "$defs": {
    "AccessProposal": {
      "type": "object",
      "description": "Manage outstanding access proposals on a file.",
      "properties": {
        "rolesAndViews": {
          "type": "array",
          "description": "A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).",
          "items": {
            "$ref": "#/$defs/AccessProposalRoleAndView"
          }
        },
        "createTime": {
          "type": "string",
          "description": "The creation time.",
          "format": "google-datetime"
        },
        "requestMessage": {
          "type": "string",
          "description": "The message that the requester added to the proposal."
        },
        "fileId": {
          "type": "string",
          "description": "The file ID that the proposal for access is on."
        },
        "requesterEmailAddress": {
          "type": "string",
          "description": "The email address of the requesting user."
        },
        "recipientEmailAddress": {
          "type": "string",
          "description": "The email address of the user that will receive permissions, if accepted."
        },
        "proposalId": {
          "type": "string",
          "description": "The ID of the access proposal."
        }
      }
    },
    "AccessProposalRoleAndView": {
      "type": "object",
      "description": "A wrapper for the role and view of an access proposal. For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).",
      "properties": {
        "role": {
          "type": "string",
          "description": "The role that was proposed by the requester. The supported values are: * `writer` * `commenter` * `reader`"
        },
        "view": {
          "type": "string",
          "description": "Indicates the view for this access proposal. Only populated for proposals that belong to a view. Only `published` is supported."
        }
      }
    }
  }
}