Add schemas code, second attempt.

Type annotations are machine checked documentation, and rarely a hinderance.