Skip to content

Commit

Permalink
Require stakeholder category field (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche authored Dec 31, 2024
1 parent 8cccab1 commit 6641b21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/utils/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ export const roToSchema = z.object({
export const StakeholderSchema = z.object({
ebios_rm_study: z.string(),
applied_controls: z.string().uuid().optional().array().optional(),
category: z.string().optional(),
category: z.string(),
entity: z.string().optional(),
current_dependency: z.number().min(0).max(4).default(0).optional(),
current_penetration: z.number().min(0).max(4).default(0).optional(),
Expand Down

0 comments on commit 6641b21

Please sign in to comment.