Mews · Schema

Cancellation Policy

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the cancellation policy.
RateGroupId string Unique identifier of the rate group the cancellation policy belongs to.
CreatedUtc string Date and time of the cancellation policy creation in UTC timezone in ISO 8601 format.
UpdatedUtc string Date and time of the cancellation policy update in UTC timezone in ISO 8601 format.
Applicability object
FeeExtent array Extent for the cancellation fee, i.e. what should be in scope for the automatic payment.
ApplicabilityOffset string Offset for order start (assuming Applicability is set to Start) from which the fee is applied.
FeeMaximumTimeUnits integer Maximum number of time units the cancellation fee is applicable to.
AbsoluteFee object Absolute value of the fee.
RelativeFee number Relative value of the fee, as a percentage of the reservation price.
IsActive boolean Whether the cancellation policy is still active.
View JSON Schema on GitHub

JSON Schema

mews-cancellationpolicy-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CancellationPolicy",
  "title": "Cancellation Policy",
  "required": [
    "AbsoluteFee",
    "Applicability",
    "ApplicabilityOffset",
    "CreatedUtc",
    "FeeExtent",
    "Id",
    "IsActive",
    "RateGroupId",
    "RelativeFee",
    "UpdatedUtc"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the cancellation policy.",
      "format": "uuid"
    },
    "RateGroupId": {
      "type": "string",
      "description": "Unique identifier of the rate group the cancellation policy belongs to.",
      "format": "uuid"
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Date and time of the cancellation policy creation in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "UpdatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Date and time of the cancellation policy update in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "Applicability": {
      "$ref": "#/components/schemas/CancellationPolicyApplicability"
    },
    "FeeExtent": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CancellationFeeExtent"
      },
      "description": "Extent for the cancellation fee, i.e. what should be in scope for the automatic payment."
    },
    "ApplicabilityOffset": {
      "minLength": 1,
      "type": "string",
      "description": "Offset for order start (assuming Applicability is set to Start) from which the fee is applied."
    },
    "FeeMaximumTimeUnits": {
      "type": "integer",
      "description": "Maximum number of time units the cancellation fee is applicable to.",
      "format": "int32",
      "nullable": true
    },
    "AbsoluteFee": {
      "title": "Currency value (ver 2023-02-02)",
      "allOf": [
        {
          "$ref": "#/components/schemas/CurrencyValue"
        }
      ],
      "description": "Absolute value of the fee."
    },
    "RelativeFee": {
      "type": "number",
      "description": "Relative value of the fee, as a percentage of the reservation price.",
      "format": "double"
    },
    "IsActive": {
      "type": "boolean",
      "description": "Whether the cancellation policy is still active."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CancellationPolicy"
}

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-cancellationpolicy"
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.