Building a validation scheme for a REST API using voluptuous