public SDDocumentType getOwnedType(NewDocumentType.Name name) {
        return ownedTypes.get(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