agave-metadata/metadata-core/src/main/java/com/github/fge/jsonschema/main/AgaveJsonValidator.java
/**
     * Build a {@link JsonSchema} instance
     *
     * @param uri the URI to load the schema from
     * @return a {@link JsonSchema}
     * @throws ProcessingException invalid URI, or URI did not resolve to a
     * JSON Schema
     * @throws JsonReferenceError URI is null
     */
Build a  JsonSchema instance
@param uri the URI to load the schema from
@return a  JsonSchema
@throws ProcessingException invalid URI, or URI did not resolve to a
JSON Schema
@throws JsonReferenceError URI is null
Build a JsonSchema instance @param uri the URI to load the schema from @return a JsonSchema @throws ProcessingException invalid URI or URI did not resolve to a JSON Schema @throws JsonReferenceError URI is null
JsonSchema buildJsonSchema(final String uri)
        throws ProcessingException
    {
        final JsonRef ref = JsonRef.fromString(uri);
        if (!ref.isLegal())
            throw new JsonReferenceException(new ProcessingMessage()
                .message(ILLEGAL_JSON_REF));
        final SchemaTree tree
            = loader.get(ref.getLocator()).setPointer(ref.getPointer());
        if (tree.getNode().isMissingNode())
            throw new JsonReferenceException(new ProcessingMessage()
                .message(DANGLING_REF));
        return new JsonSchema(processor, tree, reportProvider);
    }
JsonSchema buildJsonSchema ( final String uri ) throws ProcessingException { final JsonRef ref = JsonRef . fromString ( uri ) ; if ( ! ref . isLegal ( ) ) throw new JsonReferenceException ( new ProcessingMessage ( ) . message ( ILLEGAL_JSON_REF ) ) ; final SchemaTree tree = loader . get ( ref . getLocator ( ) ) . setPointer ( ref . getPointer ( ) ) ; if ( tree . getNode ( ) . isMissingNode ( ) ) throw new JsonReferenceException ( new ProcessingMessage ( ) . message ( DANGLING_REF ) ) ; return new JsonSchema ( processor , tree , reportProvider ) ; }
Build a {@link JsonSchema} instance
 @param uri the URI to load the schema from
 @return a {@link JsonSchema}
 @throws ProcessingException invalid URI, or URI did not resolve to a
 JSON Schema
 @throws JsonReferenceError URI is null
Build a { @link JsonSchema } instance @param uri the URI to load the schema from @return a { @link JsonSchema } @throws ProcessingException invalid URI or URI did not resolve to a JSON Schema @throws JsonReferenceError URI is null