[SERVER-30741] Adjust the JSON Schema parser to accept both "type" and "bsonType" keywords Created: 18/Aug/17 Updated: 30/Oct/23 Resolved: 24/Aug/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.13 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Kyle Suarez | Assignee: | David Storch |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Query 2017-09-11 | ||||
| Participants: | |||||
| Description |
|
MongoDB has a richer set of types than JSON. We should update the JSON Schema parser so that the "type" keyword accepts only the primitive types specified in the JSON Schema Core Spec ยง3.5. Then, we should create a "bsonType" keyword that can accept all of the types of data supported by MongoDB. |
| Comments |
| Comment by Ramon Fernandez Marina [ 24/Aug/17 ] |
|
Author: {'username': u'dstorch', 'name': u'David Storch', 'email': u'david.storch@10gen.com'}Message: Also changes support for the 'type' keyword to only accept |