I took a closer look at opening_hours syntax and I don't think freeform input for the rule (like I suggested above) is valid. I propose the following tagging:
access=private
access:conditional=permissive @ Mo-Fr 00:00-08:15,15:35-24:00; Sa-Su

this way it is assumed private with permissive access outside of school hours. 