This is what I had found out earlier.
The validation for name is actually not on individual name properties, but on the entire name itself. IdentityManagementPersonDocument requires at least one of name, affiliation, employee info (when affiliation type is employee), and only one default within multiple names, emails, affiliations etc. All these validations are hardcoded in IdentityManagementPersonDocumentRule.java
Can we discuss as to the scope of work I need to do tomorrow. Do we want to move all these hard coded validations from Java to XML ? Right now the XML are not structured to do any group validations or rendering. The rendering of each group is handled in individual .tag files.
I was also asked to find out if I could add a required indicator on the name section. This is something that can be done by adding it to the .tag file. But Affiliations also has the same issue. So does that also need to be changed.