import { z } from "zod";

export const adjustmentReasonInputSchema = z.object({
  code: z.string().trim().max(50).optional().or(z.literal("")),
  name: z.string().trim().min(1, "Nama alasan wajib diisi").max(100),
  category: z.string().trim().min(1, "Category wajib diisi").max(50),
  status: z.enum(["ACTIVE", "INACTIVE"]).default("ACTIVE")
});
