validate referenced schemas