['required', 'string', 'max:255'], 'correo' => ['nullable', 'string', 'max:255', 'unique:clientes,correo'], 'telefono' => ['nullable', 'string', 'max:20'], 'direccion' => ['nullable', 'string'], 'tipo_documento' => ['required', 'in:DNI,RUC,PASAPORTE'], 'numero_documento' => ['required', 'string', 'max:20', 'unique:clientes,numero_documento'], ]; } }