Validação usando biblioteca Python voluptuosa

try:
  schema({'name': 903})
  raise AssertionError('MultipleInvalid not raised')
except MultipleInvalid as e:
  exc = e
str(exc) == "Expected string value for dictionary value @ data['name']"
Outrageous Ostrich