4 ms·
JSON Schema - the next standard for defining schemas.
- TeHCrAzY 16y agoPlease don't let JSON go the way of XML, with namespaces and complexity.
- Andi 16y agoNot meant to be this. It's there to validate data coming from an untrusted source to fit to your data model. The best usecase is a document database (like MongoDB, CouchDB) that uses JSON as data representation. The logic and validation has to be done somewhere and to have standardized way to define constraints is a good start.
- igorgue 16y agoI wrote this a long time ago: http://github.com/igorgue/py2json http://github.com/igorgue/py2json A Python classes to JSON-Schema SMD translator.
- JoeAltmaier 16y agoJust another textual factoring of a data composition structure?
- ashearer 16y agoEven disregarding schema validation, I like that it defines standard JSON representations for vCards, events, addresses, etc.