{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/ShippingAddress", "title": "ShippingAddress", "type": "object", "properties": { "addressLine1": { "type": "string", "description": "The first line of the street address where the item is being shipped.

Maximum:" }, "addressLine2": { "type": "string", "description": "The second line of the street address where the item is being shipped. This optional field can be used for information such as 'Suite Number' or 'Apt Number'.

Maximum:" }, "city": { "type": "string", "description": "The city of the address where the item is being shipped." }, "country": { "type": "string", "description": "The two letter code representing the country of the address. For implementation help, refer to eBay API documentation" }, "county": { "type": "string", "description": "The county of the address where the item is being shipped." }, "phoneNumber": { "type": "string", "description": "The phone number of the person receiving the package.

Note: It is highly recommended that when entering the phone number you include the country code.

For example, if a US phone number is 4********4, you would enter +14********4. If you do not include this code, the service will use the country specified in the country field.

You can find the country code at https://countrycode.org.
" }, "postalCode": { "type": "string", "description": "The postal code of the address where the item is being shipped.

Note: This is optional when shipping to EBAY_HK (Hong Kong)." }, "recipient": { "description": "The name of the person receiving the package.", "$ref": "#/components/schemas/Recipient" }, "stateOrProvince": { "type": "string", "description": "The state or province of the address.

Note: For the US marketplace, this is a two-character value. For a list of valid values, see US State and Canada Province Codes. " } }, "description": "A type that defines the fields for a shipping address. For restrictions, see Shipping restrictions.

Note: If the address cannot be validated, a warning message will be returned." }