If true, invalid embedded documents will emit a warning and be placed in
the invalidDocuments collection rather than causing the parent to be
considered invalid.
Optionalfallback
fallback?:boolean
Whether to allow replacing invalid values with valid fallbacks.
Optionalpartial
partial?:boolean
Whether this is a partial schema validation, or a complete one.
If true, invalid embedded documents will emit a warning and be placed in the invalidDocuments collection rather than causing the parent to be considered invalid.