Enforce > 1 attribute uniqueness in document

Apologies that this got lost in the shuffle and we never responded.

The guidance provided in Can i do unique constraint on some attribute not the id would be the best approach.