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