What minimum clearance is required between fire sprinklers, deflectors and the top of the nearest stored materials?

What minimum clearance is required between fire sprinklers, deflectors and the top of the nearest stored materials?