void (JsonValueAdapter propValue, JsonSchemaObject schema, JsonSchemaType schemaType, JsonValidationHost consumer, JsonComplianceCheckerOptions options) { final MatchResult result = consumer.resolve(schema.getNot()); if (result.mySchemas.isEmpty() && result.myExcludingSchemas.isEmpty()) return; // if 'not' uses reference to owning schema back -> do not check, seems it does not make any sense if (result.mySchemas.stream().anyMatch(s -> schema.equals(s)) || result.myExcludingSchemas.stream().flatMap(Collection::stream) .anyMatch(s -> schema.equals(s))) return; final JsonValidationHost checker = consumer.checkByMatchResult(propValue, result, options.withForcedStrict()); if (checker == null || checker.isValid()) consumer.error(JsonBundle.message("schema.validation.against.not"), propValue.getDelegate(), JsonErrorPriority.NOT_SCHEMA); }