Mews · Schema

Rate Group

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the rate group.
ServiceId string Unique identifier of the [Service](https://mews-systems.gitbook.io/connector-api/operations/services/#service) the rate group belongs to.
IsActive boolean Whether the rate group is still active.
CreatedUtc string Creation date and time of the rate group in UTC timezone in ISO 8601 format.
UpdatedUtc string Last update date and time of the rate group in UTC timezone in ISO 8601 format.
Ordering integer Ordering of the rate group.
Names object All translations of the name.
ShortNames object All translations of the short name.
Descriptions object All translations of the description.
ExternalIdentifier string Identifier of the rate group from external system.
View JSON Schema on GitHub

JSON Schema

mews-rategroup-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RateGroup",
  "title": "Rate Group",
  "required": [
    "CreatedUtc",
    "Id",
    "IsActive",
    "Names",
    "Ordering",
    "ServiceId",
    "UpdatedUtc"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the rate group.",
      "format": "uuid"
    },
    "ServiceId": {
      "type": "string",
      "description": "Unique identifier of the [Service](https://mews-systems.gitbook.io/connector-api/operations/services/#service) the rate group belongs to.",
      "format": "uuid"
    },
    "IsActive": {
      "type": "boolean",
      "description": "Whether the rate group is still active."
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Creation date and time of the rate group in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "UpdatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Last update date and time of the rate group in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "Ordering": {
      "type": "integer",
      "description": "Ordering of the rate group.",
      "format": "int32"
    },
    "Names": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the name.",
      "x-schema-id": "LocalizedStrings"
    },
    "ShortNames": {
      "title": "Localized text",
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "All translations of the short name.",
      "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"
    },
    "ExternalIdentifier": {
      "maxLength": 255,
      "type": "string",
      "description": "Identifier of the rate group from external system.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "RateGroup"
}