Mews · Schema

Rate price update parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ClientToken string Token identifying the client application.
AccessToken string Access token of the client application.
Client string Name and version of the client application.
RateId string Unique identifier of the `Rate`.
ProductId string Unique identifier of the `Product`.
PriceUpdates array Price adjustments for specific time intervals.
View JSON Schema on GitHub

JSON Schema

mews-ratepriceupdateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RatePriceUpdateParameters",
  "title": "Rate price update parameters",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "PriceUpdates",
    "RateId"
  ],
  "type": "object",
  "properties": {
    "ClientToken": {
      "minLength": 1,
      "type": "string",
      "description": "Token identifying the client application."
    },
    "AccessToken": {
      "minLength": 1,
      "type": "string",
      "description": "Access token of the client application."
    },
    "Client": {
      "minLength": 1,
      "type": "string",
      "description": "Name and version of the client application."
    },
    "RateId": {
      "minLength": 1,
      "type": "string",
      "description": "Unique identifier of the `Rate`.",
      "x-schema-id": "HybridIdentifier"
    },
    "ProductId": {
      "type": "string",
      "description": "Unique identifier of the `Product`.",
      "format": "uuid",
      "nullable": true
    },
    "PriceUpdates": {
      "maxItems": 1000,
      "minItems": 1,
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RatePriceUpdate"
      },
      "description": "Price adjustments for specific time intervals."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RatePriceUpdateParameters"
}