public static void validateDataType(String schemaName, String fieldName, DataType fieldType) throws IllegalArgumentException {
        if (fieldType instanceof MapDataType mapType) {
            failDataType(schemaName, fieldName, "map<" + mapType.getKeyType().getName() + "," + mapType.getValueType().getName() + ">");
        }
        if (fieldType instanceof ArrayDataType arrayType && arrayType.getNestedType() instanceof StructDataType nestedType) {
            failDataType(schemaName, fieldName, "array<" + nestedType.getName() + ">");
        }
    }
Sets whether this should be included in the "attributeprefetch" document summary.
True or false to override default, null to use default
config-model/src/main/java/com/yahoo/schema/document/Attribute.java