§ 97.36  PROTECTIVE MEASURES; ATTRACTIVE NUISANCE.
   (A)   The permittee shall erect such fence, railing or barriers about the site of the excavation work as shall prevent danger to persons using the city street or sidewalks, and such protective barriers shall be maintained until the work shall be completed or the danger removed. At twilight there shall be placed upon such place of excavation and upon any excavated materials or structures or other obstructions to streets suitable and sufficient lights which shall be kept burning throughout the night during the maintenance of such obstructions. It shall be unlawful for anyone to remove or tear down the fence or railing or other protective barriers or any lights provided there for the protection of the public. 
('69 Code, § 18-46)
   (B)   It shall be unlawful for the permittee to suffer or permit to remain unguarded at the place of excavation or opening any machinery, equipment or other device having the characteristics of an attractive nuisance likely to attract children and hazardous to their safety or health. 
('69 Code, § 18-47)  Penalty, see § 10.99