As you export Mongoose schema, you have several choices:
- which collections are exported
- whether you want object notation (to support definitions) or JSON
- whether to export the schema as one single file or one file per collection
More information can be found here.