Checks the JSON bodies that the federation routes (routes/federation.ts, routes/oauth.ts) receive before they read them. They check the shapes only: whether an instance answers, or a code or an invite works, is the services' check.

Functions