Calendar Price request
Send location, currency, and base_price. Omitted rules are disabled. Use JSON numbers and booleans, not strings. Unknown fields are ignored. Omit unused fields. start_date, end_date and price_limits.min_price/max_price accept null, which selects their defaults.
Properties
| Name | Type | Description |
|---|---|---|
| location | object | |
| currency | object | |
| base_price | number | Year-round nightly rate before date-specific adjustments, in currency. Use your own value or recommended_base_price from the Base Price endpoint. Exclude cleaning fees, taxes, and platform fees. Must |
| start_date | stringnull | Optional inclusive first output date (YYYY-MM-DD). Omitted or null starts today in the property's timezone. Must not be after end_date (422 INVALID_DATE_RANGE). A past date returns 422 START_DATE_IN_P |
| end_date | stringnull | Optional inclusive output end date (YYYY-MM-DD). Omitted or null returns the full available calendar (one to two years from start_date or today). start_date and end_date on the same day return one row |
| calendar | array | Booking and availability data, not the requested output dates. Required for gap-day, adjacent-day, and occupancy-pacing adjustments. Include consecutive dates and surrounding reservations or blocks. M |
| pricing_rules | object | |
| stay_rules | object | |
| price_limits | object | |
| price_overrides | array | Explicit percentage or fixed-price instructions for inclusive stay-date ranges. Applied after model and automatic pricing-rule adjustments. An empty array is accepted. Date ranges across the entire li |
| advanced | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/airroi/json-schema/airroi-calendar-price-recommendation-request-schema.json",
"title": "Calendar Price request",
"description": "Send location, currency, and base_price. Omitted rules are disabled.\nUse JSON numbers and booleans, not strings. Unknown fields are ignored.\nOmit unused fields. start_date, end_date and price_limits.min_price/max_price\naccept null, which selects their defaults.\n",
"x-generated": "2026-11-29",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/airroi-openapi.json#/components/schemas/CalendarPriceRecommendationRequest",
"type": "object",
"required": [
"location",
"currency",
"base_price"
],
"properties": {
"location": {
"$ref": "#/$defs/CalendarPricingLocation"
},
"currency": {
"$ref": "#/$defs/PriceRecommendationCurrency"
},
"base_price": {
"type": "number",
"format": "double",
"exclusiveMinimum": true,
"minimum": 0,
"description": "Year-round nightly rate before date-specific adjustments, in currency.\nUse your own value or recommended_base_price from the Base Price endpoint.\nExclude cleaning fees, taxes, and platform fees. Must be positive and use\nthe currency's decimal precision (2 places for USD, 0 for JPY, 3 for BHD).\n"
},
"start_date": {
"type": [
"string",
"null"
],
"format": "date",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"description": "Optional inclusive first output date (YYYY-MM-DD). Omitted or null starts\ntoday in the property's timezone. Must not be after end_date (422\nINVALID_DATE_RANGE). A past date returns 422 START_DATE_IN_PAST; a date\nafter the available calendar returns 422 START_DATE_BEYOND_AVAILABLE_HORIZON.\nEmpty string, impossible date, or wrong JSON type returns 422. Only selects\nreturned rows: lead-time rules still count from today, and calculation,\nevidence and warnings cover the full available calendar.\n"
},
"end_date": {
"type": [
"string",
"null"
],
"format": "date",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"description": "Optional inclusive output end date (YYYY-MM-DD). Omitted or null returns\nthe full available calendar (one to two years from start_date or today).\nstart_date and end_date on the same day return one row. A past date, empty\nstring, impossible date, or wrong JSON type returns 422. A date beyond\nthe available calendar is clamped; coverage.end_date reports the last date returned.\nOnly limits returned rows: calculation, evidence and warnings still cover\nthe full available calendar.\n"
},
"calendar": {
"type": "array",
"maxItems": 1000,
"description": "Booking and availability data, not the requested output dates. Required for\ngap-day, adjacent-day, and occupancy-pacing adjustments. Include consecutive\ndates and surrounding reservations or blocks. Missing dates are unknown;\nnights a calendar-dependent rule cannot evaluate are skipped with an\nINCOMPLETE_CALENDAR warning, and so is every night when calendar is\nomitted or [] while such a rule is enabled.\nReserved and blocked rows also suppress last-minute and far-future adjustments.\n",
"items": {
"$ref": "#/$defs/CalendarPricingCalendarDay"
}
},
"pricing_rules": {
"$ref": "#/$defs/CalendarPricingRules"
},
"stay_rules": {
"$ref": "#/$defs/CalendarPricingStayRules"
},
"price_limits": {
"$ref": "#/$defs/CalendarPricingPriceLimits"
},
"price_overrides": {
"type": "array",
"items": {
"$ref": "#/$defs/CalendarPricingPriceOverride"
},
"description": "Explicit percentage or fixed-price instructions for\ninclusive stay-date ranges. Applied after model and\nautomatic pricing-rule adjustments. An empty array is\naccepted. Date ranges across the entire list must not\noverlap (inclusive of endpoints).\n"
},
"advanced": {
"$ref": "#/$defs/CalendarPricingAdvanced"
}
},
"$defs": {
"CalendarPricingAdjacentDayRule": {
"type": "object",
"title": "Adjacent Day rule",
"required": [
"mode"
],
"description": "Adjusts available nights before or after a known reservation. Blocked or\nunknown dates interrupt the search. A nonzero gap-day adjustment takes priority.\nCustom mode requires complete settings and apply_on_weekends.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingCustomOnlyMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingAdjacentDaySettings"
},
"apply_on_weekends": {
"type": "boolean",
"description": "Whether Friday and Saturday stay dates may receive this adjustment. Required in custom mode; rejected in all other modes."
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesAdjacentDay"
}
}
},
"CalendarPricingAdjacentDaySettings": {
"type": "object",
"title": "Adjacent Day settings",
"required": [
"days_before",
"days_after",
"adjustment_percent"
],
"properties": {
"days_before": {
"type": "integer",
"minimum": 0,
"maximum": 30,
"description": "Number of contiguous available nights before a reservation to adjust. 0 disables this direction."
},
"days_after": {
"type": "integer",
"minimum": 0,
"maximum": 30,
"description": "Number of contiguous available nights after a reservation to adjust. 0 disables this direction."
},
"adjustment_percent": {
"type": "number",
"minimum": -100,
"exclusiveMinimum": true,
"description": "Signed percentage for every qualifying adjacent night. Greater than -100 with at most two decimal places. Applied once even when reservations exist on both sides."
}
},
"description": "At least one of `days_before` and `days_after` must be greater than zero."
},
"CalendarPricingAdvanced": {
"type": "object",
"title": "Advanced model controls",
"description": "Controls the strength of model effects, independently of custom rules.\nDefaults apply when omitted.\n",
"properties": {
"seasonality_sensitivity_percent": {
"type": "number",
"minimum": 0,
"maximum": 200,
"default": 100,
"description": "Scales seasonality, modeled weekday, and holiday/event effects.\n0 removes them, 100 keeps them unchanged, and 200 doubles each effect's\ndistance from neutral. At most two decimal places.\nValues above 100 can return 503 PRICING_DATA_UNAVAILABLE if a scaled\nmodel factor becomes zero or negative.\n"
},
"demand_sensitivity_percent": {
"type": "number",
"minimum": 0,
"maximum": 200,
"default": 100,
"description": "Scales the Market Demand Adjustment. 0 removes it, 100 uses the model as trained, 200 doubles its distance from neutral. At most two decimal places. Regardless of this setting the effective demand adjustment is always bounded between -15% and +400%."
},
"apply_negative_demand_adjustments": {
"type": "boolean",
"default": true,
"description": "When false, a below-neutral Market Demand factor is neutralized and the `market_demand` receipt line is omitted entirely for that date. The test is on the sensitivity-scaled factor before clamping."
}
}
},
"CalendarPricingCalendarDay": {
"type": "object",
"title": "Calendar day",
"description": "Known state of one property-local stay date. Only `date` and `status` are required. Rows need not be sorted, contiguous, or future-dated. Duplicate dates are rejected.",
"required": [
"date",
"status"
],
"properties": {
"date": {
"$ref": "#/$defs/CalendarPricingDate"
},
"status": {
"type": "string",
"enum": [
"available",
"reserved",
"blocked"
],
"x-enumDescriptions": {
"available": "The date can be sold. Calendar-dependent pricing rules apply only to available dates.",
"reserved": "The date belongs to a confirmed reservation. Last-minute and far-future rules are suppressed.",
"blocked": "The date is unavailable for a non-reservation reason. Like `reserved` it suppresses last-minute and far-future rules and bounds a gap, but it does not anchor the adjacent-day rule and is excluded from the occupancy ratio."
},
"description": "Case-sensitive booking state. Calendar-dependent pricing rules (gap day, adjacent day, occupancy pacing) require the stay date to be `available`."
},
"price": {
"type": "number",
"format": "double",
"exclusiveMinimum": true,
"minimum": 0,
"description": "Optional current nightly price in the request currency. Must be positive with valid minor-unit precision. Accepted and validated but not used by any pricing rule in this release."
},
"min_stay": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Current minimum-stay requirement for check-in on this date. Used only as a fallback when the gap-day rule tests whether a gap can be booked, and only when no custom minimum-stay rule is configured."
},
"reservation_id": {
"type": "string",
"minLength": 1,
"description": "Stable identifier linking consecutive nights of the same reservation. Allowed only when status is `reserved` or `blocked`; rejected on `available` rows. Must not be blank (whitespace-only values are rejected). Accepted and validated but not used by any pricing rule in this release."
},
"check_in_allowed": {
"type": "boolean",
"description": "Whether a reservation may begin on this date. Used only when the gap-day rule tests whether a gap can be booked. Defaults to true when omitted or when the row is absent."
},
"check_out_allowed": {
"type": "boolean",
"description": "Whether a reservation may depart on this date. Used only when the gap-day rule tests whether a gap can be booked. Defaults to true when omitted or when the row is absent."
}
}
},
"CalendarPricingCheckInOutRule": {
"type": "object",
"title": "Check-in/out rule",
"required": [
"mode"
],
"description": "Returns permitted arrival/departure weekdays and informs gap eligibility. Your booking integration must support and enforce these restrictions. Weekdays use the property's timezone. Accepts only `disabled` and `custom`.",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingCustomOnlyMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingCheckInOutSettings"
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesCheckInOut"
}
}
},
"CalendarPricingCheckInOutSettings": {
"type": "object",
"title": "Check-in/out settings",
"required": [
"allowed_check_in_days",
"allowed_check_out_days"
],
"properties": {
"allowed_check_in_days": {
"$ref": "#/$defs/CalendarPricingWeekdayList"
},
"allowed_check_out_days": {
"$ref": "#/$defs/CalendarPricingWeekdayList"
}
}
},
"CalendarPricingCustomOnlyMode": {
"type": "string",
"enum": [
"disabled",
"custom"
],
"x-enumDescriptions": {
"disabled": "The rule is off and contributes nothing.",
"custom": "Requires the rule's complete `settings`. Scoped `overrides` and (for adjacent day) `apply_on_weekends` are accepted only in this mode."
},
"description": "Case-sensitive lowercase mode. `disabled` applies nothing; `custom` requires the rule's complete `settings`."
},
"CalendarPricingDate": {
"type": "string",
"format": "date",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$",
"description": "Property-local Gregorian calendar date in locale-independent `YYYY-MM-DD` form. Must be a real calendar date; formats such as `MM/DD/YYYY` and invalid dates such as `2026-02-29` are rejected."
},
"CalendarPricingDateRangeAdjacentDay": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings",
"apply_on_weekends"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingAdjacentDaySettings"
},
"apply_on_weekends": {
"type": "boolean"
}
}
}
]
},
"CalendarPricingDateRangeBase": {
"type": "object",
"required": [
"start_date",
"end_date"
],
"description": "Absolute inclusive date range. `start_date` must be on or before `end_date`. Date ranges within one rule must not overlap (sharing one day is an overlap). Ranges do not repeat yearly.",
"properties": {
"start_date": {
"$ref": "#/$defs/CalendarPricingDate"
},
"end_date": {
"$ref": "#/$defs/CalendarPricingDate"
}
}
},
"CalendarPricingDateRangeCheckInOut": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingCheckInOutSettings"
}
}
}
]
},
"CalendarPricingDateRangeDayOfWeek": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingDayOfWeekSettings"
}
}
}
]
},
"CalendarPricingDateRangeFarFuture": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingFarFutureSettings"
}
}
}
]
},
"CalendarPricingDateRangeGapDay": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings",
"apply_on_weekends"
],
"properties": {
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingGapDaySettingsRow"
}
},
"apply_on_weekends": {
"type": "boolean"
}
}
}
]
},
"CalendarPricingDateRangeLastMinute": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingLastMinuteSettings"
}
}
}
]
},
"CalendarPricingDateRangeLengthOfStay": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingLengthOfStaySettingsRow"
}
}
}
}
]
},
"CalendarPricingDateRangeMinStay": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingMinStaySettings"
}
}
}
]
},
"CalendarPricingDateRangeOccupancyPacing": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingDateRangeBase"
},
{
"type": "object",
"required": [
"settings"
],
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingOccupancyPacingSettings"
}
}
}
]
},
"CalendarPricingDayOfWeekRule": {
"type": "object",
"title": "Day of Week rule",
"required": [
"mode"
],
"description": "Adds a custom weekday percentage after model effects and the automatic-rule\nadjustments. Custom mode requires all seven weekdays.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingCustomOnlyMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingDayOfWeekSettings"
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesDayOfWeek"
}
}
},
"CalendarPricingDayOfWeekSettings": {
"type": "object",
"title": "Day of Week settings",
"required": [
"adjustment_percent"
],
"properties": {
"adjustment_percent": {
"type": "object",
"additionalProperties": false,
"required": [
"monday",
"tuesday",
"wednesday",
"thursday",
"friday",
"saturday",
"sunday"
],
"properties": {
"monday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"tuesday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"wednesday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"thursday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"friday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"saturday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
},
"sunday": {
"type": "number",
"minimum": -75,
"maximum": 500,
"description": "Signed percentage. At most two decimal places."
}
},
"description": "Signed percentage adjustment for each property-local weekday. All seven lowercase weekday keys are required. Each value is from -75 through 500 with at most two decimal places."
}
}
},
"CalendarPricingFarFutureRule": {
"type": "object",
"title": "Far Future rule",
"required": [
"mode"
],
"description": "Adjusts eligible nights far from arrival. Use a preset without settings,\nor custom mode with complete settings and optional scoped overrides.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingProfileMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingFarFutureSettings"
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesFarFuture"
}
}
},
"CalendarPricingFarFutureSettings": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingTimedAdjustmentSettings"
},
{
"type": "object",
"properties": {
"start_days": {
"type": "integer",
"minimum": 60,
"maximum": 728,
"description": "Days out at which the window opens, at least 60. The window runs from `start_days` to the end of the available calendar, up to two years out."
},
"end_days": {
"type": "integer",
"minimum": 61,
"maximum": 729,
"default": 365,
"description": "Days out at which a `gradual` ramp reaches the full percentage. Must be after `start_days`; defaults to 365, one year out. Nights further out keep the full percentage."
}
}
}
]
},
"CalendarPricingGapDayRule": {
"type": "object",
"title": "Gap Day rule",
"required": [
"mode"
],
"description": "Adjusts available nights bounded by known reserved or blocked dates, only\nwhen the gap is bookable under the effective stay restrictions. Custom stay\nrules take precedence over calendar-row restrictions, then defaults.\nGap length counts remaining nights from today onward. Each adjusted night\nmust fit at least one allowed stay within that gap.\nCustom mode requires settings and apply_on_weekends; presets include weekends.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingProfileMode"
},
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingGapDaySettingsRow"
},
"description": "Gap-length bands. Required (and accepted) only with `mode: custom`."
},
"apply_on_weekends": {
"type": "boolean",
"description": "Whether Friday and Saturday stay dates may receive this adjustment. Required in custom mode; rejected in all other modes. Named presets always apply on weekends."
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesGapDay"
}
}
},
"CalendarPricingGapDaySettingsRow": {
"type": "object",
"title": "Gap-length adjustment",
"required": [
"min_days",
"max_days",
"adjustment_percent"
],
"properties": {
"min_days": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "Shortest covered gap in nights, inclusive."
},
"max_days": {
"type": "integer",
"minimum": 1,
"maximum": 30,
"description": "Longest covered gap in nights, inclusive. Must be greater than or equal to `min_days`."
},
"adjustment_percent": {
"type": "number",
"minimum": -100,
"exclusiveMinimum": true,
"description": "Signed percentage for stay dates inside this gap-length band. Greater than -100 with at most two decimal places."
}
},
"description": "Gap-length bands must be ascending by min_days and non-overlapping.\nUncovered lengths receive no adjustment. Inclusive endpoints cannot be shared.\n"
},
"CalendarPricingLastMinuteRule": {
"type": "object",
"title": "Last Minute rule",
"required": [
"mode"
],
"description": "Adjusts eligible nights close to arrival. Use a preset without settings,\nor custom mode with complete settings and optional scoped overrides.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingProfileMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingLastMinuteSettings"
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesLastMinute"
}
}
},
"CalendarPricingLastMinuteSettings": {
"allOf": [
{
"$ref": "#/$defs/CalendarPricingTimedAdjustmentSettings"
},
{
"type": "object",
"properties": {
"start_days": {
"type": "integer",
"minimum": 1,
"maximum": 90,
"description": "Days out at which the window opens, from 1 through 90, inclusive. The window covers 0 through `start_days` days out."
},
"end_days": {
"type": "integer",
"minimum": 0,
"maximum": 89,
"default": 0,
"description": "Days before arrival at which a `gradual` ramp reaches the full percentage, from 0 (arrival day) through `start_days - 1`. Nights closer than this keep the full percentage. Defaults to 0."
}
}
}
]
},
"CalendarPricingLeadTimeRange": {
"type": "object",
"title": "Lead-time range",
"required": [
"min_days",
"max_days"
],
"properties": {
"min_days": {
"type": "integer",
"minimum": 0,
"maximum": 365
},
"max_days": {
"type": "integer",
"minimum": 0,
"maximum": 365
}
},
"description": "Inclusive lead-time range in days. `min_days` must be less than or equal to `max_days`."
},
"CalendarPricingLengthOfStayRule": {
"type": "object",
"title": "Length of Stay rule",
"required": [
"mode"
],
"description": "Longer-stay discount tiers, accepted and validated but currently unused:\nthey change no price, explanation line, or output field.\nThis endpoint returns nightly recommendations, not a guest-specific stay\nquote. Configure these discounts separately in a supporting booking\nintegration that evaluates the guest's selected dates and stay length.\n",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingCustomOnlyMode"
},
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingLengthOfStaySettingsRow"
}
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesLengthOfStay"
}
}
},
"CalendarPricingLengthOfStaySettingsRow": {
"type": "object",
"title": "Length-of-stay discount",
"required": [
"min_nights",
"adjustment_percent"
],
"properties": {
"min_nights": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Minimum stay length that qualifies for this row."
},
"adjustment_percent": {
"type": "number",
"minimum": -75,
"maximum": 0,
"description": "Discount percentage from 0 through -75; positive values are rejected. At most two decimal places."
}
},
"description": "Rows must use strictly increasing `min_nights`."
},
"CalendarPricingLocation": {
"type": "object",
"title": "Property location",
"description": "Exact property coordinates. AirROI uses them to resolve local pricing curves and the property's local timezone.",
"required": [
"latitude",
"longitude"
],
"properties": {
"latitude": {
"type": "number",
"format": "double",
"minimum": -90,
"maximum": 90,
"description": "Latitude in decimal degrees. Must be a finite number from -90 through 90 inclusive."
},
"longitude": {
"type": "number",
"format": "double",
"minimum": -180,
"maximum": 180,
"description": "Longitude in decimal degrees. Must be a finite number from -180 through 180 inclusive."
}
}
},
"CalendarPricingMinStayRule": {
"type": "object",
"title": "Minimum Stay rule",
"required": [
"mode"
],
"description": "Returns the minimum nights required for check-in on each applicable stay date and informs gap eligibility. Your booking integration must support and enforce the restriction. Accepts only `disabled` and `custom`.",
"properties": {
"mode": {
"$ref": "#/$defs/CalendarPricingCustomOnlyMode"
},
"settings": {
"$ref": "#/$defs/CalendarPricingMinStaySettings"
},
"overrides": {
"$ref": "#/$defs/CalendarPricingOverridesMinStay"
}
}
},
"CalendarPricingMinStaySettings": {
"type": "object",
"title": "Minimum Stay settings",
"required": [
"min_nights"
],
"properties": {
"min_nights": {
"type": "integer",
"minimum": 1,
"maximum": 365,
"description": "Required stay length in nights."
}
}
},
"CalendarPricingMonthScopeAdjacentDay": {
"type": "object",
"required": [
"settings",
"apply_on_weekends"
],
"description": "Complete replacement settings for this month. `apply_on_weekends` is required and does not inherit from the top-level adjacent-day rule.",
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingAdjacentDaySettings"
},
"apply_on_weekends": {
"type": "boolean"
}
}
},
"CalendarPricingMonthScopeCheckInOut": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings for this month.",
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingCheckInOutSettings"
}
}
},
"CalendarPricingMonthScopeDayOfWeek": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings for this month. No partial inheritance from the top-level settings.",
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingDayOfWeekSettings"
}
}
},
"CalendarPricingMonthScopeFarFuture": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings for this month.",
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingFarFutureSettings"
}
}
},
"CalendarPricingMonthScopeGapDay": {
"type": "object",
"required": [
"settings",
"apply_on_weekends"
],
"description": "Complete replacement settings for this month. `apply_on_weekends` is required and does not inherit from the top-level gap-day rule.",
"properties": {
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingGapDaySettingsRow"
}
},
"apply_on_weekends": {
"type": "boolean"
}
}
},
"CalendarPricingMonthScopeLastMinute": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings for this month.",
"properties": {
"settings": {
"$ref": "#/$defs/CalendarPricingLastMinuteSettings"
}
}
},
"CalendarPricingMonthScopeLengthOfStay": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings for this month.",
"properties": {
"settings": {
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/$defs/CalendarPricingLengthOfStaySettingsRow"
}
}
}
},
"CalendarPricingMonthScopeMinStay": {
"type": "object",
"required": [
"settings"
],
"description": "Complete replacement settings
# --- truncated at 32 KB (62 KB total) ---
# Full source: https://artifacts.apis.io/airroi/json-schema/airroi-calendar-price-recommendation-request-schema.json
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.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/airroi-calendar-price-recommendation-request"
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.