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.