Teester
According to https://wiki.openstreetmap.org/wiki/Key:building:part, the building should have one closed way around the entire footprint of the building with building=yes and ways making up the parts of the building tagged as building:part=yes.  Optionally, there can be a type=building relation to contain all these.