Kaizen
Browse modulesInsightsinsights/sharedSchemas and constants

Variable: reportRecipientsSchema

const reportRecipientsSchema: ZodPipe<ZodArray<ZodString>, ZodTransform<string[], string[]>>;

Defined in: shared/insights/schedule.ts:93

At least one recipient, de-duplicated, capped at MAX_REPORT_RECIPIENTS. Dedup runs in a transform AFTER per-item parse so the normalized (trimmed, lowercased) forms are what get compared — Alice@x.com and alice@x.com collapse to one address rather than slipping through as two.