join_tables = ['address_address_type', 'site_address']
fields = {
'address_id': Parameter(int, "Address identifier"),
- 'line1': Parameter(str, "Address line 1", max = 254, optional = False),
+ 'line1': Parameter(str, "Address line 1", max = 254),
'line2': Parameter(str, "Address line 2", max = 254),
'line3': Parameter(str, "Address line 3", max = 254),
- 'city': Parameter(str, "City", max = 254, optional = False),
- 'state': Parameter(str, "State or province", max = 254, optional = False),
- 'postalcode': Parameter(str, "Postal code", max = 64, optional = False),
- 'country': Parameter(str, "Country", max = 128, optional = False),
+ 'city': Parameter(str, "City", max = 254),
+ 'state': Parameter(str, "State or province", max = 254),
+ 'postalcode': Parameter(str, "Postal code", max = 64),
+ 'country': Parameter(str, "Country", max = 128),
'address_type_ids': Parameter([int], "Address type identifiers", ro = True),
'address_types': Parameter([str], "Address types", ro = True),
}