Where is it legal to discharge my sump pump?

Anywhere outside your home as long as the first place it hits the ground is at least 20 feet from the road to avoid icing in the winter. Underground connections into the storm drain (below the curb) requires a permit from the county.