Skip to main content

Variable: intentFilterSchema

const intentFilterSchema: ZodObject<{ field: ZodString; op: ZodEnum<{ eq: "eq"; gt: "gt"; gte: "gte"; in: "in"; lt: "lt"; lte: "lte"; neq: "neq"; not-in: "not-in"; }>; value: ZodUnion<readonly [ZodString, ZodNumber, ZodArray<ZodUnion<readonly [ZodString, ZodNumber]>>]>; }, $strict>

Defined in: intent/schema.ts:17

A filter clause on an AnalyticalIntent. field is a bare string at the shape level — it is grounded against Catalog.filters[].id by validateIntent (PRD-005 plan D9), not here. op reuses @ttoss/geovis-catalog's own layerFilterOperatorSchema rather than a separate symbolic vocabulary (D10), so no translation layer is needed when grounding against a FilterField's own operators list.