The notion of groupoid object is a horizontal categorification of a group object. Equivalently, it is an internal category which is a groupoid (in the appropriate internal sense.
Let be a category with finite limits, and let be the category of small groupoids. We can define groupoid objects representably:
A groupoid object in is a functor such that
there is an object such that there is a natural isomorphism
there is an object such that there is a natural isomorphism
We can also define them more explicitly:
A groupoid object in is an internal category such that there is an “inverse-assigning morphism” satisfying certain axioms…
A groupoid in is a topological groupoid.
A groupoid in is a Lie groupoid. (Note that does not have all pullbacks, but by suitable conditions on the source and target map we can ensure that the requisite pullbacks do exist.)
group, group object, group object in an (∞,1)-category
groupoid, groupoid object, groupoid object in an (∞,1)-category
infinity-groupoid, infinity-groupoid object, infinity-groupoid object in an (∞,1)-category?