Added the validation function for Rooms and Assets