public final SDDocumentType getOwnedType(String name) {
         return getOwnedType(new NewDocumentType.Name(name));
    }
For adding structs defined in document scope

@param dt the struct to add
@return self, for chaining
config-model/src/main/java/com/yahoo/schema/document/SDDocumentType.java