Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-30741

Adjust the JSON Schema parser to accept both "type" and "bsonType" keywords

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.5.13
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Query 2017-09-11

      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.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            kyle.suarez@mongodb.com Kyle Suarez
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: