Document schema
Documents and Document Versions are associated by a one-to-many relationship. The Document and Document Version relationship is a lookup relationship, not a master-detail relationship. The lookup relationship provides the ability to granularly share individual Document Versions and their associated Files (for example, based on status).

Document custom object - Document (
mvn__CM_Document__c
) is a fundamental custom object consisting of metadata. Each Document record can have many associated Document Version records.Document Version custom object - A Document Version (
mvn__CM_Document_Version__c
) record maps to a Document record. Many Document Version records can map to the same Document record. Each Document Version record associated to the same Document record can have different metadata and a different internal or external file associated to it.