public function rules(): array 	{ 		$request = $this;  		return [ 			'items' => ['required', 'array', 'min:1', new ValidateOrderItems], 			'items.*.id' => ['required', 'uuid', 'distinct'], 			'items.*.quantity' => ['required', 'integer', 'min:1'],  			'items.*.type' => ['required', 'string'],  			'is_r1' => ['boolean'], 			'vat_number' => ['nullable', 'digits:11', Rule::requiredIf(function () use ($request) { 				return $request->boolean('is_r1'); 			})], 			'company_name' => ['nullable', 'string', 'max:100', Rule::requiredIf(function () use ($request) { 				return $request->boolean('is_r1'); 			})], 			'headquarters' => ['nullable', 'string', 'max:100', Rule::requiredIf(function () use ($request) { 				return $request->boolean('is_r1'); 			})],  			'email' => ['required', 'email', 'max:50'], 			'full_name' => ['required', 'string', 'max:50'], 			'phone' => ['required', 'string', 'max:20'],  			'delivery_country' => ['required', 'string', 'size:2', 'exists:' . DeliveryPrice::class . ',country_code'], 			'delivery_city' => ['required', 'string', 'max:50'], 			'delivery_address' => ['required', 'string', 'max:100'], 			'delivery_zip_code' => ['required', 'string', 'max:20'],  			'billable_country' => ['required', 'string', 'size:2', 'exists:' . DeliveryPrice::class . ',country_code'], 			'billable_city' => ['required', 'string', 'max:50'], 			'billable_address' => ['required', 'string', 'max:100'], 			'billable_zip_code' => ['required', 'string', 'max:20'],  			'description' => ['nullable', 'string', 'max:1000'], 			'corvus_order_number' => ['required', 'uuid', 'unique:orders,corvus_order_number'], 		]; 	}