Don't do the Brighton 10K!
I wonder if you're leading me a bit astray with the shin references - is the pain in the patella tendon - the tendon between the kneecap and the tibia (the shinbone), or maybe at the attachment point of that tendon to either bone?
Repeat - don't do the Brighton 10K. Protect it as much as you can, and ice regularly. Go and see a sports physio as soon as poss.