1 /**
2 * @schema AdminPriceList
3 * type: object
4 * description: The price list's details.
5 * x-schemaName: AdminPriceList
6 * required:
7 * - id
8 * - title
9 * - description
10 * - rules
11 * - starts_at
12 * - ends_at
13 * - status
14 * - type
15 * - prices
16 * - created_at
17 * - updated_at
18 * - deleted_at
19 * - metadata
20 * properties:
21 * id:
22 * type: string
23 * title: id
24 * description: The price list's ID.
25 * title:
26 * type: string
27 * title: title
28 * description: The price list's title.
29 * description:
30 * type: string
31 * title: description
32 * description: The price list's description.
33 * rules:
34 * type: object
35 * description: The price list's rules.
36 * starts_at:
37 * type: string
38 * title: starts_at
39 * description: The date the price list starts.
40 * ends_at:
41 * type: string
42 * title: ends_at
43 * description: The date the price list ends.
44 * status:
45 * type: string
46 * description: The price list's status.
47 * enum:
48 * - draft
49 * - active
50 * type:
51 * type: string
52 * description: The price list's type.
53 * enum:
54 * - sale
55 * - override
56 * prices:
57 * type: array
58 * description: The price list's prices.
59 * items:
60 * $ref: "#/components/schemas/AdminPriceListPrice"
61 * created_at:
62 * type: string
63 * format: date-time
64 * title: created_at
65 * description: The date the price list was created.
66 * updated_at:
67 * type: string
68 * format: date-time
69 * title: updated_at
70 * description: The date the price list was updated.
71 * deleted_at:
72 * type: string
73 * format: date-time
74 * title: deleted_at
75 * description: The date the price list was deleted.
76 * metadata:
77 * type: object
78 * description: Key-value pairs of custom data.
79 *
80 */
81