Mews · Schema

Rule conditions

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
RateId object Condition based on `Rate`.
RateGroupId object Condition based on `RateGroup`.
BusinessSegmentId object Condition based on `BusinessSegment`.
ResourceCategoryId object Condition based on `ResourceCategory`.
ResourceCategoryType object Condition based on `ResourceCategoryType`.
Origin object Condition based on `ReservationOrigin`.
TravelAgencyId object Condition based on `Company`.
MinimumTimeUnitCount integer Condition based on minimum amount of time units.
MaximumTimeUnitCount integer Condition based on maximum amount of time units.
View JSON Schema on GitHub

JSON Schema

mews-ruleconditions-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RuleConditions",
  "title": "Rule conditions",
  "type": "object",
  "properties": {
    "RateId": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `Rate`.",
      "nullable": true
    },
    "RateGroupId": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `RateGroup`.",
      "nullable": true
    },
    "BusinessSegmentId": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `BusinessSegment`.",
      "nullable": true
    },
    "ResourceCategoryId": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `ResourceCategory`.",
      "nullable": true
    },
    "ResourceCategoryType": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `ResourceCategoryType`.",
      "nullable": true
    },
    "Origin": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `ReservationOrigin`.",
      "nullable": true
    },
    "TravelAgencyId": {
      "title": "Rule condition",
      "allOf": [
        {
          "$ref": "#/components/schemas/RuleCondition"
        }
      ],
      "description": "Condition based on `Company`.",
      "nullable": true
    },
    "MinimumTimeUnitCount": {
      "type": "integer",
      "description": "Condition based on minimum amount of time units.",
      "format": "int32",
      "nullable": true
    },
    "MaximumTimeUnitCount": {
      "type": "integer",
      "description": "Condition based on maximum amount of time units.",
      "format": "int32",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "description": "",
  "x-schema-id": "RuleConditions"
}