public function getValidationRules(): array 	{ 		$required = $this->required ? 'required' : 'nullable';  		if (auth()->user()) { 			$required = 'nullable'; 		}  		$min = $this->min ?? 0; 		$max = $this->max ?? 250;  		switch ($this->type) { 			case QuestionType::Checkbox->value: 				return [$required, 'array', 'min:1', 'max:' . count($this->getDefaultTranslation('available_answers'))];  			case QuestionType::CheckboxWithAnswerPositivity->value: 				return [$required, 'array', 'min:1', 'max:' . count($this->getDefaultTranslation('available_answers'))];  			case QuestionType::StandardRadio->value: 				return [$required, 'integer', 'min:1', 'max:4'];  			case QuestionType::CustomRadio->value: 				return [$required, 'integer', 'min:1', 'max:' . count($this->getDefaultTranslation('available_answers'))];  			case QuestionType::CheckboxLimitedAnswers->value: 				return [$required, 'array', 'min:1', 'max:' . $this->checkbox_max_answers_limit];  			case QuestionType::CheckboxWithCustomAnswer->value: 				return [$required, 'array', 'min:1', 'max:' . (count($this->getDefaultTranslation('available_answers')) + 1)];  			case QuestionType::PpiStandardRadio->value: 				return [$required, 'integer', 'min:1', 'max:5'];  			case QuestionType::Email->value: 				return [$required, 'email', 'max:50'];  			case QuestionType::Textarea->value: 				return [$required, 'min:' . $min, 'max:1000', 'string'];  			default: 				return [$required, 'min:' . $min, 'max:' . $max, 'string']; 		} 	}