According to me there is no such configuration in xml for unqueness, You have write some custom code to implement it. But you can also try below given solution. I hope it will workl for you.
Solution:-
You can create custom table which will have all the fields for which you want no duplication. Fields are declared as not null and no duplicate. Create this custom table inside
Alfresco database.
Now implement nodeservice policy for create node and update node properties. Everytime when new node get created or property of node get updated, we need to push same inot custom table. Now we have
uniquness constraints implemented for each field so if there is duplicate entry it will throw duplicate value exception. Handle exception as per your business requirement.
According to me it's better possible solution.
Thanks & Regards,
Dhaval Joshi
CIGNEX Datamatics