Doc Mapper at version 3

Dear All

I need help in how to use validation logic in doctype mapper (Version 3)

Thanks