What to wear for competition riding

ponylineup.jpg
(Image credit: credits-unknown)

Is it correct to wear a stock or a tie for dressage? Are boots and matching leather gaiters acceptable or do I need long leather boots for showing? Can I wear tweed or do I need a black jacket for show jumping?