RentalCal · Schema

Availability

Vacation RentalsBooking PlatformCalendar SyncPaymentsProperty Management

Properties

Name Type Description
window object
minNights integer
checkInDayMinNights object
bookableFrom string First check-in a request made now may ask for: today in the property's timezone, or later when the host requires notice (`booking.minAdvanceHours`). Open gaps start here.
bookableUntil stringnull First night not yet open for booking: the host's window, or 24 months from today by default, so it is no longer null. Open gaps stop here; the nights after it are not listed as unavailable because nob
seasonalMinNights array Overrides by check-in date.
unavailable array Nights already booked or blocked.
openGaps array Runs of free nights that a quote would accept a stay in. Seasonal minimums and gap fill are applied, and no gap starts before today.
View JSON Schema on GitHub

JSON Schema

rentalcal-com-availability-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rentalcal-com/json-schema/rentalcal-com-availability-schema.json",
  "title": "Availability",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rentalcal-com-openapi.yml#/components/schemas/Availability",
  "type": "object",
  "required": [
    "window",
    "minNights",
    "bookableFrom",
    "unavailable",
    "openGaps"
  ],
  "properties": {
    "window": {
      "type": "object",
      "properties": {
        "from": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Inclusive."
        },
        "to": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Exclusive."
        }
      }
    },
    "minNights": {
      "type": "integer"
    },
    "checkInDayMinNights": {
      "$ref": "#/$defs/CheckInDayMinNights"
    },
    "bookableFrom": {
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "First check-in a request made now may ask for: today in the property's timezone, or later when the host requires notice (`booking.minAdvanceHours`). Open gaps start here."
    },
    "bookableUntil": {
      "type": [
        "string",
        "null"
      ],
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "First night not yet open for booking: the host's window, or 24 months from today by default, so it is no longer null. Open gaps stop here; the nights after it are not listed as unavailable because nobody holds them."
    },
    "seasonalMinNights": {
      "type": "array",
      "description": "Overrides by check-in date.",
      "items": {
        "type": "object",
        "properties": {
          "startDate": {
            "type": "string",
            "format": "date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": ""
          },
          "endDate": {
            "type": "string",
            "format": "date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Inclusive."
          },
          "minNights": {
            "type": "integer"
          }
        }
      }
    },
    "unavailable": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DateRange"
      },
      "description": "Nights already booked or blocked."
    },
    "openGaps": {
      "type": "array",
      "description": "Runs of free nights that a quote would accept a stay in. Seasonal minimums and gap fill are applied, and no gap starts before today.",
      "items": {
        "type": "object",
        "properties": {
          "start": {
            "type": "string",
            "format": "date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "First free night."
          },
          "end": {
            "type": "string",
            "format": "date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "Latest checkout."
          },
          "nights": {
            "type": "integer",
            "description": "Free nights in the gap."
          }
        }
      }
    }
  },
  "$defs": {
    "CheckInDayMinNights": {
      "type": "array",
      "description": "Minimums by the check-in's day of the week, 0 = Sunday. Overrides `minNights`; a seasonal rule still wins on its dates.",
      "items": {
        "type": "object",
        "required": [
          "weekday",
          "minNights"
        ],
        "properties": {
          "weekday": {
            "type": "integer",
            "minimum": 0,
            "maximum": 6
          },
          "minNights": {
            "type": "integer"
          }
        }
      }
    },
    "DateRange": {
      "type": "object",
      "required": [
        "from",
        "to"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "First night (inclusive)."
        },
        "to": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Checkout day (exclusive)."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/rentalcal-com-availability"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.