addded check for mandatory data in capture defintion