public static ProcessingReport validate(String inputSpec, String schema) throws HyscaleException {
        try {
            JsonNode inputSpecJsonNode = JsonLoader.fromString(inputSpec);
            JsonNode schemaNode = JsonLoader.fromString(schema);
            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 string satisfies schema.

@param inputSpec String input
@param schema Reference Json Schema String Input
@return ProcessingReport
@throws HyscaleException
service-spec/schema-validator/src/main/java/io/hyscale/schema/validator/JsonSchemaValidator.java