modules/json-schema-validator/src/main/java/io/restassured/module/jsv/JsonSchemaValidator.java
public static JsonSchemaValidator matchesJsonSchemaInClasspath(String pathToSchemaInClasspath) {
        return matchesJsonSchema(Thread.currentThread().getContextClassLoader().getResource(pathToSchemaInClasspath));
    }
public static JsonSchemaValidator matchesJsonSchemaInClasspath(String pathToSchemaInClasspath) {
        return matchesJsonSchema(Thread.currentThread().getContextClassLoader().getResource(pathToSchemaInClasspath));
    }
public static JsonSchemaValidator matchesJsonSchemaInClasspath ( String pathToSchemaInClasspath ) { return matchesJsonSchema ( Thread . currentThread ( ) . getContextClassLoader ( ) . getResource ( pathToSchemaInClasspath ) ) ; }
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method.

@param pathToSchemaInClasspath The string that points to a JSON schema in classpath.
@return A Hamcrest matcher
Creates a Hamcrest matcher that validates that a JSON document conforms to the JSON schema provided to this method .