Ken W. Alger
JSON Schema Validation - Dependencies you can depend on
Being able to define a schema based on other properties can be a great benefit in that it can move application logic into the database itself. In this article, we go beyond basic schema and array validation and look at how we define these dependencies.
JSON Schema Validation - Checking Your Arrays
In a previous post , I discussed some of the methods that can be used to “lock down” the schema in your MongoDB documents. In this second part of this series, I’ll continue on with techniques beyond simple required field and value validation. We’ll explore how to further benefit from MongoDB’s document model and see how to apply another validation technique to arrays.
Building with Patterns: A Summary
As we wrap up the Building with Patterns series, it’s a good opportunity to recap the problems the patterns that have been covered solve and highlight some of the benefits and trade-offs each pattern has. The most frequent question that is asked about schema design patterns, is “I’m designing an application to do X, how do I model the data?” As we hope you have discovered over the course of this blog series, there are a lot of things to take into consideration to answer that.