main
| 1 | type: object |
| 2 | description: The price rule's details. |
| 3 | x-schemaName: PriceRule |
| 4 | required: |
| 5 | - attribute |
| 6 | - operator |
| 7 | - value |
| 8 | properties: |
| 9 | attribute: |
| 10 | type: string |
| 11 | title: attribute |
| 12 | description: The rule's attribute. |
| 13 | operator: |
| 14 | type: string |
| 15 | title: operator |
| 16 | description: The rule's operator. |
| 17 | enum: |
| 18 | - gt |
| 19 | - lt |
| 20 | - eq |
| 21 | - lte |
| 22 | - gte |
| 23 | value: |
| 24 | type: number |
| 25 | title: value |
| 26 | description: The rule's value. |