Mews · Schema

Resource category assignment

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the assignment.
IsActive boolean Whether the assignment is still active.
ResourceId string Unique identifier of the [Resource](https://mews-systems.gitbook.io/connector-api/operations/#resource) assigned to the Resource category.
CategoryId string Unique identifier of the [Resource category](https://mews-systems.gitbook.io/connector-api/operations/#resource-category).
CreatedUtc string Creation date and time of the assignment in UTC timezone in ISO 8601 format.
UpdatedUtc string Last update date and time of the assignment in UTC timezone in ISO 8601 format.
View JSON Schema on GitHub

JSON Schema

mews-resourcecategoryassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourceCategoryAssignment",
  "title": "Resource category assignment",
  "required": [
    "CategoryId",
    "CreatedUtc",
    "Id",
    "IsActive",
    "ResourceId",
    "UpdatedUtc"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the assignment.",
      "format": "uuid"
    },
    "IsActive": {
      "type": "boolean",
      "description": "Whether the assignment is still active."
    },
    "ResourceId": {
      "type": "string",
      "description": "Unique identifier of the [Resource](https://mews-systems.gitbook.io/connector-api/operations/#resource) assigned to the Resource category.",
      "format": "uuid"
    },
    "CategoryId": {
      "type": "string",
      "description": "Unique identifier of the [Resource category](https://mews-systems.gitbook.io/connector-api/operations/#resource-category).",
      "format": "uuid"
    },
    "CreatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Creation date and time of the assignment in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    },
    "UpdatedUtc": {
      "minLength": 1,
      "type": "string",
      "description": "Last update date and time of the assignment in UTC timezone in ISO 8601 format.",
      "format": "date-time"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ResourceCategoryAssignment"
}