json_schema: {
      "additionalProperties": false,
      "description": "Schema for a Mandrill message opened event",
      "properties": {
          "_id": {
              "type": "string"
          },
          "ip": {
              "type": "string"
          },
          "location": {
              "additionalProperties": false,
              "properties": {
                  "city": {
                      "type": "string"
                  },
                  "country": {
                      "type": "string"
                  },
                  "country_short": {
                      "type": "string"
                  },
                  "latitude": {
                      "type": "number"
                  },
                  "longitude": {
                      "type": "number"
                  },
                  "postal_code": {
                      "type": "string"
                  },
                  "region": {
                      "type": "string"
                  },
                  "timezone": {
                      "type": "string"
                  }
              },
              "type": "object"
          },
          "msg": {
              "additionalProperties": false,
              "properties": {
                  "_id": {
                      "type": "string"
                  },
                  "_version": {
                      "type": "string"
                  },
                  "clicks": {
                      "items": {
                          "additionalProperties": true,
                          "properties": {
                              "ip": {
                                  "type": "string"
                              },
                              "location": {
                                  "type": "string"
                              },
                              "ts": {
                                  "_format": "date-time",
                                  "type": "string"
                              },
                              "ua": {
                                  "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": {
                              "ip": {
                                  "type": "string"
                              },
                              "location": {
                                  "type": [
                                      "string",
                                      "null"
                                  ]
                              },
                              "ts": {
                                  "_format": "date-time",
                                  "type": "string"
                              },
                              "ua": {
                                  "type": "string"
                              }
                          },
                          "type": "object"
                      },
                      "type": "array"
                  },
                  "resends": {
                      "type": "array"
                  },
                  "sender": {
                      "type": "string"
                  },
                  "smtp_events": {
                      "items": {
                          "additionalProperties": true,
                          "properties": {
                              "destination_ip": {
                                  "type": "string"
                              },
                              "diag": {
                                  "type": "string"
                              },
                              "size": {
                                  "type": "integer"
                              },
                              "source_ip": {
                                  "type": "string"
                              },
                              "ts": {
                                  "_format": "date-time",
                                  "type": "string"
                              },
                              "type": {
                                  "type": "string"
                              }
                          },
                          "type": "object"
                      },
                      "type": "array"
                  },
                  "state": {
                      "type": "string"
                  },
                  "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"
          },
          "user_agent": {
              "type": "string"
          },
          "user_agent_parsed": {
              "additionalProperties": false,
              "properties": {
                  "mobile": {
                      "type": "boolean"
                  },
                  "os_company": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "os_company_url": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "os_family": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "os_icon": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "os_name": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "os_url": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "type": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_company": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_company_url": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_family": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_icon": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_name": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_url": {
                      "type": [
                          "string",
                          "null"
                      ]
                  },
                  "ua_version": {
                      "type": [
                          "string",
                          "null"
                      ]
                  }
              },
              "type": "object"
          }
      },
      "self": {
          "format": "jsonschema",
          "name": "message_opened",
          "vendor": "com.mandrill",
          "version": "1-0-0"
      },
      "type": "object"
  }