MongoDB Compass Readonly Edition will be deprecated in a future release. To replicate the read-only behavior in a standard Compass edition, assign users read access at the database level and enable the readOnly option in Compass.
Schema validation ensures that all documents in a
collection follow a defined set of rules, such as conforming to a
specific shape or only allowing a specified range of values in fields.