It shall be unlawful for any person under the age of eighteen (18) years to be or remain upon any street, alley, or public place in the city after 11:00 p.m., Sunday through Thursday and on Friday after 12:30 a.m. Saturday morning and on Saturday after 12:30 a.m. Sunday morning, unless such person is accompanied by parent or guardian, or other person having custody of such minor, or unless in the performance of a duty, legitimate errand or other act directed by such parent or guardian or the person having custody of said minor, or unless said minor is in lawful employment making it necessary to be upon any street, alley or public place after 11:00 p.m., Sunday through Thursday and on Friday after 12:30 a.m. Saturday morning and on Saturday after 12:30 a.m. Sunday morning. It shall be unlawful for anyone having the legal care and custody of any minor described above, to allow or permit such person to go or be upon any public street, alley or other public places in the city in the nighttime as restricted in this section.