diff --git a/backend/src/schemas.ts b/backend/src/schemas.ts index 59338367a2eb926522ce33dd338f5df97b9a4d78..87a6bd39bafd88fd755597b6f3bc006a18d7ae57 100644 --- a/backend/src/schemas.ts +++ b/backend/src/schemas.ts @@ -72,6 +72,6 @@ export const WordChoice = Type.Object({ default: 0.8, maximum: 1.0, }), - ocr_transcript_length_min: Type.Number({ minimum: 1, default: 1 }), - ocr_transcript_length_max: Type.Number({ minimum: 1, default: 20 }), + ocr_transcript_length_min: Type.Integer({ minimum: 1, default: 1 }), + ocr_transcript_length_max: Type.Integer({ minimum: 1, default: 20 }), });