Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com> Co-authored-by: Shahed Nasser <shahednasser@gmail.com>
40 lines
1016 B
YAML
40 lines
1016 B
YAML
type: object
|
|
required:
|
|
- address_1
|
|
- country_code
|
|
properties:
|
|
address_1:
|
|
type: string
|
|
description: Stock location address
|
|
example: 35, Jhon Doe Ave
|
|
address_2:
|
|
type: string
|
|
description: Stock location address' complement
|
|
example: apartment 4432
|
|
company:
|
|
type: string
|
|
description: Stock location address' company
|
|
city:
|
|
type: string
|
|
description: Stock location address' city
|
|
example: Mexico city
|
|
country_code:
|
|
description: The 2 character ISO code for the country.
|
|
type: string
|
|
externalDocs:
|
|
url: >-
|
|
https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements
|
|
description: See a list of codes.
|
|
phone:
|
|
type: string
|
|
description: Stock location address' phone number
|
|
example: +1 555 61646
|
|
postal_code:
|
|
type: string
|
|
description: Stock location address' postal code
|
|
example: HD3-1G8
|
|
province:
|
|
type: string
|
|
description: Stock location address' province
|
|
example: Sinaloa
|