`
def semanticCheck: SemanticCheck = {
  val protocol = new URI(value).getScheme
  val protocolSupported = protocolWhiteList.contains( protocol )
  if (protocolSupported)
    SemanticCheckResult.success
  else
    SemanticError(s"Unsupported URL protocol: $protocol", position)
}
`