@addresszen/openapi 3.5.1 → 3.6.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.
- package/dist/openapi.cjs.map +1 -1
- package/dist/openapi.d.cts +1089 -13
- package/dist/openapi.d.ts +1089 -13
- package/dist/openapi.json +1554 -155
- package/dist/openapi.yaml +1516 -147
- package/openapi.ts +1089 -8
- package/package.json +1 -1
package/dist/openapi.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
|
-
version: 3.
|
|
3
|
+
version: 3.6.0
|
|
4
4
|
license:
|
|
5
5
|
name: AGPLv3
|
|
6
6
|
url: https://opensource.org/licenses/AGPL-3.0
|
|
@@ -153,6 +153,83 @@ tags:
|
|
|
153
153
|
Please contact us to have this enabled on your account.
|
|
154
154
|
|
|
155
155
|
<SchemaDefinition schemaRef="#/components/schemas/AddressBaseCore" />
|
|
156
|
+
- name: abp_address
|
|
157
|
+
x-displayName: AddressBase Premium
|
|
158
|
+
description: |
|
|
159
|
+
AddressBase Premium Address. The full property-level record from Ordnance
|
|
160
|
+
Survey AddressBase Premium — the flat `abp.addresses` row (BLPU, DPA,
|
|
161
|
+
Classification, Organisation, LPI, Street and cross references).
|
|
162
|
+
|
|
163
|
+
Please contact us to have this enabled on your account.
|
|
164
|
+
|
|
165
|
+
<SchemaDefinition schemaRef="#/components/schemas/AddressBasePremium" />
|
|
166
|
+
- name: bev_address
|
|
167
|
+
x-displayName: AT Address
|
|
168
|
+
description: |
|
|
169
|
+
Standard Austrian Address format as reported by the BEV (Bundesamt
|
|
170
|
+
für Eich- und Vermessungswesen) address register.
|
|
171
|
+
|
|
172
|
+
<SchemaDefinition schemaRef="#/components/schemas/BevAddress" />
|
|
173
|
+
- name: gnaf_address
|
|
174
|
+
x-displayName: AU Address
|
|
175
|
+
description: |
|
|
176
|
+
Standard Australian Address format from Geoscape's Geocoded National
|
|
177
|
+
Address File (G-NAF).
|
|
178
|
+
|
|
179
|
+
<SchemaDefinition schemaRef="#/components/schemas/GnafAddress" />
|
|
180
|
+
- name: fodbosa_address
|
|
181
|
+
x-displayName: BE Address
|
|
182
|
+
description: |
|
|
183
|
+
Standard Belgian Address format from the federal BeST address dataset
|
|
184
|
+
(FOD BOSA).
|
|
185
|
+
|
|
186
|
+
<SchemaDefinition schemaRef="#/components/schemas/FodbosaAddress" />
|
|
187
|
+
- name: cannar_address
|
|
188
|
+
x-displayName: CA Address
|
|
189
|
+
description: |
|
|
190
|
+
Standard Canadian Address format from the National Address Register.
|
|
191
|
+
|
|
192
|
+
<SchemaDefinition schemaRef="#/components/schemas/CannarAddress" />
|
|
193
|
+
- name: sdfi_address
|
|
194
|
+
x-displayName: DK Address
|
|
195
|
+
description: |
|
|
196
|
+
Standard Danish Address format from the Danish Agency for Data Supply
|
|
197
|
+
and Infrastructure (SDFI).
|
|
198
|
+
|
|
199
|
+
<SchemaDefinition schemaRef="#/components/schemas/SdfiAddress" />
|
|
200
|
+
- name: upujp_address
|
|
201
|
+
x-displayName: JP Address
|
|
202
|
+
description: |
|
|
203
|
+
Standard Japanese Address format from the Japan UPU address file.
|
|
204
|
+
|
|
205
|
+
<SchemaDefinition schemaRef="#/components/schemas/UpujpAddress" />
|
|
206
|
+
- name: mois_address
|
|
207
|
+
x-displayName: KR Address
|
|
208
|
+
description: |
|
|
209
|
+
Standard South Korean Address format from the Korean Ministry of the
|
|
210
|
+
Interior and Safety (MOIS).
|
|
211
|
+
|
|
212
|
+
<SchemaDefinition schemaRef="#/components/schemas/MoisAddress" />
|
|
213
|
+
- name: kadaster_address
|
|
214
|
+
x-displayName: NL Address
|
|
215
|
+
description: |
|
|
216
|
+
Standard Dutch Address format from Kadaster BAG 2.0.
|
|
217
|
+
|
|
218
|
+
<SchemaDefinition schemaRef="#/components/schemas/KadasterAddress" />
|
|
219
|
+
- name: kartverket_address
|
|
220
|
+
x-displayName: NO Address
|
|
221
|
+
description: |
|
|
222
|
+
Standard Norwegian Address format from the Norwegian Mapping Authority
|
|
223
|
+
(Kartverket).
|
|
224
|
+
|
|
225
|
+
<SchemaDefinition schemaRef="#/components/schemas/KartverketAddress" />
|
|
226
|
+
- name: here_address
|
|
227
|
+
x-displayName: HERE Address
|
|
228
|
+
description: |
|
|
229
|
+
Address from the global HERE dataset, covering regions not served by a
|
|
230
|
+
national address file.
|
|
231
|
+
|
|
232
|
+
<SchemaDefinition schemaRef="#/components/schemas/HereAddress" />
|
|
156
233
|
- name: geonames_place
|
|
157
234
|
x-displayName: GeoNames Place
|
|
158
235
|
description: |
|
|
@@ -2147,6 +2224,193 @@ paths:
|
|
|
2147
2224
|
curl -k -G 'https://api.addresszen.com/v1/phone_numbers' \
|
|
2148
2225
|
-d 'api_key=iddqd' \
|
|
2149
2226
|
--data-urlencode 'query=02071128019'
|
|
2227
|
+
/sign_up:
|
|
2228
|
+
post:
|
|
2229
|
+
tags:
|
|
2230
|
+
- Sign Up
|
|
2231
|
+
summary: Mint CLI Signup Token
|
|
2232
|
+
description: |
|
|
2233
|
+
Mints a one-shot `cli_token` and returns a prefilled accounts web URL where the user completes captcha + Terms of Service and Devise account creation. The CLI then polls `GET /sign_up/{cli_token}` until the api receives the user record (via the existing Rails → api admin propagation) along with the first API key, at which point credentials are returned exactly once.
|
|
2234
|
+
|
|
2235
|
+
The api does **not** persist the `cli_token` at mint time — the token only becomes known to the api once Rails propagates the new user. The CLI is therefore responsible for its own polling deadline; if the user never completes signup, the api has no record of this token and `GET /sign_up/{cli_token}` will keep returning `202 Accepted` indefinitely.
|
|
2236
|
+
operationId: SignUpMintToken
|
|
2237
|
+
requestBody:
|
|
2238
|
+
required: true
|
|
2239
|
+
content:
|
|
2240
|
+
application/json:
|
|
2241
|
+
schema:
|
|
2242
|
+
type: object
|
|
2243
|
+
required:
|
|
2244
|
+
- email
|
|
2245
|
+
- name
|
|
2246
|
+
- org_name
|
|
2247
|
+
- org_address_line_one
|
|
2248
|
+
- org_post_town
|
|
2249
|
+
- org_postcode
|
|
2250
|
+
- org_country_code
|
|
2251
|
+
properties:
|
|
2252
|
+
email:
|
|
2253
|
+
type: string
|
|
2254
|
+
format: email
|
|
2255
|
+
minLength: 1
|
|
2256
|
+
description: Account holder's email address.
|
|
2257
|
+
name:
|
|
2258
|
+
type: string
|
|
2259
|
+
minLength: 1
|
|
2260
|
+
description: Account holder's full name.
|
|
2261
|
+
org_name:
|
|
2262
|
+
type: string
|
|
2263
|
+
minLength: 1
|
|
2264
|
+
description: Organisation name.
|
|
2265
|
+
org_address_line_one:
|
|
2266
|
+
type: string
|
|
2267
|
+
minLength: 1
|
|
2268
|
+
org_address_line_two:
|
|
2269
|
+
type: string
|
|
2270
|
+
org_address_line_three:
|
|
2271
|
+
type: string
|
|
2272
|
+
org_post_town:
|
|
2273
|
+
type: string
|
|
2274
|
+
minLength: 1
|
|
2275
|
+
org_postcode:
|
|
2276
|
+
type: string
|
|
2277
|
+
minLength: 1
|
|
2278
|
+
org_country_code:
|
|
2279
|
+
type: string
|
|
2280
|
+
minLength: 2
|
|
2281
|
+
description: ISO 3166-1 alpha-2 country code.
|
|
2282
|
+
responses:
|
|
2283
|
+
'200':
|
|
2284
|
+
description: Token minted
|
|
2285
|
+
content:
|
|
2286
|
+
application/json:
|
|
2287
|
+
schema:
|
|
2288
|
+
type: object
|
|
2289
|
+
required:
|
|
2290
|
+
- code
|
|
2291
|
+
- message
|
|
2292
|
+
- result
|
|
2293
|
+
properties:
|
|
2294
|
+
code:
|
|
2295
|
+
type: integer
|
|
2296
|
+
example: 2000
|
|
2297
|
+
message:
|
|
2298
|
+
type: string
|
|
2299
|
+
example: Success
|
|
2300
|
+
result:
|
|
2301
|
+
type: object
|
|
2302
|
+
required:
|
|
2303
|
+
- cli_token
|
|
2304
|
+
- signup_url
|
|
2305
|
+
properties:
|
|
2306
|
+
cli_token:
|
|
2307
|
+
type: string
|
|
2308
|
+
description: Random URL-safe token (base64url). Used by the CLI to poll for credentials.
|
|
2309
|
+
signup_url:
|
|
2310
|
+
type: string
|
|
2311
|
+
format: uri
|
|
2312
|
+
description: Prefilled accounts web URL. The user opens this in a browser to complete signup.
|
|
2313
|
+
'400':
|
|
2314
|
+
description: Bad Request
|
|
2315
|
+
content:
|
|
2316
|
+
application/json:
|
|
2317
|
+
schema:
|
|
2318
|
+
$ref: '#/components/schemas/BadRequestResponse'
|
|
2319
|
+
/sign_up/{cli_token}:
|
|
2320
|
+
get:
|
|
2321
|
+
tags:
|
|
2322
|
+
- Sign Up
|
|
2323
|
+
summary: Poll CLI Signup Token
|
|
2324
|
+
description: |
|
|
2325
|
+
Polls the status of a previously minted `cli_token`. The CLI calls this endpoint repeatedly after directing the user to the `signup_url` returned by `POST /sign_up`.
|
|
2326
|
+
|
|
2327
|
+
- `202 Accepted` — Rails has not propagated the user to the api yet, or has propagated the user but not minted the first API key. Keep polling. **Note:** the api does not record the `cli_token` at mint time, so a `202` is also what an unknown / never-propagated token returns. The CLI must impose its own polling deadline.
|
|
2328
|
+
- `200 OK` — User and first API key exist. Credentials are returned exactly once; subsequent polls return `410 Gone`.
|
|
2329
|
+
- `410 Gone` — Token has expired (per the `cli_token_expires_at` set by Rails on the User record) or has already been claimed.
|
|
2330
|
+
operationId: SignUpClaim
|
|
2331
|
+
parameters:
|
|
2332
|
+
- name: cli_token
|
|
2333
|
+
in: path
|
|
2334
|
+
required: true
|
|
2335
|
+
description: The token returned by `POST /sign_up`.
|
|
2336
|
+
schema:
|
|
2337
|
+
type: string
|
|
2338
|
+
minLength: 1
|
|
2339
|
+
responses:
|
|
2340
|
+
'200':
|
|
2341
|
+
description: Credentials ready
|
|
2342
|
+
content:
|
|
2343
|
+
application/json:
|
|
2344
|
+
schema:
|
|
2345
|
+
type: object
|
|
2346
|
+
required:
|
|
2347
|
+
- code
|
|
2348
|
+
- message
|
|
2349
|
+
- result
|
|
2350
|
+
properties:
|
|
2351
|
+
code:
|
|
2352
|
+
type: integer
|
|
2353
|
+
example: 2000
|
|
2354
|
+
message:
|
|
2355
|
+
type: string
|
|
2356
|
+
example: Success
|
|
2357
|
+
result:
|
|
2358
|
+
type: object
|
|
2359
|
+
required:
|
|
2360
|
+
- user_token
|
|
2361
|
+
- test_api_key
|
|
2362
|
+
- user_id
|
|
2363
|
+
properties:
|
|
2364
|
+
user_token:
|
|
2365
|
+
type: string
|
|
2366
|
+
description: User-level token used to manage account resources via the api.
|
|
2367
|
+
test_api_key:
|
|
2368
|
+
type: string
|
|
2369
|
+
description: Initial test API key for the account.
|
|
2370
|
+
user_id:
|
|
2371
|
+
type: string
|
|
2372
|
+
description: Internal api user id.
|
|
2373
|
+
'202':
|
|
2374
|
+
description: Pending — keep polling
|
|
2375
|
+
content:
|
|
2376
|
+
application/json:
|
|
2377
|
+
schema:
|
|
2378
|
+
type: object
|
|
2379
|
+
required:
|
|
2380
|
+
- code
|
|
2381
|
+
- message
|
|
2382
|
+
- result
|
|
2383
|
+
properties:
|
|
2384
|
+
code:
|
|
2385
|
+
type: integer
|
|
2386
|
+
example: 2020
|
|
2387
|
+
message:
|
|
2388
|
+
type: string
|
|
2389
|
+
example: Pending
|
|
2390
|
+
result:
|
|
2391
|
+
type: object
|
|
2392
|
+
required:
|
|
2393
|
+
- status
|
|
2394
|
+
properties:
|
|
2395
|
+
status:
|
|
2396
|
+
type: string
|
|
2397
|
+
enum:
|
|
2398
|
+
- pending
|
|
2399
|
+
'410':
|
|
2400
|
+
description: Signup token expired or already claimed
|
|
2401
|
+
content:
|
|
2402
|
+
application/json:
|
|
2403
|
+
schema:
|
|
2404
|
+
type: object
|
|
2405
|
+
required:
|
|
2406
|
+
- code
|
|
2407
|
+
- message
|
|
2408
|
+
properties:
|
|
2409
|
+
code:
|
|
2410
|
+
type: integer
|
|
2411
|
+
example: 4100
|
|
2412
|
+
message:
|
|
2413
|
+
type: string
|
|
2150
2414
|
components:
|
|
2151
2415
|
schemas:
|
|
2152
2416
|
ecaf:
|
|
@@ -2157,6 +2421,8 @@ components:
|
|
|
2157
2421
|
$ref: '#/components/schemas/GeonamesPlace'
|
|
2158
2422
|
here:
|
|
2159
2423
|
$ref: '#/components/schemas/HereAddress'
|
|
2424
|
+
gilp:
|
|
2425
|
+
$ref: '#/components/schemas/GilpGroundStability'
|
|
2160
2426
|
ID:
|
|
2161
2427
|
title: ID
|
|
2162
2428
|
type: string
|
|
@@ -2338,13 +2604,13 @@ components:
|
|
|
2338
2604
|
paf_department_name:
|
|
2339
2605
|
title: Department Name
|
|
2340
2606
|
type: string
|
|
2341
|
-
description: Used to
|
|
2607
|
+
description: Used to supplement Organisation Name to identify a department within the organisation.
|
|
2342
2608
|
maxLength: 60
|
|
2343
2609
|
example: ''
|
|
2344
2610
|
paf_organisation_name:
|
|
2345
2611
|
title: Organisation Name
|
|
2346
2612
|
type: string
|
|
2347
|
-
description:
|
|
2613
|
+
description: Name of the business or organisation receiving mail at this delivery point
|
|
2348
2614
|
maxLength: 60
|
|
2349
2615
|
example: Prime Minister & First Lord Of The Treasury
|
|
2350
2616
|
paf_postcode_type:
|
|
@@ -2908,173 +3174,1132 @@ components:
|
|
|
2908
3174
|
uprn:
|
|
2909
3175
|
title: UPRN
|
|
2910
3176
|
type: string
|
|
2911
|
-
maxLength: 12
|
|
2912
|
-
description: Unique Property Reference Number (UPRN) assigned by the LLPG Custodian or Ordnance Survey.
|
|
2913
|
-
udprn:
|
|
2914
|
-
title: UDPRN
|
|
2915
|
-
type: number
|
|
2916
|
-
maxLength: 8
|
|
2917
|
-
description: Royal Mail's Unique Delivery Point Reference Number (UDPRN).
|
|
2918
|
-
parent_uprn:
|
|
2919
|
-
title: PARENT_UPRN
|
|
3177
|
+
maxLength: 12
|
|
3178
|
+
description: Unique Property Reference Number (UPRN) assigned by the LLPG Custodian or Ordnance Survey.
|
|
3179
|
+
udprn:
|
|
3180
|
+
title: UDPRN
|
|
3181
|
+
type: number
|
|
3182
|
+
maxLength: 8
|
|
3183
|
+
description: Royal Mail's Unique Delivery Point Reference Number (UDPRN).
|
|
3184
|
+
parent_uprn:
|
|
3185
|
+
title: PARENT_UPRN
|
|
3186
|
+
type: string
|
|
3187
|
+
maxLength: 12
|
|
3188
|
+
description: UPRN of the parent Record if a parent-child relationship exists.
|
|
3189
|
+
usrn:
|
|
3190
|
+
title: USRN
|
|
3191
|
+
type: number
|
|
3192
|
+
maxLength: 8
|
|
3193
|
+
description: |-
|
|
3194
|
+
Unique Street Reference Number assigned by the Street Name and Numbering Custodian OR
|
|
3195
|
+
|
|
3196
|
+
Ordnance Survey depending on the address record.
|
|
3197
|
+
toid:
|
|
3198
|
+
title: TOID
|
|
3199
|
+
type: string
|
|
3200
|
+
maxLength: 20
|
|
3201
|
+
description: The Topographic Identifier taken from OS MasterMap Topography Layer. This TOID is assigned to the UPRN by performing a spatial intersection between the two identifiers. It consists of the letters 'osgb' and is followed by up to sixteen digits.
|
|
3202
|
+
classification_code:
|
|
3203
|
+
title: Classification Code
|
|
3204
|
+
type: string
|
|
3205
|
+
maxLength: 4
|
|
3206
|
+
description: A code that describes the classification of the address record to a maximum of a secondary level.
|
|
3207
|
+
eastings:
|
|
3208
|
+
title: Easting
|
|
3209
|
+
type: number
|
|
3210
|
+
maxLength: 8
|
|
3211
|
+
multipleOf: 0.01
|
|
3212
|
+
description: A value in metres defining the x location in accordance with the British National Grid.
|
|
3213
|
+
northings:
|
|
3214
|
+
title: Northing
|
|
3215
|
+
type: number
|
|
3216
|
+
maxLength: 9
|
|
3217
|
+
multipleOf: 0.01
|
|
3218
|
+
description: A value in metres defining the y location in accordance with the British National Grid.
|
|
3219
|
+
latitude:
|
|
3220
|
+
title: Latitude
|
|
3221
|
+
type: number
|
|
3222
|
+
description: A value in metres defining the y location in accordance with the British National Grid.
|
|
3223
|
+
longitude:
|
|
3224
|
+
title: Longitude
|
|
3225
|
+
type: number
|
|
3226
|
+
description: A value defining the Longitude location in accordance with the ETRS89 coordinate reference system.
|
|
3227
|
+
single_address_line:
|
|
3228
|
+
title: Single Line Address
|
|
3229
|
+
type: string
|
|
3230
|
+
maxLength: 500
|
|
3231
|
+
description: A single attribute containing text concatenation of the address elements separated by a comma.
|
|
3232
|
+
street_name:
|
|
3233
|
+
title: Single Line Address
|
|
3234
|
+
type: string
|
|
3235
|
+
maxLength: 100
|
|
3236
|
+
description: Street / Road name for the address record.
|
|
3237
|
+
locality:
|
|
3238
|
+
title: Locality
|
|
3239
|
+
type: string
|
|
3240
|
+
maxLength: 35
|
|
3241
|
+
description: A locality defines an area or geographical identifier within a town, village or hamlet. Locality represents the lower level geographical area. The locality field should be used in conjunction with the town name and street description fields to uniquely identify geographic area where there may be more than one within an administrative area.
|
|
3242
|
+
town_name:
|
|
3243
|
+
title: Town Name
|
|
3244
|
+
type: string
|
|
3245
|
+
maxLength: 35
|
|
3246
|
+
description: Geographical town name assigned by the Local Authority. Please note this can be different from the Post Town value assigned by Royal Mail.
|
|
3247
|
+
delivery_point_suffix:
|
|
3248
|
+
title: Delivery Point Suffix
|
|
3249
|
+
type: string
|
|
3250
|
+
maxLength: 2
|
|
3251
|
+
description: A two-character code uniquely identifying an individual delivery point within a postcode, assigned by Royal Mail.
|
|
3252
|
+
post_town:
|
|
3253
|
+
title: Town Name
|
|
3254
|
+
type: string
|
|
3255
|
+
maxLength: 30
|
|
3256
|
+
description: |-
|
|
3257
|
+
The town or city in which the Royal Mail sorting office is located which services this address record.
|
|
3258
|
+
|
|
3259
|
+
Condition:
|
|
3260
|
+
POST_TOWN is not populated if this is the same as TOWN_NAME.
|
|
3261
|
+
gss_code:
|
|
3262
|
+
title: Governmental Statistical Service
|
|
3263
|
+
type: string
|
|
3264
|
+
maxLength: 9
|
|
3265
|
+
description: The Office for National Statistics Governmental Statistical Service (GSS) code representing the contributing Local Authority.
|
|
3266
|
+
rpc:
|
|
3267
|
+
title: Representative Point Code
|
|
3268
|
+
type: number
|
|
3269
|
+
maxLength: 1
|
|
3270
|
+
description: Representative Point Code describes the accuracy of the coordinate that has been allocated to the UPRN as indicated by the Local Authority and enhanced using large scale OS data.
|
|
3271
|
+
last_update_date:
|
|
3272
|
+
title: Last Update Date
|
|
3273
|
+
type: string
|
|
3274
|
+
format: date
|
|
3275
|
+
description: The latest date on which any of the attributes on this record were last changed.
|
|
3276
|
+
island:
|
|
3277
|
+
title: Island
|
|
3278
|
+
type: string
|
|
3279
|
+
maxLength: 50
|
|
3280
|
+
description: Third level of geographic area name to record island names where appropriate.
|
|
3281
|
+
change_code:
|
|
3282
|
+
title: Change Code
|
|
3283
|
+
type: string
|
|
3284
|
+
maxLength: 50
|
|
3285
|
+
description: This enumeration is used in association with the attribute “CHANGE_CODE”. This enumeration identifies the type of change that has been made to a feature. The change type must be set when a feature is inserted, updated or deleted. Please see section 3 for more information. Example I = Insert, U = Update, D = Delete
|
|
3286
|
+
enum:
|
|
3287
|
+
- I
|
|
3288
|
+
- U
|
|
3289
|
+
- D
|
|
3290
|
+
building_name:
|
|
3291
|
+
title: Building Name
|
|
3292
|
+
type: string
|
|
3293
|
+
maxLength: 110
|
|
3294
|
+
description: The building name is a description applied to a single address or a group of addresses.
|
|
3295
|
+
building_number:
|
|
3296
|
+
title: Building Number
|
|
3297
|
+
type: string
|
|
3298
|
+
maxLength: 13
|
|
3299
|
+
description: The building number is a number or range of numbers given to a single address or a group of addresses.
|
|
3300
|
+
sub_building:
|
|
3301
|
+
title: Sub-building
|
|
3302
|
+
type: string
|
|
3303
|
+
maxLength: 110
|
|
3304
|
+
description: The sub-building name and/or number for the address record.
|
|
3305
|
+
postcode:
|
|
3306
|
+
title: Postcode
|
|
3307
|
+
type: string
|
|
3308
|
+
maxLength: 8
|
|
3309
|
+
description: A postcode assigned by Royal Mail for the address record.
|
|
3310
|
+
po_box:
|
|
3311
|
+
title: PO Box
|
|
3312
|
+
type: string
|
|
3313
|
+
maxLength: 13
|
|
3314
|
+
description: Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number.
|
|
3315
|
+
organisation:
|
|
3316
|
+
title: Organisation
|
|
3317
|
+
type: string
|
|
3318
|
+
maxLength: 100
|
|
3319
|
+
description: The organisation name is the business name given, when appropriate, to an address record.
|
|
3320
|
+
country:
|
|
3321
|
+
$ref: '#/components/schemas/paf_country'
|
|
3322
|
+
country_iso:
|
|
3323
|
+
$ref: '#/components/schemas/paf_country_iso'
|
|
3324
|
+
county:
|
|
3325
|
+
$ref: '#/components/schemas/paf_county'
|
|
3326
|
+
district:
|
|
3327
|
+
$ref: '#/components/schemas/paf_district'
|
|
3328
|
+
ward:
|
|
3329
|
+
$ref: '#/components/schemas/paf_ward'
|
|
3330
|
+
traditional_county:
|
|
3331
|
+
$ref: '#/components/schemas/paf_traditional_county'
|
|
3332
|
+
administrative_county:
|
|
3333
|
+
$ref: '#/components/schemas/paf_administrative_county'
|
|
3334
|
+
postal_county:
|
|
3335
|
+
$ref: '#/components/schemas/paf_postal_county'
|
|
3336
|
+
AbAddress:
|
|
3337
|
+
title: AddressBase Core
|
|
3338
|
+
description: |-
|
|
3339
|
+
Address from Ordnance Survey AddressBase Core dataset.
|
|
3340
|
+
|
|
3341
|
+
Please contact us to have this enabled on your account.
|
|
3342
|
+
|
|
3343
|
+
All AddressBase Core address have a UPRN and a rooftop geolocation available however they may not have a UDPRN.
|
|
3344
|
+
allOf:
|
|
3345
|
+
- $ref: '#/components/schemas/PafBase'
|
|
3346
|
+
- type: object
|
|
3347
|
+
required:
|
|
3348
|
+
- native
|
|
3349
|
+
properties:
|
|
3350
|
+
country_iso:
|
|
3351
|
+
enum:
|
|
3352
|
+
- GBR
|
|
3353
|
+
dataset:
|
|
3354
|
+
type: string
|
|
3355
|
+
enum:
|
|
3356
|
+
- ab
|
|
3357
|
+
country_iso_2:
|
|
3358
|
+
enum:
|
|
3359
|
+
- GB
|
|
3360
|
+
language:
|
|
3361
|
+
enum:
|
|
3362
|
+
- en
|
|
3363
|
+
postcode_type:
|
|
3364
|
+
title: Postcode Type
|
|
3365
|
+
enum:
|
|
3366
|
+
- ''
|
|
3367
|
+
type: string
|
|
3368
|
+
country:
|
|
3369
|
+
enum:
|
|
3370
|
+
- England
|
|
3371
|
+
- Scotland
|
|
3372
|
+
- Wales
|
|
3373
|
+
native:
|
|
3374
|
+
$ref: '#/components/schemas/AddressBaseCore'
|
|
3375
|
+
AddressBasePremium:
|
|
3376
|
+
title: AddressBase Premium
|
|
3377
|
+
description: |
|
|
3378
|
+
A flat, consolidated row from the `abp.addresses` materialised view of
|
|
3379
|
+
Ordnance Survey's AddressBase Premium dataset.
|
|
3380
|
+
|
|
3381
|
+
Each row joins the BLPU spine (one per UPRN) to the Royal Mail Delivery
|
|
3382
|
+
Point Address (DPA), plus the current Classification and Organisation
|
|
3383
|
+
records (where `end_date IS NULL`), the English-preferred LPI, its Street
|
|
3384
|
+
and Street Descriptor, and pivoted Application Cross References.
|
|
3385
|
+
|
|
3386
|
+
Cardinality is one row per Royal Mail delivery point (UDPRN) for postal
|
|
3387
|
+
UPRNs; non-postal UPRNs (in BLPU but with no Royal Mail delivery point -
|
|
3388
|
+
utility infrastructure, commercial-only sites, etc.) get a single row with
|
|
3389
|
+
`udprn` and the DPA columns NULL. Fallbacks for non-postal UPRNs: `postcode`
|
|
3390
|
+
falls back to BLPU's `postcode_locator`; `organisation_name` falls back to
|
|
3391
|
+
the Organisation record's `organisation`. The unique key is the composite
|
|
3392
|
+
`(uprn, udprn)`.
|
|
3393
|
+
|
|
3394
|
+
Audit-date columns are prefixed with their source table name
|
|
3395
|
+
(`blpu_*`, `dpa_*`, `lpi_*`, `street_*`, `sd_*`, etc.) to avoid clashes.
|
|
3396
|
+
type: object
|
|
3397
|
+
required:
|
|
3398
|
+
- uprn
|
|
3399
|
+
- logical_status
|
|
3400
|
+
- country
|
|
3401
|
+
- latitude
|
|
3402
|
+
- longitude
|
|
3403
|
+
- x_coordinate
|
|
3404
|
+
- y_coordinate
|
|
3405
|
+
- local_custodian_code
|
|
3406
|
+
- addressbase_postal
|
|
3407
|
+
- postcode_locator
|
|
3408
|
+
- multi_occ_count
|
|
3409
|
+
- postcode
|
|
3410
|
+
properties:
|
|
3411
|
+
uprn:
|
|
3412
|
+
title: Unique Property Reference Number
|
|
3413
|
+
type: string
|
|
3414
|
+
maxLength: 12
|
|
3415
|
+
description: |
|
|
3416
|
+
Unique Property Reference Number - a persistent identifier for a Basic
|
|
3417
|
+
Land and Property Unit (BLPU). Up to 12 digits. Primary key for the
|
|
3418
|
+
BLPU spine. Carried as a string to preserve precision (12-digit values
|
|
3419
|
+
can exceed Number.MAX_SAFE_INTEGER).
|
|
3420
|
+
parent_uprn:
|
|
3421
|
+
title: Parent UPRN
|
|
3422
|
+
type: string
|
|
3423
|
+
maxLength: 12
|
|
3424
|
+
nullable: true
|
|
3425
|
+
description: |
|
|
3426
|
+
UPRN of the parent record where a parent-child relationship exists
|
|
3427
|
+
(flats sharing a building entrance, sub-units of a parent property).
|
|
3428
|
+
logical_status:
|
|
3429
|
+
title: Logical Status Code
|
|
3430
|
+
type: integer
|
|
3431
|
+
description: |
|
|
3432
|
+
Logical lifecycle status of the BLPU. `1` Approved, `6` Provisional,
|
|
3433
|
+
`8` Historical. BLPU records do not take value `3` (alternative).
|
|
3434
|
+
blpu_state:
|
|
3435
|
+
title: BLPU State Code
|
|
3436
|
+
type: string
|
|
3437
|
+
nullable: true
|
|
3438
|
+
description: |
|
|
3439
|
+
Physical state of the BLPU. `1` Under construction, `2` In use,
|
|
3440
|
+
`3` Unoccupied / vacant / derelict, `4` No longer existing,
|
|
3441
|
+
`6` Planning permission granted.
|
|
3442
|
+
blpu_state_date:
|
|
3443
|
+
title: BLPU State Date
|
|
3444
|
+
type: string
|
|
3445
|
+
format: date-time
|
|
3446
|
+
nullable: true
|
|
3447
|
+
description: Date the BLPU achieved its current state.
|
|
3448
|
+
country:
|
|
3449
|
+
title: Country Code
|
|
3450
|
+
type: string
|
|
3451
|
+
maxLength: 1
|
|
3452
|
+
description: |
|
|
3453
|
+
Country containing the BLPU, determined by intersection with OS
|
|
3454
|
+
Boundary-Line. `E` England, `W` Wales, `S` Scotland, `N` Northern
|
|
3455
|
+
Ireland, `L` Channel Islands, `M` Isle of Man, `J` not assigned to a
|
|
3456
|
+
country.
|
|
3457
|
+
latitude:
|
|
3458
|
+
title: Latitude (ETRS89)
|
|
3459
|
+
type: number
|
|
3460
|
+
format: double
|
|
3461
|
+
minimum: -90
|
|
3462
|
+
maximum: 90
|
|
3463
|
+
description: Latitude coordinate in the ETRS89 coordinate reference system.
|
|
3464
|
+
longitude:
|
|
3465
|
+
title: Longitude (ETRS89)
|
|
3466
|
+
type: number
|
|
3467
|
+
format: double
|
|
3468
|
+
minimum: -180
|
|
3469
|
+
maximum: 180
|
|
3470
|
+
description: Longitude coordinate in the ETRS89 coordinate reference system.
|
|
3471
|
+
x_coordinate:
|
|
3472
|
+
title: Eastings (OSGB36 British National Grid)
|
|
3473
|
+
type: number
|
|
3474
|
+
format: double
|
|
3475
|
+
description: |
|
|
3476
|
+
X location in metres on the OSGB36 British National Grid
|
|
3477
|
+
(precision 8, scale 2).
|
|
3478
|
+
y_coordinate:
|
|
3479
|
+
title: Northings (OSGB36 British National Grid)
|
|
3480
|
+
type: number
|
|
3481
|
+
format: double
|
|
3482
|
+
description: |
|
|
3483
|
+
Y location in metres on the OSGB36 British National Grid
|
|
3484
|
+
(precision 9, scale 2).
|
|
3485
|
+
rpc:
|
|
3486
|
+
title: Representative Point Code
|
|
3487
|
+
type: integer
|
|
3488
|
+
nullable: true
|
|
3489
|
+
description: |
|
|
3490
|
+
Representative Point Code - reliability of the BLPU's coordinate, as
|
|
3491
|
+
assessed by the local authority custodian. `1` Central internal,
|
|
3492
|
+
`2` General internal, `3` Transitional, `4` Street location,
|
|
3493
|
+
`5` Postcode unit, `9` Low accuracy.
|
|
3494
|
+
local_custodian_code:
|
|
3495
|
+
title: Local Custodian Code
|
|
3496
|
+
type: integer
|
|
3497
|
+
maximum: 9999
|
|
3498
|
+
description: |
|
|
3499
|
+
4-digit identifier of the Local Authority responsible for maintaining
|
|
3500
|
+
the record.
|
|
3501
|
+
addressbase_postal:
|
|
3502
|
+
title: AddressBase Postal Code
|
|
3503
|
+
type: string
|
|
3504
|
+
maxLength: 1
|
|
3505
|
+
description: |
|
|
3506
|
+
Whether the address can receive mail per AddressBase rules. `D` linked
|
|
3507
|
+
to PAF, `N` not a postal address, `C` postal with a PAF-linked parent,
|
|
3508
|
+
`L` postal based on Local Authority information.
|
|
3509
|
+
postcode_locator:
|
|
3510
|
+
title: Postcode Locator
|
|
3511
|
+
type: string
|
|
3512
|
+
maxLength: 8
|
|
3513
|
+
description: |
|
|
3514
|
+
Royal Mail PAF postcode, locally assigned by the custodian, or
|
|
3515
|
+
spatially derived where no PAF match exists. Up to 8 characters.
|
|
3516
|
+
multi_occ_count:
|
|
3517
|
+
title: Multi-occupancy Count
|
|
3518
|
+
type: integer
|
|
3519
|
+
maximum: 9999
|
|
3520
|
+
description: |
|
|
3521
|
+
Count of child UPRNs for this record where parent-child relationships
|
|
3522
|
+
exist.
|
|
3523
|
+
blpu_start_date:
|
|
3524
|
+
title: BLPU Start Date
|
|
3525
|
+
type: string
|
|
3526
|
+
format: date-time
|
|
3527
|
+
nullable: true
|
|
3528
|
+
description: Date the address record was inserted into the database.
|
|
3529
|
+
blpu_end_date:
|
|
3530
|
+
title: BLPU End Date
|
|
3531
|
+
type: string
|
|
3532
|
+
format: date-time
|
|
3533
|
+
nullable: true
|
|
3534
|
+
description: Date the address record was closed in the database.
|
|
3535
|
+
blpu_last_update_date:
|
|
3536
|
+
title: BLPU Last Update Date
|
|
3537
|
+
type: string
|
|
3538
|
+
format: date-time
|
|
3539
|
+
nullable: true
|
|
3540
|
+
description: Date of the most recent attribute change on the BLPU record.
|
|
3541
|
+
blpu_entry_date:
|
|
3542
|
+
title: BLPU Entry Date
|
|
3543
|
+
type: string
|
|
3544
|
+
format: date-time
|
|
3545
|
+
nullable: true
|
|
3546
|
+
description: Date the record was inserted into the Local Authority database.
|
|
3547
|
+
udprn:
|
|
3548
|
+
title: Unique Delivery Point Reference Number
|
|
3549
|
+
type: string
|
|
3550
|
+
maxLength: 8
|
|
3551
|
+
nullable: true
|
|
3552
|
+
description: |
|
|
3553
|
+
Royal Mail's Unique Delivery Point Reference Number - primary key for
|
|
3554
|
+
the Delivery Point Address (DPA) record. Up to 8 digits. NULL for
|
|
3555
|
+
non-postal UPRNs.
|
|
3556
|
+
organisation_name:
|
|
3557
|
+
title: Organisation Name
|
|
3558
|
+
type: string
|
|
3559
|
+
maxLength: 100
|
|
3560
|
+
nullable: true
|
|
3561
|
+
description: |
|
|
3562
|
+
Royal Mail-recognised organisation name from DPA, falling back to the
|
|
3563
|
+
AddressBase Organisation record's `organisation` when DPA is absent.
|
|
3564
|
+
legal_name:
|
|
3565
|
+
title: Legal Name
|
|
3566
|
+
type: string
|
|
3567
|
+
maxLength: 60
|
|
3568
|
+
nullable: true
|
|
3569
|
+
description: Registered legal name from the AddressBase Organisation record.
|
|
3570
|
+
department_name:
|
|
3571
|
+
title: Department Name
|
|
3572
|
+
type: string
|
|
3573
|
+
maxLength: 60
|
|
3574
|
+
nullable: true
|
|
3575
|
+
description: |
|
|
3576
|
+
Subdivision of an organisation that receives mail at a distinct
|
|
3577
|
+
delivery point. Requires `organisation_name` to be present.
|
|
3578
|
+
sub_building_name:
|
|
3579
|
+
title: Sub-building Name
|
|
3580
|
+
type: string
|
|
3581
|
+
maxLength: 30
|
|
3582
|
+
nullable: true
|
|
3583
|
+
description: |
|
|
3584
|
+
Property subdivision identifier (e.g. flat number). Requires
|
|
3585
|
+
`building_name` or `building_number`.
|
|
3586
|
+
building_name:
|
|
3587
|
+
title: Building Name
|
|
3588
|
+
type: string
|
|
3589
|
+
maxLength: 50
|
|
3590
|
+
nullable: true
|
|
3591
|
+
description: |
|
|
3592
|
+
Descriptive name applied to a single building or small group of
|
|
3593
|
+
buildings.
|
|
3594
|
+
building_number:
|
|
3595
|
+
title: Building Number
|
|
3596
|
+
type: integer
|
|
3597
|
+
maximum: 9999
|
|
3598
|
+
nullable: true
|
|
3599
|
+
description: |
|
|
3600
|
+
Numeric identifier for a single building or small group of buildings.
|
|
3601
|
+
Complex number formats (e.g. "12A") go in `building_name` or
|
|
3602
|
+
`sub_building_name`.
|
|
3603
|
+
dependent_thoroughfare:
|
|
3604
|
+
title: Dependent Thoroughfare
|
|
3605
|
+
type: string
|
|
3606
|
+
maxLength: 80
|
|
3607
|
+
nullable: true
|
|
3608
|
+
description: |
|
|
3609
|
+
Named thoroughfare within another named thoroughfare. Requires
|
|
3610
|
+
`thoroughfare` to be present.
|
|
3611
|
+
thoroughfare:
|
|
3612
|
+
title: Thoroughfare
|
|
3613
|
+
type: string
|
|
3614
|
+
maxLength: 80
|
|
3615
|
+
nullable: true
|
|
3616
|
+
description: Road, track or named access route with Royal Mail delivery points.
|
|
3617
|
+
double_dependent_locality:
|
|
3618
|
+
title: Double Dependent Locality
|
|
3619
|
+
type: string
|
|
3620
|
+
maxLength: 35
|
|
3621
|
+
nullable: true
|
|
3622
|
+
description: |
|
|
3623
|
+
Estate or area name used to distinguish similar thoroughfares within a
|
|
3624
|
+
dependent locality. Requires `dependent_locality`.
|
|
3625
|
+
dependent_locality:
|
|
3626
|
+
title: Dependent Locality
|
|
3627
|
+
type: string
|
|
3628
|
+
maxLength: 35
|
|
3629
|
+
nullable: true
|
|
3630
|
+
description: Subdivision of a post town to differentiate same-name thoroughfares.
|
|
3631
|
+
post_town:
|
|
3632
|
+
title: Post Town
|
|
3633
|
+
type: string
|
|
3634
|
+
maxLength: 30
|
|
3635
|
+
nullable: true
|
|
3636
|
+
description: |
|
|
3637
|
+
Town or city of the Royal Mail sorting office serving this record.
|
|
3638
|
+
Uppercased. NULL for non-postal UPRNs (no Royal Mail delivery point).
|
|
3639
|
+
postcode:
|
|
3640
|
+
title: Postcode
|
|
3641
|
+
type: string
|
|
3642
|
+
maxLength: 8
|
|
3643
|
+
description: |
|
|
3644
|
+
Royal Mail postcode from DPA, falling back to BLPU's `postcode_locator`
|
|
3645
|
+
when no Royal Mail delivery point exists. Uppercased, with single space
|
|
3646
|
+
between outward and inward portions.
|
|
3647
|
+
postcode_type:
|
|
3648
|
+
title: Postcode Type Code
|
|
3649
|
+
type: string
|
|
3650
|
+
maxLength: 1
|
|
3651
|
+
nullable: true
|
|
3652
|
+
description: |
|
|
3653
|
+
Royal Mail postal-user category. `S` Small user (e.g. a residential
|
|
3654
|
+
property), `L` Large user (e.g. a large commercial company).
|
|
3655
|
+
delivery_point_suffix:
|
|
3656
|
+
title: Delivery Point Suffix
|
|
3657
|
+
type: string
|
|
3658
|
+
maxLength: 2
|
|
3659
|
+
nullable: true
|
|
3660
|
+
description: |
|
|
3661
|
+
Two-character code uniquely identifying an individual delivery point
|
|
3662
|
+
within a postcode (Royal Mail DPS).
|
|
3663
|
+
po_box_number:
|
|
3664
|
+
title: PO Box Number
|
|
3665
|
+
type: string
|
|
3666
|
+
maxLength: 6
|
|
3667
|
+
nullable: true
|
|
3668
|
+
description: Post Office Box number.
|
|
3669
|
+
welsh_dependent_thoroughfare:
|
|
3670
|
+
title: Welsh Dependent Thoroughfare
|
|
3671
|
+
type: string
|
|
3672
|
+
maxLength: 80
|
|
3673
|
+
nullable: true
|
|
3674
|
+
description: Welsh translation of `dependent_thoroughfare`. Requires `welsh_thoroughfare`.
|
|
3675
|
+
welsh_thoroughfare:
|
|
3676
|
+
title: Welsh Thoroughfare
|
|
3677
|
+
type: string
|
|
3678
|
+
maxLength: 80
|
|
3679
|
+
nullable: true
|
|
3680
|
+
description: Welsh translation of `thoroughfare`.
|
|
3681
|
+
welsh_double_dependent_locality:
|
|
3682
|
+
title: Welsh Double Dependent Locality
|
|
3683
|
+
type: string
|
|
3684
|
+
maxLength: 36
|
|
3685
|
+
nullable: true
|
|
3686
|
+
description: Welsh translation of `double_dependent_locality`. Requires `welsh_dependent_locality`.
|
|
3687
|
+
welsh_dependent_locality:
|
|
3688
|
+
title: Welsh Dependent Locality
|
|
3689
|
+
type: string
|
|
3690
|
+
maxLength: 35
|
|
3691
|
+
nullable: true
|
|
3692
|
+
description: Welsh translation of `dependent_locality`.
|
|
3693
|
+
welsh_post_town:
|
|
3694
|
+
title: Welsh Post Town
|
|
3695
|
+
type: string
|
|
3696
|
+
maxLength: 30
|
|
3697
|
+
nullable: true
|
|
3698
|
+
description: Welsh translation of `post_town`.
|
|
3699
|
+
dpa_process_date:
|
|
3700
|
+
title: DPA Process Date
|
|
3701
|
+
type: string
|
|
3702
|
+
format: date-time
|
|
3703
|
+
nullable: true
|
|
3704
|
+
description: Date the PAF record was processed into the database.
|
|
3705
|
+
dpa_start_date:
|
|
3706
|
+
title: DPA Start Date
|
|
3707
|
+
type: string
|
|
3708
|
+
format: date-time
|
|
3709
|
+
nullable: true
|
|
3710
|
+
description: Date the address record was matched to the Delivery Point Address.
|
|
3711
|
+
dpa_end_date:
|
|
3712
|
+
title: DPA End Date
|
|
3713
|
+
type: string
|
|
3714
|
+
format: date-time
|
|
3715
|
+
nullable: true
|
|
3716
|
+
description: Date the PAF record no longer existed in the database.
|
|
3717
|
+
dpa_last_update_date:
|
|
3718
|
+
title: DPA Last Update Date
|
|
3719
|
+
type: string
|
|
3720
|
+
format: date-time
|
|
3721
|
+
nullable: true
|
|
3722
|
+
description: Date any attribute on the DPA record was last changed.
|
|
3723
|
+
dpa_entry_date:
|
|
3724
|
+
title: DPA Entry Date
|
|
3725
|
+
type: string
|
|
3726
|
+
format: date-time
|
|
3727
|
+
nullable: true
|
|
3728
|
+
description: Date the PAF record was first loaded by GeoPlace.
|
|
3729
|
+
classification_code:
|
|
3730
|
+
title: Classification Code
|
|
3731
|
+
type: string
|
|
3732
|
+
maxLength: 6
|
|
3733
|
+
nullable: true
|
|
3734
|
+
description: |
|
|
3735
|
+
Current AddressBase classification code (e.g. `RD` residential,
|
|
3736
|
+
`CR` commercial retail). Top-level categories: `R` Residential,
|
|
3737
|
+
`C` Commercial, `L` Land, `M` Military, `O` Other, `P` Parent shell,
|
|
3738
|
+
`U` Unclassified, `X` Dual use, `Z` Object of interest. NULL when no
|
|
3739
|
+
current classification row exists for the UPRN.
|
|
3740
|
+
class_scheme:
|
|
3741
|
+
title: Classification Scheme
|
|
3742
|
+
type: string
|
|
3743
|
+
maxLength: 60
|
|
3744
|
+
nullable: true
|
|
3745
|
+
description: Name of the classification scheme applied to this record.
|
|
3746
|
+
scheme_version:
|
|
3747
|
+
title: Classification Scheme Version
|
|
3748
|
+
type: number
|
|
3749
|
+
nullable: true
|
|
3750
|
+
description: Version number of the classification scheme in use (e.g. `1.0`).
|
|
3751
|
+
classification_start_date:
|
|
3752
|
+
title: Classification Start Date
|
|
3753
|
+
type: string
|
|
3754
|
+
format: date-time
|
|
3755
|
+
nullable: true
|
|
3756
|
+
description: Date the classification record was first loaded into the database.
|
|
3757
|
+
classification_end_date:
|
|
3758
|
+
title: Classification End Date
|
|
3759
|
+
type: string
|
|
3760
|
+
format: date-time
|
|
3761
|
+
nullable: true
|
|
3762
|
+
description: Date the classification record ceased to exist.
|
|
3763
|
+
classification_last_update_date:
|
|
3764
|
+
title: Classification Last Update Date
|
|
3765
|
+
type: string
|
|
3766
|
+
format: date-time
|
|
3767
|
+
nullable: true
|
|
3768
|
+
description: Date of the most recent attribute change on the classification record.
|
|
3769
|
+
classification_entry_date:
|
|
3770
|
+
title: Classification Entry Date
|
|
3771
|
+
type: string
|
|
3772
|
+
format: date-time
|
|
3773
|
+
nullable: true
|
|
3774
|
+
description: |
|
|
3775
|
+
Date the associated address record was inserted into the Local
|
|
3776
|
+
Authority database.
|
|
3777
|
+
organisation_start_date:
|
|
3778
|
+
title: Organisation Start Date
|
|
3779
|
+
type: string
|
|
3780
|
+
format: date-time
|
|
3781
|
+
nullable: true
|
|
3782
|
+
description: Date the organisation record was initially loaded into the database.
|
|
3783
|
+
organisation_end_date:
|
|
3784
|
+
title: Organisation End Date
|
|
3785
|
+
type: string
|
|
3786
|
+
format: date-time
|
|
3787
|
+
nullable: true
|
|
3788
|
+
description: Date the organisation record ceased to exist.
|
|
3789
|
+
organisation_last_update_date:
|
|
3790
|
+
title: Organisation Last Update Date
|
|
3791
|
+
type: string
|
|
3792
|
+
format: date-time
|
|
3793
|
+
nullable: true
|
|
3794
|
+
description: Date of the most recent attribute change on the organisation record.
|
|
3795
|
+
organisation_entry_date:
|
|
3796
|
+
title: Organisation Entry Date
|
|
3797
|
+
type: string
|
|
3798
|
+
format: date-time
|
|
3799
|
+
nullable: true
|
|
3800
|
+
description: Date the UPRN was entered into the Local Authority database.
|
|
3801
|
+
lpi_key:
|
|
3802
|
+
title: LPI Key
|
|
3803
|
+
type: string
|
|
3804
|
+
maxLength: 14
|
|
3805
|
+
nullable: true
|
|
3806
|
+
description: Unique identifier and primary key for the LPI record.
|
|
3807
|
+
lpi_language:
|
|
3808
|
+
title: LPI Language Code
|
|
3809
|
+
type: string
|
|
3810
|
+
maxLength: 3
|
|
3811
|
+
nullable: true
|
|
3812
|
+
description: |
|
|
3813
|
+
Language used for this LPI record. `ENG` English, `CYM` Welsh,
|
|
3814
|
+
`GAE` Gaelic (Scottish), `BIL` Bilingual.
|
|
3815
|
+
lpi_logical_status:
|
|
3816
|
+
title: LPI Logical Status Code
|
|
3817
|
+
type: integer
|
|
3818
|
+
nullable: true
|
|
3819
|
+
description: |
|
|
3820
|
+
Logical status of the LPI record. `1` Approved, `3` Alternative,
|
|
3821
|
+
`6` Provisional, `8` Historical.
|
|
3822
|
+
lpi_start_date:
|
|
3823
|
+
title: LPI Start Date
|
|
3824
|
+
type: string
|
|
3825
|
+
format: date-time
|
|
3826
|
+
nullable: true
|
|
3827
|
+
description: Date the LPI was first loaded into the database.
|
|
3828
|
+
lpi_end_date:
|
|
3829
|
+
title: LPI End Date
|
|
3830
|
+
type: string
|
|
3831
|
+
format: date-time
|
|
3832
|
+
nullable: true
|
|
3833
|
+
description: Date the LPI record ceased to exist.
|
|
3834
|
+
lpi_last_update_date:
|
|
3835
|
+
title: LPI Last Update Date
|
|
3836
|
+
type: string
|
|
3837
|
+
format: date-time
|
|
3838
|
+
nullable: true
|
|
3839
|
+
description: Date of the most recent attribute change on the LPI record.
|
|
3840
|
+
lpi_entry_date:
|
|
3841
|
+
title: LPI Entry Date
|
|
3842
|
+
type: string
|
|
3843
|
+
format: date-time
|
|
3844
|
+
nullable: true
|
|
3845
|
+
description: Date the LPI record was inserted into the Local Authority database.
|
|
3846
|
+
sao_start_number:
|
|
3847
|
+
title: SAO Start Number
|
|
3848
|
+
type: integer
|
|
3849
|
+
maximum: 9999
|
|
3850
|
+
nullable: true
|
|
3851
|
+
description: |
|
|
3852
|
+
Number of the Secondary Addressable Object, or range start. Requires
|
|
3853
|
+
`pao_start_number` or `pao_text` to be present.
|
|
3854
|
+
sao_start_suffix:
|
|
3855
|
+
title: SAO Start Suffix
|
|
3856
|
+
type: string
|
|
3857
|
+
maxLength: 2
|
|
3858
|
+
nullable: true
|
|
3859
|
+
description: Suffix appended to `sao_start_number`. Requires `sao_start_number`.
|
|
3860
|
+
sao_end_number:
|
|
3861
|
+
title: SAO End Number
|
|
3862
|
+
type: integer
|
|
3863
|
+
maximum: 9999
|
|
3864
|
+
nullable: true
|
|
3865
|
+
description: End number of the SAO range. Requires `sao_start_number`.
|
|
3866
|
+
sao_end_suffix:
|
|
3867
|
+
title: SAO End Suffix
|
|
3868
|
+
type: string
|
|
3869
|
+
maxLength: 2
|
|
3870
|
+
nullable: true
|
|
3871
|
+
description: Suffix appended to `sao_end_number`. Requires `sao_end_number`.
|
|
3872
|
+
sao_text:
|
|
3873
|
+
title: SAO Text
|
|
3874
|
+
type: string
|
|
3875
|
+
maxLength: 90
|
|
3876
|
+
nullable: true
|
|
3877
|
+
description: |
|
|
3878
|
+
Building name or description for the Secondary Addressable Object
|
|
3879
|
+
(e.g. "FLAT 1", "UNIT B"). Requires `pao_start_number` or `pao_text`.
|
|
3880
|
+
pao_start_number:
|
|
3881
|
+
title: PAO Start Number
|
|
3882
|
+
type: integer
|
|
3883
|
+
maximum: 9999
|
|
3884
|
+
nullable: true
|
|
3885
|
+
description: |
|
|
3886
|
+
Number of the Primary Addressable Object, or range start. Mandatory if
|
|
3887
|
+
`pao_text` is absent.
|
|
3888
|
+
pao_start_suffix:
|
|
3889
|
+
title: PAO Start Suffix
|
|
3890
|
+
type: string
|
|
3891
|
+
maxLength: 2
|
|
3892
|
+
nullable: true
|
|
3893
|
+
description: Suffix appended to `pao_start_number`. Requires `pao_start_number`.
|
|
3894
|
+
pao_end_number:
|
|
3895
|
+
title: PAO End Number
|
|
3896
|
+
type: integer
|
|
3897
|
+
maximum: 9999
|
|
3898
|
+
nullable: true
|
|
3899
|
+
description: End number of the PAO range. Requires `pao_start_number`.
|
|
3900
|
+
pao_end_suffix:
|
|
3901
|
+
title: PAO End Suffix
|
|
3902
|
+
type: string
|
|
3903
|
+
maxLength: 2
|
|
3904
|
+
nullable: true
|
|
3905
|
+
description: Suffix appended to `pao_end_number`. Requires `pao_end_number`.
|
|
3906
|
+
pao_text:
|
|
3907
|
+
title: PAO Text
|
|
3908
|
+
type: string
|
|
3909
|
+
maxLength: 90
|
|
3910
|
+
nullable: true
|
|
3911
|
+
description: |
|
|
3912
|
+
Building name or description for the Primary Addressable Object.
|
|
3913
|
+
Mandatory if `pao_start_number` is absent.
|
|
3914
|
+
usrn:
|
|
3915
|
+
title: Unique Street Reference Number
|
|
3916
|
+
type: string
|
|
3917
|
+
maxLength: 8
|
|
3918
|
+
nullable: true
|
|
3919
|
+
description: |
|
|
3920
|
+
Unique Street Reference Number linking this LPI to its Street record.
|
|
3921
|
+
Up to 8 digits.
|
|
3922
|
+
usrn_match_indicator:
|
|
3923
|
+
title: USRN Match Indicator Code
|
|
3924
|
+
type: string
|
|
3925
|
+
nullable: true
|
|
3926
|
+
description: |
|
|
3927
|
+
Confidence of the LPI to Street linkage. `1` Matched manually to the
|
|
3928
|
+
nearest accessible Street, `2` Matched spatially to the nearest USRN.
|
|
3929
|
+
area_name:
|
|
3930
|
+
title: Area Name
|
|
3931
|
+
type: string
|
|
3932
|
+
maxLength: 40
|
|
3933
|
+
nullable: true
|
|
3934
|
+
description: Third-level geographic area name such as island or property group.
|
|
3935
|
+
level:
|
|
3936
|
+
title: Level
|
|
3937
|
+
type: string
|
|
3938
|
+
maxLength: 30
|
|
3939
|
+
nullable: true
|
|
3940
|
+
description: Vertical position of the property (e.g. "GROUND FLOOR").
|
|
3941
|
+
official_flag:
|
|
3942
|
+
title: Official Flag Code
|
|
3943
|
+
type: string
|
|
3944
|
+
maxLength: 1
|
|
3945
|
+
nullable: true
|
|
3946
|
+
description: |
|
|
3947
|
+
Whether the LPI corresponds to an entry in the official Street Name and
|
|
3948
|
+
Numbering register. `Y` Official address, `N` Unofficial address.
|
|
3949
|
+
street_record_type:
|
|
3950
|
+
title: Street Record Type Code
|
|
3951
|
+
type: integer
|
|
3952
|
+
nullable: true
|
|
3953
|
+
description: |
|
|
3954
|
+
Description of the street record type. `1` Official designated Street
|
|
3955
|
+
Name, `2` Street Description, `3` Numbered Street, `4` Unofficial
|
|
3956
|
+
Street Description, `9` Description used for LLPG Access.
|
|
3957
|
+
swa_org_ref_naming:
|
|
3958
|
+
title: SWA Org Ref (Naming)
|
|
3959
|
+
type: integer
|
|
3960
|
+
maximum: 9999
|
|
3961
|
+
nullable: true
|
|
3962
|
+
description: |
|
|
3963
|
+
Code identifying the Street Naming and Numbering Authority or Local
|
|
3964
|
+
Highway Authority (DfT-allocated).
|
|
3965
|
+
street_state:
|
|
3966
|
+
title: Street State Code
|
|
3967
|
+
type: string
|
|
3968
|
+
nullable: true
|
|
3969
|
+
description: |
|
|
3970
|
+
Current state of the street. `1` Under construction, `2` Open,
|
|
3971
|
+
`4` Permanently closed.
|
|
3972
|
+
street_state_date:
|
|
3973
|
+
title: Street State Date
|
|
2920
3974
|
type: string
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
maxLength: 8
|
|
2927
|
-
description: |-
|
|
2928
|
-
Unique Street Reference Number assigned by the Street Name and Numbering Custodian OR
|
|
2929
|
-
|
|
2930
|
-
Ordnance Survey depending on the address record.
|
|
2931
|
-
toid:
|
|
2932
|
-
title: TOID
|
|
3975
|
+
format: date-time
|
|
3976
|
+
nullable: true
|
|
3977
|
+
description: Date when the street achieved its current state.
|
|
3978
|
+
street_surface:
|
|
3979
|
+
title: Street Surface Code
|
|
2933
3980
|
type: string
|
|
2934
|
-
|
|
2935
|
-
description:
|
|
2936
|
-
|
|
2937
|
-
|
|
3981
|
+
nullable: true
|
|
3982
|
+
description: |
|
|
3983
|
+
Surface finish of the street. `1` Metalled, `2` Unmetalled, `3` Mixed.
|
|
3984
|
+
street_classification:
|
|
3985
|
+
title: Street Classification Code
|
|
2938
3986
|
type: string
|
|
2939
|
-
|
|
2940
|
-
description:
|
|
2941
|
-
|
|
2942
|
-
|
|
3987
|
+
nullable: true
|
|
3988
|
+
description: |
|
|
3989
|
+
Primary classification of the street record. `4` Pedestrian way or
|
|
3990
|
+
footpath, `6` Cycletrack or cycleway, `8` All vehicles, `9` Restricted
|
|
3991
|
+
byway, `10` Bridleway.
|
|
3992
|
+
street_start_date:
|
|
3993
|
+
title: Street Start Date
|
|
3994
|
+
type: string
|
|
3995
|
+
format: date-time
|
|
3996
|
+
nullable: true
|
|
3997
|
+
description: Date this street record or version was inserted into the database.
|
|
3998
|
+
street_last_update_date:
|
|
3999
|
+
title: Street Last Update Date
|
|
4000
|
+
type: string
|
|
4001
|
+
format: date-time
|
|
4002
|
+
nullable: true
|
|
4003
|
+
description: Date when any attribute of the street record was last changed.
|
|
4004
|
+
street_record_entry_date:
|
|
4005
|
+
title: Street Record Entry Date
|
|
4006
|
+
type: string
|
|
4007
|
+
format: date-time
|
|
4008
|
+
nullable: true
|
|
4009
|
+
description: Date the street record was entered into the Local Authority database.
|
|
4010
|
+
street_start_x:
|
|
4011
|
+
title: Street Start Eastings
|
|
2943
4012
|
type: number
|
|
2944
|
-
|
|
2945
|
-
|
|
2946
|
-
description:
|
|
2947
|
-
|
|
2948
|
-
title:
|
|
4013
|
+
format: double
|
|
4014
|
+
nullable: true
|
|
4015
|
+
description: X coordinate (BNG) for the street start point.
|
|
4016
|
+
street_start_y:
|
|
4017
|
+
title: Street Start Northings
|
|
2949
4018
|
type: number
|
|
2950
|
-
|
|
2951
|
-
|
|
2952
|
-
description:
|
|
2953
|
-
|
|
2954
|
-
title: Latitude
|
|
4019
|
+
format: double
|
|
4020
|
+
nullable: true
|
|
4021
|
+
description: Y coordinate (BNG) for the street start point.
|
|
4022
|
+
street_start_lat:
|
|
4023
|
+
title: Street Start Latitude
|
|
2955
4024
|
type: number
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
4025
|
+
format: double
|
|
4026
|
+
nullable: true
|
|
4027
|
+
description: Latitude (ETRS89) for the street start point.
|
|
4028
|
+
street_start_long:
|
|
4029
|
+
title: Street Start Longitude
|
|
2959
4030
|
type: number
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
4031
|
+
format: double
|
|
4032
|
+
nullable: true
|
|
4033
|
+
description: Longitude (ETRS89) for the street start point.
|
|
4034
|
+
street_end_x:
|
|
4035
|
+
title: Street End Eastings
|
|
4036
|
+
type: number
|
|
4037
|
+
format: double
|
|
4038
|
+
nullable: true
|
|
4039
|
+
description: X coordinate (BNG) for the street end point.
|
|
4040
|
+
street_end_y:
|
|
4041
|
+
title: Street End Northings
|
|
4042
|
+
type: number
|
|
4043
|
+
format: double
|
|
4044
|
+
nullable: true
|
|
4045
|
+
description: Y coordinate (BNG) for the street end point.
|
|
4046
|
+
street_end_lat:
|
|
4047
|
+
title: Street End Latitude
|
|
4048
|
+
type: number
|
|
4049
|
+
format: double
|
|
4050
|
+
nullable: true
|
|
4051
|
+
description: Latitude (ETRS89) for the street end point.
|
|
4052
|
+
street_end_long:
|
|
4053
|
+
title: Street End Longitude
|
|
4054
|
+
type: number
|
|
4055
|
+
format: double
|
|
4056
|
+
nullable: true
|
|
4057
|
+
description: Longitude (ETRS89) for the street end point.
|
|
4058
|
+
street_tolerance:
|
|
4059
|
+
title: Street Tolerance
|
|
4060
|
+
type: number
|
|
4061
|
+
nullable: true
|
|
4062
|
+
description: Accuracy of street-coordinate data capture, in metres.
|
|
4063
|
+
street_description:
|
|
4064
|
+
title: Street Description
|
|
2968
4065
|
type: string
|
|
2969
4066
|
maxLength: 100
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
maxLength: 35
|
|
2975
|
-
description: A locality defines an area or geographical identifier within a town, village or hamlet. Locality represents the lower level geographical area. The locality field should be used in conjunction with the town name and street description fields to uniquely identify geographic area where there may be more than one within an administrative area.
|
|
2976
|
-
town_name:
|
|
2977
|
-
title: Town Name
|
|
4067
|
+
nullable: true
|
|
4068
|
+
description: Street name, description or street number.
|
|
4069
|
+
street_locality:
|
|
4070
|
+
title: Street Locality
|
|
2978
4071
|
type: string
|
|
2979
4072
|
maxLength: 35
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
4073
|
+
nullable: true
|
|
4074
|
+
description: Geographical area within a town.
|
|
4075
|
+
street_town:
|
|
4076
|
+
title: Street Town
|
|
2983
4077
|
type: string
|
|
2984
|
-
maxLength:
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
4078
|
+
maxLength: 30
|
|
4079
|
+
nullable: true
|
|
4080
|
+
description: |
|
|
4081
|
+
Name of the town. Required for Street Record Types `1` and `2`;
|
|
4082
|
+
optional for types `3`, `4` and `9`.
|
|
4083
|
+
adminstrative_area:
|
|
4084
|
+
title: Administrative Area
|
|
2988
4085
|
type: string
|
|
2989
4086
|
maxLength: 30
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
title:
|
|
4087
|
+
nullable: true
|
|
4088
|
+
description: |
|
|
4089
|
+
Local Highway Authority name (administrative area / county / unitary
|
|
4090
|
+
authority). Field name spelling preserved verbatim from OS
|
|
4091
|
+
(`ADMINSTRATIVE_AREA`).
|
|
4092
|
+
sd_language:
|
|
4093
|
+
title: Street Descriptor Language Code
|
|
2997
4094
|
type: string
|
|
2998
|
-
maxLength:
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
last_update_date:
|
|
3006
|
-
title: Last Update Date
|
|
4095
|
+
maxLength: 3
|
|
4096
|
+
nullable: true
|
|
4097
|
+
description: |
|
|
4098
|
+
Language of the street descriptor. `ENG` English, `CYM` Welsh,
|
|
4099
|
+
`GAE` Gaelic (Scottish), `BIL` Bilingual.
|
|
4100
|
+
sd_start_date:
|
|
4101
|
+
title: Street Descriptor Start Date
|
|
3007
4102
|
type: string
|
|
3008
|
-
format: date
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
4103
|
+
format: date-time
|
|
4104
|
+
nullable: true
|
|
4105
|
+
description: Date the street descriptor record was first created in the database.
|
|
4106
|
+
sd_end_date:
|
|
4107
|
+
title: Street Descriptor End Date
|
|
3012
4108
|
type: string
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
4109
|
+
format: date-time
|
|
4110
|
+
nullable: true
|
|
4111
|
+
description: Date the street descriptor record ceased to exist.
|
|
4112
|
+
sd_last_update_date:
|
|
4113
|
+
title: Street Descriptor Last Update Date
|
|
3017
4114
|
type: string
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
- D
|
|
3024
|
-
building_name:
|
|
3025
|
-
title: Building Name
|
|
4115
|
+
format: date-time
|
|
4116
|
+
nullable: true
|
|
4117
|
+
description: Date of the most recent attribute change on the street descriptor record.
|
|
4118
|
+
sd_entry_date:
|
|
4119
|
+
title: Street Descriptor Entry Date
|
|
3026
4120
|
type: string
|
|
3027
|
-
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
4121
|
+
format: date-time
|
|
4122
|
+
nullable: true
|
|
4123
|
+
description: |
|
|
4124
|
+
Date the street descriptor record was entered into the Local Authority
|
|
4125
|
+
database.
|
|
4126
|
+
toid:
|
|
4127
|
+
title: TOID (Topography)
|
|
3031
4128
|
type: string
|
|
3032
|
-
maxLength:
|
|
3033
|
-
|
|
3034
|
-
|
|
3035
|
-
|
|
4129
|
+
maxLength: 20
|
|
4130
|
+
nullable: true
|
|
4131
|
+
description: |
|
|
4132
|
+
OS MasterMap Topography Layer TOID (cross-reference source `7666MT`)
|
|
4133
|
+
linked to the UPRN.
|
|
4134
|
+
toid_address:
|
|
4135
|
+
title: TOID (Address Layer)
|
|
3036
4136
|
type: string
|
|
3037
|
-
maxLength:
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
4137
|
+
maxLength: 20
|
|
4138
|
+
nullable: true
|
|
4139
|
+
description: |
|
|
4140
|
+
OS MasterMap Address Layer 2 TOID (cross-reference source `7666MA`)
|
|
4141
|
+
linked to the UPRN.
|
|
4142
|
+
toid_highways:
|
|
4143
|
+
title: TOID (Highways)
|
|
3041
4144
|
type: string
|
|
3042
|
-
maxLength:
|
|
3043
|
-
|
|
3044
|
-
|
|
3045
|
-
|
|
4145
|
+
maxLength: 20
|
|
4146
|
+
nullable: true
|
|
4147
|
+
description: |
|
|
4148
|
+
OS MasterMap Highways TOID (cross-reference source `7666MI`) linked to
|
|
4149
|
+
the UPRN.
|
|
4150
|
+
council_tax_ref:
|
|
4151
|
+
title: Council Tax Reference
|
|
3046
4152
|
type: string
|
|
3047
|
-
maxLength:
|
|
3048
|
-
|
|
3049
|
-
|
|
3050
|
-
|
|
4153
|
+
maxLength: 50
|
|
4154
|
+
nullable: true
|
|
4155
|
+
description: |
|
|
4156
|
+
Centrally created Valuation Office Agency council tax reference
|
|
4157
|
+
(cross-reference source `7666VC`) linked to the UPRN.
|
|
4158
|
+
ndr_ref:
|
|
4159
|
+
title: Non-Domestic Rates Reference
|
|
3051
4160
|
type: string
|
|
3052
|
-
maxLength:
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
4161
|
+
maxLength: 50
|
|
4162
|
+
nullable: true
|
|
4163
|
+
description: |
|
|
4164
|
+
Centrally created Valuation Office Agency non-domestic rates reference
|
|
4165
|
+
(cross-reference source `7666VN`) linked to the UPRN.
|
|
4166
|
+
ons_ward_code:
|
|
4167
|
+
title: ONS Ward Code
|
|
4168
|
+
type: string
|
|
4169
|
+
maxLength: 50
|
|
4170
|
+
nullable: true
|
|
4171
|
+
description: |
|
|
4172
|
+
Office for National Statistics ward code (cross-reference source
|
|
4173
|
+
`7666OW`) linked to the UPRN.
|
|
4174
|
+
ons_parish_code:
|
|
4175
|
+
title: ONS Parish Code
|
|
4176
|
+
type: string
|
|
4177
|
+
maxLength: 50
|
|
4178
|
+
nullable: true
|
|
4179
|
+
description: |
|
|
4180
|
+
Office for National Statistics parish code (cross-reference source
|
|
4181
|
+
`7666OP`) linked to the UPRN.
|
|
4182
|
+
example:
|
|
4183
|
+
uprn: '49020496'
|
|
4184
|
+
parent_uprn: '49020495'
|
|
4185
|
+
logical_status: 1
|
|
4186
|
+
blpu_state: '2'
|
|
4187
|
+
blpu_state_date: '2011-10-06T00:00:00.000Z'
|
|
4188
|
+
country: W
|
|
4189
|
+
latitude: 52.4121999
|
|
4190
|
+
longitude: -4.0883772
|
|
4191
|
+
x_coordinate: 258053.87
|
|
4192
|
+
y_coordinate: 281405.95
|
|
4193
|
+
rpc: 2
|
|
4194
|
+
local_custodian_code: 6820
|
|
4195
|
+
addressbase_postal: D
|
|
4196
|
+
postcode_locator: SY23 1JT
|
|
4197
|
+
multi_occ_count: 4
|
|
4198
|
+
blpu_start_date: '2007-10-24T00:00:00.000Z'
|
|
4199
|
+
blpu_end_date: null
|
|
4200
|
+
blpu_last_update_date: '2025-10-13T00:00:00.000Z'
|
|
4201
|
+
blpu_entry_date: '2006-11-24T00:00:00.000Z'
|
|
4202
|
+
udprn: '24255522'
|
|
4203
|
+
organisation_name: null
|
|
4204
|
+
legal_name: null
|
|
4205
|
+
department_name: null
|
|
4206
|
+
sub_building_name: null
|
|
4207
|
+
building_name: null
|
|
4208
|
+
building_number: 1
|
|
4209
|
+
dependent_thoroughfare: CASTLE TERRACE
|
|
4210
|
+
thoroughfare: SOUTH ROAD
|
|
4211
|
+
double_dependent_locality: null
|
|
4212
|
+
dependent_locality: null
|
|
4213
|
+
post_town: ABERYSTWYTH
|
|
4214
|
+
postcode: SY23 1JT
|
|
4215
|
+
postcode_type: S
|
|
4216
|
+
delivery_point_suffix: 1A
|
|
4217
|
+
po_box_number: null
|
|
4218
|
+
welsh_dependent_thoroughfare: HEOL Y CASTELL
|
|
4219
|
+
welsh_thoroughfare: TAN Y CAE
|
|
4220
|
+
welsh_double_dependent_locality: null
|
|
4221
|
+
welsh_dependent_locality: null
|
|
4222
|
+
welsh_post_town: ABERYSTWYTH
|
|
4223
|
+
dpa_process_date: '2016-01-18T00:00:00.000Z'
|
|
4224
|
+
dpa_start_date: '2012-04-23T00:00:00.000Z'
|
|
4225
|
+
dpa_end_date: null
|
|
4226
|
+
dpa_last_update_date: '2016-02-10T00:00:00.000Z'
|
|
4227
|
+
dpa_entry_date: '2012-03-19T00:00:00.000Z'
|
|
4228
|
+
classification_code: RD04
|
|
4229
|
+
class_scheme: AddressBase Premium Classification Scheme
|
|
4230
|
+
scheme_version: 1
|
|
4231
|
+
classification_start_date: '2007-10-24T00:00:00.000Z'
|
|
4232
|
+
classification_end_date: null
|
|
4233
|
+
classification_last_update_date: '2018-09-23T00:00:00.000Z'
|
|
4234
|
+
classification_entry_date: '2006-11-24T00:00:00.000Z'
|
|
4235
|
+
organisation_start_date: null
|
|
4236
|
+
organisation_end_date: null
|
|
4237
|
+
organisation_last_update_date: null
|
|
4238
|
+
organisation_entry_date: null
|
|
4239
|
+
lpi_key: 6820L000054880
|
|
4240
|
+
lpi_language: CYM
|
|
4241
|
+
lpi_logical_status: 1
|
|
4242
|
+
lpi_start_date: '2007-10-24T00:00:00.000Z'
|
|
4243
|
+
lpi_end_date: null
|
|
4244
|
+
lpi_last_update_date: '2025-09-26T00:00:00.000Z'
|
|
4245
|
+
lpi_entry_date: '2007-09-04T00:00:00.000Z'
|
|
4246
|
+
sao_start_number: null
|
|
4247
|
+
sao_start_suffix: null
|
|
4248
|
+
sao_end_number: null
|
|
4249
|
+
sao_end_suffix: null
|
|
4250
|
+
sao_text: null
|
|
4251
|
+
pao_start_number: 1
|
|
4252
|
+
pao_start_suffix: null
|
|
4253
|
+
pao_end_number: null
|
|
4254
|
+
pao_end_suffix: null
|
|
4255
|
+
pao_text: HEOL Y CASTELL
|
|
4256
|
+
usrn: '47114724'
|
|
4257
|
+
usrn_match_indicator: '1'
|
|
4258
|
+
area_name: null
|
|
4259
|
+
level: null
|
|
4260
|
+
official_flag: 'Y'
|
|
4261
|
+
street_record_type: 1
|
|
4262
|
+
swa_org_ref_naming: 6820
|
|
4263
|
+
street_state: '2'
|
|
4264
|
+
street_state_date: '1990-01-01T00:00:00.000Z'
|
|
4265
|
+
street_surface: '1'
|
|
4266
|
+
street_classification: null
|
|
4267
|
+
street_start_date: '2007-10-24T00:00:00.000Z'
|
|
4268
|
+
street_last_update_date: '2022-01-14T00:00:00.000Z'
|
|
4269
|
+
street_record_entry_date: '1998-07-14T00:00:00.000Z'
|
|
4270
|
+
street_start_x: 257968
|
|
4271
|
+
street_start_y: 281400
|
|
4272
|
+
street_start_lat: 52.4121241
|
|
4273
|
+
street_start_long: -4.0896363
|
|
4274
|
+
street_end_x: 258266
|
|
4275
|
+
street_end_y: 281393
|
|
4276
|
+
street_end_lat: 52.4121386
|
|
4277
|
+
street_end_long: -4.0852551
|
|
4278
|
+
street_tolerance: 10
|
|
4279
|
+
street_description: SOUTH ROAD
|
|
4280
|
+
street_locality: null
|
|
4281
|
+
street_town: ABERYSTWYTH
|
|
4282
|
+
adminstrative_area: CEREDIGION
|
|
4283
|
+
sd_language: ENG
|
|
4284
|
+
sd_start_date: '2007-10-24T00:00:00.000Z'
|
|
4285
|
+
sd_end_date: null
|
|
4286
|
+
sd_last_update_date: '2016-02-06T00:00:00.000Z'
|
|
4287
|
+
sd_entry_date: '1998-07-14T00:00:00.000Z'
|
|
4288
|
+
toid: osgb1000020592167
|
|
4289
|
+
toid_address: osgb1000002175099422
|
|
4290
|
+
toid_highways: osgb5000005181786114
|
|
4291
|
+
council_tax_ref: null
|
|
4292
|
+
ndr_ref: null
|
|
4293
|
+
ons_ward_code: W05001302
|
|
4294
|
+
ons_parish_code: W04000359
|
|
4295
|
+
AbpAddress:
|
|
4296
|
+
title: AddressBase Premium
|
|
3072
4297
|
description: |-
|
|
3073
|
-
Address from Ordnance Survey AddressBase
|
|
4298
|
+
Address from Ordnance Survey AddressBase Premium dataset.
|
|
3074
4299
|
|
|
3075
4300
|
Please contact us to have this enabled on your account.
|
|
3076
4301
|
|
|
3077
|
-
All AddressBase
|
|
4302
|
+
All AddressBase Premium addresses have a UPRN and a rooftop geolocation available however they may not have a UDPRN.
|
|
3078
4303
|
allOf:
|
|
3079
4304
|
- $ref: '#/components/schemas/PafBase'
|
|
3080
4305
|
- type: object
|
|
@@ -3087,7 +4312,7 @@ components:
|
|
|
3087
4312
|
dataset:
|
|
3088
4313
|
type: string
|
|
3089
4314
|
enum:
|
|
3090
|
-
-
|
|
4315
|
+
- abp
|
|
3091
4316
|
country_iso_2:
|
|
3092
4317
|
enum:
|
|
3093
4318
|
- GB
|
|
@@ -3104,8 +4329,9 @@ components:
|
|
|
3104
4329
|
- England
|
|
3105
4330
|
- Scotland
|
|
3106
4331
|
- Wales
|
|
4332
|
+
- Northern Ireland
|
|
3107
4333
|
native:
|
|
3108
|
-
$ref: '#/components/schemas/
|
|
4334
|
+
$ref: '#/components/schemas/AddressBasePremium'
|
|
3109
4335
|
Dataset:
|
|
3110
4336
|
title: Dataset
|
|
3111
4337
|
type: string
|
|
@@ -3119,6 +4345,7 @@ components:
|
|
|
3119
4345
|
- `pafa` (GBR) Alias File
|
|
3120
4346
|
- `pafw` (GBR) Welsh File
|
|
3121
4347
|
- `ab` (GBR) AddressBase Core
|
|
4348
|
+
- `abp` (GBR) AddressBase Premium
|
|
3122
4349
|
- `ecaf` (IRL) Eircode ECAF
|
|
3123
4350
|
- `ecad` (IRL) Eircode ECAD
|
|
3124
4351
|
- `herewe` (Western Europe) Western Europe Dataset
|
|
@@ -3151,6 +4378,7 @@ components:
|
|
|
3151
4378
|
- ecaf
|
|
3152
4379
|
- ecad
|
|
3153
4380
|
- ab
|
|
4381
|
+
- abp
|
|
3154
4382
|
- herewe
|
|
3155
4383
|
- heret
|
|
3156
4384
|
- heresa
|
|
@@ -3237,7 +4465,6 @@ components:
|
|
|
3237
4465
|
- HUN
|
|
3238
4466
|
- KAZ
|
|
3239
4467
|
- KGZ
|
|
3240
|
-
- KOS
|
|
3241
4468
|
- LTU
|
|
3242
4469
|
- LVA
|
|
3243
4470
|
- MDA
|
|
@@ -3252,6 +4479,7 @@ components:
|
|
|
3252
4479
|
- TUR
|
|
3253
4480
|
- UKR
|
|
3254
4481
|
- UZB
|
|
4482
|
+
- XKX
|
|
3255
4483
|
- HKG
|
|
3256
4484
|
- BGD
|
|
3257
4485
|
- IND
|
|
@@ -4269,6 +5497,7 @@ components:
|
|
|
4269
5497
|
minLength: 1
|
|
4270
5498
|
post_county_id:
|
|
4271
5499
|
type: string
|
|
5500
|
+
nullable: true
|
|
4272
5501
|
description: Post County ID
|
|
4273
5502
|
example: '10098783'
|
|
4274
5503
|
maxLength: 10
|
|
@@ -9865,6 +11094,7 @@ components:
|
|
|
9865
11094
|
- $ref: '#/components/schemas/PafAliasAddress'
|
|
9866
11095
|
- $ref: '#/components/schemas/WelshPafAddress'
|
|
9867
11096
|
- $ref: '#/components/schemas/AbAddress'
|
|
11097
|
+
- $ref: '#/components/schemas/AbpAddress'
|
|
9868
11098
|
- $ref: '#/components/schemas/GbrGlobalAddress'
|
|
9869
11099
|
description: |
|
|
9870
11100
|
All addresses listed at the postcode.
|
|
@@ -10346,6 +11576,10 @@ components:
|
|
|
10346
11576
|
type: boolean
|
|
10347
11577
|
description: UK AddressBase dataset
|
|
10348
11578
|
example: false
|
|
11579
|
+
abp:
|
|
11580
|
+
type: boolean
|
|
11581
|
+
description: UK AddressBase Premium dataset
|
|
11582
|
+
example: false
|
|
10349
11583
|
nip:
|
|
10350
11584
|
type: boolean
|
|
10351
11585
|
description: Northern Ireland Pointer Dataset
|
|
@@ -10560,7 +11794,7 @@ components:
|
|
|
10560
11794
|
ip_forwarding:
|
|
10561
11795
|
type: boolean
|
|
10562
11796
|
default: false
|
|
10563
|
-
description: Accept IP addresses forwarded in the `
|
|
11797
|
+
description: Accept IP addresses forwarded in the `AZ-Source-IP` header
|
|
10564
11798
|
ApiKeyDetailsResponse:
|
|
10565
11799
|
title: API Key Details Response
|
|
10566
11800
|
type: object
|
|
@@ -10677,7 +11911,7 @@ components:
|
|
|
10677
11911
|
ip_forwarding:
|
|
10678
11912
|
type: boolean
|
|
10679
11913
|
default: false
|
|
10680
|
-
description: Accept IP addresses forwarded in the `
|
|
11914
|
+
description: Accept IP addresses forwarded in the `AZ-Source-IP` header
|
|
10681
11915
|
datasets:
|
|
10682
11916
|
title: API Key Dataset Availability
|
|
10683
11917
|
description: Indicates which datasets are available and added by default to the address responses
|
|
@@ -10791,6 +12025,10 @@ components:
|
|
|
10791
12025
|
type: boolean
|
|
10792
12026
|
description: UK AddressBase dataset
|
|
10793
12027
|
example: false
|
|
12028
|
+
abp:
|
|
12029
|
+
type: boolean
|
|
12030
|
+
description: UK AddressBase Premium dataset
|
|
12031
|
+
example: false
|
|
10794
12032
|
nip:
|
|
10795
12033
|
type: boolean
|
|
10796
12034
|
description: Northern Ireland Pointer Dataset
|
|
@@ -11811,6 +13049,7 @@ components:
|
|
|
11811
13049
|
- $ref: '#/components/schemas/PafAliasAddress'
|
|
11812
13050
|
- $ref: '#/components/schemas/NybAddress'
|
|
11813
13051
|
- $ref: '#/components/schemas/AbAddress'
|
|
13052
|
+
- $ref: '#/components/schemas/AbpAddress'
|
|
11814
13053
|
- $ref: '#/components/schemas/GbrGlobalAddress'
|
|
11815
13054
|
UsaGlobalAddress:
|
|
11816
13055
|
title: Global Address
|
|
@@ -12043,6 +13282,7 @@ components:
|
|
|
12043
13282
|
- $ref: '#/components/schemas/PafAliasAddress'
|
|
12044
13283
|
- $ref: '#/components/schemas/WelshPafAddress'
|
|
12045
13284
|
- $ref: '#/components/schemas/AbAddress'
|
|
13285
|
+
- $ref: '#/components/schemas/AbpAddress'
|
|
12046
13286
|
- $ref: '#/components/schemas/HereAddress'
|
|
12047
13287
|
- $ref: '#/components/schemas/GnafAddress'
|
|
12048
13288
|
- $ref: '#/components/schemas/KadasterAddress'
|
|
@@ -12111,6 +13351,7 @@ components:
|
|
|
12111
13351
|
- $ref: '#/components/schemas/WelshPafAddress'
|
|
12112
13352
|
- $ref: '#/components/schemas/PafAliasAddress'
|
|
12113
13353
|
- $ref: '#/components/schemas/AbAddress'
|
|
13354
|
+
- $ref: '#/components/schemas/AbpAddress'
|
|
12114
13355
|
total:
|
|
12115
13356
|
minimum: 0
|
|
12116
13357
|
maximum: 10000
|
|
@@ -13187,6 +14428,123 @@ components:
|
|
|
13187
14428
|
oneOf:
|
|
13188
14429
|
- $ref: '#/components/schemas/PhoneNumber'
|
|
13189
14430
|
- $ref: '#/components/schemas/InvalidPhoneNumber'
|
|
14431
|
+
GilpGroundStability:
|
|
14432
|
+
title: GILP Ground Stability
|
|
14433
|
+
description: |
|
|
14434
|
+
Postcode-level potential insurance risk from natural ground movement, from
|
|
14435
|
+
the BGS GeoSure Insurance and Lenders Product (GILP) Derived Postcode
|
|
14436
|
+
Database. Combines the six GeoSure hazards on (low-rise) buildings:
|
|
14437
|
+
shrink-swell, landslides, soluble rocks, running sand, compressible ground
|
|
14438
|
+
and collapsible deposits.
|
|
14439
|
+
|
|
14440
|
+
Field names, types and score ranges mirror the GILP v8 Derived Postcode
|
|
14441
|
+
Database verbatim (lower-cased), per the BGS user guide (Open Report
|
|
14442
|
+
OR/26/013). Scores are unitless measures of expected impact, normalised by
|
|
14443
|
+
expert elicitation so they are comparable and summable across hazards;
|
|
14444
|
+
`total` is the sum of the six individual hazard scores.
|
|
14445
|
+
|
|
14446
|
+
Hazards cover NATURAL ground movement only - no mining or contaminated
|
|
14447
|
+
land (compressible ground is the one layer that considers man-made ground,
|
|
14448
|
+
e.g. landfill). Values are generalised to postcode level; minimum
|
|
14449
|
+
meaningful resolution is the postcode.
|
|
14450
|
+
type: object
|
|
14451
|
+
required:
|
|
14452
|
+
- postcode
|
|
14453
|
+
- collapse
|
|
14454
|
+
- rsand
|
|
14455
|
+
- comp
|
|
14456
|
+
- sswell
|
|
14457
|
+
- solub
|
|
14458
|
+
- landslide
|
|
14459
|
+
- total
|
|
14460
|
+
- class
|
|
14461
|
+
- version
|
|
14462
|
+
properties:
|
|
14463
|
+
postcode:
|
|
14464
|
+
type: string
|
|
14465
|
+
maxLength: 8
|
|
14466
|
+
description: The individual postcode.
|
|
14467
|
+
example: BA1 0AA
|
|
14468
|
+
collapse:
|
|
14469
|
+
type: integer
|
|
14470
|
+
minimum: 0
|
|
14471
|
+
maximum: 18
|
|
14472
|
+
description: |
|
|
14473
|
+
The individual hazard score value for collapsible deposits - rocks and
|
|
14474
|
+
soils that may collapse when a load is placed on them, especially when
|
|
14475
|
+
saturated.
|
|
14476
|
+
example: 0
|
|
14477
|
+
rsand:
|
|
14478
|
+
type: integer
|
|
14479
|
+
minimum: 0
|
|
14480
|
+
maximum: 22
|
|
14481
|
+
description: |
|
|
14482
|
+
The individual hazard score value for running sand - loosely packed
|
|
14483
|
+
sandy layers that can become fluidised by water flowing through them,
|
|
14484
|
+
potentially removing support from overlying buildings.
|
|
14485
|
+
example: 6
|
|
14486
|
+
comp:
|
|
14487
|
+
type: integer
|
|
14488
|
+
minimum: 0
|
|
14489
|
+
maximum: 148
|
|
14490
|
+
description: |
|
|
14491
|
+
The individual hazard score value for compressible ground - very soft
|
|
14492
|
+
materials like peat or some clays that may compress if loaded by
|
|
14493
|
+
overlying structures or if the groundwater level changes.
|
|
14494
|
+
example: 74
|
|
14495
|
+
sswell:
|
|
14496
|
+
type: integer
|
|
14497
|
+
minimum: 0
|
|
14498
|
+
maximum: 1000
|
|
14499
|
+
description: |
|
|
14500
|
+
The individual hazard score value for shrink-swell - swelling clays
|
|
14501
|
+
that change volume with moisture variation, particularly in the upper
|
|
14502
|
+
two metres of the ground.
|
|
14503
|
+
example: 252
|
|
14504
|
+
solub:
|
|
14505
|
+
type: integer
|
|
14506
|
+
minimum: 0
|
|
14507
|
+
maximum: 73
|
|
14508
|
+
description: |
|
|
14509
|
+
The individual hazard score value for soluble rocks (dissolution) -
|
|
14510
|
+
soluble material dissolving to form underground cavities that reduce
|
|
14511
|
+
support to the ground above.
|
|
14512
|
+
example: 0
|
|
14513
|
+
landslide:
|
|
14514
|
+
type: integer
|
|
14515
|
+
minimum: 0
|
|
14516
|
+
maximum: 787
|
|
14517
|
+
description: |
|
|
14518
|
+
The individual hazard score value for landslide - slope instability
|
|
14519
|
+
causing down-slope movement of materials such as a landslide or
|
|
14520
|
+
rockfall.
|
|
14521
|
+
example: 35
|
|
14522
|
+
total:
|
|
14523
|
+
type: integer
|
|
14524
|
+
minimum: 0
|
|
14525
|
+
maximum: 2000
|
|
14526
|
+
description: The total combined score of all 6 hazards.
|
|
14527
|
+
example: 367
|
|
14528
|
+
class:
|
|
14529
|
+
type: string
|
|
14530
|
+
enum:
|
|
14531
|
+
- Low
|
|
14532
|
+
- Low-Medium
|
|
14533
|
+
- Medium
|
|
14534
|
+
- Medium-High
|
|
14535
|
+
- High
|
|
14536
|
+
description: |
|
|
14537
|
+
Classification of the insurance hazard potential, dividing `total`
|
|
14538
|
+
into 5 equal categories: Low (0-399), Low-Medium (400-799), Medium
|
|
14539
|
+
(800-1199), Medium-High (1200-1599), High (1600-2000).
|
|
14540
|
+
example: Low
|
|
14541
|
+
version:
|
|
14542
|
+
type: string
|
|
14543
|
+
maxLength: 50
|
|
14544
|
+
description: |
|
|
14545
|
+
Dataset name and version number, encoding the GeoSure version and the
|
|
14546
|
+
OS Code-Point Open version used in production.
|
|
14547
|
+
example: GILP_v8_2025.3
|
|
13190
14548
|
parameters:
|
|
13191
14549
|
ApiKeyParam:
|
|
13192
14550
|
description: |
|
|
@@ -13709,6 +15067,17 @@ x-tagGroups:
|
|
|
13709
15067
|
- usps_address
|
|
13710
15068
|
- uk_address
|
|
13711
15069
|
- ab_address
|
|
15070
|
+
- abp_address
|
|
15071
|
+
- bev_address
|
|
13712
15072
|
- ecaf_address
|
|
13713
15073
|
- ecad_address
|
|
15074
|
+
- gnaf_address
|
|
15075
|
+
- fodbosa_address
|
|
15076
|
+
- cannar_address
|
|
15077
|
+
- sdfi_address
|
|
15078
|
+
- upujp_address
|
|
15079
|
+
- mois_address
|
|
15080
|
+
- kadaster_address
|
|
15081
|
+
- kartverket_address
|
|
15082
|
+
- here_address
|
|
13714
15083
|
- geonames_place
|