---
title: "DateRange"
url: "https://console.9fin.com/apis/instruments-private-credit/versions/0a7cc486-1d5a-439d-bde2-7d398e87f4ee/schemas/DateRange"
---

> Full API specification: https://console.9fin.com/apis/instruments-private-credit/versions/0a7cc486-1d5a-439d-bde2-7d398e87f4ee.md

# DateRange

A date expressed as a (possibly open-ended) range. Used where a date is only known to fall within a window rather than on an exact day.

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: 9Fin Instruments (Private Credit) API
  version: 0.1.10
servers:
  - description: Production environment
    url: https://api.9fin.com
components:
  schemas:
    DateRange:
      description: >-
        A date expressed as a (possibly open-ended) range.


        Used where a date is only known to fall within a window rather than on
        an

        exact day.
      properties:
        lower:
          anyOf:
            - format: date
              type: string
            - type: "null"
          description: Earliest date in the range; null if unbounded below.
          title: Lower
        lower_inclusive:
          description: Whether the lower bound is inclusive.
          title: Lower Inclusive
          type: boolean
        upper:
          anyOf:
            - format: date
              type: string
            - type: "null"
          description: Latest date in the range; null if unbounded above.
          title: Upper
        upper_inclusive:
          description: Whether the upper bound is inclusive.
          title: Upper Inclusive
          type: boolean
      required:
        - upper
        - lower
        - upper_inclusive
        - lower_inclusive
      title: DateRange
      type: object
```
