Design a data definition and function for BuildingStatus