import { z } from "zod" const relationFieldSchema = z.object({ value: z.string(), label: z.string() }).nullable() export const vehicleDocumentFormSchema = z.object({ document_type: relationFieldSchema, customer: relationFieldSchema, document_number: z.string().optional(), document_expire: z.string().optional(), file: z.instanceof(File, { message: "File is required" }).nullable(), }) export type VehicleDocumentFormValues = z.infer