(a) No child between the ages of six and seventeen, inclusive, other than a child that has been suspended or expelled from school, shall be at any place within the City of Bedford, except in attendance at school, during normal school hours, during any school day, unless the child has written proof from the school authorities excusing him or her from attending school at that particular time, or unless the child is accompanied by a parent or legal guardian, or a responsible adult selected by the parent or legal guardian to supervise the child.
(b) Each parent or legal guardian of a child between the ages of six and seventeen, inclusive, shall have a duty to prohibit the child from behaving contrary to division (a) of the section. No person shall negligently fail to fulfill the duty imposed by this section.
(c) It shall be an affirmative defense to divisions (a) and (b) of the section that the child, at the time he or she was found at a place other than in school, was not required by law to be in attendance at school.
(d) It shall be an affirmative defense to division (b) of this section that the parent or legal guardian initiated the jurisdiction of the juvenile court against the child prior to the time that the child was found violating division (a) of this section.
(e) A police officer or school attendance officer may transport any child found violating division (a) of the section to the school from which the child usually attends, or to any location designated by the school authorities as a receiving center for such children, the choice of destination to be made at the discretion of the police officer or school attendance officer based on proximity of the destination and other relevant factors, and subject to the need to respond to emergency or priority calls.
(f) Any child who violates division (a) of this section is an unruly child and is subject to the jurisdiction of the juvenile court.
(g) Any person who violates division (b) of this section is guilty of negligently failing to supervise a child of compulsory school age, a minor misdemeanor for a first offense. For second offense, a violation shall be punishable as a misdemeanor of the fourth degree. For a third or subsequent offense, violation shall be punishable as a misdemeanor of the first degree.