incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ladislav Thon <>
Subject Re: How does one validate CouchDB documents with JSON Schema?
Date Tue, 12 Apr 2011 20:21:17 GMT
I guess there are some JSON schema validators written in JavaScript out
there. It might be possible (depends on how general the thing should be) to
use them in Couch's validation functions (, effectively
resulting in what you describe :-)


2011/4/12 Nebu Pookins <>

> If I have some JSON Schemas
> (, is there a way
> to pass them onto CouchDB to have CouchDB automatically ensure
> documents of a given type (i.e. with their "type" property set to a
> specific string) adhere to a specific schema file? I tried some google
> searches, but the closest thing I could find to information on the
> topic was this blog post
> ( which implies (but does
> not explicitly state) that CouchDB does not support JSON Schemas at
> all.
> - Nebu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message