In general, I think I've gone through all the .xml and .xdb files and decided that types.xml is exactly what I need, and here's why: in the RefTables.xdb table, which defines the set of objects in a category, the category is called NewShopBuildings, and in the templates, the category points are called ShopPoints, so there should be a place that would establish a clear correspondence for the RMG, that ShopPoints specifically relate to NewShopBuildings, and not to NewShrines, for example. I don't think this information is embedded in the executable (although who knows), and I haven't found any other place where I could trace this correspondence. Only types.xml.
In general, I think I've gone through all the .xml and .xdb files and decided that types.xml is exactly what I need, and here's why: in the RefTables.xdb table, which defines the set of objects in a category, the category is called NewShopBuildings, and in the templates, the category points are called ShopPoints, so there should be a place that would establish a clear correspondence for the RMG, that ShopPoints specifically relate to NewShopBuildings, and not to NewShrines, for example. I don't think this information is embedded in the executable (although who knows), and I haven't found any other place where I could trace this correspondence. Only types.xml.