There would have been fruit and vegetables available in your school dinners - apples, bananas, satsumas, fruit salad, prunes or peaches with custard, apple crumble, depending upon age a fruit pot, lettuce and tomato in prepacked sandwiches, veg including pulses and legumes with the main (often hidden in the stew/cottage pie/etc or the ubiquitous frozen diced carrot, peas and broccoli or peas and sweetcorn), salad/veg in the coleslaw for the jacket potatoes. Was there a reason that you did not have them?
Even the chicken wings and pizza served now have tomato and often other vegetables hidden in the sauce and where breakfast is being served outside the nutritional constraints of the catering companies, jam contains fruit; it's not jam if it doesn't.
Don't forget that you would also have likely had a full hour in which to queue up, get your food, sit down with a proper plate and cutlery and eat in a place with enough seating for everybody. These days, you could have 20 minutes (as the first sitting is for the other half of the school) in which to hurriedly eat something with your fingers or a plastic fork.
I've got direct experience of school meals from the 1970s to the present day. There's no reason why a child entitled to have school meals would be unable to access fruit and vegetables every day and, as such, a couple of slices of toast, some fortified cereal (including milk), a bagel or, Heaven Forfend, a Pain au Chocolat from either a packet or from the ovens if it's a school that still has a kitchen and a private company prepared to supply staff in the mornings because it's cost effective/profitable to do so - is not a harmful thing outside the realms of orthorexia.
In any case, to use a phrase generally expected to refer to deciding whether to formula feed or breast feed, but is equally relevant for children past that age;
Fed is best.