{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/bond/main/json-schema/bond-address-schema.json", "title": "Address", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/bond-business-openapi.yml#/components/schemas/Address", "type": "object", "properties": { "address_type": { "type": "string", "description": "Address type is one of the following : MAILING, PHYSICAL, REGISTERED", "enum": [ "MAILING", "PHYSICAL", "REGISTERED" ] }, "street": { "type": "string", "description": "Has a 1 to 40-character limit. May only contain alphanumerics and the special characters `. , _ - #`" }, "street2": { "type": "string", "description": "Has a 40-character limit. May only contain alphanumerics and the special characters `. , _ - #`" }, "city": { "type": "string", "description": "Has a 2 to 40-character limit. May contain only alphanumerics, `-`, `_`,`.`, and spaces", "minLength": 2, "maxLength": 40 }, "state": { "type": "string", "description": "Has a 2-character limit for US address.
Has a 20-character limit for non US address." }, "zip_code": { "type": "string", "description": "zip code in 5-digit (12345) or 9-digit (12345-1234) format for US address.
Has a 2 to 20-character limit for non US address." }, "country": { "type": "string", "description": "ISO 3166-1 alpha-2 country code.
Has a 2-character limit." }, "is_primary": { "type": "boolean", "description": "Is Primary Address?" } }, "required": [ "address_type", "street", "city", "state", "zip_code", "country", "is_primary" ] }