{
  "type": "record",
  "name": "PendingAuthenticationCreated",
  "namespace": "com.plumery.authentication.events",
  "doc": "Event emitted when a pending authentication has been created.",
  "fields": [
    {
      "name": "id",
      "type": "string",
      "doc": "Unique identifier for the event."
    },
    {
      "name": "username",
      "type": "string",
      "doc": "Username for which the pending authentication was created."
    },
    {
      "name": "pendingAuthenticationId",
      "type": "string",
      "doc": "Identifier of the pending authentication."
    },
    {
      "name": "userId",
      "type": "string",
      "doc": "Identifier of the user."
    }
  ]
}