Google Gemini · Schema

FileData

URI based data for media uploaded via the Files API.

Agentic AIArtificial IntelligenceCode GenerationEmbeddingsGenerative AIImage GenerationLLMMachine LearningMultimodal

Properties

Name Type Description
mimeType string The IANA standard MIME type of the source data.
fileUri string URI of the file.
View JSON Schema on GitHub

JSON Schema

google-gemini-filedata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FileData",
  "title": "FileData",
  "type": "object",
  "description": "URI based data for media uploaded via the Files API.",
  "properties": {
    "mimeType": {
      "type": "string",
      "description": "The IANA standard MIME type of the source data."
    },
    "fileUri": {
      "type": "string",
      "description": "URI of the file."
    }
  }
}