A school in Bradford has banned "unhealthy" foods such as sausage rolls in pupils' lunchboxes - a move which has divided opinion among parents.
So what can your child eat at school, whether in a packed lunch or for a school dinner?
It's pretty straightforward - there are no official rules as it's down to individual schools in England, the Department for Education says, to decide what their policy is on food brought in from home.
So while some schools might take a strict line on inspecting lunchboxes and banning certain foods, others may take a more hands-off approach.
But when it comes to school meals, the rules are a lot stricter.
For parents making up packed lunches, the Children's Food Trust recommends they include a piece of food from each of the following categories:
But foods and drinks high in saturated fat, sugar and/or salt, like crisps and chocolate biscuits, should be avoided, the trust says.
While there are guidelines for packed lunches, there are rules for school dinners.
New regulations say that school dinners in England have to be healthy too, so that children have nutritious, balanced diets.
School caterers must provide:
They aren't allowed to serve up more than two portions of deep-fried (yes, that's aimed at chips!), battered or breaded food a week.
Head teacher Heather Lacey, who introduced the unhealthy food ban at Shirley Manor Primary Academy, says most parents supported the move.
But Steve Fryer, whose son's sausage roll was confiscated, insists parents were "up in arms" over the new policy - and some people debating the story online tended to agree.
Milly Jo Winship deemed the policy "ridiculous", writing on Facebook: "So many children are picky eaters".
Isabel Howell said a ban "wouldn't stop" her from packing a sausage roll in her daughter's lunchbox.
Image copyright Getty Images
"Sandwiches every day are boring, what's wrong with swapping in a sausage roll or pork pie," she wrote.
"My daughter sometimes asks for it as a change."
But others sympathised with the school, saying that children need to learn to make healthy choices.
Alison Quemby said: "The occasional sausage roll with some carrot sticks and an apple; fine. But what if it's a huge Greggs sausage roll and a packet of crisps every day?
"If the parents aren't going to teach their children to make healthy choices regularly, then school has to," she added.
Schools in England must provide drinking water - free of charge - at all times on school premises.
And they can't sell drinks with added sugar, crisps, chocolate or sweets in vending machines.
Schools are obliged to give packed lunch pupils, free of charge, somewhere to eat their food and "these facilities should include accommodation, furniture and supervision", the DfE says.
The usual regulations can be tossed aside:
So that's why no-one minds when your child's "star of the week" and the teacher gives him or her a chocolate bar - just in case you were wondering.