Generate request body schema

Generates a request body schema.

(It isn't validated yet... but that deserves its own PR)