{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-gemini/json-schema/google-gemini-corpus-schema.json",
  "title": "Corpus",
  "description": "A `Corpus` is a collection of `Document`s. A project can create up to 10 corpora.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-gemini-corpora-api-openapi.yml#/components/schemas/Corpus",
  "type": "object",
  "properties": {
    "updateTime": {
      "type": "string",
      "description": "Output only. The Timestamp of when the `Corpus` was last updated.",
      "format": "google-datetime",
      "readOnly": true
    },
    "displayName": {
      "type": "string",
      "description": "Optional. The human-readable display name for the `Corpus`. The display name must be no more than 512 characters in length, including spaces. Example: \"Docs on Semantic Retriever\""
    },
    "name": {
      "description": "Output only. Immutable. Identifier. The `Corpus` resource name. The ID (name excluding the \"corpora/\" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from `display_name` along with a 12 character random suffix. Example: `corpora/my-awesome-corpora-123a456b789c`",
      "type": "string",
      "readOnly": true
    },
    "createTime": {
      "description": "Output only. The Timestamp of when the `Corpus` was created.",
      "format": "google-datetime",
      "type": "string",
      "readOnly": true
    }
  }
}