more basic schema for doc model