1 /**
2 * @schema AdminOrderItem
3 * type: object
4 * description: The order item's details.
5 * x-schemaName: AdminOrderItem
6 * required:
7 * - order_id
8 * - item_id
9 * - version
10 * - history
11 * - item
12 * properties:
13 * order_id:
14 * type: string
15 * title: order_id
16 * description: The ID of the order this item belongs to.
17 * item_id:
18 * type: string
19 * title: item_id
20 * description: The ID of the associated line item.
21 * version:
22 * type: number
23 * title: version
24 * description: The order item's version.
25 * history:
26 * type: object
27 * description: The order item's history.
28 * required:
29 * - version
30 * properties:
31 * version:
32 * type: object
33 * description: The version changes of the item.
34 * required:
35 * - from
36 * - to
37 * properties:
38 * from:
39 * type: number
40 * title: from
41 * description: The original version.
42 * to:
43 * type: number
44 * title: to
45 * description: The new version.
46 * item:
47 * $ref: "#/components/schemas/AdminOrderLineItem"
48 *
49 */
50