This is very true but it's even worse than that.
There is not a single state that requires vaccination "to the schedule" for school. States have requirements for some specific vaxxes (usually polio, measles, mumps, rubella, pertussis, diphtheria, it varies by state) but almost none require rotavirus, HPV, PCV, and flu as examples. Most states require around half of the schedule for school. Plus most states have exemptions.
But you pediatrician will not tell you this unless you make an issue of it. They will vax "to the schedule" as that's what the American Academy of Pediatrics tells them to do. Our (former) pediatrician outright lied to us and told us the full schedule was required for school. We fired her.
Do your own research before you take your child in for shots. You cannot trust what a pediatrician tells you. Also, be strong and hold to your convictions, these people love to lay on the guilt thick and heavy.