document/repository definitions