code: def schema(root_url, service, name):
      
      root_url = root_url.rstrip('/')
      name = name.lstrip('/')
      if root_url == OLD_ROOT_URL:
          return 'https://schemas.taskcluster.net/{}/{}'.format(service, name)
      else:
          return '{}/schemas/{}/{}'.format(root_url, service, name)
docs: Generate URL for a schema in a Taskcluster service.