# Variable RealtimeEventSchema`Const`

RealtimeEventSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
args: ZodArray<ZodAny>;
connId: ZodString;
name: ZodString;
type: ZodLiteral<"action">;
},
$strip,
>,
ZodObject<
{
args: ZodArray<ZodAny>;
eventName: ZodString;
type: ZodLiteral<"broadcast">;
},
$strip,
>,
ZodObject<
{
connId: ZodString;
eventName: ZodString;
type: ZodLiteral<"subscribe">;
},
$strip,
>,
ZodObject<
{
connId: ZodString;
eventName: ZodString;
type: ZodLiteral<"unsubscribe">;
},
$strip,
>,
ZodObject<
{
args: ZodArray<ZodAny>;
connId: ZodString;
eventName: ZodString;
type: ZodLiteral<"event">;
},
$strip,
>,
],
> = ...

- Defined in rivetkit-typescript/packages/rivetkit/src/inspector/protocol/common.ts:92