Google Drive · Schema
Google Drive File
JSON Schema for a Google Drive file resource as returned by the Google Drive REST API v3.
Cloud StorageCollaborationDocument-ManagementDrivesFileGoogleStorage
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The ID of the file. |
| name | string | The name of the file. |
| mimeType | string | The MIME type of the file. |
| parents | array | The IDs of the parent folders containing the file. |
| createdTime | string | The time at which the file was created. |
| modifiedTime | string | The last time the file was modified. |
| size | string | The size of the file's content in bytes. |
| trashed | boolean | Whether the file has been trashed. |
| starred | boolean | Whether the user has starred the file. |
| shared | boolean | Whether the file has been shared. |
| webViewLink | string | A link for opening the file in the relevant Google editor or viewer. |
| webContentLink | string | A link for downloading the content of the file. |
| iconLink | string | A static, unauthenticated link to the file's icon. |
| owners | array | The owners of the file. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/google-drive/refs/heads/main/json-schema/google-drive-file-schema.json",
"title": "Google Drive File",
"description": "JSON Schema for a Google Drive file resource as returned by the Google Drive REST API v3.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The ID of the file."
},
"name": {
"type": "string",
"description": "The name of the file."
},
"mimeType": {
"type": "string",
"description": "The MIME type of the file."
},
"parents": {
"type": "array",
"description": "The IDs of the parent folders containing the file.",
"items": {
"type": "string"
}
},
"createdTime": {
"type": "string",
"format": "date-time",
"description": "The time at which the file was created."
},
"modifiedTime": {
"type": "string",
"format": "date-time",
"description": "The last time the file was modified."
},
"size": {
"type": "string",
"description": "The size of the file's content in bytes."
},
"trashed": {
"type": "boolean",
"description": "Whether the file has been trashed."
},
"starred": {
"type": "boolean",
"description": "Whether the user has starred the file."
},
"shared": {
"type": "boolean",
"description": "Whether the file has been shared."
},
"webViewLink": {
"type": "string",
"format": "uri",
"description": "A link for opening the file in the relevant Google editor or viewer."
},
"webContentLink": {
"type": "string",
"format": "uri",
"description": "A link for downloading the content of the file."
},
"iconLink": {
"type": "string",
"format": "uri",
"description": "A static, unauthenticated link to the file's icon."
},
"owners": {
"type": "array",
"description": "The owners of the file.",
"items": {
"type": "object",
"properties": {
"displayName": {"type": "string"},
"emailAddress": {"type": "string"},
"permissionId": {"type": "string"}
}
}
}
},
"required": ["id", "name", "mimeType"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-drive-file"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.