{
    "additionalProperties": false,
    "description": "Schema for a Mandrill message marked as spam event",
    "properties": {
        "_id": {
            "type": "string"
        },
        "msg": {
            "additionalProperties": false,
            "properties": {
                "_id": {
                    "type": "string"
                },
                "_version": {
                    "type": "string"
                },
                "clicks": {
                    "items": {
                        "additionalProperties": true,
                        "properties": {
                            "ts": {
                                "_format": "date-time",
                                "type": "string"
                            },
                            "url": {
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "type": "array"
                },
                "email": {
                    "type": "string"
                },
                "metadata": {
                    "additionalProperties": true,
                    "properties": {
                        "user_id": {
                            "type": "number"
                        }
                    },
                    "type": "object"
                },
                "opens": {
                    "items": {
                        "additionalProperties": true,
                        "properties": {
                            "ts": {
                                "_format": "date-time",
                                "type": "string"
                            }
                        },
                        "type": "object"
                    },
                    "type": "array"
                },
                "sender": {
                    "type": "string"
                },
                "state": {
                    "type": "string"
                },
                "subaccount": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "subject": {
                    "type": "string"
                },
                "tags": {
                    "items": {
                        "type": "string"
                    },
                    "type": "array"
                },
                "ts": {
                    "_format": "date-time",
                    "type": "string"
                }
            },
            "type": "object"
        },
        "ts": {
            "_format": "date-time",
            "type": "string"
        }
    },
    "self": {
        "format": "jsonschema",
        "name": "message_marked_as_spam",
        "vendor": "com.mandrill",
        "version": "1-0-1"
    },
    "type": "object"
}