1 /**
2 * @schema AdminCreateStockLocation
3 * type: object
4 * description: The stock location's details.
5 * x-schemaName: AdminCreateStockLocation
6 * required:
7 * - name
8 * properties:
9 * name:
10 * type: string
11 * title: name
12 * description: The stock location's name.
13 * address_id:
14 * type: string
15 * title: address_id
16 * description: The ID of the stock location's address.
17 * address:
18 * $ref: "#/components/schemas/AdminUpsertStockLocationAddress"
19 * metadata:
20 * type: object
21 * description: The stock location's metadata, used to store custom key-value pairs.
22 * externalDocs:
23 * url: https://docs.medusajs.com/api/admin#manage-metadata
24 * description: Learn how to manage metadata
25 *
26 */
27