Generate jsonSchema Validation Based on Schema Analysis
Since Compass already provides a schema analysis, it would be useful if that analysis could be used generate jsonSchema. The result could be a starting point for the Validation tab or used in other tools such as https://hamidihamza.com/Angular6-json-schema-form/.
4
votes
![](https://secure.gravatar.com/avatar/549221ab412183e44ac6d64f6fea22f3?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
-
Brian commented
Note, Stitch now supports JSON Schema Generation (https://docs.mongodb.com/stitch/mongodb/enforce-a-document-schema/index.html) so there's an opportunity to leverage some existing code.