public static List<String> createSchemas(String ... docTypes) {
        return Arrays.stream(docTypes)
                .map(type -> new SchemaBuilder().name(type).build())
                .toList();
    }
Class for building a search definition (used for testing only).

@author geirst
config-model/src/test/java/com/yahoo/vespa/model/content/utils/SchemaBuilder.java