function parseURL(url) {
    if (url.indexOf(URL_SCHEME_SUFFIX) === -1) throw new Error(`The url string provided does not contain a scheme. ` + `Supported schemes are: ` + `${ModelStoreManagerRegistry.getSchemes().join(",")}`);
    return {
        scheme: url.split(URL_SCHEME_SUFFIX)[0],
        path: url.split(URL_SCHEME_SUFFIX)[1]
    };
}
Helper method for parsing a URL string into a scheme and a path.

@param url E.g., 'localstorage://my-model'
@returns A dictionary with two fields: scheme and path.
  Scheme: e.g., 'localstorage' in the example above.
  Path: e.g., 'my-model' in the example above.