Mews · Schema

Date 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.
View JSON Schema on GitHub

JSON Schema

mews-daterestriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/DateRestriction",
  "title": "Date 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
    }
  },
  "additionalProperties": false,
  "x-schema-id": "DateRestriction"
}