Are there any laws that apply to open-loop installations?

In some localities, all or parts of the installation may be subject to local ordinances, codes, covenants or licensing requirements.