{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mandiant/json-schema/mandiant-alert-format-wrapped-schema.json",
  "title": "alert_format_wrapped",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_superseded/mandiant-notification-formats-api-openapi.yml#/components/schemas/alert_format_wrapped",
  "type": "object",
  "properties": {
    "alert_format": {
      "$ref": "#/$defs/alert_format"
    }
  },
  "$defs": {
    "alert_format": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "message": {
          "type": "string",
          "description": "Message for the content of the notification.  Must be a string.  You can include placeholders in the message to be replaced with the attributes of the individual monitor.  These are the available placeholders:\n\n  %monitor_def_id%\n  %monitor_def_name%\n  %monitor_def_desc%\n  %monitor_result_id%\n  %monitor_result_state_change_timestamp%\n  %monitor_result_failed%\n  %sequence_id%\n  %sequence_vid%\n"
        },
        "alert_type": {
          "type": "string",
          "enum": [
            "email",
            "syslog"
          ],
          "description": "String indicating type of notification"
        },
        "syslog_severity": {
          "type": "string",
          "enum": [
            "emerg",
            "alert",
            "crit",
            "err",
            "warning",
            "notice",
            "info",
            "debug"
          ],
          "description": "Required if alert_type is syslog"
        },
        "from_address": {
          "type": "string",
          "description": "Required if alert_type is email"
        },
        "subject": {
          "type": "string",
          "description": "Required if alert_type is email"
        }
      }
    }
  }
}