{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sendmux-ai/json-schema/sendmux-ai-create-calendar-event-body-schema.json",
  "title": "CreateCalendarEventBody",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/openapi-app.json#/components/schemas/CreateCalendarEventBody",
  "additionalProperties": false,
  "properties": {
    "calendar_id": {
      "description": "Calendar ID in the selected mailbox.",
      "maxLength": 4096,
      "minLength": 1,
      "pattern": "^[A-Za-z0-9_-]+$",
      "type": "string"
    },
    "description": {
      "description": "Plain text event details. Set null to clear.",
      "maxLength": 20000,
      "type": [
        "string",
        "null"
      ]
    },
    "duration": {
      "description": "Event duration expressed as days, hours, minutes or seconds.",
      "maxLength": 80,
      "pattern": "^P(?=\\d+D|T\\d)(?:\\d+D)?(?:T(?=\\d)(?:\\d+H)?(?:\\d+M)?(?:\\d+(?:\\.\\d{1,9})?S)?)?$",
      "type": "string"
    },
    "start": {
      "description": "Local start date and time without an offset, interpreted in time_zone.",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}$",
      "type": "string"
    },
    "time_zone": {
      "description": "Time zone for local event times.",
      "maxLength": 100,
      "minLength": 1,
      "type": "string"
    },
    "title": {
      "description": "Event title.",
      "maxLength": 1000,
      "type": "string"
    },
    "uid": {
      "description": "Stable caller-held identity, retained before this request. An uncertain create must be reconciled by UID lookup; never repeat it after an empty immediate lookup.",
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    }
  },
  "required": [
    "calendar_id",
    "uid",
    "title",
    "start",
    "time_zone",
    "duration"
  ],
  "type": "object"
}