Require limit prob to be >= .1% and <= 99.9%
This commit is contained in:
parent
4596a1ef26
commit
376feca7dc
|
@ -30,7 +30,7 @@ const bodySchema = z.object({
|
|||
|
||||
const binarySchema = z.object({
|
||||
outcome: z.enum(['YES', 'NO']),
|
||||
limitProb: z.number().gte(0).lte(1).optional(),
|
||||
limitProb: z.number().gte(0.001).lte(0.999).optional(),
|
||||
})
|
||||
|
||||
const freeResponseSchema = z.object({
|
||||
|
|
Loading…
Reference in New Issue
Block a user