Mews · Schema

CancellationPolicyByRateParameters

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.
RateIds array Unique identifiers of the `Rate`.
ReservationStartUtc string Start of the reservation interval in UTC timezone in ISO 8601 format.
ReservationEndUtc string End of the reservation interval in UTC timezone in ISO 8601 format.
View JSON Schema on GitHub

JSON Schema

mews-cancellationpolicybyrateparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CancellationPolicyByRateParameters",
  "title": "CancellationPolicyByRateParameters",
  "required": [
    "AccessToken",
    "Client",
    "ClientToken",
    "RateIds",
    "ReservationEndUtc",
    "ReservationStartUtc"
  ],
  "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."
    },
    "RateIds": {
      "maxItems": 100,
      "minItems": 1,
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      },
      "description": "Unique identifiers of the `Rate`."
    },
    "ReservationStartUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Start of the reservation interval in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "ReservationEndUtc": {
      "minLength": 1,
      "type": "string",
      "description": "End of the reservation interval in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CancellationPolicyByRateParameters"
}