A. For purposes of this Section, "regular school hours" are the hours of the full-time school that the minor would attend in the school district where the minor resides, on any day that school is in session, or, if the school in the school district of residence is unknown, "regular school hours" are the school hours of the Portland School District No. 1J on any day that school is in session.
B. A minor who is at least seven (7) years of age and under eighteen (18) years of age and who has not completed the 12th grade may not be upon any public property or public right of way during regular school hours except while attending school as required by ORS 339.010 to 339.065, unless the minor is:
1. Absent from the school with the school's permission, but not including students who have been suspended or expelled; or
2. Engaged in a lawful pursuit or activity that requires the minor's presence somewhere other than school during regular school hours, and which is authorized by the parent, guardian, or other person having legal care and custody of the minor; or
3. Lawfully emancipated pursuant to ORS 419B.550 to 419B.558; or
4. Exempt from compulsory school attendance pursuant to ORS 339.030.
C. If a police officer has reasonable suspicion to believe that a minor is in violation of this Section, the officer is authorized to detain the minor and make reasonable inquiry regarding a potential violation of Subsection B of this Section.
D. If a police officer has probable cause to believe that a minor is in violation of this Section, the officer is authorized to take the minor into protective custody pursuant to ORS 419B.150.