For those in a technology stack using JavaScript, and are using the Ottoman ODM, Hackolade also provides the option to export a JavaScript Ottoman schema file for the collection definition via the menu option Tools > Forward-Engineering > Ottoman Schema:

The same information can also be viewed in the Ottoman Schema tab: