{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Recipient",
  "title": "Recipient",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the recipient."
    },
    "type": {
      "type": "string",
      "description": "The notification channel type.",
      "enum": [
        "email",
        "pagerduty",
        "slack",
        "webhook",
        "msteams"
      ]
    },
    "target": {
      "type": "string",
      "description": "The target address or identifier for the recipient, such as an email address or webhook URL."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO8601 formatted time the recipient was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "ISO8601 formatted time the recipient was last updated."
    }
  }
}