Mews · Schema

Resource block parameters

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
ResourceId string Unique identifier of `Resource`.
Name string Name of the resource block.
Type object
StartUtc string Start of the interval in UTC timezone in ISO 8601 format.
EndUtc string End of the interval in UTC timezone in ISO 8601 format.
Notes string Note describing the resource block.
View JSON Schema on GitHub

JSON Schema

mews-resourceblockaddparameters-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourceBlockAddParameters",
  "title": "Resource block parameters",
  "required": [
    "EndUtc",
    "Name",
    "ResourceId",
    "StartUtc",
    "Type"
  ],
  "type": "object",
  "properties": {
    "ResourceId": {
      "type": "string",
      "description": "Unique identifier of `Resource`.",
      "format": "uuid"
    },
    "Name": {
      "minLength": 1,
      "type": "string",
      "description": "Name of the resource block."
    },
    "Type": {
      "$ref": "#/components/schemas/ResourceBlockType"
    },
    "StartUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Start of the interval in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "EndUtc": {
      "minLength": 1,
      "type": "string",
      "description": "End of the interval in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "Notes": {
      "type": "string",
      "description": "Note describing the resource block.",
      "nullable": true
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ResourceBlockAddParameters"
}