1 /**
2 * @schema AdminProductImage
3 * type: object
4 * description: The image's details.
5 * x-schemaName: AdminProductImage
6 * properties:
7 * id:
8 * type: string
9 * title: id
10 * description: The image's ID.
11 * url:
12 * type: string
13 * title: url
14 * description: The image's URL.
15 * created_at:
16 * type: string
17 * format: date-time
18 * title: created_at
19 * description: The date the image was created.
20 * updated_at:
21 * type: string
22 * format: date-time
23 * title: updated_at
24 * description: The date the image was updated.
25 * deleted_at:
26 * type: string
27 * format: date-time
28 * title: deleted_at
29 * description: The date the image was deleted.
30 * metadata:
31 * type: object
32 * description: The image's metadata, can hold custom key-value pairs.
33 * externalDocs:
34 * url: https://docs.medusajs.com/api/admin#manage-metadata
35 * description: Learn how to manage metadata
36 * rank:
37 * type: number
38 * title: rank
39 * description: The image's rank among sibling images.
40 * product:
41 * $ref: "#/components/schemas/AdminProduct"
42 * variants:
43 * type: array
44 * description: The variants associated with the image.
45 * items:
46 * $ref: "#/components/schemas/AdminProductVariant"
47 * required:
48 * - id
49 * - url
50 * - rank
51 *
52 */
53