protected static boolean validateArrayLength(@NotNull JsonValueAdapter array,
                                            @NotNull List<JsonValueAdapter> list,
                                            JsonSchemaObject schema,
                                            JsonValidationHost consumer, JsonComplianceCheckerOptions options) {
    if (schema.getMinItems() != null && list.size() < schema.getMinItems()) {
      consumer.error(JsonBundle.message("schema.validation.array.shorter.than", schema.getMinItems()), array.getDelegate(), JsonErrorPriority.LOW_PRIORITY);
      return false;
    }
    if (schema.getMaxItems() != null && list.size() > schema.getMaxItems()) {
      consumer.error(JsonBundle.message("schema.validation.array.longer.than", schema.getMaxItems()), array.getDelegate(), JsonErrorPriority.LOW_PRIORITY);
      return false;
    }
    return true;
  }
protected static boolean validateArrayLength(@NotNull JsonValueAdapter array,
                                            @NotNull List<JsonValueAdapter> list,
                                            JsonSchemaObject schema,
                                            JsonValidationHost consumer, JsonComplianceCheckerOptions options)