---
title: "InputFilterOptions"
url: "https://developer-beta.morningstar.com/apis/managed-investments-screener-api/versions/078c2975-5abc-4eaa-be35-30f0c85f0e84/schemas/InputFilterOptions"
---

> Full API specification: https://developer-beta.morningstar.com/apis/managed-investments-screener-api/versions/078c2975-5abc-4eaa-be35-30f0c85f0e84.md

# InputFilterOptions

Filter applied to a data point. The data type of the value must match the data type of the data point.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Managed Investments API
  version: "1.0"
servers:
  - url: https://www.us-api.morningstar.com
    description: Americas
  - url: https://www.apac-api.morningstar.com
    description: APAC
  - url: https://www.emea-api.morningstar.com
    description: EMEA
components:
  schemas:
    InputFieldValueFilter:
      title: InputFieldValueFilter
      description: Exact match (`eq`) to a single value, or match to any value in a
        list (`in`).
      anyOf:
        - $ref: "#/components/schemas/InputFilterValue"
        - type: array
          minItems: 1
          items:
            $ref: "#/components/schemas/InputFilterValue"
    InputFieldRangeFilter:
      title: InputFieldRangeFilter
      description: Filters for values within a range or based on a comparison.
        Supports number, integer, and date data types.
      type: object
      minProperties: 1
      additionalProperties: false
      properties:
        gt:
          description: Greater than.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        gte:
          description: Greater than or equal to.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        lt:
          description: Less than.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
        lte:
          description: Less than or equal to.
          anyOf:
            - type: number
            - type: integer
            - type: string
              format: date
    InputFieldContainsFilter:
      title: InputFieldContainsFilter
      description: Matches string values that contain the specified text.
      type: object
      required:
        - contains
      additionalProperties: false
      properties:
        contains:
          description: Text to search for.
          type: string
          example: apple
    InputFilterValue:
      title: InputFilterValue
      description: A single filter value. Supports string, number, integer, boolean,
        and date (`YYYY-MM-DD` string) data types. For code-mapped data points,
        filter on the code.
      anyOf:
        - type: string
        - type: number
        - type: integer
        - type: boolean
    InputFilterOptions:
      title: InputFilterOptions
      description: Filter applied to a data point. The data type of the value must
        match the data type of the data point.
      oneOf:
        - $ref: "#/components/schemas/InputFieldValueFilter"
        - $ref: "#/components/schemas/InputFieldRangeFilter"
        - $ref: "#/components/schemas/InputFieldContainsFilter"
```
