{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/softsync-ai/json-schema/softsync-ai-update-calendar-event-dto-schema.json",
  "title": "UpdateCalendarEventDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/softsync-ai-calendar-api-openapi.yml#/components/schemas/UpdateCalendarEventDto",
  "type": "object",
  "properties": {
    "integrationId": {
      "type": "string",
      "description": "Integration ID"
    },
    "calendarId": {
      "type": "string",
      "description": "Calendar ID"
    },
    "title": {
      "type": "string",
      "description": "Event title"
    },
    "body": {
      "type": "string",
      "description": "Event body/description"
    },
    "location": {
      "type": "string",
      "description": "Event location"
    },
    "start": {
      "description": "Start date and time",
      "allOf": [
        {
          "$ref": "#/$defs/CalendarDateTimeInputDto"
        }
      ]
    },
    "end": {
      "description": "End date and time",
      "allOf": [
        {
          "$ref": "#/$defs/CalendarDateTimeInputDto"
        }
      ]
    },
    "conference": {
      "description": "Conference details",
      "allOf": [
        {
          "$ref": "#/$defs/CalendarConferenceInputDto"
        }
      ]
    },
    "attendees": {
      "description": "List of attendees",
      "type": "array",
      "items": {
        "$ref": "#/$defs/CalendarAttendeeInputDto"
      }
    }
  },
  "$defs": {
    "CalendarAttendeeInputDto": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "description": "Email address of the attendee"
        },
        "display_name": {
          "type": "string",
          "description": "Display name of the attendee"
        }
      },
      "required": [
        "email"
      ]
    },
    "CalendarConferenceInputDto": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "description": "Conference provider"
        },
        "url": {
          "type": "string",
          "description": "Conference URL"
        }
      }
    },
    "CalendarDateTimeInputDto": {
      "type": "object",
      "properties": {
        "date_time": {
          "type": "string",
          "description": "Date and time in ISO format"
        },
        "time_zone": {
          "type": "string",
          "description": "Time zone identifier"
        }
      },
      "required": [
        "date_time"
      ]
    }
  }
}