Mews · Schema

Loyalty tier add parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
LoyaltyProgramId string Unique identifier of the loyalty program the tier belongs to.
Name string Name of the loyalty tier.
Code string Code of the loyalty tier.
Ordering integer Ordering of the loyalty tier.
View JSON Schema on GitHub

JSON Schema

mews-loyaltytieraddparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/LoyaltyTierAddParameters",
  "title": "Loyalty tier add parameters",
  "required": [
    "Code",
    "LoyaltyProgramId",
    "Name",
    "Ordering"
  ],
  "type": "object",
  "properties": {
    "LoyaltyProgramId": {
      "type": "string",
      "description": "Unique identifier of the loyalty program the tier belongs to.",
      "format": "uuid"
    },
    "Name": {
      "maxLength": 50,
      "minLength": 1,
      "type": "string",
      "description": "Name of the loyalty tier."
    },
    "Code": {
      "maxLength": 50,
      "minLength": 1,
      "type": "string",
      "description": "Code of the loyalty tier."
    },
    "Ordering": {
      "type": "integer",
      "description": "Ordering of the loyalty tier.",
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "LoyaltyTierAddParameters"
}