According to the Uniform Plumbing Code, a wet main installed in ABS pipe may be exposed to direct sunlight:

According to the Uniform Plumbing Code, a wet main installed in ABS pipe may be exposed to direct sunlight: