code: public JsonNode resolve(URI uri) {
  
          if (CLASSPATH_SCHEMES.contains(uri.getScheme())) {
              return resolveFromClasspath(uri);
          }
  
          try {
              return objectMapper.readTree(uri.toURL());
          } catch (JsonProcessingException e) {
              throw new IllegalArgumentException("Error parsing document: " + uri, e);
          } catch (IOException e) {
              throw new IllegalArgumentException("Unrecognised URI, can't resolve this: " + uri, e);
          }
  
      }
docs: Resolve a given URI to read its contents and parse the result as JSON.
  <p>
  Supported protocols:
  <ul>
  <li>http/https
  <li>file
  <li>classpath/resource/java (all synonymous, used to resolve a schema
  from the classpath)
  </ul>
  
  @param uri
  the URI to read schema content from
  @return the JSON tree found at the given URI