document validate task