{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/AddressProperties", "title": "Address Properties", "required": [ "country_code", "email" ], "type": "object", "properties": { "first_name": { "type": "string", "description": "" }, "last_name": { "type": "string", "description": "" }, "email": { "type": "string", "description": "" }, "company": { "type": "string", "description": "" }, "address1": { "type": "string", "description": "" }, "address2": { "type": "string", "description": "" }, "city": { "type": "string", "description": "" }, "state_or_province": { "type": "string", "description": "Represents state or province." }, "state_or_province_code": { "type": "string", "description": "" }, "country_code": { "type": "string", "description": "" }, "postal_code": { "type": "string", "description": "" }, "phone": { "pattern": "^\\+?[1-9]\\d{1,14}(x\\d{1-5})?$", "type": "string", "description": "" }, "custom_fields": { "type": "array", "description": "You can retrieve custom fields from the [Get Form Fields](/docs/rest-storefront/forms#get-form-fields) endpoint.", "items": { "title": "Custom Field", "type": "object", "properties": { "field_id": { "type": "string", "description": "" }, "field_value": { "type": "string", "description": "This can also be an array for fields that need to support a list of values (e.g., a set of check boxes.)" } } } } }, "x-internal": false }