{ "$schema": "https://json-structure.org/meta/extended/v0/#", "name": "Address", "type": "record", "fields": [ { "name": "category", "type": "string", "description": "Category of the contact element" }, { "name": "lines", "type": "array", "description": "Line 1 = Street address, Line 2 = Apartment, suite, unit, building, floor, etc", "items": { "type": "string" } }, { "name": "postalCode", "type": "string", "description": "Example: 74130" }, { "name": "countryCode", "type": "string", "description": "country code [ISO 3166-1 country code](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)" }, { "name": "cityName", "type": "string", "description": "Full city name. Example: Dublin" }, { "name": "stateCode", "type": "string", "description": "State code - two character standard [ISO 3166-2 state code](https://en.wikipedia.org/wiki/ISO_3166-2)" }, { "name": "stateName", "type": "string", "description": "Full state name" }, { "name": "postalBox", "type": "string", "description": "E.g. BP 220" }, { "name": "text", "type": "string", "description": "Field containing a full unformatted address. Only applicable when the fields lines, postalCode, countryCode, cityName are not filled." } ] }