combined status code and schema check