{
  "type": "record",
  "name": "DeviceTokenInvalidated",
  "namespace": "com.plumery.notifications.events",
  "doc": "Event emitted when a user's device token is invalid.",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "doc": "Unique identifier for the event."
    },
    {
      "name": "userId",
      "type": "string",
      "doc": "Identifier of the user that owns the device."
    },
    {
      "name": "deviceId",
      "type": "string",
      "doc": "Identifier of the device that has invalid token."
    }
  ]
}