{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "event_id",
    "timestamp",
    "recipient",
    "message_id",
    "ip",
    "user_agent"
  ],
  "properties": {
    "type": {
      "type": "string",
      "enum": ["open"]
    },
    "event_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "recipient": {
      "type": "string"
    },
    "message_id": {
      "type": "string"
    },
    "ip": {
      "type": "string"
    },
    "user_agent": {
      "type": "string"
    },
    "additional": {
      "type": "object",
      "additionalProperties": true
    }
  }
}
