---
title: "ForecastList"
url: "https://dev-portal.dehaven.org/apis/empty-api-v1/versions/e40571fa-f6cf-4b13-a833-6fc3b759e34d/schemas/ForecastList"
---

> Full API specification: https://dev-portal.dehaven.org/apis/empty-api-v1/versions/e40571fa-f6cf-4b13-a833-6fc3b759e34d.md

# ForecastList

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Weather API
  version: 1.0.0
servers:
  - url: https://api.example.com/weather/v1
    description: Main API server
components:
  schemas:
    Forecast:
      type: object
      properties:
        date:
          type: string
          format: date
          description: Date of the forecast.
        high_temperature:
          type: number
          format: float
          description: High temperature in Celsius.
        low_temperature:
          type: number
          format: float
          description: Low temperature in Celsius.
        condition:
          type: string
          description: Weather condition for the day.
      example:
        date: 2024-07-08
        high_temperature: 22
        low_temperature: 14
        condition: Sunny
    ForecastList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: "#/components/schemas/Forecast"
        meta:
          type: object
          properties:
            page:
              type: object
              properties:
                offset:
                  type: integer
                  description: The number of items to skip before starting to collect the result
                    set.
                  example: 0
                limit:
                  type: integer
                  description: The numbers of items to return.
                  example: 7
                total:
                  type: integer
                  description: The total number of items available.
                  example: 7
                estimated_total:
                  type: boolean
                  description: If the total number of items available is an estimate.
                  example: false
      example:
        data:
          - date: 2024-07-08
            high_temperature: 22
            low_temperature: 14
            condition: Sunny
          - date: 2024-07-09
            high_temperature: 23
            low_temperature: 15
            condition: Cloudy
        meta:
          page:
            offset: 0
            limit: 7
            total: 7
            estimated_total: false
```
