1 /**
2 * @schema AdminShippingOptionPriceRule
3 * type: object
4 * description: The details of a shipping option price's rule.
5 * x-schemaName: AdminShippingOptionPriceRule
6 * required:
7 * - id
8 * - value
9 * - operator
10 * - attribute
11 * - price_id
12 * - priority
13 * - created_at
14 * - updated_at
15 * - deleted_at
16 * properties:
17 * id:
18 * type: string
19 * title: id
20 * description: The price rule's ID.
21 * value:
22 * oneOf:
23 * - type: string
24 * title: value
25 * description: The price rule's value.
26 * - type: number
27 * title: value
28 * description: The price rule's value.
29 * description: The price rule's value.
30 * operator:
31 * type: string
32 * description: The price rule's operator.
33 * enum:
34 * - gt
35 * - lt
36 * - eq
37 * - ne
38 * - in
39 * - lte
40 * - gte
41 * - nin
42 * attribute:
43 * type: string
44 * title: attribute
45 * description: The price rule's attribute.
46 * price_id:
47 * type: string
48 * title: price_id
49 * description: The ID of the price this rule applies to.
50 * priority:
51 * type: number
52 * title: priority
53 * description: The price rule's priority.
54 * created_at:
55 * type: string
56 * format: date-time
57 * title: created_at
58 * description: The date the price rule was created.
59 * updated_at:
60 * type: string
61 * format: date-time
62 * title: updated_at
63 * description: The date the price rule was updated.
64 * deleted_at:
65 * type: string
66 * format: date-time
67 * title: deleted_at
68 * description: The date the price rule was deleted.
69 *
70 */
71