1 /**
2 * @schema AdminStockLocationAddress
3 * type: object
4 * description: The details of the stock location address.
5 * x-schemaName: AdminStockLocationAddress
6 * properties:
7 * id:
8 * type: string
9 * title: id
10 * description: The address's ID.
11 * address_1:
12 * type: string
13 * title: address_1
14 * description: The address's first line.
15 * address_2:
16 * type: string
17 * title: address_2
18 * description: The address's second line.
19 * company:
20 * type: string
21 * title: company
22 * description: The address's company.
23 * country_code:
24 * type: string
25 * title: country_code
26 * description: The address's country code.
27 * example: us
28 * city:
29 * type: string
30 * title: city
31 * description: The address's city.
32 * phone:
33 * type: string
34 * title: phone
35 * description: The address's phone.
36 * postal_code:
37 * type: string
38 * title: postal_code
39 * description: The address's postal code.
40 * province:
41 * type: string
42 * title: province
43 * description: The address's lower-case ISO 3166-2 province code.
44 * example: us-ca
45 * externalDocs:
46 * url: https://en.wikipedia.org/wiki/ISO_3166-2
47 * description: Learn more about ISO 3166-2
48 * metadata:
49 * type: object
50 * description: The address's metadata.
51 * required:
52 * - id
53 * - address_1
54 * - address_2
55 * - company
56 * - country_code
57 * - city
58 * - phone
59 * - postal_code
60 * - province
61 * - metadata
62 *
63 */
64