Not just lewdness, remember, but “gross lewdness,” according to the law.
Does someone walking down the street minding their own business with no shirt on really rise to the level of public fornication? Is it “grossly” lewd, or merely lewd?
Repeatedly exposing herself in front of the town's middle school and on its Main Street seems to fit the term "gross lewdness" quite well. Intentional exposure, private parts, public place, likely to be observed by others...