{
    "additionalProperties": false,
    "description": "Schema for a Mandrill message delayed event",
    "properties": {
        "_id": {
            "type": "string"
        },
        "diag": {
            "type": "string"
        },
        "msg": {
            "additionalProperties": false,
            "properties": {
                "_id": {
                    "type": "string"
                },
                "_version": {
                    "type": "string"
                },
                "clicks": {
                    "type": "array"
                },
                "email": {
                    "type": "string"
                },
                "metadata": {
                    "additionalProperties": true,
                    "properties": {
                        "user_id": {
                            "type": "number"
                        }
                    },
                    "type": "object"
                },
                "opens": {
                    "type": "array"
                },
                "resends": {
                    "type": "array"
                },
                "sender": {
                    "type": "string"
                },
                "smtp_events": {
                    "items": {
                        "additionalProperties": true,
                        "properties": {
                            "destination_ip": {
                                "type": "string"
                            },
                            "diag": {
                                "type": "string"
                            },
                            "size": {
                                "type": "number"
                            },
                            "source_ip": {
                                "type": "string"
                            },
                            "ts": {
                                "_format": "date-time",
                                "type": "string"
                            },
                            "type": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "type": "array"
                },
                "state": {
                    "type": "string"
                },
                "subaccount": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "subject": {
                    "type": "string"
                },
                "tags": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "template": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "ts": {
                    "_format": "date-time",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "ts": {
            "_format": "date-time",
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "message_delayed",
        "vendor": "com.mandrill",
        "version": "1-0-1"
    },
    "type": "object"
}