{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/workwae-com/json-schema/workwae-com-calendar-event-schema.json",
  "title": "CalendarEvent",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/workwae-com-v1-openapi.json#/components/schemas/CalendarEvent",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "calendarId": {
      "type": "string",
      "format": "uuid"
    },
    "kind": {
      "$ref": "#/$defs/EventKind"
    },
    "seriesId": {
      "anyOf": [
        {
          "type": "string",
          "format": "uuid"
        },
        {
          "type": "null"
        }
      ]
    },
    "originalStart": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time",
          "x-native-type": "date"
        },
        {
          "type": "null"
        }
      ]
    },
    "subject": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "snippet": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "start": {
      "$ref": "#/$defs/EventTime"
    },
    "end": {
      "$ref": "#/$defs/EventTime"
    },
    "isAllDay": {
      "type": "boolean"
    },
    "organizer": {
      "anyOf": [
        {
          "$ref": "#/$defs/Address"
        },
        {
          "type": "null"
        }
      ]
    },
    "attendees": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Attendee"
      }
    },
    "isOrganizer": {
      "type": "boolean"
    },
    "selfResponse": {
      "$ref": "#/$defs/ResponseStatus"
    },
    "status": {
      "$ref": "#/$defs/EventStatus"
    },
    "showAs": {
      "$ref": "#/$defs/ShowAs"
    },
    "sensitivity": {
      "$ref": "#/$defs/Sensitivity"
    },
    "onlineMeetingUrl": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "onlineMeetingProvider": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "iCalUid": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "recurrence": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "recurrenceTimeZone": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "cancelledStarts": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "string",
            "format": "date-time",
            "x-native-type": "date"
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "hasAttachments": {
      "type": "boolean"
    },
    "reminderMinutes": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        },
        {
          "type": "null"
        }
      ]
    },
    "webLink": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "x-native-type": "date"
    }
  },
  "required": [
    "id",
    "calendarId",
    "kind",
    "seriesId",
    "originalStart",
    "subject",
    "snippet",
    "location",
    "start",
    "end",
    "isAllDay",
    "organizer",
    "attendees",
    "isOrganizer",
    "selfResponse",
    "status",
    "showAs",
    "sensitivity",
    "onlineMeetingUrl",
    "onlineMeetingProvider",
    "iCalUid",
    "recurrence",
    "recurrenceTimeZone",
    "cancelledStarts",
    "categories",
    "hasAttachments",
    "reminderMinutes",
    "webLink",
    "updatedAt"
  ],
  "$defs": {
    "Address": {
      "type": "object",
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "address": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "address"
      ]
    },
    "Attendee": {
      "type": "object",
      "properties": {
        "name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "address": {
          "type": "string"
        },
        "type": {
          "$ref": "#/$defs/AttendeeType"
        },
        "response": {
          "$ref": "#/$defs/ResponseStatus"
        }
      },
      "required": [
        "name",
        "address",
        "type",
        "response"
      ]
    },
    "AttendeeType": {
      "enum": [
        "required",
        "optional",
        "resource"
      ],
      "type": "string"
    },
    "EventKind": {
      "enum": [
        "single",
        "series",
        "occurrence",
        "exception"
      ],
      "type": "string"
    },
    "EventStatus": {
      "enum": [
        "confirmed",
        "tentative",
        "cancelled"
      ],
      "type": "string"
    },
    "EventTime": {
      "type": "object",
      "properties": {
        "dateTime": {
          "type": "string",
          "format": "date-time",
          "x-native-type": "date"
        },
        "date": {
          "anyOf": [
            {
              "type": "string",
              "format": "date"
            },
            {
              "type": "null"
            }
          ]
        },
        "timeZone": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "dateTime",
        "date",
        "timeZone"
      ]
    },
    "ResponseStatus": {
      "enum": [
        "none",
        "organizer",
        "accepted",
        "tentative",
        "declined",
        "needs_action"
      ],
      "type": "string"
    },
    "Sensitivity": {
      "enum": [
        "normal",
        "personal",
        "private",
        "confidential"
      ],
      "type": "string"
    },
    "ShowAs": {
      "enum": [
        "free",
        "busy",
        "tentative",
        "oof",
        "working_elsewhere",
        "unknown"
      ],
      "type": "string"
    }
  }
}