---
title: "FilterValues"
url: "https://console.9fin.com/apis/distressed-api/versions/09996488-b7b4-48d3-b5ef-df4e27dc8798/schemas/FilterValues"
---

> Full API specification: https://console.9fin.com/apis/distressed-api/versions/09996488-b7b4-48d3-b5ef-df4e27dc8798.md

# FilterValues

The values a field-based filter will accept, derived from the database. For FilterValueType.DISTINCT fields, only `values` is set. For FilterValueType.RANGE fields, then both `minimum` and `maximum` are set.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9fin Distressed API
  version: 0.1.28
servers:
  - description: Production environment
    url: https://api.9fin.com
components:
  schemas:
    FilterValueType:
      enum:
        - distinct
        - range
      title: FilterValueType
      type: string
    FilterValues:
      description: |-
        The values a field-based filter will accept, derived from the database.

        For FilterValueType.DISTINCT fields, only `values` is set. For
        FilterValueType.RANGE fields, then both `minimum` and `maximum` are set.
      properties:
        maximum:
          anyOf:
            - {}
            - type: "null"
          title: Maximum
        minimum:
          anyOf:
            - {}
            - type: "null"
          title: Minimum
        name:
          title: Name
          type: string
        type:
          $ref: "#/components/schemas/FilterValueType"
        values:
          anyOf:
            - items: {}
              type: array
            - type: "null"
          title: Values
      required:
        - name
        - type
      title: FilterValues
      type: object
```
