adding docs for v0.4.0 validate directive