{
    "additionalProperties": true,
    "description": "Schema for a Mailgun message dropped event",
    "properties": {
        "attachmentCount": {
            "description": "Number of attachments in attachment-x (where x is a number) fields.",
            "maximum": 65535,
            "type": "integer"
        },
        "code": {
            "description": "SMTP bounce error code in form (X.X.X).",
            "maxLength": 8,
            "type": "string"
        },
        "description": {
            "description": "Detailed explanation for why the message was dropped.",
            "type": "string"
        },
        "domain": {
            "_format": "hostname",
            "description": "Domain that sent the original message.",
            "maxLength": 256,
            "type": "string"
        },
        "event": {
            "description": "Event name ('dropped').",
            "maxLength": 16,
            "type": "string"
        },
        "messageHeaders": {
            "description": "String list of all MIME headers of the original message dumped to a JSON string (order of headers preserved).",
            "type": "string"
        },
        "reason": {
            "description": "Reason for failure. Can be one either 'hardfail' or 'old'.",
            "maxLength": 8,
            "type": "string"
        },
        "recipient": {
            "_format": "email",
            "description": "Recipient who could not be reached.",
            "maxLength": 256,
            "type": "string"
        },
        "signature": {
            "description": "String with hexadecimal digits generate by HMAC algorithm (see securing webhooks).",
            "maxLength": 128,
            "type": "string"
        },
        "token": {
            "description": "Randomly generated string with length 50 (see securing webhooks).",
            "maxLength": 50,
            "minLength": 50,
            "type": "string"
        },
        "xMailgunSid": {
            "description": "Mailgun identifying header.",
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "message_dropped",
        "vendor": "com.mailgun",
        "version": "1-0-0"
    },
    "type": "object"
}