Mews · Schema

Resource category image assignment

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the assignment.
IsActive boolean Whether the assignment is still active.
CategoryId string Unique identifier of the [Resource category](https://mews-systems.gitbook.io/connector-api/operations/#resource-category).
ImageId string Unique identifier of the image assigned to the 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.
Ordering integer Ordering of the image in the resource category.
View JSON Schema on GitHub

JSON Schema

mews-resourcecategoryimageassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ResourceCategoryImageAssignment",
  "title": "Resource category image assignment",
  "required": [
    "CategoryId",
    "CreatedUtc",
    "Id",
    "ImageId",
    "IsActive",
    "Ordering",
    "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."
    },
    "CategoryId": {
      "type": "string",
      "description": "Unique identifier of the [Resource category](https://mews-systems.gitbook.io/connector-api/operations/#resource-category).",
      "format": "uuid"
    },
    "ImageId": {
      "type": "string",
      "description": "Unique identifier of the image assigned to the 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"
    },
    "Ordering": {
      "type": "integer",
      "description": "Ordering of the image in the resource category.",
      "format": "int32"
    }
  },
  "additionalProperties": false,
  "x-schema-id": "ResourceCategoryImageAssignment"
}