I don't have a copy available to check, but does API Recommended Practice 521 – Guide for Pressure-
Relieving and Depressuring Systems have any guidance in this area? If not, then I assume that ANSI/ASME B31.3 would govern the underground piping design.
If you have access to Caesar II piping...