added required parameters to metrics schema