Function: address()
function address(): object;Defined in: packages/core/src/schemas/fragments.ts:129
A postal address, in JSContact's parts
Returns
object
properties
properties: object;properties.country
country: object;properties.country.maxLength
maxLength: number = max;properties.country.minLength?
minLength?: number = min;properties.country.type
type: "string";properties.locality
locality: object;properties.locality.maxLength
maxLength: number = max;properties.locality.minLength?
minLength?: number = min;properties.locality.type
type: "string";properties.postcode
postcode: object;properties.postcode.maxLength
maxLength: number = max;properties.postcode.minLength?
minLength?: number = min;properties.postcode.type
type: "string";properties.region
region: object;properties.region.maxLength
maxLength: number = max;properties.region.minLength?
minLength?: number = min;properties.region.type
type: "string";properties.street
street: object;properties.street.maxLength
maxLength: number = max;properties.street.minLength?
minLength?: number = min;properties.street.type
type: "string";type
type: "object";