public static ProcessingReport validate(File inputSpecFile, File referenceSchemaFile) throws HyscaleException{
        try {
            JsonNode inputSpecJsonNode = JsonLoader.fromFile(inputSpecFile);
            JsonNode schemaNode = JsonLoader.fromFile(referenceSchemaFile);
            return validate(inputSpecJsonNode,schemaNode);
        } catch (IOException e) {
            LOGGER.error(e.getMessage());
            HyscaleException ex = new HyscaleException(e,CommonErrorCode.ERROR_OCCURED_WHILE_SCHEMA_VALIDATION,e.getMessage());
            throw ex;
        }
    }
validates whether the given input spec file satisfies schema

@param inputSpecFile
@param referenceSchemaFile
@return ProcessingReport
@throws HyscaleException
service-spec/schema-validator/src/main/java/io/hyscale/schema/validator/JsonSchemaValidator.java