Mews · Schema

Source assignment

HospitalityHotelsPMSProperty Management

Properties

Name Type Description
Id string Unique identifier of the source assignement.
ReservationGroupId string Unique identifier of the [Reservation group](https://mews-systems.gitbook.io/connector-api/operations/reservations/#reservation-group).
SourceId string Unique identifier of the [Source](https://mews-systems.gitbook.io/connector-api/operations/sources/#source).
IsPrimary boolean Specifies the primary source for the [Reservation group](https://mews-systems.gitbook.io/connector-api/operations/reservations/#reservation-group).
View JSON Schema on GitHub

JSON Schema

mews-sourceassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SourceAssignment",
  "title": "Source assignment",
  "required": [
    "Id",
    "IsPrimary",
    "ReservationGroupId",
    "SourceId"
  ],
  "type": "object",
  "properties": {
    "Id": {
      "type": "string",
      "description": "Unique identifier of the source assignement.",
      "format": "uuid"
    },
    "ReservationGroupId": {
      "type": "string",
      "description": "Unique identifier of the [Reservation group](https://mews-systems.gitbook.io/connector-api/operations/reservations/#reservation-group).",
      "format": "uuid"
    },
    "SourceId": {
      "type": "string",
      "description": "Unique identifier of the [Source](https://mews-systems.gitbook.io/connector-api/operations/sources/#source).",
      "format": "uuid"
    },
    "IsPrimary": {
      "type": "boolean",
      "description": "Specifies the primary source for the [Reservation group](https://mews-systems.gitbook.io/connector-api/operations/reservations/#reservation-group)."
    }
  },
  "additionalProperties": false,
  "x-schema-id": "SourceAssignment"
}