1 /**
2 * @schema AdminUpdateShippingOptionRule
3 * type: object
4 * description: The properties to update in the shipping option rule.
5 * x-schemaName: AdminUpdateShippingOptionRule
6 * required:
7 * - id
8 * - operator
9 * - attribute
10 * - value
11 * properties:
12 * id:
13 * type: string
14 * title: id
15 * description: The rule's ID.
16 * operator:
17 * type: string
18 * description: The operator used to check whether a rule applies.
19 * enum:
20 * - gt
21 * - lt
22 * - eq
23 * - ne
24 * - in
25 * - lte
26 * - gte
27 * - nin
28 * attribute:
29 * type: string
30 * title: attribute
31 * description: The name of a property or table that the rule applies to.
32 * example: customer_group
33 * value:
34 * oneOf:
35 * - type: string
36 * title: value
37 * description: A value of the attribute that enables this rule.
38 * example: cusgroup_123
39 * - type: array
40 * description: Values of the attribute that enable this rule.
41 * items:
42 * type: string
43 * title: value
44 * description: A value of the attribute that enables this rule.
45 * example: cusgroup_123
46 *
47 */
48