addresszen 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE +1 -0
- data/README.md +34 -0
- data/lib/addresszen/base_client.rb +88 -0
- data/lib/addresszen/client.rb +12 -0
- data/lib/addresszen/errors.rb +59 -0
- data/lib/addresszen/generated.rb +78 -0
- data/lib/addresszen/model.rb +73 -0
- data/lib/addresszen/operations.rb +668 -0
- data/lib/addresszen/responses/api_key_details_response.rb +21 -0
- data/lib/addresszen/responses/api_key_response.rb +21 -0
- data/lib/addresszen/responses/api_key_usage_response.rb +21 -0
- data/lib/addresszen/responses/autocomplete_response.rb +19 -0
- data/lib/addresszen/responses/config_response.rb +21 -0
- data/lib/addresszen/responses/configs_response.rb +21 -0
- data/lib/addresszen/responses/delete_config_response.rb +19 -0
- data/lib/addresszen/responses/delete_licensee_response.rb +19 -0
- data/lib/addresszen/responses/email_response.rb +31 -0
- data/lib/addresszen/responses/licensee_response.rb +21 -0
- data/lib/addresszen/responses/licensees_response.rb +21 -0
- data/lib/addresszen/responses/phone_number_response.rb +31 -0
- data/lib/addresszen/responses/place_response.rb +19 -0
- data/lib/addresszen/responses/resolve_place_response.rb +24 -0
- data/lib/addresszen/responses/usa_resolve_address_response.rb +21 -0
- data/lib/addresszen/responses/verify_response.rb +31 -0
- data/lib/addresszen/transport.rb +61 -0
- data/lib/addresszen/types/ab_address.rb +283 -0
- data/lib/addresszen/types/abp_address.rb +674 -0
- data/lib/addresszen/types/address.rb +265 -0
- data/lib/addresszen/types/address_suggestion.rb +27 -0
- data/lib/addresszen/types/api_key.rb +27 -0
- data/lib/addresszen/types/api_key_automated_topup.rb +17 -0
- data/lib/addresszen/types/api_key_current_purchase.rb +27 -0
- data/lib/addresszen/types/api_key_daily_limit.rb +21 -0
- data/lib/addresszen/types/api_key_datasets.rb +202 -0
- data/lib/addresszen/types/api_key_details.rb +90 -0
- data/lib/addresszen/types/api_key_individual_limit.rb +16 -0
- data/lib/addresszen/types/api_key_monthly_limit.rb +21 -0
- data/lib/addresszen/types/api_key_notifications.rb +35 -0
- data/lib/addresszen/types/autocomplete_result.rb +13 -0
- data/lib/addresszen/types/available_context.rb +35 -0
- data/lib/addresszen/types/ban_address.rb +179 -0
- data/lib/addresszen/types/bev_address.rb +288 -0
- data/lib/addresszen/types/cannar_address.rb +297 -0
- data/lib/addresszen/types/carrier.rb +31 -0
- data/lib/addresszen/types/config.rb +34 -0
- data/lib/addresszen/types/configs_result.rb +15 -0
- data/lib/addresszen/types/deleted_config.rb +13 -0
- data/lib/addresszen/types/deleted_licensee.rb +13 -0
- data/lib/addresszen/types/ecad_address.rb +393 -0
- data/lib/addresszen/types/ecaf_address.rb +204 -0
- data/lib/addresszen/types/email.rb +45 -0
- data/lib/addresszen/types/fodbosa_address.rb +201 -0
- data/lib/addresszen/types/geonames_place.rb +153 -0
- data/lib/addresszen/types/gnaf_address.rb +463 -0
- data/lib/addresszen/types/here_address.rb +174 -0
- data/lib/addresszen/types/invalid_phone_number.rb +50 -0
- data/lib/addresszen/types/kadaster_address.rb +480 -0
- data/lib/addresszen/types/kartverket_address.rb +342 -0
- data/lib/addresszen/types/key_usage_day.rb +16 -0
- data/lib/addresszen/types/key_usage_result.rb +36 -0
- data/lib/addresszen/types/licensee.rb +50 -0
- data/lib/addresszen/types/licensee_daily_usage.rb +29 -0
- data/lib/addresszen/types/licensees_result.rb +23 -0
- data/lib/addresszen/types/mois_address.rb +440 -0
- data/lib/addresszen/types/mr_address.rb +99 -0
- data/lib/addresszen/types/native_record.rb +368 -0
- data/lib/addresszen/types/nyb_address.rb +99 -0
- data/lib/addresszen/types/paf_address.rb +96 -0
- data/lib/addresszen/types/pafa_address.rb +104 -0
- data/lib/addresszen/types/pafw_address.rb +99 -0
- data/lib/addresszen/types/phone_number.rb +50 -0
- data/lib/addresszen/types/place.rb +79 -0
- data/lib/addresszen/types/place_result.rb +21 -0
- data/lib/addresszen/types/place_suggestion.rb +32 -0
- data/lib/addresszen/types/sdfi_address.rb +520 -0
- data/lib/addresszen/types/swt_address.rb +247 -0
- data/lib/addresszen/types/unknown_email.rb +43 -0
- data/lib/addresszen/types/upujp_address.rb +763 -0
- data/lib/addresszen/types/usa_cass_verified_address.rb +254 -0
- data/lib/addresszen/types/usa_verify_match.rb +116 -0
- data/lib/addresszen/types/usa_verify_no_match.rb +81 -0
- data/lib/addresszen/types/usps_address.rb +294 -0
- data/lib/addresszen/version.rb +5 -0
- data/lib/addresszen.rb +14 -0
- data/sig/addresszen/base_client.rbs +40 -0
- data/sig/addresszen/client.rbs +5 -0
- data/sig/addresszen/errors.rbs +27 -0
- data/sig/addresszen/model.rbs +37 -0
- data/sig/addresszen/operations.rbs +153 -0
- data/sig/addresszen/responses/api_key_details_response.rbs +13 -0
- data/sig/addresszen/responses/api_key_response.rbs +13 -0
- data/sig/addresszen/responses/api_key_usage_response.rbs +13 -0
- data/sig/addresszen/responses/autocomplete_response.rbs +13 -0
- data/sig/addresszen/responses/config_response.rbs +13 -0
- data/sig/addresszen/responses/configs_response.rbs +13 -0
- data/sig/addresszen/responses/delete_config_response.rbs +13 -0
- data/sig/addresszen/responses/delete_licensee_response.rbs +13 -0
- data/sig/addresszen/responses/email_response.rbs +19 -0
- data/sig/addresszen/responses/licensee_response.rbs +13 -0
- data/sig/addresszen/responses/licensees_response.rbs +13 -0
- data/sig/addresszen/responses/phone_number_response.rbs +19 -0
- data/sig/addresszen/responses/place_response.rbs +13 -0
- data/sig/addresszen/responses/resolve_place_response.rbs +13 -0
- data/sig/addresszen/responses/usa_resolve_address_response.rbs +13 -0
- data/sig/addresszen/responses/verify_response.rbs +19 -0
- data/sig/addresszen/transport.rbs +39 -0
- data/sig/addresszen/types/ab_address.rbs +57 -0
- data/sig/addresszen/types/abp_address.rbs +126 -0
- data/sig/addresszen/types/address.rbs +142 -0
- data/sig/addresszen/types/address_suggestion.rbs +11 -0
- data/sig/addresszen/types/api_key.rbs +11 -0
- data/sig/addresszen/types/api_key_automated_topup.rbs +9 -0
- data/sig/addresszen/types/api_key_current_purchase.rbs +11 -0
- data/sig/addresszen/types/api_key_daily_limit.rbs +10 -0
- data/sig/addresszen/types/api_key_datasets.rbs +46 -0
- data/sig/addresszen/types/api_key_details.rbs +22 -0
- data/sig/addresszen/types/api_key_individual_limit.rbs +9 -0
- data/sig/addresszen/types/api_key_monthly_limit.rbs +10 -0
- data/sig/addresszen/types/api_key_notifications.rbs +13 -0
- data/sig/addresszen/types/autocomplete_result.rbs +9 -0
- data/sig/addresszen/types/available_context.rbs +13 -0
- data/sig/addresszen/types/ban_address.rbs +46 -0
- data/sig/addresszen/types/bev_address.rbs +67 -0
- data/sig/addresszen/types/cannar_address.rbs +62 -0
- data/sig/addresszen/types/carrier.rbs +14 -0
- data/sig/addresszen/types/config.rbs +14 -0
- data/sig/addresszen/types/configs_result.rbs +9 -0
- data/sig/addresszen/types/deleted_config.rbs +9 -0
- data/sig/addresszen/types/deleted_licensee.rbs +9 -0
- data/sig/addresszen/types/ecad_address.rbs +84 -0
- data/sig/addresszen/types/ecaf_address.rbs +45 -0
- data/sig/addresszen/types/email.rbs +16 -0
- data/sig/addresszen/types/fodbosa_address.rbs +43 -0
- data/sig/addresszen/types/geonames_place.rbs +42 -0
- data/sig/addresszen/types/gnaf_address.rbs +104 -0
- data/sig/addresszen/types/here_address.rbs +37 -0
- data/sig/addresszen/types/invalid_phone_number.rbs +17 -0
- data/sig/addresszen/types/kadaster_address.rbs +98 -0
- data/sig/addresszen/types/kartverket_address.rbs +78 -0
- data/sig/addresszen/types/key_usage_day.rbs +10 -0
- data/sig/addresszen/types/key_usage_result.rbs +13 -0
- data/sig/addresszen/types/licensee.rbs +17 -0
- data/sig/addresszen/types/licensee_daily_usage.rbs +12 -0
- data/sig/addresszen/types/licensees_result.rbs +11 -0
- data/sig/addresszen/types/mois_address.rbs +97 -0
- data/sig/addresszen/types/mr_address.rbs +27 -0
- data/sig/addresszen/types/native_record.rbs +34 -0
- data/sig/addresszen/types/nyb_address.rbs +27 -0
- data/sig/addresszen/types/paf_address.rbs +27 -0
- data/sig/addresszen/types/pafa_address.rbs +27 -0
- data/sig/addresszen/types/pafw_address.rbs +27 -0
- data/sig/addresszen/types/phone_number.rbs +17 -0
- data/sig/addresszen/types/place.rbs +29 -0
- data/sig/addresszen/types/place_result.rbs +15 -0
- data/sig/addresszen/types/place_suggestion.rbs +12 -0
- data/sig/addresszen/types/sdfi_address.rbs +108 -0
- data/sig/addresszen/types/swt_address.rbs +57 -0
- data/sig/addresszen/types/unknown_email.rbs +16 -0
- data/sig/addresszen/types/upujp_address.rbs +156 -0
- data/sig/addresszen/types/usa_cass_verified_address.rbs +62 -0
- data/sig/addresszen/types/usa_verify_match.rbs +29 -0
- data/sig/addresszen/types/usa_verify_no_match.rbs +32 -0
- data/sig/addresszen/types/usps_address.rbs +63 -0
- metadata +209 -0
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
4
|
+
|
|
5
|
+
module AddressZen
|
|
6
|
+
module Types
|
|
7
|
+
# Native Record
|
|
8
|
+
#
|
|
9
|
+
# The raw dataset record backing an address, exactly as the dataset supplies it. One schema per
|
|
10
|
+
# dataset; `dataset` on the record says which.
|
|
11
|
+
#
|
|
12
|
+
# One of PafAddress, MrAddress, NybAddress, PafaAddress, PafwAddress, AbAddress, AbpAddress,
|
|
13
|
+
# UspsAddress, EcadAddress, EcafAddress, HereAddress, GnafAddress, KadasterAddress,
|
|
14
|
+
# KartverketAddress, SdfiAddress, CannarAddress, FodbosaAddress, MoisAddress, UpujpAddress,
|
|
15
|
+
# BevAddress, BanAddress, SwtAddress, picked by its fields. A record that matches none stays the
|
|
16
|
+
# decoded hash.
|
|
17
|
+
module NativeRecord
|
|
18
|
+
# @param value [Hash{String => Object}, nil]
|
|
19
|
+
# @return [Model, Hash{String => Object}, nil] a variant, or the hash when none matches
|
|
20
|
+
def self.from_hash(value)
|
|
21
|
+
return nil if value.nil?
|
|
22
|
+
|
|
23
|
+
Union.hydrate(
|
|
24
|
+
value,
|
|
25
|
+
[
|
|
26
|
+
[
|
|
27
|
+
Types::PafAddress,
|
|
28
|
+
{ "dataset" => ["paf"] },
|
|
29
|
+
%w[
|
|
30
|
+
dataset postcode post_town dependant_locality double_dependant_locality thoroughfare
|
|
31
|
+
dependant_thoroughfare building_number building_name sub_building_name
|
|
32
|
+
department_name organisation_name udprn postcode_type su_organisation_indicator
|
|
33
|
+
delivery_point_suffix po_box
|
|
34
|
+
]
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
Types::MrAddress,
|
|
38
|
+
{ "dataset" => ["mr"] },
|
|
39
|
+
%w[
|
|
40
|
+
dataset postcode post_town dependant_locality double_dependant_locality thoroughfare
|
|
41
|
+
dependant_thoroughfare building_number building_name sub_building_name
|
|
42
|
+
department_name organisation_name udprn postcode_type su_organisation_indicator
|
|
43
|
+
delivery_point_suffix umprn
|
|
44
|
+
]
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
Types::NybAddress,
|
|
48
|
+
{ "dataset" => ["nyb"] },
|
|
49
|
+
%w[
|
|
50
|
+
dataset postcode post_town dependant_locality double_dependant_locality thoroughfare
|
|
51
|
+
dependant_thoroughfare building_number building_name sub_building_name
|
|
52
|
+
department_name organisation_name udprn postcode_type su_organisation_indicator
|
|
53
|
+
delivery_point_suffix po_box
|
|
54
|
+
]
|
|
55
|
+
],
|
|
56
|
+
[
|
|
57
|
+
Types::PafaAddress,
|
|
58
|
+
{ "dataset" => ["pafa"] },
|
|
59
|
+
%w[
|
|
60
|
+
dataset postcode post_town dependant_locality double_dependant_locality thoroughfare
|
|
61
|
+
dependant_thoroughfare building_number building_name sub_building_name
|
|
62
|
+
department_name organisation_name udprn postcode_type su_organisation_indicator
|
|
63
|
+
delivery_point_suffix po_box
|
|
64
|
+
]
|
|
65
|
+
],
|
|
66
|
+
[
|
|
67
|
+
Types::PafwAddress,
|
|
68
|
+
{ "dataset" => ["pafw"] },
|
|
69
|
+
%w[
|
|
70
|
+
dataset postcode post_town dependant_locality double_dependant_locality thoroughfare
|
|
71
|
+
dependant_thoroughfare building_number building_name sub_building_name
|
|
72
|
+
department_name organisation_name udprn postcode_type su_organisation_indicator
|
|
73
|
+
delivery_point_suffix po_box
|
|
74
|
+
]
|
|
75
|
+
],
|
|
76
|
+
[
|
|
77
|
+
Types::AbAddress,
|
|
78
|
+
{ "dataset" => ["ab"] },
|
|
79
|
+
%w[
|
|
80
|
+
id country_iso dataset language line_1 line_2 line_3 premise uprn udprn parent_uprn
|
|
81
|
+
usrn toid classification_code eastings northings latitude longitude
|
|
82
|
+
single_address_line street_name locality town_name delivery_point_suffix post_town
|
|
83
|
+
gss_code rpc last_update_date island change_code building_name building_number
|
|
84
|
+
sub_building postcode po_box organisation country county district ward
|
|
85
|
+
traditional_county administrative_county postal_county
|
|
86
|
+
]
|
|
87
|
+
],
|
|
88
|
+
[
|
|
89
|
+
Types::AbpAddress,
|
|
90
|
+
{ "dataset" => ["abp"] },
|
|
91
|
+
%w[
|
|
92
|
+
uprn logical_status country latitude longitude x_coordinate y_coordinate
|
|
93
|
+
local_custodian_code addressbase_postal postcode_locator multi_occ_count postcode id
|
|
94
|
+
dataset country_iso suggestion_line
|
|
95
|
+
]
|
|
96
|
+
],
|
|
97
|
+
[
|
|
98
|
+
Types::UspsAddress,
|
|
99
|
+
{ "dataset" => ["usps"] },
|
|
100
|
+
%w[
|
|
101
|
+
id dataset country country_iso country_iso_2 language primary_number
|
|
102
|
+
secondary_number plus_4_code line_1 line_2 last_line zip_code zip_plus_4_code
|
|
103
|
+
update_key_number record_type_code carrier_route_id
|
|
104
|
+
street_pre_directional_abbreviation street_name street_suffix_abbreviation
|
|
105
|
+
street_post_directional_abbreviation building_or_firm_name
|
|
106
|
+
address_secondary_abbreviation base_alternate_code lacs_status_indicator
|
|
107
|
+
government_building_indicator state_abbreviation state municipality_city_state_key
|
|
108
|
+
urbanization_city_state_key preferred_last_line_city_state_key county city
|
|
109
|
+
city_abbreviation preferred_city city_state_name_facility_code
|
|
110
|
+
zip_classification_code city_state_mailing_name_indicator
|
|
111
|
+
carrier_route_rate_sortation finance_number congressional_district_number
|
|
112
|
+
county_number
|
|
113
|
+
]
|
|
114
|
+
],
|
|
115
|
+
[
|
|
116
|
+
Types::EcadAddress,
|
|
117
|
+
{ "dataset" => ["ecad"] },
|
|
118
|
+
%w[
|
|
119
|
+
id dataset country_iso country_iso_2 country language line_1 line_2 line_3 line_4
|
|
120
|
+
line_5 line_6 line_7 line_8 line_9 department organisation sub_building_name
|
|
121
|
+
building_name building_number building_group primary_thoroughfare
|
|
122
|
+
secondary_thoroughfare primary_locality secondary_locality tertiary_locality
|
|
123
|
+
post_county eircode address_reference longitude latitude
|
|
124
|
+
]
|
|
125
|
+
],
|
|
126
|
+
[
|
|
127
|
+
Types::EcafAddress,
|
|
128
|
+
{ "dataset" => ["ecaf"] },
|
|
129
|
+
%w[
|
|
130
|
+
id dataset country_iso country_iso_2 country language line_1 line_2 line_3 line_4
|
|
131
|
+
line_5 line_6 line_7 line_8 line_9 department organisation sub_building_name
|
|
132
|
+
building_name building_number building_group primary_thoroughfare
|
|
133
|
+
secondary_thoroughfare primary_locality secondary_locality tertiary_locality
|
|
134
|
+
post_county eircode address_reference longitude latitude
|
|
135
|
+
]
|
|
136
|
+
],
|
|
137
|
+
[
|
|
138
|
+
Types::HereAddress,
|
|
139
|
+
{
|
|
140
|
+
"dataset" => %w[
|
|
141
|
+
herewe heret heresa hereo herena heremeas heremea herem herei herehk hereee hereap
|
|
142
|
+
]
|
|
143
|
+
},
|
|
144
|
+
%w[
|
|
145
|
+
id country_iso dataset language line_1 line_2 line_3 line_4 line_5 address
|
|
146
|
+
delivery_latitude delivery_longitude building_name latitude longitude street_name
|
|
147
|
+
postal_code order1_name order2_name order8_name builtup_name poi_name
|
|
148
|
+
building_unit_name level_name unit_name suppl_address_info building_grp_name
|
|
149
|
+
]
|
|
150
|
+
],
|
|
151
|
+
[
|
|
152
|
+
Types::GnafAddress,
|
|
153
|
+
{ "dataset" => ["gnaf"] },
|
|
154
|
+
%w[
|
|
155
|
+
id dataset country country_iso country_iso_2 line_1 line_2 language address latitude
|
|
156
|
+
longitude address_detail_pid date_created date_last_modified date_retired
|
|
157
|
+
building_name lot_number_prefix lot_number lot_number_suffix flat_type_code
|
|
158
|
+
flat_number_prefix flat_number flat_number_suffix level_type_code
|
|
159
|
+
level_number_prefix level_number level_number_suffix number_first_prefix
|
|
160
|
+
number_first number_first_suffix number_last_prefix number_last number_last_suffix
|
|
161
|
+
street_locality_pid alias_principal postcode private_street legal_parcel_id
|
|
162
|
+
confidence level_geocoded_code primary_secondary alias_type_code geocode_type_code
|
|
163
|
+
default_latitude default_longitude address_change_type_code mb_2016_match_code
|
|
164
|
+
mb_2021_match_code address_type address_site_name geocode_site_name
|
|
165
|
+
site_geocode_type_code reliability_code site_boundary_extent
|
|
166
|
+
site_planimetric_accuracy elevation site_longitude site_latitude
|
|
167
|
+
geocode_type_priority_order site_geocode_priority_order locality_name
|
|
168
|
+
primary_postcode locality_class_code locality_gnaf_reliability_code
|
|
169
|
+
locality_alias_name locality_alias_postcode locality_alias_type_code
|
|
170
|
+
locality_planimetric_accuracy locality_latitude locality_longitude mb_2016_code
|
|
171
|
+
mb_2021_code ps_join_type_code state_name state_abbreviation street_class_code
|
|
172
|
+
street_name street_type_code street_suffix_code gnaf_street_confidence
|
|
173
|
+
street_locality_gnaf_reliability_code street_locality_alias_street_name
|
|
174
|
+
street_locality_alias_street_type_code street_locality_alias_street_suffix_code
|
|
175
|
+
street_locality_alias_type_code street_locality_boundary_extent
|
|
176
|
+
street_locality_planimetric_accuracy street_locality_latitude
|
|
177
|
+
street_locality_longitude street_type_name street_locality_alias_street_type_name
|
|
178
|
+
]
|
|
179
|
+
],
|
|
180
|
+
[
|
|
181
|
+
Types::KadasterAddress,
|
|
182
|
+
{ "dataset" => ["kadaster"] },
|
|
183
|
+
%w[
|
|
184
|
+
id dataset country country_iso country_iso_2 line_1 language address identificatie
|
|
185
|
+
latitude longitude gebruiksdoel oppervlakte status geconstateerd documentdatum
|
|
186
|
+
documentnummer voorkomenidentificatie begin_geldigheid eind_geldigheid
|
|
187
|
+
tijdstip_registratie eind_registratie tijdstip_registratie_lv
|
|
188
|
+
tijdstip_eind_registratie_lv nummeraanduidingen_identificatie
|
|
189
|
+
nummeraanduidingen_huisnummer nummeraanduidingen_huisnummertoevoeging
|
|
190
|
+
nummeraanduidingen_huisletter nummeraanduidingen_postcode
|
|
191
|
+
nummeraanduidingen_type_adresseerbaar_object nummeraanduidingen_status
|
|
192
|
+
nummeraanduidingen_geconstateerd nummeraanduidingen_documentdatum
|
|
193
|
+
nummeraanduidingen_documentnummer nummeraanduidingen_voorkomenidentificatie
|
|
194
|
+
nummeraanduidingen_begin_geldigheid nummeraanduidingen_eind_geldigheid
|
|
195
|
+
nummeraanduidingen_tijdstip_registratie nummeraanduidingen_eind_registratie
|
|
196
|
+
nummeraanduidingen_tijdstip_registratie_lv
|
|
197
|
+
nummeraanduidingen_tijdstip_eind_registratie_lv pand_identificatie
|
|
198
|
+
pand_oorspronkelijk_bouwjaar pand_status pand_geconstateerd pand_documentdatum
|
|
199
|
+
pand_documentnummer pand_voorkomenidentificatie pand_begin_geldigheid
|
|
200
|
+
pand_eind_geldigheid pand_tijdstip_registratie pand_eind_registratie
|
|
201
|
+
pand_tijdstip_registratie_lv pand_tijdstip_eind_registratie_lv
|
|
202
|
+
openbare_ruimte_identificatie openbare_ruimte_naam openbare_ruimte_type
|
|
203
|
+
openbare_ruimte_status openbare_ruimte_geconstateerd openbare_ruimte_documentdatum
|
|
204
|
+
openbare_ruimte_documentnummer openbare_ruimte_voorkomenidentificatie
|
|
205
|
+
openbare_ruimte_begin_geldigheid openbare_ruimte_eind_geldigheid
|
|
206
|
+
openbare_ruimte_tijdstip_registratie openbare_ruimte_eind_registratie
|
|
207
|
+
openbare_ruimte_tijdstip_registratie_lv openbare_ruimte_tijdstip_eind_registratie_lv
|
|
208
|
+
openbare_ruimte_verkorte_naam woonplaats_identificatie woonplaats_naam
|
|
209
|
+
woonplaats_status woonplaats_geconstateerd woonplaats_documentdatum
|
|
210
|
+
woonplaats_documentnummer woonplaats_voorkomenidentificatie
|
|
211
|
+
woonplaats_begin_geldigheid woonplaats_eind_geldigheid
|
|
212
|
+
woonplaats_tijdstip_registratie woonplaats_eind_registratie
|
|
213
|
+
woonplaats_tijdstip_registratie_lv woonplaats_tijdstip_eind_registratie_lv provincie
|
|
214
|
+
]
|
|
215
|
+
],
|
|
216
|
+
[
|
|
217
|
+
Types::KartverketAddress,
|
|
218
|
+
{ "dataset" => ["kartverket"] },
|
|
219
|
+
%w[
|
|
220
|
+
id dataset country country_iso country_iso_2 line_1 line_2 language address latitude
|
|
221
|
+
longitude lokal_id kommunenummer kommunenavn adressetype adressetilleggsnavn
|
|
222
|
+
adressetilleggsnavn_kilde adressekode adressenavn nummer bokstav gardsnummer
|
|
223
|
+
bruksnummer festenummer seksjonsnummer undernummer adresse_tekst
|
|
224
|
+
adresse_tekst_uten_adressetilleggsnavn bruksenhet_id bruksenhetsnummer_tekst
|
|
225
|
+
offisiell_adresse_tekst offisiell_adresse_tekst_uten_adressetilleggsnavn epsg_kode
|
|
226
|
+
nord oest postnummer poststed grunnkretsnummer grunnkretsnavn soknenummer soknenavn
|
|
227
|
+
organisasjonsnummer tettstednummer tettstednavn valgkretsnummer valgkretsnavn
|
|
228
|
+
oppdateringsdato datauttaksdato adresse_id uuid_adresse uuid_bruksenhet atkomst_id
|
|
229
|
+
uuid_atkomst atkomst_nord atkomst_oest sommeratkomst_id uuid_sommeratkomst
|
|
230
|
+
sommeratkomst_nord sommeratkomst_oest vinteratkomst_id uuid_vinteratkomst
|
|
231
|
+
vinteratkomst_nord vinteratkomst_oest fylke landsdel
|
|
232
|
+
]
|
|
233
|
+
],
|
|
234
|
+
[
|
|
235
|
+
Types::SdfiAddress,
|
|
236
|
+
{ "dataset" => ["sdfi"] },
|
|
237
|
+
%w[
|
|
238
|
+
id dataset country country_iso country_iso_2 address line_1 line_2 language latitude
|
|
239
|
+
longitude adresse_id kvhx kvh adgangsadresse status darstatus oprettet ændret
|
|
240
|
+
ikrafttrædelse nedlagt vejkode vejnavn adresseringsvejnavn husnr etage dør
|
|
241
|
+
supplerendebynavn_dagi_id supplerendebynavn postnr postnrnavn stormodtagerpostnr
|
|
242
|
+
stormodtagerpostnrnavn betegnelse adressepunktændringsdato etrs89koordinat_øst
|
|
243
|
+
etrs89koordinat_nord wgs84koordinat_bredde wgs84koordinat_længde højde nøjagtighed
|
|
244
|
+
kilde tekniskstandard tekstretning ddkn_m100 ddkn_km1 ddkn_km10 kommunekode
|
|
245
|
+
kommunenavn landsdelsnuts3 landsdelsnavn regionskode regionsnavn
|
|
246
|
+
afstemningsområdenummer afstemningsområdenavn menighedsrådsafstemningsområdenummer
|
|
247
|
+
menighedsrådsafstemningsområdenavn opstillingskredskode opstillingskredsnavn
|
|
248
|
+
storkredsnummer storkredsnavn valglandsdelsbogstav valglandsdelsnavn sognekode
|
|
249
|
+
sognenavn politikredskode politikredsnavn retskredskode retskredsnavn
|
|
250
|
+
jordstykke_ejerlavkode jordstykke_ejerlavnavn jordstykke_matrikelnr
|
|
251
|
+
jordstykke_esrejendomsnr ejerlavkode ejerlavnavn matrikelnr esrejendomsnr zone
|
|
252
|
+
brofast adgangsadresseid adgangspunktid navngivenvej_id adgangsadresse_status
|
|
253
|
+
adgangsadresse_darstatus adgangsadresse_oprettet adgangsadresse_ændret
|
|
254
|
+
adgangsadresse_ikrafttrædelse adgangsadresse_nedlagt vejpunkt_id vejpunkt_ændret
|
|
255
|
+
vejpunkt_kilde vejpunkt_nøjagtighed vejpunkt_tekniskstandard vejpunkt_x vejpunkt_y
|
|
256
|
+
]
|
|
257
|
+
],
|
|
258
|
+
[
|
|
259
|
+
Types::CannarAddress,
|
|
260
|
+
{ "dataset" => ["cannar"] },
|
|
261
|
+
%w[
|
|
262
|
+
id dataset country country_iso country_iso_2 language address line_1 line_2 latitude
|
|
263
|
+
longitude loc_guid addr_guid apt_no_label civic_no civic_no_suffix
|
|
264
|
+
official_street_name official_street_type official_street_dir prov_code csd_eng_name
|
|
265
|
+
csd_fre_name csd_type_eng_code csd_type_fre_code mail_street_name mail_street_type
|
|
266
|
+
mail_street_dir mail_mun_name mail_prov_abvn mail_postal_code bg_dls_lsd bg_dls_qtr
|
|
267
|
+
bg_dls_sctn bg_dls_twnshp bg_dls_rng bg_dls_mrd bg_x bg_y bu_n_civic_add bu_use
|
|
268
|
+
csd_code fed_code fed_eng_name fed_fre_name er_code er_eng_name er_fre_name
|
|
269
|
+
reppoint_latitude reppoint_longitude
|
|
270
|
+
]
|
|
271
|
+
],
|
|
272
|
+
[
|
|
273
|
+
Types::FodbosaAddress,
|
|
274
|
+
{ "dataset" => ["fodbosa"] },
|
|
275
|
+
%w[
|
|
276
|
+
id dataset country country_iso country_iso_2 language address line_1 latitude
|
|
277
|
+
longitude epsg_31370_x epsg_31370_y epsg_4326_lat epsg_4326_lon address_id
|
|
278
|
+
box_number house_number municipality_id municipality_name_de municipality_name_fr
|
|
279
|
+
municipality_name_nl postcode postname_fr postname_nl street_id streetname_de
|
|
280
|
+
streetname_fr streetname_nl region_code status
|
|
281
|
+
]
|
|
282
|
+
],
|
|
283
|
+
[
|
|
284
|
+
Types::MoisAddress,
|
|
285
|
+
{ "dataset" => ["mois"] },
|
|
286
|
+
%w[
|
|
287
|
+
id dataset country country_iso country_iso_2 language address line_1 line_2 city
|
|
288
|
+
province 법정읍면동명 법정동코드 법정리명 비고1 비고2 변동전도로명주소 변경이력정보 변경이력사유 변경전_도로명주소 변경사유 변경사유코드
|
|
289
|
+
층일련번호 층명칭 대표지번여부 대표여부 다량배달처명 동일련번호 동명칭 도로명 도로명_로마자 도로명번호 도로명코드 도로명코드_고시일자 도로명코드_말소일자
|
|
290
|
+
읍면동구분 읍면동일련번호 읍면동코드 읍면동명 읍면동명_로마자 건축물대장_건물명 건물본번 건물부번 건물관리번호 기초구역번호 공동주택여부 고시일자 관리번호
|
|
291
|
+
행정동코드 행정동명 호일련번호 호명칭 호접미사일련번호 호접미사명칭 이동사유코드 일련번호 지번일련번호 지번본번_번지 지번부번_호 지하구분 지하여부 산여부
|
|
292
|
+
상위도로명 상위도로명번호 상세건물명 상세주소_부여여부 상세주소여부 사용여부 시도명 시도명_로마자 시군구_건물명 시군구코드 시군구명 시군구명_로마자
|
|
293
|
+
시군구용_건물명 우편일련번호 우편번호 우편번호_일련번호 영문_법정리명 영문읍면동명 영문_법정읍면동명 영문도로명 영문시도명 영문시군구명
|
|
294
|
+
]
|
|
295
|
+
],
|
|
296
|
+
[
|
|
297
|
+
Types::UpujpAddress,
|
|
298
|
+
{ "dataset" => ["upujp"] },
|
|
299
|
+
%w[
|
|
300
|
+
id dataset country country_iso country_iso_2 language script address line_1
|
|
301
|
+
building_name neighbourhood district city prefecture postcode latitude longitude
|
|
302
|
+
org_id org_type_ind org_sub_type_ind org_loc_id org_dis_id org_nei_id org_org_id
|
|
303
|
+
org_name org_name_trans org_loc_sfx org_loc_sfx_trans org_adr org_adr_trans
|
|
304
|
+
org_po_ind org_po_start org_po_end org_dsc org_dsc_trans org_pcode org_pcode_fin
|
|
305
|
+
org_script org_language str_id str_key str_loc_id str_dis_id str_nei_id str_org_id
|
|
306
|
+
str_pfx str_pfx_trans str_qlf_pre str_qlf_pre_trans str_qlf_suc str_qlf_suc_trans
|
|
307
|
+
str_name str_name_trans str_loc_sfx str_loc_sfx_trans str_type str_type_trans
|
|
308
|
+
str_type_abv str_type_abv_trans str_adr_num_key str_from_num str_from_unit
|
|
309
|
+
str_from_alph str_to_num str_to_unit str_to_alph str_evenodd str_dsc str_dsc_trans
|
|
310
|
+
str_blg_id str_blg_name str_blg_name_trans str_blg_type str_blg_type_trans
|
|
311
|
+
str_blg_dsc str_blg_dsc_trans str_ref_str_id str_pcode str_script str_language
|
|
312
|
+
sub_dis_id sub_dis_key sub_loc_id sub_loc_sfx sub_loc_sfx_trans sub_dis_name
|
|
313
|
+
sub_dis_name_trans sub_dis_sfx sub_dis_sfx_trans sub_dis_dsc sub_dis_dsc_trans
|
|
314
|
+
sub_dis_pcode sub_dis_pcode_fin sub_nei_id sub_nei_key sub_nei_name
|
|
315
|
+
sub_nei_name_trans sub_nei_sfx sub_nei_sfx_trans sub_nei_zone_from sub_nei_zone_to
|
|
316
|
+
sub_nei_dsc sub_nei_dsc_trans sub_nei_pcode sub_script sub_language loc_id loc_key
|
|
317
|
+
loc_adm1_id loc_adm1_key loc_adm1_name loc_adm1_name_trans loc_adm1_sfx
|
|
318
|
+
loc_adm1_sfx_trans loc_adm1_abv loc_adm1_abv_trans loc_adm2_id loc_adm2_key
|
|
319
|
+
loc_adm2_name loc_adm2_name_trans loc_adm2_sfx loc_adm2_sfx_trans loc_adm2_abv
|
|
320
|
+
loc_adm2_abv_trans loc_adm3_id loc_adm3_key loc_adm3_name loc_adm3_name_trans
|
|
321
|
+
loc_adm3_sfx loc_adm3_sfx_trans loc_adm3_abv loc_adm3_abv_trans loc_name
|
|
322
|
+
loc_name_trans loc_sfx loc_sfx_trans loc_pcode loc_pcode_fin loc_dsc loc_dsc_trans
|
|
323
|
+
loc_script loc_language
|
|
324
|
+
]
|
|
325
|
+
],
|
|
326
|
+
[
|
|
327
|
+
Types::BevAddress,
|
|
328
|
+
{ "dataset" => ["bev"] },
|
|
329
|
+
%w[
|
|
330
|
+
id dataset country country_iso country_iso_2 language address line_1 line_2 latitude
|
|
331
|
+
longitude adrcd kgnr gkz okz plz skz zaehlsprengel hausnrtext hausnrzahl1
|
|
332
|
+
hausnrbuchstabe1 hausnrverbindung1 hausnrzahl2 hausnrbuchstabe2 hausnrbereich
|
|
333
|
+
hnr_adr_zusammen gnradresse hofname rw hw epsg quelladresse bestimmungsart subcd
|
|
334
|
+
objektnummer objfunktkennziffer hauptadresse hausnrverbindung2 hausnrzahl3
|
|
335
|
+
hausnrbuchstabe3 hausnrverbindung3 hausnrzahl4 hausnrbuchstabe4 hausnrgebaeudebez
|
|
336
|
+
hnr_geb_zusammen eigenschaft gemeindename ortsname strassenname strassennamenzusatz
|
|
337
|
+
szusadrbest zustellort zustellort_id zaehlsprengelname
|
|
338
|
+
]
|
|
339
|
+
],
|
|
340
|
+
[
|
|
341
|
+
Types::BanAddress,
|
|
342
|
+
{ "dataset" => ["ban"] },
|
|
343
|
+
%w[
|
|
344
|
+
id dataset country country_iso country_iso_2 language address line_1 line_2 latitude
|
|
345
|
+
longitude id_fantoir numero rep nom_voie code_postal code_insee nom_commune
|
|
346
|
+
code_insee_ancienne_commune nom_ancienne_commune x y lon lat type_position alias
|
|
347
|
+
nom_ld libelle_acheminement nom_afnor source_position source_nom_voie
|
|
348
|
+
certification_commune cad_parcelles
|
|
349
|
+
]
|
|
350
|
+
],
|
|
351
|
+
[
|
|
352
|
+
Types::SwtAddress,
|
|
353
|
+
{ "dataset" => ["swt"] },
|
|
354
|
+
%w[
|
|
355
|
+
id dataset country country_iso country_iso_2 language canton address line_1 line_2
|
|
356
|
+
latitude longitude adr_egaid str_esid bdg_egid adr_edid stn_label adr_number
|
|
357
|
+
bdg_category bdg_name zip_label com_fosnr com_name com_canton adr_status
|
|
358
|
+
adr_official adr_modified adr_easting adr_northing str_type str_status str_official
|
|
359
|
+
str_modified str_easting str_northing ortschaftsname plz4 zusatzziffer zip_id
|
|
360
|
+
gemeindename bfs_nr kantonskürzel sprache validity
|
|
361
|
+
]
|
|
362
|
+
]
|
|
363
|
+
]
|
|
364
|
+
)
|
|
365
|
+
end
|
|
366
|
+
end
|
|
367
|
+
end
|
|
368
|
+
end
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
4
|
+
|
|
5
|
+
module AddressZen
|
|
6
|
+
module Types
|
|
7
|
+
# Not Yet Built Address
|
|
8
|
+
#
|
|
9
|
+
# Raw Royal Mail Not Yet Built record backing an `nyb` address.
|
|
10
|
+
#
|
|
11
|
+
# Delivery points Royal Mail has allocated for addresses under construction, ahead of them
|
|
12
|
+
# appearing in PAF. Same shape as a PAF record.
|
|
13
|
+
class NybAddress < Model
|
|
14
|
+
# @return [String]
|
|
15
|
+
def dataset = @hash["dataset"]
|
|
16
|
+
|
|
17
|
+
# Postcode, space separated
|
|
18
|
+
#
|
|
19
|
+
# @return [String]
|
|
20
|
+
def postcode = @hash["postcode"]
|
|
21
|
+
|
|
22
|
+
# Royal Mail post town, title cased
|
|
23
|
+
#
|
|
24
|
+
# @return [String]
|
|
25
|
+
def post_town = @hash["post_town"]
|
|
26
|
+
|
|
27
|
+
# Dependant locality. Empty string when not present
|
|
28
|
+
#
|
|
29
|
+
# @return [String]
|
|
30
|
+
def dependant_locality = @hash["dependant_locality"]
|
|
31
|
+
|
|
32
|
+
# Double dependant locality. Empty string when not present
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
def double_dependant_locality = @hash["double_dependant_locality"]
|
|
36
|
+
|
|
37
|
+
# Street name
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
def thoroughfare = @hash["thoroughfare"]
|
|
41
|
+
|
|
42
|
+
# Dependant street name. Empty string when not present
|
|
43
|
+
#
|
|
44
|
+
# @return [String]
|
|
45
|
+
def dependant_thoroughfare = @hash["dependant_thoroughfare"]
|
|
46
|
+
|
|
47
|
+
# Building number. Empty string when not present, or when PAF merges it into the building name
|
|
48
|
+
#
|
|
49
|
+
# @return [String]
|
|
50
|
+
def building_number = @hash["building_number"]
|
|
51
|
+
|
|
52
|
+
# Building name. Empty string when not present
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
def building_name = @hash["building_name"]
|
|
56
|
+
|
|
57
|
+
# Sub building name. Empty string when not present
|
|
58
|
+
#
|
|
59
|
+
# @return [String]
|
|
60
|
+
def sub_building_name = @hash["sub_building_name"]
|
|
61
|
+
|
|
62
|
+
# Department name within an organisation. Empty string when not present
|
|
63
|
+
#
|
|
64
|
+
# @return [String]
|
|
65
|
+
def department_name = @hash["department_name"]
|
|
66
|
+
|
|
67
|
+
# Organisation name. Empty string when not present
|
|
68
|
+
#
|
|
69
|
+
# @return [String]
|
|
70
|
+
def organisation_name = @hash["organisation_name"]
|
|
71
|
+
|
|
72
|
+
# Unique Delivery Point Reference Number
|
|
73
|
+
#
|
|
74
|
+
# @return [Integer]
|
|
75
|
+
def udprn = @hash["udprn"]
|
|
76
|
+
|
|
77
|
+
# Postcode type.
|
|
78
|
+
#
|
|
79
|
+
# @return [String]
|
|
80
|
+
def postcode_type = @hash["postcode_type"]
|
|
81
|
+
|
|
82
|
+
# Small user organisation indicator. `Y` where the small user postcode is held by an
|
|
83
|
+
# organisation
|
|
84
|
+
#
|
|
85
|
+
# @return [String]
|
|
86
|
+
def su_organisation_indicator = @hash["su_organisation_indicator"]
|
|
87
|
+
|
|
88
|
+
# Royal Mail delivery point suffix
|
|
89
|
+
#
|
|
90
|
+
# @return [String]
|
|
91
|
+
def delivery_point_suffix = @hash["delivery_point_suffix"]
|
|
92
|
+
|
|
93
|
+
# PO Box number. Empty string when not present
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
def po_box = @hash["po_box"]
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
4
|
+
|
|
5
|
+
module AddressZen
|
|
6
|
+
module Types
|
|
7
|
+
# Royal Mail Postcode Address File Address
|
|
8
|
+
#
|
|
9
|
+
# Raw Royal Mail Postcode Address File record backing a `paf` address.
|
|
10
|
+
class PafAddress < Model
|
|
11
|
+
# @return [String]
|
|
12
|
+
def dataset = @hash["dataset"]
|
|
13
|
+
|
|
14
|
+
# Postcode, space separated
|
|
15
|
+
#
|
|
16
|
+
# @return [String]
|
|
17
|
+
def postcode = @hash["postcode"]
|
|
18
|
+
|
|
19
|
+
# Royal Mail post town, title cased
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
def post_town = @hash["post_town"]
|
|
23
|
+
|
|
24
|
+
# Dependant locality. Empty string when not present
|
|
25
|
+
#
|
|
26
|
+
# @return [String]
|
|
27
|
+
def dependant_locality = @hash["dependant_locality"]
|
|
28
|
+
|
|
29
|
+
# Double dependant locality. Empty string when not present
|
|
30
|
+
#
|
|
31
|
+
# @return [String]
|
|
32
|
+
def double_dependant_locality = @hash["double_dependant_locality"]
|
|
33
|
+
|
|
34
|
+
# Street name
|
|
35
|
+
#
|
|
36
|
+
# @return [String]
|
|
37
|
+
def thoroughfare = @hash["thoroughfare"]
|
|
38
|
+
|
|
39
|
+
# Dependant street name. Empty string when not present
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
def dependant_thoroughfare = @hash["dependant_thoroughfare"]
|
|
43
|
+
|
|
44
|
+
# Building number. Empty string when not present, or when PAF merges it into the building name
|
|
45
|
+
#
|
|
46
|
+
# @return [String]
|
|
47
|
+
def building_number = @hash["building_number"]
|
|
48
|
+
|
|
49
|
+
# Building name. Empty string when not present
|
|
50
|
+
#
|
|
51
|
+
# @return [String]
|
|
52
|
+
def building_name = @hash["building_name"]
|
|
53
|
+
|
|
54
|
+
# Sub building name. Empty string when not present
|
|
55
|
+
#
|
|
56
|
+
# @return [String]
|
|
57
|
+
def sub_building_name = @hash["sub_building_name"]
|
|
58
|
+
|
|
59
|
+
# Department name within an organisation. Empty string when not present
|
|
60
|
+
#
|
|
61
|
+
# @return [String]
|
|
62
|
+
def department_name = @hash["department_name"]
|
|
63
|
+
|
|
64
|
+
# Organisation name. Empty string when not present
|
|
65
|
+
#
|
|
66
|
+
# @return [String]
|
|
67
|
+
def organisation_name = @hash["organisation_name"]
|
|
68
|
+
|
|
69
|
+
# Unique Delivery Point Reference Number
|
|
70
|
+
#
|
|
71
|
+
# @return [Integer]
|
|
72
|
+
def udprn = @hash["udprn"]
|
|
73
|
+
|
|
74
|
+
# Postcode type.
|
|
75
|
+
#
|
|
76
|
+
# @return [String]
|
|
77
|
+
def postcode_type = @hash["postcode_type"]
|
|
78
|
+
|
|
79
|
+
# Small user organisation indicator. `Y` where the small user postcode is held by an
|
|
80
|
+
# organisation
|
|
81
|
+
#
|
|
82
|
+
# @return [String]
|
|
83
|
+
def su_organisation_indicator = @hash["su_organisation_indicator"]
|
|
84
|
+
|
|
85
|
+
# Royal Mail delivery point suffix
|
|
86
|
+
#
|
|
87
|
+
# @return [String]
|
|
88
|
+
def delivery_point_suffix = @hash["delivery_point_suffix"]
|
|
89
|
+
|
|
90
|
+
# PO Box number. Empty string when not present
|
|
91
|
+
#
|
|
92
|
+
# @return [String]
|
|
93
|
+
def po_box = @hash["po_box"]
|
|
94
|
+
end
|
|
95
|
+
end
|
|
96
|
+
end
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Generated from the OpenAPI spec. Do not edit.
|
|
4
|
+
|
|
5
|
+
module AddressZen
|
|
6
|
+
module Types
|
|
7
|
+
# PAF Alias Address
|
|
8
|
+
#
|
|
9
|
+
# The Royal Mail PAF record backing a `pafa` address, with the alias applied. Alias data holds
|
|
10
|
+
# alternative address details the public uses when addressing mail, which are not required for
|
|
11
|
+
# delivery.
|
|
12
|
+
#
|
|
13
|
+
# This is the parent delivery point, not the alias row: the alias text replaces the building
|
|
14
|
+
# name, organisation name or department name, so those three fields carry the alias and the rest
|
|
15
|
+
# is the parent PAF record. The alias row's own columns (`alias_text`, `category`, `currency`)
|
|
16
|
+
# are not yet returned. `id` is the parent UDPRN plus a hash of the alias text, since a delivery
|
|
17
|
+
# point can carry several aliases.
|
|
18
|
+
class PafaAddress < Model
|
|
19
|
+
# @return [String]
|
|
20
|
+
def dataset = @hash["dataset"]
|
|
21
|
+
|
|
22
|
+
# Postcode, space separated
|
|
23
|
+
#
|
|
24
|
+
# @return [String]
|
|
25
|
+
def postcode = @hash["postcode"]
|
|
26
|
+
|
|
27
|
+
# Royal Mail post town, title cased
|
|
28
|
+
#
|
|
29
|
+
# @return [String]
|
|
30
|
+
def post_town = @hash["post_town"]
|
|
31
|
+
|
|
32
|
+
# Dependant locality. Empty string when not present
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
def dependant_locality = @hash["dependant_locality"]
|
|
36
|
+
|
|
37
|
+
# Double dependant locality. Empty string when not present
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
def double_dependant_locality = @hash["double_dependant_locality"]
|
|
41
|
+
|
|
42
|
+
# Street name
|
|
43
|
+
#
|
|
44
|
+
# @return [String]
|
|
45
|
+
def thoroughfare = @hash["thoroughfare"]
|
|
46
|
+
|
|
47
|
+
# Dependant street name. Empty string when not present
|
|
48
|
+
#
|
|
49
|
+
# @return [String]
|
|
50
|
+
def dependant_thoroughfare = @hash["dependant_thoroughfare"]
|
|
51
|
+
|
|
52
|
+
# Building number. Empty string when not present, or when PAF merges it into the building name
|
|
53
|
+
#
|
|
54
|
+
# @return [String]
|
|
55
|
+
def building_number = @hash["building_number"]
|
|
56
|
+
|
|
57
|
+
# Building name. Empty string when not present
|
|
58
|
+
#
|
|
59
|
+
# @return [String]
|
|
60
|
+
def building_name = @hash["building_name"]
|
|
61
|
+
|
|
62
|
+
# Sub building name. Empty string when not present
|
|
63
|
+
#
|
|
64
|
+
# @return [String]
|
|
65
|
+
def sub_building_name = @hash["sub_building_name"]
|
|
66
|
+
|
|
67
|
+
# Department name within an organisation. Empty string when not present
|
|
68
|
+
#
|
|
69
|
+
# @return [String]
|
|
70
|
+
def department_name = @hash["department_name"]
|
|
71
|
+
|
|
72
|
+
# Organisation name. Empty string when not present
|
|
73
|
+
#
|
|
74
|
+
# @return [String]
|
|
75
|
+
def organisation_name = @hash["organisation_name"]
|
|
76
|
+
|
|
77
|
+
# Unique Delivery Point Reference Number
|
|
78
|
+
#
|
|
79
|
+
# @return [Integer]
|
|
80
|
+
def udprn = @hash["udprn"]
|
|
81
|
+
|
|
82
|
+
# Postcode type.
|
|
83
|
+
#
|
|
84
|
+
# @return [String]
|
|
85
|
+
def postcode_type = @hash["postcode_type"]
|
|
86
|
+
|
|
87
|
+
# Small user organisation indicator. `Y` where the small user postcode is held by an
|
|
88
|
+
# organisation
|
|
89
|
+
#
|
|
90
|
+
# @return [String]
|
|
91
|
+
def su_organisation_indicator = @hash["su_organisation_indicator"]
|
|
92
|
+
|
|
93
|
+
# Royal Mail delivery point suffix
|
|
94
|
+
#
|
|
95
|
+
# @return [String]
|
|
96
|
+
def delivery_point_suffix = @hash["delivery_point_suffix"]
|
|
97
|
+
|
|
98
|
+
# PO Box number. Empty string when not present
|
|
99
|
+
#
|
|
100
|
+
# @return [String]
|
|
101
|
+
def po_box = @hash["po_box"]
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
end
|