type: object
properties:
  pagination:
    $ref: '../shared/RequestPagination.yaml'
    title: RequestPagination
  filters:
    type: object
    properties:
      bankAccountId:
        type: string
        format: uuid
        description: Filter transactions by bank account ID
        example: "123e4567-e89b-12d3-a456-426614174000"
      bookingDateFrom:
        type: string
        format: date
        description: Filter transactions with booking date from this date (inclusive)
        example: "2024-01-01"
      bookingDateTo:
        type: string
        format: date
        description: Filter transactions with booking date to this date (inclusive)
        example: "2024-01-31"
    required: [bankAccountId, bookingDateFrom, bookingDateTo]
  sort:
    type: object
    properties:
      sortBy:
        type: string
        description: Field to sort by
        enum:
          - bookingDate
        default: bookingDate
        example: bookingDate
      sortOrder:
        type: string
        description: Sort direction
        enum:
          - ASC
          - DESC
        default: DESC
        example: DESC
required: [filters]
