In this example below, how could I conditionally set min property for amount according to what the id property is?
Let\'s say if the