added a schema for a document in the posts colcollection.