Zod v4 does not support .omit() on schemas containing .refine(). Restructured
the shared schema to define server and client schemas independently while
sharing field definitions to avoid duplication.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>