void (JsonValueAdapter propValue, JsonSchemaObject schema, JsonSchemaType schemaType, JsonValidationHost consumer, JsonComplianceCheckerOptions options) { List<IfThenElse> ifThenElseList = schema.getIfThenElse(); assert ifThenElseList != null; for (IfThenElse ifThenElse : ifThenElseList) { MatchResult result = consumer.resolve(ifThenElse.getIf()); if (result.mySchemas.isEmpty() && result.myExcludingSchemas.isEmpty()) return; final JsonValidationHost checker = consumer.checkByMatchResult(propValue, result, options.withForcedStrict()); if (checker != null) { if (checker.isValid()) { JsonSchemaObject then = ifThenElse.getThen(); if (then != null) { consumer.checkObjectBySchemaRecordErrors(then, propValue); } } else { JsonSchemaObject schemaElse = ifThenElse.getElse(); if (schemaElse != null) { consumer.checkObjectBySchemaRecordErrors(schemaElse, propValue); } } } } }