Mews · Schema

Rate parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ServiceId string Unique identifier of the service.
RateGroupId string Unique identifier of the rate group under which rate is assigned.
IsEnabled boolean Whether the rate is available to customers. `false` will be used as a default when not provided.
Type object Type of the rate. Public Private
AccountingCategoryId string Unique identifier of the accounting category the rate belongs to.
BusinessSegmentId string Unique identifier of the business segment.
Names object All translations of the name of the rate.
ShortNames object All translations of the short name of the rate.
ExternalNames object All translations of the external name of the rate.
Descriptions object All translations of the description.
PricingType object Discriminator in which field inside `Pricing` contains additional data. BaseRatePricing DependentRatePricing
ExternalIdentifier string Identifier of the rate from external system.
Pricing object Contains additional data about pricing of the rate.
View JSON Schema on GitHub

JSON Schema

mews-rateadddata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RateAddData",
  "title": "Rate parameters",
  "required": [
    "Names",
    "PricingType",
    "RateGroupId",
    "ServiceId"
  ],
  "type": "object",
  "properties": {
    "ServiceId": {
      "minLength": 1,
      "type": "string",
      "description": "Unique identifier of the service.",
      "x-schema-id": "HybridIdentifier"
    },
    "RateGroupId": {
      "minLength": 1,
      "type": "string",
      "description": "Unique identifier of the rate group under which rate is assigned.",
      "x-schema-id": "HybridIdentifier"
    },
    "IsEnabled": {
      "type": "boolean",
      "description": "Whether the rate is available to customers. `false` will be used as a default when not provided.",
      "nullable": true
    },
    "Type": {
      "title": "Rate Add Type",
      "allOf": [
        {
          "$ref": "#/components/schemas/RateAddTypeEnum"
        }
      ],
      "description": "Type of the rate.\n\nPublic\n\nPrivate",
      "x-enumNames": [
        "Public",
        "Private"
      ],
      "x-enumDescriptions": [
        "",
        ""
      ]
    },
    "AccountingCategoryId": {
      "type": "string",
      "description": "Unique identifier of the accounting category the rate belongs to.",
      "format": "uuid",
      "nullable": true
    },
    "BusinessSegmentId": {
      "type": "string",
      "description": "Unique identifier of the business segment.",
      "format": "uuid",
      "nullable": true
    },
    "Names": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the name of the rate.",
      "x-schema-id": "LocalizedStrings"
    },
    "ShortNames": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the short name of the rate.",
      "nullable": true,
      "x-schema-id": "LocalizedStrings"
    },
    "ExternalNames": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the external name of the rate.",
      "nullable": true,
      "x-schema-id": "LocalizedStrings"
    },
    "Descriptions": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the description.",
      "nullable": true,
      "x-schema-id": "LocalizedStrings"
    },
    "PricingType": {
      "title": "Rate pricing discriminator",
      "allOf": [
        {
          "$ref": "#/components/schemas/RatePricingDiscriminatorEnum"
        }
      ],
      "description": "Discriminator in which field inside `Pricing` contains additional data.\n\nBaseRatePricing\n\nDependentRatePricing",
      "x-enumNames": [
        "BaseRatePricing",
        "DependentRatePricing"
      ],
      "x-enumDescriptions": [
        "",
        ""
      ]
    },
    "ExternalIdentifier": {
      "maxLength": 255,
      "type": "string",
      "description": "Identifier of the rate from external system.",
      "nullable": true
    },
    "Pricing": {
      "title": "Rate add pricing data parameters",
      "allOf": [
        {
          "$ref": "#/components/schemas/RateAddPricingDataParameters"
        }
      ],
      "description": "Contains additional data about pricing of the rate.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RateAddData"
}

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