Mews · Schema

Department

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the department.
EnterpriseId string Unique identifier of the [Enterprise](https://mews-systems.gitbook.io/connector-api/operations/enterprises/#enterprise).
IsActive boolean Whether the department is still active.
Name string Name of the department.
CreatedUtc string Creation date and time of the department in UTC timezone in ISO 8601 format.
UpdatedUtc string Last update date and time of the department in UTC timezone in ISO 8601 format.
View JSON Schema on GitHub

JSON Schema

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