code: def validate_registry_uri_version(query: str) -> None:
      
      query_dict = parse.parse_qs(query, keep_blank_values=True)
      if "version" not in query_dict:
          raise ValidationError(f"{query} is not a correctly formatted version param.")
docs: Raise an exception if the version param is malformed.