{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forward-email/json-schema/forward-email-calendar-input-schema.json",
  "title": "CalendarInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forward-email-calendars-api-openapi.yml#/components/schemas/CalendarInput",
  "type": "object",
  "required": [
    "name"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Calendar name"
    },
    "calendar_id": {
      "type": "string",
      "description": "Custom calendar ID (if not provided, will be auto-generated)"
    },
    "description": {
      "type": "string",
      "description": "Calendar description"
    },
    "color": {
      "type": "string",
      "description": "Calendar color (hex format, if not provided, will be auto-generated)"
    },
    "timezone": {
      "type": "string",
      "description": "Calendar timezone (defaults to user's timezone or UTC)"
    },
    "order": {
      "type": "integer",
      "description": "Calendar display order (defaults to 0)"
    }
  }
}