Mews · Schema

Resource category pricing

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
CategoryId string Unique identifier of the category.
Prices array Prices of the rate for the resource category in the covered dates.
AmountPrices array Prices of the rate for the resource category in the covered dates.
View JSON Schema on GitHub

JSON Schema

mews-categorypricing-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CategoryPricing",
  "title": "Resource category pricing",
  "required": [
    "AmountPrices",
    "CategoryId",
    "Prices"
  ],
  "type": "object",
  "properties": {
    "CategoryId": {
      "type": "string",
      "description": "Unique identifier of the category.",
      "format": "uuid"
    },
    "Prices": {
      "type": "array",
      "items": {
        "type": "number",
        "format": "double"
      },
      "description": "Prices of the rate for the resource category in the covered dates.",
      "deprecated": true,
      "x-deprecatedMessage": "Use `AmountPrices` instead."
    },
    "AmountPrices": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Amount"
      },
      "description": "Prices of the rate for the resource category in the covered dates."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "CategoryPricing"
}