How to compare two document model

Hi,

If I have two document models call DomainPartnerOne.xml and DomainPartnerTwo.xml.

  1. They must be identical data fields, data type for each field, id for each field.
  2. They can have difference in language and translations.

Is there any technical API that if 1 is True, then we say two models are identical.

After consulted by Services and Kernel teams, I am sorry to say that there is not such an API for that purpose atm. :disappointed_relieved:
I think that you can implement an function like string compare and adapt with your requirements. :slight_smile: