Unified JSON Schema
Validation
...in Python
...for the web
...and cats
Herman Schaaf
@ironzeb
{
"name": "Ringo",
"age": 1,
"loves": ["bananas", "pancakes"]
"picture": "http://imgur.com/..."
}
Decanter Web Framework
https://github.com/gengo/decanter
- Based on Bottle
- JSON Schema Validation built-in
https://github.com/hermanschaaf/catvalidate
https://github.com/hermanschaaf/catvalidate
Python is a great fit for this
- DRY
- Custom fields
- Easy Internationalization (i18n)
- Dictionaries look almost like JSON already
...and same validation on frontend as easy as
json.dumps!
Thanks
JSON Schema
http://json-schema.org/
Decanter
https://github.com/gengo/decanter
Cat Validate https://github.
com/hermanschaaf/catvalidate

JSON Schema Validation for Cats - PyCon APAC