{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highlevel/json-schema/highlevel-create-calendar-resource-dto-schema.json",
  "title": "CreateCalendarResourceDTO",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/highlevel-calendar-resources-rooms-equipments-api-openapi.yml#/components/schemas/CreateCalendarResourceDTO",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity of the equipment."
    },
    "outOfService": {
      "type": "number",
      "description": "Quantity of the out of service equipment."
    },
    "capacity": {
      "type": "number",
      "description": "Capacity of the room."
    },
    "calendarIds": {
      "description": "Service calendar IDs to be mapped with the resource.\n\n    One equipment can only be mapped with one service calendar.\n    \nOne room can be mapped with multiple service calendars.",
      "maxItems": 100,
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "locationId",
    "name",
    "description",
    "quantity",
    "outOfService",
    "capacity",
    "calendarIds"
  ]
}