So, I wanted to ask a question about double groupoids until I find myself having the answer, meanwhile I wrote a lot of stuff about double categories, so I decided to create a question and answer my own question:
what is a double category?
I put it here so others can correct me if I'm wrong or benefit from this definition.
A double category is a category internal to $\mathsf{Cat}$, namely:
With certain axioms defining the category structure.
These axioms with the three last properties permit to define two other categories defining a double category:
3'. A category $(C_0^0,C_0^1,s_0,t_0,\circ_0,id_0)$
4'. A category $(C_0^0,C_0^1,s_0,t_0,\circ_0,id_0)$
Thus, 1, 2, 3' and 4' fully define a double category:
The first two morphisms come from the fact that the "collection" of objects and morphisms of that category are categories themselves.
The last two morphisms come from the category structure of $C$ and from the fact that the composition map is in fact a functor (it has object and arrow maps)
Composition
Diagrammatic
A single square is depicted by:
$\alpha$ must not be seen as going from $x$ to $y'$ but from the edge containing H-morphisms $f$ and $\tilde{f}$ to the one containing V-morphisms $g$ and $\tilde{g}$