diff --git a/packages/server/src/api/routes/utils/validators.ts b/packages/server/src/api/routes/utils/validators.ts index b589d44b31..7b13beae9f 100644 --- a/packages/server/src/api/routes/utils/validators.ts +++ b/packages/server/src/api/routes/utils/validators.ts @@ -275,8 +275,10 @@ export function screenValidator() { function generateStepSchema(allowStepTypes: string[]) { const branchSchema = Joi.object({ + id: Joi.string().required(), name: Joi.string().required(), condition: filterObject({ unknown: false }).required().min(1), + conditionUI: Joi.object(), }) return Joi.object({