1 /**
2 * @schema StoreCollection
3 * type: object
4 * description: The collection's details.
5 * x-schemaName: StoreCollection
6 * required:
7 * - title
8 * - id
9 * - metadata
10 * - created_at
11 * - updated_at
12 * - handle
13 * - deleted_at
14 * properties:
15 * id:
16 * type: string
17 * title: id
18 * description: The collection's ID.
19 * title:
20 * type: string
21 * title: title
22 * description: The collection's title.
23 * handle:
24 * type: string
25 * title: handle
26 * description: The collection's handle.
27 * created_at:
28 * type: string
29 * format: date-time
30 * title: created_at
31 * description: The date the collection was created.
32 * updated_at:
33 * type: string
34 * format: date-time
35 * title: updated_at
36 * description: The date the collection was updated.
37 * deleted_at:
38 * type: string
39 * format: date-time
40 * title: deleted_at
41 * description: The date the collection was deleted.
42 * products:
43 * type: array
44 * description: The collection's products.
45 * items:
46 * $ref: "#/components/schemas/StoreProduct"
47 * metadata:
48 * type: object
49 * description: The collection's metadata, can hold custom key-value pairs.
50 * externalDocs:
51 * url: https://docs.medusajs.com/api/store#manage-metadata
52 * description: Learn how to manage metadata
53 * external_id:
54 * type: string
55 * title: external_id
56 * description: The collection's external ID used to link it with external systems.
57 *
58 */
59