{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "ScheduledMessage",
  "type": "object",
  "description": "A message scheduled for future delivery.",
  "properties": {
    "_id": {
      "type": "string",
      "description": "The unique scheduled message ID."
    },
    "created_at": {
      "type": "string",
      "description": "When the scheduled message was created."
    },
    "send_at": {
      "type": "string",
      "description": "When the message is scheduled to be sent."
    },
    "from_email": {
      "type": "string",
      "description": "The sender email address."
    },
    "to": {
      "type": "string",
      "description": "The recipient email address."
    },
    "subject": {
      "type": "string",
      "description": "The message subject line."
    }
  }
}