A plumbing drain for a clothes washer is being repaired. What is the minimum distance the stand pipe shall extend above its trap?

A plumbing drain for a clothes washer is being repaired. What is the minimum distance the stand pipe shall extend above its trap?