added data annotation validation for commands