check document model dependencies