This is the standard UK wiring of a the normal socket and plug otherwise known as 12N. The diagram below shows the view from outside the vehicle socket (under the flap) and from inside the trailer or caravan plug.
7 core wire colour
Rear fog light
Side lights, marker lights & number plate light Right
Side lights, marker lights & number plate light Left