diagnostic schema