Mews · Schema

Earliness restriction

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the rate restriction.
RateId string Unique identifier of the rate.
IsInherited boolean Whether the rate restriction is inherited from the parent rate.
StartUtc string Start of the rate restriction in UTC timezone in ISO 8601 format.
EndUtc string End of the rate restriction in UTC timezone in ISO 8601 format.
Days array The restricted days of week.
ExternalIdentifier string Identifiers of from external systems.
MinAdvance string The minimum time before the reservation starts, you can reserve in ISO 8601 duration format.
MaxAdvance string The maximum time before the reservation starts, you can reserve in ISO 8601 duration format.
View JSON Schema on GitHub

JSON Schema

mews-earlinessrestriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EarlinessRestriction",
  "title": "Earliness restriction",
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the rate restriction.",
      "format": "uuid"
    },
    "RateId": {
      "type": "string",
      "description": "Unique identifier of the rate.",
      "format": "uuid"
    },
    "IsInherited": {
      "type": "boolean",
      "description": "Whether the rate restriction is inherited from the parent rate."
    },
    "StartUtc": {
      "type": "string",
      "description": "Start of the rate restriction in UTC timezone in ISO 8601 format.",
      "nullable": true
    },
    "EndUtc": {
      "type": "string",
      "description": "End of the rate restriction in UTC timezone in ISO 8601 format.",
      "nullable": true
    },
    "Days": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The restricted days of week.",
      "nullable": true
    },
    "ExternalIdentifier": {
      "type": "string",
      "description": "Identifiers of from external systems.",
      "nullable": true
    },
    "MinAdvance": {
      "type": "string",
      "description": "The minimum time before the reservation starts, you can reserve in ISO 8601 duration format.",
      "nullable": true
    },
    "MaxAdvance": {
      "type": "string",
      "description": "The maximum time before the reservation starts, you can reserve in ISO 8601 duration format.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "EarlinessRestriction"
}