adding json-schema validation to mongo-db before addition into database