private function validateQuestion(mixed $value): ValidationContract 	{ 		// Condition checks if given answer belongs to Checkbox with custom answer and if that answer is provided(string) 		$condition = ($this->question->type === QuestionType::CheckboxWithCustomAnswer->value) && !is_numeric($value);  		$type = $condition ? 'string' : 'integer';  		$max = $condition 			? 200 			: count($this->question->getDefaultTranslation('available_answers'));  		return Validator::make([ 			'value' => $value, 		], [ 			'value' => [$type, $condition ? 'nullable' : '', 'min:1', 'max:' . $max, 'distinct'], 		]); 	}