Mews · Schema

Restriction clear data

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Type object Restriction type. Stay (Guests can't stay within specified dates.) Start (Guests can't check in within specified dates.) End (Guests can't check out within specified dates.)
ExactRateId string Unique identifier of the exact `Rate` to which the restriction applies.
BaseRateId string Unique identifier of the base `Rate` to which the restriction applies.
RateGroupId string Unique identifier of the `Rate group` to which the restriction applies.
ResourceCategoryId string Unique identifier of the `Resource category` to which the restriction applies.
ResourceCategoryType object Name of the `Resource category type` to which the restriction applies. Room Bed Dorm Apartment Suite Villa Site Office MeetingRoom ParkingSpot Desk TeamArea Membership Tent CaravanOrRV UnequippedCamps
StartUtc string Start date of the time interval for which the restriction conditions should be applied. This must be in UTC timezone in ISO 8601 format - see [Datetimes](https://mews-systems.gitbook.io/connector-api/
EndUtc string End date of the time interval for which the restriction conditions should be applied. This must be in UTC timezone in ISO 8601 format - see [Datetimes](https://mews-systems.gitbook.io/connector-api/gu
Days object The days of week to which the restriction applies.
View JSON Schema on GitHub

JSON Schema

mews-restrictioncleardata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RestrictionClearData",
  "title": "Restriction clear data",
  "required": [
    "Days",
    "Type"
  ],
  "type": "object",
  "properties": {
    "Type": {
      "title": "Restriction type",
      "allOf": [
        {
          "$ref": "#/components/schemas/RestrictionTypeEnum"
        }
      ],
      "description": "Restriction type.\n\nStay (Guests can't stay within specified dates.)\n\nStart (Guests can't check in within specified dates.)\n\nEnd (Guests can't check out within specified dates.)",
      "x-enumNames": [
        "Stay",
        "Start",
        "End"
      ],
      "x-enumDescriptions": [
        "Guests can't stay within specified dates.",
        "Guests can't check in within specified dates.",
        "Guests can't check out within specified dates."
      ]
    },
    "ExactRateId": {
      "type": "string",
      "description": "Unique identifier of the exact `Rate` to which the restriction applies.",
      "nullable": true,
      "x-schema-id": "HybridIdentifier"
    },
    "BaseRateId": {
      "type": "string",
      "description": "Unique identifier of the base `Rate` to which the restriction applies.",
      "nullable": true,
      "x-schema-id": "HybridIdentifier"
    },
    "RateGroupId": {
      "type": "string",
      "description": "Unique identifier of the `Rate group` to which the restriction applies.",
      "nullable": true,
      "x-schema-id": "HybridIdentifier"
    },
    "ResourceCategoryId": {
      "type": "string",
      "description": "Unique identifier of the `Resource category` to which the restriction applies.",
      "nullable": true,
      "x-schema-id": "HybridIdentifier"
    },
    "ResourceCategoryType": {
      "allOf": [
        {
          "$ref": "#/components/schemas/ResourceCategoryTypeEnum"
        }
      ],
      "description": "Name of the `Resource category type` to which the restriction applies.\n\nRoom\n\nBed\n\nDorm\n\nApartment\n\nSuite\n\nVilla\n\nSite\n\nOffice\n\nMeetingRoom\n\nParkingSpot\n\nDesk\n\nTeamArea\n\nMembership\n\nTent\n\nCaravanOrRV\n\nUnequippedCampsite\n\nBike\n\nExtraBed\n\nCot\n\nCrib\n\nConferenceRoom\n\nRooftop\n\nGarden\n\nRestaurant\n\nAmphitheater\n\nPrivateSpaces",
      "nullable": true
    },
    "StartUtc": {
      "type": "string",
      "description": "Start date of the time interval for which the restriction conditions should be applied. This must be in UTC timezone in ISO 8601 format - see [Datetimes](https://mews-systems.gitbook.io/connector-api/guidelines/serialization#datetimes).",
      "format": "date-time",
      "nullable": true
    },
    "EndUtc": {
      "type": "string",
      "description": "End date of the time interval for which the restriction conditions should be applied. This must be in UTC timezone in ISO 8601 format - see [Datetimes](https://mews-systems.gitbook.io/connector-api/guidelines/serialization#datetimes).",
      "format": "date-time",
      "nullable": true
    },
    "Days": {
      "title": "Days parameters",
      "allOf": [
        {
          "$ref": "#/components/schemas/DaysParameters"
        }
      ],
      "description": "The days of week to which the restriction applies."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RestrictionClearData"
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/mews-restrictioncleardata"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.