Count the court bounce, not just the ceiling touch
Two rallies can both end with a ball hitting the roof but require different descriptions. The important event is the ball’s first correct bounce in the opponents’ court after the shot. Use the three labels racket, court and ceiling to reconstruct what happened.
These are original indoor-rally examples. They concern an ordinary ceiling or lighting structure, not an unusual local competition provision. If a venue has briefed players about a specific obstruction, ask the organiser which regulation applies rather than inventing a replay agreement after the rally.

