{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thrivedesk/json-schema/thrivedesk-scheduled-reply-write-schema.json",
  "title": "ScheduledReplyWrite",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thrivedesk-openapi.yml#/components/schemas/ScheduledReplyWrite",
  "type": "object",
  "required": [
    "message",
    "scheduled_at"
  ],
  "properties": {
    "message": {
      "type": "string"
    },
    "scheduled_at": {
      "type": "string",
      "format": "date-time",
      "description": "Must be at least 5 minutes in the future (user's timezone)."
    },
    "type": {
      "type": "string",
      "enum": [
        "regardless",
        "if_no_reply"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "Active",
        "Pending",
        "Closed"
      ],
      "description": "Conversation status to set when the reply is sent."
    },
    "assign_to": {
      "type": [
        "string",
        "null"
      ]
    },
    "intended_inbox_address_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "cc": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "email"
      }
    },
    "bcc": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "email"
      }
    }
  }
}