E Brake wire placement

I was replacing the microchip on the emergency brake on my 2002 gem and got distracted and now cannot remember which color wire connects where. There is white, green and yellow. Does anyone know which goes where?

Once you have the microswitch mounted:
Yellow/Green stripe to bottom terminal
Green to middle
White/Green to the top.

Basically, the switch when it’s open (handbrake applied / up), the electrical path is from the green to yellow/green. When the handbrake is down, it closes the switch and path is green and white/green .If for some reason I’m remembering the mounting upside down, and you get the alarm when the brake is down, swap yellow/green with white/green. Green is always on pin 2 (middle) for this application.

Awesome. Thank you for your help.