{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CreateCommunicationRequest",
  "title": "CreateCommunicationRequest",
  "type": "object",
  "required": [
    "name",
    "type"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Name of the communication."
    },
    "type": {
      "type": "string",
      "enum": [
        "InitialNotice",
        "Reminder",
        "Escalation",
        "Release"
      ],
      "description": "Type of legal hold communication."
    },
    "escalationEnabled": {
      "type": "boolean",
      "description": "Whether escalation reminders are enabled."
    },
    "reminderIntervalDays": {
      "type": "integer",
      "description": "Number of days between reminder notifications."
    }
  }
}