# DocumentTextResponse

Type: object

Schema: [DocumentTextResponse](https://docs.searchsoftware.nl/api/models/documenttextresponse.md)

- `status` (required)
  Type: string
  
  enum: ["ok"]
  
  Example:
  
  ```json
  "ok"
  ```

- `data` (required)
  Type: object
  
  - `id` (optional)
    Type: string
    
    Identifier
    
    Example:
    
    ```json
    "vM7Lp2q"
    ```
  
  - `type` (optional)
    Type: string
    
    enum: ["document_text"]
    
    Example:
    
    ```json
    "document_text"
    ```
  
  - `attributes` (optional)
    Type: object
    
    - `file_id` (optional)
      Type: string
      
      Identifier
      
      Example:
      
      ```json
      "vM7Lp2q"
      ```
    
    - `filename` (optional)
      Type: string
      
      Example:
      
      ```json
      "CV Anna Jansen.pdf"
      ```
    
    - `mime` (optional)
      Type: string; nullable
      
      Example:
      
      ```json
      "application/pdf"
      ```
    
    - `is_primary` (optional)
      Type: boolean
      
      Example:
      
      ```json
      true
      ```
    
    - `total_chars` (optional)
      Type: integer, int32
      
      Characters of the normalized text
      
      Example:
      
      ```json
      6120
      ```
    
    - `offset` (optional)
      Type: integer, int32
      
      Example:
      
      ```json
      0
      ```
    
    - `text` (optional)
      Type: string
      
      Example:
      
      ```json
      "Anna Jansen\nSenior engineer"
      ```
    
    - `next_offset` (optional)
      Type: integer, int32; nullable
      
      Offset of the next chunk; null at the end