1 schema to rule them all


#1

Hi,
I am currently using node-simple-schema and collection2 to define my mongo schemas. This works great when generating forms or inserting/updating documents from within meteor.

Furthermore, my meteor app can call python scripts to do computational work and update the documents using pymongo.

However… Pymongo/Python does not follow the schemas that I have defined inside my meteor app.

Do I need to define a python version of my schemas as well (duplication!?!), or is there a way to use one schema to rule them all (meteor and pymongo)?