Are there domains where both registry and register WHOIS data exist? Which one should be processed?

For the following fields, we get value from the whoisRecord object; if it is empty, we get value from whoisRecord.getRegistryData() object:

registrarName, whoisServer, createdDate, updatedDate, expiresDate, standardRegCreatedDate, standardRegUpdatedDate, standardRegExpiresDate, status, registrarIANAID

For contactEmail, we get value from whoisRecord object, if it is empty we get value from whoisRecord.getAdministrativeContact().getEmail(),
if it is empty we get value from whoisRecord.getRegistryData().getAdministrativeContact().getEmail()