Expanded schema helper to handle validation, and updated tests to confirm that it works.  Part of CTR-98.