It would probably make sense to do json schema validation after #22
It would probably make sense to do json schema validation after #22