The green wire should be hot whenever the key is on. When the pedal is pressed, the switch should conduct, putting power into the green/purple wire. The GP wire in turn should run to the brake lights, supplying power to them.
My next step would be to check for power on the GP wire, with the lights connected, key on and pedal pressed. Assuming they are relatively easy to get to, I'd probably start at the brake light fixtures; but of course if there is no power getting there, then the next test is at the brake light switch.
One of the things that can be very confusing; it is quite possible to measure 12v on a wire that is disconnected from the load, and still have no power when it gets connected. A bad connection, dirty switch contact or even a damaged wire may pass enough current to power a voltmeter or test light; but not enough to power the intended load. Same thing applies to using a continuity tester (aka powered test light).
As a side note, I have one of those cheap 36" F-clamps from HF, where I drilled out the rivet that held the fixed head, took it apart and reassembled the whole thing as a "spreader" instead of clamp.
https://www.harborfreight.com/36-inch-bar-clamp-96208.html
It is very handy for holding down the brake pedal when necessary. Just lay it down through the bottom of the steering wheel, with the fixed head resting on the pedal and slide the other head against the steering wheel to hold the pedal down.