-
Type:
Improvement
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
None
-
Query
-
None
-
None
-
None
-
None
-
None
-
None
-
None
I would like to be able to validate the documents so that no extra fields, beyond the ones already declared. For example if i have a schema like this :
"group1.a": {
"$type": "int"
},
"group1.b": {
"$type": "int"
}
I would like the following document to fail:
{
"group1": {
"a": 1,
"b": 2,
"c": 3
}
}
- duplicates
-
SERVER-30191 Add JSON Schema support for document validation
-
- Closed
-