{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/elivaas/json-schema/elivaas-get-v1-rateplans-response-schema.json",
  "title": "GetV1RateplansResponse",
  "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/GetV1RateplansResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "propertyId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "rate": {
      "type": "integer"
    },
    "minimumRate": {
      "type": "integer"
    },
    "extraAdultRate": {
      "type": "integer"
    },
    "extraChildRate": {
      "type": "integer"
    },
    "applicableGuest": {
      "type": "integer"
    },
    "applicableAdult": {
      "type": "integer"
    },
    "applicableChild": {
      "type": "integer"
    },
    "restrictions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "rate": {
            "type": "integer"
          },
          "stopSell": {
            "type": "boolean"
          }
        }
      }
    }
  }
}