2.8 Addresses
DTO version 2 supports structured addresses. An address can be Simple (a single string), Compound (broken into lines, suburb, state, country, and postcode), or Detailed (specifying flat types, street numbers, suffixes, etc.).
2.8.1 Simple
A simple address encodes all of its information within a single text field.
2.8.2 Compound
A compound address provides a more structured address where the various components are encoded separately.
- Address Line 1: The first line in the address.
- Address Line 2: The second line in the address.
- Suburb: The suburb for this address.
- State: The state for this address.
- Country: The country for this address.
- Postcode: The postcode for this address.
2.8.3 Detailed
A detailed address provides the most highly structured address.
- Flat Type: The flat type, such as Unit, Flat, ….
- Flat Number: The flat number.
- Street Number First: The first street number.
- Street Number Last: The second street number.
- Street Name: The name of the street.
- Street Type: The type of the street, such as Road, Ave, ….
- Suburb: The suburb for this address.
- State: The state for this address.
- Country: The country for this address.
- Postcode: The postcode for this address.

