Skip to main content

Variable: metricCategorySchema

const metricCategorySchema: ZodObject<{ colorToken: ZodOptional<ZodString>; id: ZodString; order: ZodOptional<ZodNumber>; slug: ZodOptional<ZodString>; title: ZodString; }, $strict>

Defined in: schema/catalog.ts:49

A closed value a 'nominal' metric may take (D1). order positions it in legends/UI independent of alphabetical id sort; colorToken is a @ttoss/ui theme token, not a raw color, so a categorical choropleth stays on-theme.