You can use Mongoose Discriminators (http://mongoosejs.com/docs/discriminators.html) for that.
This article has a good and easy example of how to do that: https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-mongoose#using-mongoose-discriminators-to-store-data-in-a-single-collection.