On Sep 12, 2011, at 7:37 PM, Daniel Itaboraí wrote:

It seems to me that it would be useful to be able to declaratively specify
this tree like schema to validate complex documents, something like the
following

   Doc(
       Field('left', Recursive()),
       Field('value', Number()),

It looks as though you’re on the way to re-inventing JSON Schemas 
<http://json-schema.org/> :) I just ran into that last weekend and was thinking 
it’d be useful to use with CouchDB.

—Jens

Reply via email to