Please consider having the following JSON for LLD:
You can look at this as at two sets of objects (objects A and objects B), each having two values (1 and 2):
There are two item prototypes assigned to this LLD rule:
At this point, this configuration would cause an error as there will be item duplicates, so I add overrides:
All 4 items are discovered, but two of them are lost (trap.a ones) right away and I have an error about item duplicates on discovery.