adding document oriented schema for the domain model