import { z } from 'zod'; export const unassignedBirdMatchSchema = z.object({ tagId: z.string().trim().min(1).max(80).refine( (value) => !['unknown', 'not recorded', 'n/a', 'na', 'none'].includes(value.toLowerCase()), 'Enter a known band ID.', ), }); export const claimBirdSchema = unassignedBirdMatchSchema.extend({ confirmHistory: z.literal(true) });