Skip to content

LiveServerEventSchema

const LiveServerEventSchema: ZodIntersection<ZodRecord<ZodString, ZodJSONSchema>, ZodObject<{ event_id: ZodString; type: ZodString; }, $strip>>

Defined in: packages/realtime-protocol/src/openai-live.ts:279

Validates the envelope while retaining native fields, including future nested Responses events.