Add schemas code, second attempt.

= should be on the aboe line.
No space before `.map` and if you don't have a statement block or are pattern matching use `() instead so:
`.map(c => c.pretty)` or `.map(_.pretty)`.