A.
No minor under the age of 17 years shall loiter, idle, wander, stroll, or be either on foot or in a vehicle of any nature in or upon the public streets, highways, roads, alleys, parks, playgrounds, or other public grounds, public places and public buildings, places of amusement and entertainment, vacant lots or other unsupervised places in the City of Port Washington between the hours of 11:00 p.m. and 5:00 a.m. of the following day, official City time; provided, however, that the provisions of this section do not apply to a minor accompanied by his or her parent, guardian, or other adult person having the care and custody of the minor, or where the minor is upon an emergency errand or legitimate business directed by his or her parent, guardian, or other adult person having the care and custody of the minor, or pursuing his employment, or returning from an authorized public or parochial school or other organizational function which such function shall have been duly registered with the Police Department by a responsible officer of the school or organization, or to any such minor performing any legitimate function authorized by his parent or other adult having legal custody or control of the minor.
B.
Each violation of the provisions of this section shall constitute a separate offense.