This is the specification for the International Docking System, used on the ISS[0] for docking with spacecraft; and on the spacecraft themselves[1]. The specification goes into quite a bit of detail on how to design compatible hardware, and is a pretty interesting read in my opinion.