public function rules(): array 	{ 		return MediaStorage::mergeValidationRules([ 			'approved_by_buyer' => ['boolean'], 			'advance_payment' => ['nullable', 'numeric', 'min:1'], 			'warehouse_id' => ['required', 'uuid', 'exists:warehouses,id'], 			'buyer_id' => ['required', 'uuid', 'exists:buyers,id'], 			'products' => ['array', 'required'], 			'products.*.name' => ['required', 'string', 'max:80'], 			'products.*.quantity' => ['required', 'integer', 'min:1', 'max:30000'], 			'products.*.brand' => ['nullable', 'string', 'max:80'], 			'products.*.wand_id' => ['nullable', 'distinct', 'numeric'], 			'products.*.note' => ['nullable', 'nullable', 'max:500'], 			'email_recipients' => ['array'], 			'email_recipients.*' => ['email'], 			'note' => ['nullable', 'string', 'max:500'], 			'miscellaneous' => ['array', 'max:10'], 			'miscellaneous.*' => ['required', 'file', 'max:' . setting('max_upload_size') / 1024, new SafeWebp], 		]); 	}