Suretyship guaranteeing that the principal will abide by the rules and obligations imposed by licensing laws or ordinances. For example, an electrician may have to post such a bond guaranteeing compliance with building codes before being licensed by a municipality.
***
Bonds required by various municipalities or public authorities to indemnify them against loss in the event of violation of regulations or ordinance under which the permit is required.