maxDepth is the maximum number of refs to recursively follow before
validate throws MaxDepthExceededError.
If maxDepth is zero, then no maximum depth will be enforced.
validate will recursively follow refs indefinitely, potentially
causing a stack overflow.
By default, maxDepth is zero.
Generated using TypeDoc
ValidationConfig represents options you can pass to validate.