code: def addUrlScheme(self, url):
          '''
          Add a url scheme to this endpoint. It takes a url string and create
          the OEmbedUrlScheme object internally.
  
          Args:
              url: The url string that represents a url scheme to add.
          '''
  
          #@TODO: validate invalid url format according to http://oembed.com/
          if not isinstance(url, str):
              raise TypeError('url must be a string value')
  
          if not url in self._urlSchemes:
              self._urlSchemes[url] = OEmbedUrlScheme(urlf addUrlScheme(self, url):
          '''
          Add a url scheme to this endpoint. It takes a url string and create
          the OEmbedUrlScheme object internally.
  
          Args:
              url: The url string that represents a url scheme to add.
          '''
  
          #@TODO: validate invalid url format according to http://oembed.com/
          if not isinstance(url, str):
              raise TypeError('url must be a string value')
  
          if not url in self._urlSchemes:
              self._urlSchemes[url] = OEmbedUrlScheme(url)
docs: Add a url scheme to this endpoint. It takes a url string and create
          the OEmbedUrlScheme object internally.
  
          Args:
              url: The url string that represents a url scheme to add.