Normalise what a route declared into rules keyed by source.
A bare schema becomes { body: schema }, because a route that names one schema means its payload.
{ body: schema }
What the route declared.
The rules, keyed by source.
Normalise what a route declared into rules keyed by source.
A bare schema becomes
{ body: schema }, because a route that names one schema means its payload.