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