public function rules(): array 	{ 		return [ 			'name' => ['required', 'string', 'max:80'], 			'name_en' => ['nullable', 'string', 'max:80'], 			'extra_name' => ['nullable', 'string', 'max:200'], 			'extra_name_en' => ['nullable', 'string', 'max:200'], 			'description' => ['nullable', 'max:5000', 'string'], 			'description_en' => ['nullable', 'string', 'max:5000'], 			'short_description' => ['nullable', 'max:80', 'string'], 			'short_description_en' => ['nullable', 'string', 'max:80'], 			'active' => ['boolean'], 			'gratis' => ['boolean'], 			'price' => ['required', 'numeric', 'min:0'], 			'price_per_unit_of_measure' => ['nullable', 'numeric', 'min:0'], 			'unavailable' => ['boolean'], 			'is_free_after_certain_quantity' => ['boolean'], 			'harvest' => ['nullable', 'string', 'min:0', 'max:10'], 			'categories' => ['array'], 			'categories.*' => ['uuid', 'exists:categories,id'], 			'images' => ['array'], 			'images.*' => ['image', 'max:' . setting('max_upload_size') / 1024, new SafeWebp], 			'nutrition' => ['array'], 			'nutrition.*' => ['image', 'max:' . setting('max_upload_size') / 1024, new SafeWebp], 			'filters' => ['array'], 			'filters.*' => ['nullable', 'bail', new ValidateFilter], 			'filters_en' => ['array'], 			'filters_en.*' => ['nullable', 'string', 'max:300'], 			'piktograms' => ['array'], 			'vat_category' => ['required', 'uuid', 'in_array:categories.*'], 			'tags' => ['nullable', 'string'], 			'tags_en' => ['nullable', /* 'required_with:tags', */ 'string'/* new CheckForTheSameNumberOfItemsInTwoFields($this->tags) */], 			'quantity' => ['required', 'numeric'], 			'weight' => ['required', 'numeric', 'min:0'], 			'unit_of_measure' => 'required', 'integer', Rule::in(array_keys(Product::MEASURE_UNITS)), 			'alternative_unit_of_measure' => 'nullable', 'integer', Rule::in(array_keys(Product::ALTERNATIVE_MEASURE_UNITS)), 			'conversion_to_quantity' => ['nullable', 'numeric', 'min:0'], 			'code' => ['nullable', 'string', 'max:30'], 			'seo_name' => ['nullable', 'string', 'max:200'], 			'seo_description' => ['nullable', 'string', 'max:1000'], 			'seo_name_en' => ['nullable', 'string', 'max:200'], 			'seo_description_en' => ['nullable', 'string', 'max:1000'],  		]; 	}