# FileItem

Type: object

Schema: [FileItem](https://docs.searchsoftware.nl/api/models/fileitem.md)

- `id` (optional)
  Type: string
  
  Identifier
  
  Example:
  
  ```json
  "vM7Lp2q"
  ```

- `type` (optional)
  Type: string
  
  enum: ["file"]
  
  Example:
  
  ```json
  "file"
  ```

- `attributes` (optional)
  Type: object
  
  - `name` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "CV John Doe"
    ```
  
  - `filename` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "abc123_cv_john_doe.pdf"
    ```
  
  - `mime` (optional)
    Type: string; nullable
    
    Example:
    
    ```json
    "application/pdf"
    ```
  
  - `size` (optional)
    Type: integer, int32; nullable
    
    Size in bytes
    
    Example:
    
    ```json
    102400
    ```
  
  - `created_at` (optional)
    Type: string, date-time; nullable
    
    Example:
    
    ```json
    "2026-03-10T14:30:00Z"
    ```
  
  - `updated_at` (optional)
    Type: string, date-time; nullable
    
    Example:
    
    ```json
    "2026-03-10T14:30:00Z"
    ```
  
  - `is_primary` (optional)
    Type: boolean
    
    True for the record's main document (usually a CV).
    
    Example:
    
    ```json
    true
    ```