An internal bigroupoid (in , for argument’s sake, but any finitely complete category will do, or at least one with some pullbacks, like ) consists of the following data:
A space ,
An internal groupoid equipped with a functor
A (horizontal) composition functor
over
A unit functor
over
A (horizontal) inverse functor
covering the swap map from to itself.
Together with natural transformations… (see for the time being Definition 5.21 in my thesis - I need to grok how to do diagrams here)