protected static boolean validateAgainstContainsSchema(@NotNull JsonValueAdapter array,
                                @NotNull List<JsonValueAdapter> list,
                                JsonSchemaObject schema,
                                JsonValidationHost consumer,
                                JsonComplianceCheckerOptions options) {
    if (schema.getContainsSchema() != null) {
      boolean match = false;
      for (JsonValueAdapter item: list) {
        final JsonValidationHost checker = consumer.checkByMatchResult(item, consumer.resolve(schema.getContainsSchema(), array), options);
        if (checker == null || checker.isValid()) {
          match = true;
          break;
        }
      }
      if (!match) {
        consumer.error(JsonBundle.message("schema.validation.array.not.contains"), array.getDelegate(), JsonErrorPriority.MEDIUM_PRIORITY);
        return false;
      }
    }
    return true;
  }
protected static boolean validateAgainstContainsSchema(@NotNull JsonValueAdapter array,
                                @NotNull List<JsonValueAdapter> list,
                                JsonSchemaObject schema,
                                JsonValidationHost consumer,
                                JsonComplianceCheckerOptions options)