{
    "additionalProperties": false,
    "description": "Schema for a Mandrill recipient unsubscribed 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": false,
                    "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": "recipient_unsubscribed",
        "vendor": "com.mandrill",
        "version": "1-0-1"
    },
    "type": "object"
}