'Return config validator'

def validator(self):

    root = validator.factory()
    root.accept(u'boolean')
    advanced = root.accept(u'dict')
    self._validator(advanced)
    advanced.accept(u'boolean', key=u'onlycomplete')
    return root
