A trade modifier modifies the wanted and given item stacks on a whole trade, as opposed to a specific item stack.
The trade modifier type is determined by the type
field, and all types are found in the sidebar.
These modifiers use a minecraft:trade loot context type in order to gain access to the Merchant.