(feat) generating schema for the mongodb.