public Builder documentType(String name, String schema) throws IOException {
            Path path = nestedResource(ApplicationPackage.SCHEMAS_DIR, name, ApplicationPackage.SD_NAME_SUFFIX);
            createFile(path, schema);
            return this;
        }
@param name             name of document type (search definition)
@param schema add this search definition to the application
@throws java.io.IOException e.g.if file not found
application/src/main/java/com/yahoo/application/Application.java