title: throw new TypeError(`Invalid schema configuration: \`${name}\` is not ` +
body: <p>I wrote the below schema. But while running it gives me an error -- throw new TypeError(<code>Invalid schema configuration: \</code>${name}` is not ` + --- can someone help me why does this error comes?. Below shown is my schema, can someone figure out if my schema have some mistakes.</p>
  
  <pre><code>    $
  jsonSchema: {
                  bsonType: "object",
                  properties: {
  
                      name: {
                          bsonType: "string",
                          description: "must be a string"
                      },
                      teacherId: {
                          bsonType: "objectId",
                          description: "must be a Object ID"
                      }
                  }    
              }
  </code></pre>