There are some questions and answers on this site which touch upon this topic, but none actually show step-by-step on how to bootstrap a coupon OIS Swap curve to construct a zero-curve for discounting.
Bootstrapping a bond curve is easy: say we have three bonds with annual coupons and maturities 1 year, 2 years and 3 years. These bonds trade at prices $PV_1$, $PV_2$ and $PV_3$, with face-values $N$ and annual percentage coupons $C_1$, $C_2$ & $C_3$.
The 1y tenor zero-rate "$x$" simply solves $PV_1=\frac{N+C_1}{1+x}$.
The 2y tenor zero-rate "$y$" then solves $PV_2=\frac{C_2}{1+x}+\frac{N+C_2}{(1+y)^2}$.
The 3y tenor zero-rate "$z$" then solves $PV_3=\frac{C_3}{1+x}+\frac{C_3}{(1+y)^2}+\frac{N+C_3}{(1+z)^3}$.
My question is this: if we have three OIS swap with maturities 1y, 2y and 3y, and their (annual) fixed rates are $r_1$, $r_2$ and $r_3$ respectively, how can we bootsrap these swaps? What would be the equivalent $PV_1$, $PV_2$ and $PV_3$ on these swaps?