Add schemas code, second attempt.

There should be a space between the `if` and `(`.