{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/highlevel/json-schema/highlevel-calendar-resource-by-id-response-dto-schema.json",
  "title": "CalendarResourceByIdResponseDTO",
  "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/CalendarResourceByIdResponseDTO",
  "type": "object",
  "properties": {
    "locationId": {
      "type": "string",
      "description": "Location ID of the resource"
    },
    "name": {
      "type": "string",
      "description": "Name of the resource"
    },
    "resourceType": {
      "type": "string",
      "enum": [
        "equipments",
        "rooms"
      ]
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether the resource is active"
    },
    "description": {
      "type": "string",
      "description": "Description of the resource"
    },
    "quantity": {
      "type": "number",
      "description": "Quantity of the resource"
    },
    "outOfService": {
      "type": "number",
      "description": "Indicates if the resource is out of service"
    },
    "capacity": {
      "type": "number",
      "description": "Capacity of the resource"
    },
    "calendarIds": {
      "description": "Calendar IDs",
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "locationId",
    "name",
    "resourceType",
    "isActive",
    "calendarIds"
  ]
}