Details
-
Improvement
-
Resolution: Duplicate
-
Major - P3
-
None
-
None
-
None
-
Query
Description
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
|
}
|
}
|
Attachments
Issue Links
- duplicates
-
SERVER-30191 Add JSON Schema support for document validation
-
- Closed
-