Skip to content

Commit

Permalink
feat(schemas): add fraud suspected status to documents schema
Browse files Browse the repository at this point in the history
- Introduce new enum value for fraud detection
- Enhance validation for document statuses

(That new enum value is a great addition, but it won't catch a fraudster in a Halloween mask)
  • Loading branch information
alonp99 committed Jan 12, 2025
1 parent 8b6821c commit 34df099
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export const DocumentsSchema = Type.Array(
Type.String(),
Type.String({
enum: [
'Fraud Suspected',
'Suspicious document',
'Document does not match customer profile',
'Potential identity theft',
Expand Down

0 comments on commit 34df099

Please sign in to comment.