diff --git a/lib/validations/event-type.ts b/lib/validations/event-type.ts index a23967be76..85f2500bbc 100644 --- a/lib/validations/event-type.ts +++ b/lib/validations/event-type.ts @@ -40,7 +40,7 @@ const schemaEventTypeBaseParams = z description: z.string().optional().nullable(), length: z.number().int(), locations: jsonSchema, - metadata: jsonSchema, + metadata: jsonSchema.optional().nullable().or(z.null()), recurringEvent: jsonSchema, }) .strict();