In a data mesh, mongoDB is a common operational datastore for lookup patterns and is notorious for schema drifts. It would benefit greatly from data contracts.
- Import: Create ODCS schema based on a collection's schema
- Export: Create mongoDB-flavored jsonschema (if necessary; maybe add --dialect option to
datacontract export jsonschema
- Test: Connect to mongoDB collection and check if latest data adheres to data contract
In a data mesh, mongoDB is a common operational datastore for lookup patterns and is notorious for schema drifts. It would benefit greatly from data contracts.
datacontract export jsonschema