diff --git a/frontend/src/lib/utils/schemas.ts b/frontend/src/lib/utils/schemas.ts index 18b8a588e..b4532fde3 100644 --- a/frontend/src/lib/utils/schemas.ts +++ b/frontend/src/lib/utils/schemas.ts @@ -159,9 +159,9 @@ export const RequirementAssessmentSchema = z.object({ comment: z.string().optional().nullable(), folder: z.string(), requirement: z.string(), - evidences: z.string().uuid().optional().array(), + evidences: z.array(z.string().uuid().optional()).optional(), compliance_assessment: z.string(), - applied_controls: z.string().uuid().optional().array(), + applied_controls: z.array(z.string().uuid().optional()).optional(), observation: z.string().optional().nullable() });