{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-dialogflow/json-schema/google-dialogflow-google-cloud-dialogflow-v2-import-documents-request-schema.json",
  "title": "GoogleCloudDialogflowV2ImportDocumentsRequest",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/google-dialogflow-documents-api-openapi.yml#/components/schemas/GoogleCloudDialogflowV2ImportDocumentsRequest",
  "type": "object",
  "properties": {
    "importGcsCustomMetadata": {
      "type": "boolean"
    },
    "documentTemplate": {
      "$ref": "#/$defs/GoogleCloudDialogflowV2ImportDocumentTemplate"
    },
    "gcsSource": {
      "$ref": "#/$defs/GoogleCloudDialogflowV2GcsSources"
    }
  },
  "$defs": {
    "GoogleCloudDialogflowV2GcsSources": {
      "type": "object",
      "properties": {
        "uris": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudDialogflowV2ImportDocumentTemplate": {
      "type": "object",
      "properties": {
        "mimeType": {
          "type": "string"
        },
        "metadata": {
          "type": "object",
          "additionalProperties": {
            "type": "string"
          }
        },
        "knowledgeTypes": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "KNOWLEDGE_TYPE_UNSPECIFIED",
              "FAQ",
              "EXTRACTIVE_QA",
              "ARTICLE_SUGGESTION",
              "AGENT_FACING_SMART_REPLY"
            ],
            "x-enumDescriptions": [
              "",
              "",
              "",
              "",
              ""
            ]
          }
        }
      }
    }
  }
}