ukhas/habitat — Issue #163: jsonschema does not validate format specifiers
Author: adamgreig
Created: 2012-02-15 23:17:16+00:00
State: open
Labels: couchdb, python, validation

jsonschema ignores format specifiers which is how "date-time" is specified for our date/time fields. this means it will check they are a string, but not that they are a well-formed RFC3339/ISO8601 string.

we could a) try to write the patch for jsonschema to at least support date-time strings b) add our own validation on top to check for this.

http://pypi.python.org/pypi/jsonschema