{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "type": "object",
    "properties": {
        "calendars": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "string",
                        "description": "Calendar ID"
                    },
                    "locationId": {
                        "type": "string",
                        "description": "The HighLevel location ID"
                    },
                    "name": {
                        "type": "string",
                        "description": "Name of the calendar"
                    },
                    "description": {
                        "type": "string",
                        "description": "Description of the calendar"
                    },
                    "appointmentDuration": {
                        "type": "number",
                        "description": "Default appointment duration in minutes"
                    },
                    "availability": {
                        "type": "object",
                        "description": "Availability settings for the calendar"
                    },
                    "bufferTime": {
                        "type": "number",
                        "description": "Buffer time in minutes between appointments"
                    },
                    "calendarType": {
                        "type": "string",
                        "description": "Type of calendar"
                    },
                    "enableRecurring": {
                        "type": "boolean",
                        "description": "Whether recurring appointments are enabled"
                    },
                    "eventColor": {
                        "type": "string",
                        "description": "Color for calendar events"
                    },
                    "eventTitle": {
                        "type": "string",
                        "description": "Default title for calendar events"
                    },
                    "slug": {
                        "type": "string",
                        "description": "URL slug for the calendar"
                    },
                    "createdAt": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Creation timestamp"
                    },
                    "updatedAt": {
                        "type": "string",
                        "format": "date-time",
                        "description": "Last update timestamp"
                    }
                }
            }
        },
        "total": {
            "type": "number",
            "description": "Total number of calendars"
        }
    },
    "additionalProperties": false
}
