Hi,

The way can be tagged like the rest of the highway=*

The 'junction' is tagged like this: https://www.openstreetmap.org/node/11687931360

If there are dead ends, they can be  tagged like this: https://www.openstreetmap.org/node/11687931359