{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ctlsurf-com/json-schema/ctlsurf-com-file-text-response-schema.json",
  "title": "FileTextResponse",
  "description": "Response for extracted text content.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ctlsurf-com-files-api-openapi.yml#/components/schemas/FileTextResponse",
  "properties": {
    "file_id": {
      "type": "string",
      "format": "uuid",
      "title": "File Id"
    },
    "filename": {
      "type": "string",
      "title": "Filename"
    },
    "mime_type": {
      "type": "string",
      "title": "Mime Type"
    },
    "text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Text"
    },
    "size_bytes": {
      "type": "integer",
      "title": "Size Bytes"
    },
    "has_text": {
      "type": "boolean",
      "title": "Has Text",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "file_id",
    "filename",
    "mime_type",
    "size_bytes"
  ]
}