Schema
Address
Represents a physical address associated with a location.
Overview
Properties
line_1
string
Required
Generally speaking this is used for the street address.
Example
8 Marina View
Min length
1
Max length
255
line_2
string | null
Generally speaking this is used for unit/floor numbers.
Example
Unit #10-22
Min length
1
Max length
255
Nullable
Yes
city
string | null
The city associated with the address, if known and supported.
Example
Downtown Core
Min length
1
Max length
255
Nullable
Yes
state
string | null
The state associated with the address, if known and supported.
Example
Central
Min length
1
Max length
255
Nullable
Yes
postal_code
string
Required
The postal code associated with the address.
Example
018960
Min length
1
Max length
255
country
reference
Required
The ISO 3166-1 alpha-2 country code associated with the address.
References Country Code.
coordinates
reference
The coordinates associated with the address.
References Coordinates.
Read only
Yes
notes
string | null
The notes (if any) associated with the address.
Example
Beware of the dog.
Min length
1
Max length
255
Nullable
Yes
Used by
Raw YAML
Download source
title: Address
type: object
description: Represents a physical address associated with a location.
required:
- line_1
- postal_code
- country
properties:
line_1:
type: string
description: Generally speaking this is used for the street address.
example: 8 Marina View
minLength: 1
maxLength: 255
line_2:
type:
- string
- 'null'
description: Generally speaking this is used for unit/floor numbers.
example: 'Unit #10-22'
minLength: 1
maxLength: 255
city:
type:
- string
- 'null'
description: 'The city associated with the address, if known and supported.'
example: Downtown Core
minLength: 1
maxLength: 255
state:
type:
- string
- 'null'
description: 'The state associated with the address, if known and supported.'
example: Central
minLength: 1
maxLength: 255
postal_code:
type: string
description: The postal code associated with the address.
example: '018960'
minLength: 1
maxLength: 255
country:
$ref: ./CountryCode.yaml
description: The ISO 3166-1 alpha-2 country code associated with the address.
coordinates:
readOnly: true
$ref: ./Coordinates.yaml
description: The coordinates associated with the address.
notes:
type:
- string
- 'null'
minLength: 1
maxLength: 255
example: Beware of the dog.
description: The notes (if any) associated with the address.
x-tags:
- Models