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