{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-q/json-schema/amazon-q-get-document-content-response-schema.json",
  "title": "GetDocumentContentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-q-contents-api-openapi.yml#/components/schemas/GetDocumentContentResponse",
  "type": "object",
  "properties": {
    "presignedUrl": {
      "type": "string",
      "description": "A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation."
    },
    "mimeType": {
      "type": "string",
      "description": "The MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json."
    }
  },
  "required": [
    "presignedUrl",
    "mimeType"
  ]
}