Here is a likely workaround for the DocumentDB “Document Validation” error when using the MongoDB extension to manage DocumentDB emulating MongoDB 4.0.
Set this system property to get past the error:
System.setProperty("liquibase.mongodb.supportsValidator", "false
Here is the full tutorial on using DocumentDB via Mongo DB emulation.