From 8ff68596aa5a2c29ffcd9214de97adfe6f5d1a92 Mon Sep 17 00:00:00 2001 From: Kevin Hernandez <115322555+kevinherdez@users.noreply.github.com> Date: Fri, 27 Mar 2026 11:57:41 -0700 Subject: [PATCH] Update Observation Avalanche Problema Schema --- types/nationalAvalancheCenter/schemas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/nationalAvalancheCenter/schemas.ts b/types/nationalAvalancheCenter/schemas.ts index 5a4ccbcc..afe5db88 100644 --- a/types/nationalAvalancheCenter/schemas.ts +++ b/types/nationalAvalancheCenter/schemas.ts @@ -1093,7 +1093,7 @@ export const observationSchema = z.object({ location: z.array(avalancheProblemLocationSchema).nullable().optional(/* only because of NWAC */), distribution: z.nativeEnum(AvalancheProblemDistribution).or(z.string().length(0)).nullable().optional(/* only because of NWAC */), sensitivity: z.nativeEnum(AvalancheProblemSensitivity).or(z.string().length(0)).nullable().optional(/* only because of NWAC */), - d_size: z.array(z.string().or(z.number())).nullable().optional(/* only because of NWAC */), + d_size: z.array(z.string().nullable().or(z.number().nullable())).nullable().optional(/* only because of NWAC */), comments: z.string().nullable().optional(/* only because of NWAC */), }), )