While creating a schema in MongoDB, the points need to be taken care of are as follows :
* Design our schema according to the user requirements
* Combine objects into one document if we want to use them together; otherwise, separate them
* Do joins while on write, and not when it is on read
* For most frequent use cases, optimize the schema
* Do complex aggregation in the schema