Elivaas · Schema

GetV1PropertiesPropertyidPromotionsResponse

CompanyVacation RentalsLuxuryIndiaTravel

Properties

Name Type Description
[] array Array of Promotion objects. Returns an empty array if no active promotions exist.
id string Unique identifier for the promotion.
code string Promotion code. For COUPON type, this is the code guests enter at checkout.
title string Display title of the promotion.
description string Detailed description of the promotion.
startDateTime string When the promotion becomes bookable. ISO 8601 format.
endDateTime string When the promotion expires.
stayStartDate string Earliest check-in date the promotion applies to.
stayEndDate string Latest check-out date the promotion applies to.
maximumUsageLimit integer Maximum total redemptions allowed across all guests.
usageCount integer Number of times the promotion has been redeemed so far.
minimumNights integer Minimum stay length (nights) required for the promotion to apply.
maximumNights integer Maximum stay length (nights) the promotion covers.
discountMethod string How the discount is calculated. Values: PERCENTAGE, FLAT.
discountType string Classification of the discount.
target string What the discount applies to (e.g., ROOM, TOTAL).
discountAmount integer Flat discount amount. Populated when discountMethod is FLAT.
discountPercentage number Percentage discount. Populated when discountMethod is PERCENTAGE.
maximumDiscountAllowed integer Cap on the discount amount for percentage-based promotions.
minimumBookingAmount integer Minimum booking subtotal required before the promotion can be applied.
status string Current status. Values: ACTIVE, INACTIVE, EXPIRED.
type string Promotion category.
nonRefundable boolean true if bookings using this promotion are non-refundable.
weekendOnly boolean true if the promotion applies only to weekend stays.
weekdayOnly boolean true if the promotion applies only to weekday stays.
clubbed boolean true if this promotion can be combined (stacked) with other promotions.
lastMinuteUnit string Time unit for last-minute promotion eligibility. Values: HOURS, DAYS.
lastMinuteValue integer Time value for last-minute eligibility.
earlyBookerValueInDays integer Minimum days in advance the booking must be made.
freeNights integer Number of free nights offered.
termsAndConditions string Terms and conditions text to display to the guest.
icon string Icon identifier or URL for display purposes.
rank integer Display priority. Lower values indicate higher priority.
blackoutDates object JSON object defining dates when the promotion is not applicable.
checkinBlackoutDates object JSON object defining check-in dates when the promotion is not applicable.
rule object JSON object defining additional business rules and conditions for the promotion.
View JSON Schema on GitHub

JSON Schema

elivaas-get-v1-properties-propertyid-promotions-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elivaas/json-schema/elivaas-get-v1-properties-propertyid-promotions-response-schema.json",
  "title": "GetV1PropertiesPropertyidPromotionsResponse",
  "x-generated": "2026-12-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/elivaas-openapi-generated.yml#/components/schemas/GetV1PropertiesPropertyidPromotionsResponse",
  "type": "object",
  "properties": {
    "[]": {
      "type": "array",
      "description": "Array of Promotion objects. Returns an empty array if no active promotions exist."
    },
    "id": {
      "type": "string",
      "description": "Unique identifier for the promotion."
    },
    "code": {
      "type": "string",
      "description": "Promotion code. For COUPON type, this is the code guests enter at checkout."
    },
    "title": {
      "type": "string",
      "description": "Display title of the promotion."
    },
    "description": {
      "type": "string",
      "description": "Detailed description of the promotion."
    },
    "startDateTime": {
      "type": "string",
      "description": "When the promotion becomes bookable. ISO 8601 format."
    },
    "endDateTime": {
      "type": "string",
      "description": "When the promotion expires."
    },
    "stayStartDate": {
      "type": "string",
      "description": "Earliest check-in date the promotion applies to."
    },
    "stayEndDate": {
      "type": "string",
      "description": "Latest check-out date the promotion applies to."
    },
    "maximumUsageLimit": {
      "type": "integer",
      "description": "Maximum total redemptions allowed across all guests."
    },
    "usageCount": {
      "type": "integer",
      "description": "Number of times the promotion has been redeemed so far."
    },
    "minimumNights": {
      "type": "integer",
      "description": "Minimum stay length (nights) required for the promotion to apply."
    },
    "maximumNights": {
      "type": "integer",
      "description": "Maximum stay length (nights) the promotion covers."
    },
    "discountMethod": {
      "type": "string",
      "description": "How the discount is calculated. Values: PERCENTAGE, FLAT."
    },
    "discountType": {
      "type": "string",
      "description": "Classification of the discount."
    },
    "target": {
      "type": "string",
      "description": "What the discount applies to (e.g., ROOM, TOTAL)."
    },
    "discountAmount": {
      "type": "integer",
      "description": "Flat discount amount. Populated when discountMethod is FLAT."
    },
    "discountPercentage": {
      "type": "number",
      "description": "Percentage discount. Populated when discountMethod is PERCENTAGE."
    },
    "maximumDiscountAllowed": {
      "type": "integer",
      "description": "Cap on the discount amount for percentage-based promotions."
    },
    "minimumBookingAmount": {
      "type": "integer",
      "description": "Minimum booking subtotal required before the promotion can be applied."
    },
    "status": {
      "type": "string",
      "description": "Current status. Values: ACTIVE, INACTIVE, EXPIRED."
    },
    "type": {
      "type": "string",
      "description": "Promotion category."
    },
    "nonRefundable": {
      "type": "boolean",
      "description": "true if bookings using this promotion are non-refundable."
    },
    "weekendOnly": {
      "type": "boolean",
      "description": "true if the promotion applies only to weekend stays."
    },
    "weekdayOnly": {
      "type": "boolean",
      "description": "true if the promotion applies only to weekday stays."
    },
    "clubbed": {
      "type": "boolean",
      "description": "true if this promotion can be combined (stacked) with other promotions."
    },
    "lastMinuteUnit": {
      "type": "string",
      "description": "Time unit for last-minute promotion eligibility. Values: HOURS, DAYS."
    },
    "lastMinuteValue": {
      "type": "integer",
      "description": "Time value for last-minute eligibility."
    },
    "earlyBookerValueInDays": {
      "type": "integer",
      "description": "Minimum days in advance the booking must be made."
    },
    "freeNights": {
      "type": "integer",
      "description": "Number of free nights offered."
    },
    "termsAndConditions": {
      "type": "string",
      "description": "Terms and conditions text to display to the guest."
    },
    "icon": {
      "type": "string",
      "description": "Icon identifier or URL for display purposes."
    },
    "rank": {
      "type": "integer",
      "description": "Display priority. Lower values indicate higher priority."
    },
    "blackoutDates": {
      "type": "object",
      "description": "JSON object defining dates when the promotion is not applicable."
    },
    "checkinBlackoutDates": {
      "type": "object",
      "description": "JSON object defining check-in dates when the promotion is not applicable."
    },
    "rule": {
      "type": "object",
      "description": "JSON object defining additional business rules and conditions for the promotion."
    }
  }
}

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/elivaas-get-v1-properties-propertyid-promotions-response"
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.