Skip to main content

Variable: intentTimeSchema

const intentTimeSchema: ZodObject<{ end: ZodOptional<ZodUnion<[ZodISODate, ZodISODateTime]>>; start: ZodOptional<ZodUnion<[ZodISODate, ZodISODateTime]>>; }, $strict>

Defined in: intent/schema.ts:38

start/end accept either a bare ISO date or a full ISO datetime (D11) — Dataset.temporal.temporalGrain ranges from 'instant' (needs time-of-day) to coarser grains (date precision is enough), so a single fixed format would reject one side or force the other to pad a fake time-of-day. Range plausibility against a resolved dataset's Temporal.extent stays a resolver-time concern (PRD-006), not checked here or by validateIntent.