create schema for the document