title: MongoDB jsonSchema validation additionalProperties
body: <p><strong>Create Collection with validator</strong></p>
  
  <pre><code>db.createCollection("claims", 
      { validator : { $jsonSchema : { bsonType : "object", 
                   properties : { airportCode : { bsonType: "string"} }, 
                   additionalProperties: false} 
                    } } )
  </code></pre>
  
  <p><strong>Insert</strong>
  <code>db.claims.insert({"airportCode" : "DSM"})</code> => result: "errmsg" : "Document failed validation"</p>
  
  <p>if I remove "<code>additionalProperties: false</code>" by creating the collection, when I can insert the document. </p>
  
  <p>Any advice, how to keep "<code>additionalProperties: false</code>", because I want to control the document.</p>