@Override
    public void process(boolean validate, boolean documentsOnly) {
        for (var field : schema.allConcreteFields()) {
            var attribute = field.getAttribute();
            if (attribute == null) {
                continue;
            }
            if ((attribute.getType().equals(Attribute.Type.BOOL) ||
                    attribute.getType().equals(Attribute.Type.RAW)) &&
                    !attribute.getCollectionType().equals(Attribute.CollectionType.SINGLE)) {
                fail(schema, field, "Only single value " + attribute.getType().getName() + " attribute fields are supported");
            }
        }
    }
Validates attribute fields using bool type, ensuring the collection type is supported.

Currently, only the single value bool type is supported.

@author geirst
config-model/src/main/java/com/yahoo/schema/processing/SingleValueOnlyAttributeValidator.java