class OakIndexDefinitionValidator implements FilterValidator, DocumentViewXmlValidator {

    @Override
    public @Nullable Collection<ValidationMessage> validate(@NotNull WorkspaceFilter filter) {
        Collection<ValidationMessage> violations = new LinkedList<>();
        violations.addAll(collectIndexPaths(filter.getFilterSets()));
        return violations;
    }

    public  OakIndexDefinitionValidator(Path path, ValidationMessageSeverity defaultMessageSeverity);

}