Mews · Schema

Key cutter command data

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
KeyCutterId string Identifier of the key cutter.
ApiUrl string URL of the key cutter server API.
KeyCutterData string Custom JSON data.
KeyCount integer Count of keys to cut.
LockIds array Identifiers of locks/rooms the key should open.
StartUtc string Reservation start.
EndUtc string Reservation end.
FirstName string First name of the reservation owner.
LastName string Last name of the reservation owner.
NormalizedFirstName string Normalized first name of the customer without special characters.
NormalizedLastName string Normalized last name of the customer without special characters.
Telephone string Telephone of the reservation owner.
Email string Email of the reservation owner.
ReservationId string Unique identifier of the reservation.
ReservationNumber string Confirmation number of the reservation in Mews.
View JSON Schema on GitHub

JSON Schema

mews-keycuttercommanddata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/KeyCutterCommandData",
  "title": "Key cutter command data",
  "required": [
    "EndUtc",
    "KeyCount",
    "LastName",
    "LockIds",
    "StartUtc"
  ],
  "type": "object",
  "allOf": [
    {
      "$ref": "#/components/schemas/DeviceCommandData"
    }
  ],
  "properties": {
    "KeyCutterId": {
      "type": "string",
      "description": "Identifier of the key cutter.",
      "nullable": true
    },
    "ApiUrl": {
      "type": "string",
      "description": "URL of the key cutter server API.",
      "nullable": true
    },
    "KeyCutterData": {
      "type": "string",
      "description": "Custom JSON data.",
      "nullable": true
    },
    "KeyCount": {
      "type": "integer",
      "description": "Count of keys to cut.",
      "format": "int32"
    },
    "LockIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Identifiers of locks/rooms the key should open."
    },
    "StartUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Reservation start.",
      "format": "date-time"
    },
    "EndUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Reservation end.",
      "format": "date-time"
    },
    "FirstName": {
      "type": "string",
      "description": "First name of the reservation owner.",
      "nullable": true
    },
    "LastName": {
      "minLength": 1,
      "type": "string",
      "description": "Last name of the reservation owner."
    },
    "NormalizedFirstName": {
      "type": "string",
      "description": "Normalized first name of the customer without special characters.",
      "nullable": true
    },
    "NormalizedLastName": {
      "type": "string",
      "description": "Normalized last name of the customer without special characters.",
      "nullable": true
    },
    "Telephone": {
      "type": "string",
      "description": "Telephone of the reservation owner.",
      "nullable": true
    },
    "Email": {
      "type": "string",
      "description": "Email of the reservation owner.",
      "nullable": true
    },
    "ReservationId": {
      "type": "string",
      "description": "Unique identifier of the reservation.",
      "format": "uuid",
      "nullable": true
    },
    "ReservationNumber": {
      "type": "string",
      "description": "Confirmation number of the reservation in Mews.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "KeyCutterCommandData"
}