You can share your refactored data model with other teams to receive feedback and align on final schema design decisions. To share your refactored schema, you can export your entity-relationship diagram from Compass.
About this Task
You can export your entity-relationship diagram as a:
Diagram File.
PNG image.
JSON file.
When you export your diagram as a Diagram File, Compass
exports the diagram as a .mdm file. This file format allows you to
import the diagram into Compass, which can be helpful when sharing your
entity-relationship diagram with collaborators that also use Compass.
When you export your diagram as a PNG image, Compass exports the collections and their relationships as they appear in the Data Modeling tab. This format helps you share a visual representation of your schema in documentation or presentations.
When you export your diagram as a JSON file, it includes:
A
collectionsarray with the collection namespaces and theirjsonSchema.A
relationshipsarray with the namespaces of the related collections and their linked fields.
Before You Begin
Before you export your schema visualization, ensure you already generated a diagram.