add document model with schema