docs: def validate(self, value):
          """
          Validate (and possibly typecast) the given parameter value value.
  
          :param value: Parameter value
          :return: Typecast parameter value
          :raises ValidationErrors: if there were validation errors
          """
          errors = []
          value = self._validate_type(value, errors)
          self._validate_value(value, errors)
  
          if errors:
              raise ValidationErrors(errors)
  
          return value