@addresszen/openapi 3.5.2 → 3.7.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.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  openapi: 3.0.3
2
2
  info:
3
- version: 3.5.2
3
+ version: 3.7.0
4
4
  license:
5
5
  name: AGPLv3
6
6
  url: https://opensource.org/licenses/AGPL-3.0
@@ -105,7 +105,7 @@ tags:
105
105
  description: |
106
106
  The Licensee resource represents an alternate legal End User of our data who may not be the same entity as the owners of the account.
107
107
 
108
- The concept of Licensees underpins our sublicensing platform, which allows users to license multiple external organizations or individuals to access data under the same account.
108
+ The concept of Licensees underpins our sublicensing platform, which allows users to license multiple external organisations or individuals to access data under the same account.
109
109
 
110
110
  Sublicensing is ideal for platform vendors, who provide services to multiple clients who in turn each have their own users.
111
111
  - name: Configs
@@ -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: |
@@ -731,13 +808,13 @@ paths:
731
808
 
732
809
  ### Deciding on an Acceptable Confidence Score Threshold
733
810
 
734
- Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organization name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
811
+ Different address cleanse projects can have radically different inputs. However, within each project, the inputs tend to repeat the same errors. For instance, some input datasets may be exclusively inputted manually and be prone to typos. Others may have a persistently missing datapoint such as organisation name or postcode. For this reason, it is important to understand that there is no absolute Confidence Score threshold. Instead, the acceptable confidence score must be determined on a project by project basis based on systematic errors present in the data and business goals.
735
812
 
736
813
  When determining an acceptable Confidence Score threshold you should load a subset of the dataset into a spreadsheet application like Excel and sort on the score. Scrolling from top-to-bottom you will be able to observe matches from best to worst. As you start to hit the lower quality searches, you will be able to roughly determine:
737
814
  - Which confidence scores indicate ambiguous matches (i.e. up to building level only)
738
815
  - Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)
739
816
 
740
- Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the thoroughfare or building name only? Are accurate organization names an important feature?
817
+ Depending on your business goals, you can also use the Match Levels to determine an acceptable match. For instance, do you need to match up to the thoroughfare or building name only? Are accurate organisation names an important feature?
741
818
  operationId: AddressCleanse
742
819
  parameters:
743
820
  - $ref: '#/components/parameters/ApiKeyParam'
@@ -1233,7 +1310,7 @@ paths:
1233
1310
 
1234
1311
  All filters can accept multiple terms unless stated otherwise below.
1235
1312
 
1236
- Multiple filters can also be combined. E.g. Restrict results to small user organizations in the N postcode area: `su_organisation_indicator=Y&postcode_area=n`. Multiple filters are `AND`'ed, i.e. each additional filter narrows the result set.
1313
+ Multiple filters can also be combined. E.g. Restrict results to small user organisations in the N postcode area: `su_organisation_indicator=Y&postcode_area=n`. Multiple filters are `AND`'ed, i.e. each additional filter narrows the result set.
1237
1314
 
1238
1315
  A combined maximum of 5 terms are allowed across all filters.
1239
1316
 
@@ -1799,6 +1876,30 @@ paths:
1799
1876
  application/json:
1800
1877
  schema:
1801
1878
  $ref: '#/components/schemas/BadRequestResponse'
1879
+ /keys/{key}/licensees/{licensee}/regenerate-key:
1880
+ post:
1881
+ tags:
1882
+ - Licensees
1883
+ summary: Regenerate Key
1884
+ description: Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key.
1885
+ operationId: RegenerateLicenseeKey
1886
+ parameters:
1887
+ - $ref: '#/components/parameters/ApiKeyPathParam'
1888
+ - $ref: '#/components/parameters/LicenseePathParam'
1889
+ - $ref: '#/components/parameters/UserTokenParam'
1890
+ responses:
1891
+ '200':
1892
+ description: Success
1893
+ content:
1894
+ application/json:
1895
+ schema:
1896
+ $ref: '#/components/schemas/LicenseeResponse'
1897
+ '400':
1898
+ description: Bad Request
1899
+ content:
1900
+ application/json:
1901
+ schema:
1902
+ $ref: '#/components/schemas/BadRequestResponse'
1802
1903
  /keys/{key}/configs:
1803
1904
  get:
1804
1905
  tags:
@@ -2147,6 +2248,193 @@ paths:
2147
2248
  curl -k -G 'https://api.addresszen.com/v1/phone_numbers' \
2148
2249
  -d 'api_key=iddqd' \
2149
2250
  --data-urlencode 'query=02071128019'
2251
+ /sign_up:
2252
+ post:
2253
+ tags:
2254
+ - Sign Up
2255
+ summary: Mint CLI Signup Token
2256
+ description: |
2257
+ 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.
2258
+
2259
+ 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.
2260
+ operationId: SignUpMintToken
2261
+ requestBody:
2262
+ required: true
2263
+ content:
2264
+ application/json:
2265
+ schema:
2266
+ type: object
2267
+ required:
2268
+ - email
2269
+ - name
2270
+ - org_name
2271
+ - org_address_line_one
2272
+ - org_post_town
2273
+ - org_postcode
2274
+ - org_country_code
2275
+ properties:
2276
+ email:
2277
+ type: string
2278
+ format: email
2279
+ minLength: 1
2280
+ description: Account holder's email address.
2281
+ name:
2282
+ type: string
2283
+ minLength: 1
2284
+ description: Account holder's full name.
2285
+ org_name:
2286
+ type: string
2287
+ minLength: 1
2288
+ description: Organisation name.
2289
+ org_address_line_one:
2290
+ type: string
2291
+ minLength: 1
2292
+ org_address_line_two:
2293
+ type: string
2294
+ org_address_line_three:
2295
+ type: string
2296
+ org_post_town:
2297
+ type: string
2298
+ minLength: 1
2299
+ org_postcode:
2300
+ type: string
2301
+ minLength: 1
2302
+ org_country_code:
2303
+ type: string
2304
+ minLength: 2
2305
+ description: ISO 3166-1 alpha-2 country code.
2306
+ responses:
2307
+ '200':
2308
+ description: Token minted
2309
+ content:
2310
+ application/json:
2311
+ schema:
2312
+ type: object
2313
+ required:
2314
+ - code
2315
+ - message
2316
+ - result
2317
+ properties:
2318
+ code:
2319
+ type: integer
2320
+ example: 2000
2321
+ message:
2322
+ type: string
2323
+ example: Success
2324
+ result:
2325
+ type: object
2326
+ required:
2327
+ - cli_token
2328
+ - signup_url
2329
+ properties:
2330
+ cli_token:
2331
+ type: string
2332
+ description: Random URL-safe token (base64url). Used by the CLI to poll for credentials.
2333
+ signup_url:
2334
+ type: string
2335
+ format: uri
2336
+ description: Prefilled accounts web URL. The user opens this in a browser to complete signup.
2337
+ '400':
2338
+ description: Bad Request
2339
+ content:
2340
+ application/json:
2341
+ schema:
2342
+ $ref: '#/components/schemas/BadRequestResponse'
2343
+ /sign_up/{cli_token}:
2344
+ get:
2345
+ tags:
2346
+ - Sign Up
2347
+ summary: Poll CLI Signup Token
2348
+ description: |
2349
+ 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`.
2350
+
2351
+ - `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.
2352
+ - `200 OK` — User and first API key exist. Credentials are returned exactly once; subsequent polls return `410 Gone`.
2353
+ - `410 Gone` — Token has expired (per the `cli_token_expires_at` set by Rails on the User record) or has already been claimed.
2354
+ operationId: SignUpClaim
2355
+ parameters:
2356
+ - name: cli_token
2357
+ in: path
2358
+ required: true
2359
+ description: The token returned by `POST /sign_up`.
2360
+ schema:
2361
+ type: string
2362
+ minLength: 1
2363
+ responses:
2364
+ '200':
2365
+ description: Credentials ready
2366
+ content:
2367
+ application/json:
2368
+ schema:
2369
+ type: object
2370
+ required:
2371
+ - code
2372
+ - message
2373
+ - result
2374
+ properties:
2375
+ code:
2376
+ type: integer
2377
+ example: 2000
2378
+ message:
2379
+ type: string
2380
+ example: Success
2381
+ result:
2382
+ type: object
2383
+ required:
2384
+ - user_token
2385
+ - test_api_key
2386
+ - user_id
2387
+ properties:
2388
+ user_token:
2389
+ type: string
2390
+ description: User-level token used to manage account resources via the api.
2391
+ test_api_key:
2392
+ type: string
2393
+ description: Initial test API key for the account.
2394
+ user_id:
2395
+ type: string
2396
+ description: Internal api user id.
2397
+ '202':
2398
+ description: Pending — keep polling
2399
+ content:
2400
+ application/json:
2401
+ schema:
2402
+ type: object
2403
+ required:
2404
+ - code
2405
+ - message
2406
+ - result
2407
+ properties:
2408
+ code:
2409
+ type: integer
2410
+ example: 2020
2411
+ message:
2412
+ type: string
2413
+ example: Pending
2414
+ result:
2415
+ type: object
2416
+ required:
2417
+ - status
2418
+ properties:
2419
+ status:
2420
+ type: string
2421
+ enum:
2422
+ - pending
2423
+ '410':
2424
+ description: Signup token expired or already claimed
2425
+ content:
2426
+ application/json:
2427
+ schema:
2428
+ type: object
2429
+ required:
2430
+ - code
2431
+ - message
2432
+ properties:
2433
+ code:
2434
+ type: integer
2435
+ example: 4100
2436
+ message:
2437
+ type: string
2150
2438
  components:
2151
2439
  schemas:
2152
2440
  ecaf:
@@ -2157,6 +2445,8 @@ components:
2157
2445
  $ref: '#/components/schemas/GeonamesPlace'
2158
2446
  here:
2159
2447
  $ref: '#/components/schemas/HereAddress'
2448
+ gilp:
2449
+ $ref: '#/components/schemas/GilpGroundStability'
2160
2450
  ID:
2161
2451
  title: ID
2162
2452
  type: string
@@ -2190,7 +2480,7 @@ components:
2190
2480
  paf_line1:
2191
2481
  title: Line 1
2192
2482
  type: string
2193
- description: First Address Line. Often contains premise and thoroughfare information. In the case of a commercial premise, the first line is always the full name of the registered organization. Never empty.
2483
+ description: First Address Line. Often contains premise and thoroughfare information. In the case of a commercial premise, the first line is always the full name of the registered organisation. Never empty.
2194
2484
  example: Prime Minister &amp; First Lord of Treasury
2195
2485
  paf_line2:
2196
2486
  title: Line 2
@@ -2338,13 +2628,13 @@ components:
2338
2628
  paf_department_name:
2339
2629
  title: Department Name
2340
2630
  type: string
2341
- description: Used to supplement Organization Name to identify a department within the organization.
2631
+ description: Used to supplement Organisation Name to identify a department within the organisation.
2342
2632
  maxLength: 60
2343
2633
  example: ''
2344
2634
  paf_organisation_name:
2345
- title: Organization Name
2635
+ title: Organisation Name
2346
2636
  type: string
2347
- description: Used to supplement Organization Name to identify a department within the organization
2637
+ description: Name of the business or organisation receiving mail at this delivery point
2348
2638
  maxLength: 60
2349
2639
  example: Prime Minister &amp; First Lord Of The Treasury
2350
2640
  paf_postcode_type:
@@ -2358,9 +2648,9 @@ components:
2358
2648
 
2359
2649
  On average there are 19 Delivery Points per Postcode. However this can vary between 1 and, in some cases, 100. There will never be more than 100 Delivery Points on a Postcode.
2360
2650
  paf_su_organisation_indicator:
2361
- title: Small User Organization Indicator
2651
+ title: Small User Organisation Indicator
2362
2652
  type: string
2363
- description: Small User Organization Indicator can have the values 'Y' or space. A value of 'Y' indicates that a Small User Organization is present at this address.
2653
+ description: Small User Organisation Indicator can have the values 'Y' or space. A value of 'Y' indicates that a Small User Organisation is present at this address.
2364
2654
  example: 'Y'
2365
2655
  paf_delivery_point_suffix:
2366
2656
  title: Delivery Point Suffix
@@ -3005,76 +3295,1035 @@ components:
3005
3295
  last_update_date:
3006
3296
  title: Last Update Date
3007
3297
  type: string
3008
- format: date
3009
- description: The latest date on which any of the attributes on this record were last changed.
3010
- island:
3011
- title: Island
3298
+ format: date
3299
+ description: The latest date on which any of the attributes on this record were last changed.
3300
+ island:
3301
+ title: Island
3302
+ type: string
3303
+ maxLength: 50
3304
+ description: Third level of geographic area name to record island names where appropriate.
3305
+ change_code:
3306
+ title: Change Code
3307
+ type: string
3308
+ maxLength: 50
3309
+ 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
3310
+ enum:
3311
+ - I
3312
+ - U
3313
+ - D
3314
+ building_name:
3315
+ title: Building Name
3316
+ type: string
3317
+ maxLength: 110
3318
+ description: The building name is a description applied to a single address or a group of addresses.
3319
+ building_number:
3320
+ title: Building Number
3321
+ type: string
3322
+ maxLength: 13
3323
+ description: The building number is a number or range of numbers given to a single address or a group of addresses.
3324
+ sub_building:
3325
+ title: Sub-building
3326
+ type: string
3327
+ maxLength: 110
3328
+ description: The sub-building name and/or number for the address record.
3329
+ postcode:
3330
+ title: Postcode
3331
+ type: string
3332
+ maxLength: 8
3333
+ description: A postcode assigned by Royal Mail for the address record.
3334
+ po_box:
3335
+ title: PO Box
3336
+ type: string
3337
+ maxLength: 13
3338
+ description: Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number.
3339
+ organisation:
3340
+ title: Organisation
3341
+ type: string
3342
+ maxLength: 100
3343
+ description: The organisation name is the business name given, when appropriate, to an address record.
3344
+ country:
3345
+ $ref: '#/components/schemas/paf_country'
3346
+ country_iso:
3347
+ $ref: '#/components/schemas/paf_country_iso'
3348
+ county:
3349
+ $ref: '#/components/schemas/paf_county'
3350
+ district:
3351
+ $ref: '#/components/schemas/paf_district'
3352
+ ward:
3353
+ $ref: '#/components/schemas/paf_ward'
3354
+ traditional_county:
3355
+ $ref: '#/components/schemas/paf_traditional_county'
3356
+ administrative_county:
3357
+ $ref: '#/components/schemas/paf_administrative_county'
3358
+ postal_county:
3359
+ $ref: '#/components/schemas/paf_postal_county'
3360
+ AbAddress:
3361
+ title: AddressBase Core
3362
+ description: |-
3363
+ Address from Ordnance Survey AddressBase Core dataset.
3364
+
3365
+ Please contact us to have this enabled on your account.
3366
+
3367
+ All AddressBase Core address have a UPRN and a rooftop geolocation available however they may not have a UDPRN.
3368
+ allOf:
3369
+ - $ref: '#/components/schemas/PafBase'
3370
+ - type: object
3371
+ required:
3372
+ - native
3373
+ properties:
3374
+ country_iso:
3375
+ enum:
3376
+ - GBR
3377
+ dataset:
3378
+ type: string
3379
+ enum:
3380
+ - ab
3381
+ country_iso_2:
3382
+ enum:
3383
+ - GB
3384
+ language:
3385
+ enum:
3386
+ - en
3387
+ postcode_type:
3388
+ title: Postcode Type
3389
+ enum:
3390
+ - ''
3391
+ type: string
3392
+ country:
3393
+ enum:
3394
+ - England
3395
+ - Scotland
3396
+ - Wales
3397
+ native:
3398
+ $ref: '#/components/schemas/AddressBaseCore'
3399
+ AddressBasePremium:
3400
+ title: AddressBase Premium
3401
+ description: |
3402
+ A flat, consolidated row from the `abp.addresses` materialised view of
3403
+ Ordnance Survey's AddressBase Premium dataset.
3404
+
3405
+ Each row joins the BLPU spine (one per UPRN) to the Royal Mail Delivery
3406
+ Point Address (DPA), plus the current Classification and Organisation
3407
+ records (where `end_date IS NULL`), the English-preferred LPI, its Street
3408
+ and Street Descriptor, and pivoted Application Cross References.
3409
+
3410
+ Cardinality is one row per Royal Mail delivery point (UDPRN) for postal
3411
+ UPRNs; non-postal UPRNs (in BLPU but with no Royal Mail delivery point -
3412
+ utility infrastructure, commercial-only sites, etc.) get a single row with
3413
+ `udprn` and the DPA columns NULL. Fallbacks for non-postal UPRNs: `postcode`
3414
+ falls back to BLPU's `postcode_locator`; `organisation_name` falls back to
3415
+ the Organisation record's `organisation`. The unique key is the composite
3416
+ `(uprn, udprn)`.
3417
+
3418
+ Audit-date columns are prefixed with their source table name
3419
+ (`blpu_*`, `dpa_*`, `lpi_*`, `street_*`, `sd_*`, etc.) to avoid clashes.
3420
+ type: object
3421
+ required:
3422
+ - uprn
3423
+ - logical_status
3424
+ - country
3425
+ - latitude
3426
+ - longitude
3427
+ - x_coordinate
3428
+ - y_coordinate
3429
+ - local_custodian_code
3430
+ - addressbase_postal
3431
+ - postcode_locator
3432
+ - multi_occ_count
3433
+ - postcode
3434
+ properties:
3435
+ uprn:
3436
+ title: Unique Property Reference Number
3437
+ type: string
3438
+ maxLength: 12
3439
+ description: |
3440
+ Unique Property Reference Number - a persistent identifier for a Basic
3441
+ Land and Property Unit (BLPU). Up to 12 digits. Primary key for the
3442
+ BLPU spine. Carried as a string to preserve precision (12-digit values
3443
+ can exceed Number.MAX_SAFE_INTEGER).
3444
+ parent_uprn:
3445
+ title: Parent UPRN
3446
+ type: string
3447
+ maxLength: 12
3448
+ nullable: true
3449
+ description: |
3450
+ UPRN of the parent record where a parent-child relationship exists
3451
+ (flats sharing a building entrance, sub-units of a parent property).
3452
+ logical_status:
3453
+ title: Logical Status Code
3454
+ type: integer
3455
+ description: |
3456
+ Logical lifecycle status of the BLPU. `1` Approved, `6` Provisional,
3457
+ `8` Historical. BLPU records do not take value `3` (alternative).
3458
+ blpu_state:
3459
+ title: BLPU State Code
3460
+ type: string
3461
+ nullable: true
3462
+ description: |
3463
+ Physical state of the BLPU. `1` Under construction, `2` In use,
3464
+ `3` Unoccupied / vacant / derelict, `4` No longer existing,
3465
+ `6` Planning permission granted.
3466
+ blpu_state_date:
3467
+ title: BLPU State Date
3468
+ type: string
3469
+ format: date-time
3470
+ nullable: true
3471
+ description: Date the BLPU achieved its current state.
3472
+ country:
3473
+ title: Country Code
3474
+ type: string
3475
+ maxLength: 1
3476
+ description: |
3477
+ Country containing the BLPU, determined by intersection with OS
3478
+ Boundary-Line. `E` England, `W` Wales, `S` Scotland, `N` Northern
3479
+ Ireland, `L` Channel Islands, `M` Isle of Man, `J` not assigned to a
3480
+ country.
3481
+ latitude:
3482
+ title: Latitude (ETRS89)
3483
+ type: number
3484
+ format: double
3485
+ minimum: -90
3486
+ maximum: 90
3487
+ description: Latitude coordinate in the ETRS89 coordinate reference system.
3488
+ longitude:
3489
+ title: Longitude (ETRS89)
3490
+ type: number
3491
+ format: double
3492
+ minimum: -180
3493
+ maximum: 180
3494
+ description: Longitude coordinate in the ETRS89 coordinate reference system.
3495
+ x_coordinate:
3496
+ title: Eastings (OSGB36 British National Grid)
3497
+ type: number
3498
+ format: double
3499
+ description: |
3500
+ X location in metres on the OSGB36 British National Grid
3501
+ (precision 8, scale 2).
3502
+ y_coordinate:
3503
+ title: Northings (OSGB36 British National Grid)
3504
+ type: number
3505
+ format: double
3506
+ description: |
3507
+ Y location in metres on the OSGB36 British National Grid
3508
+ (precision 9, scale 2).
3509
+ rpc:
3510
+ title: Representative Point Code
3511
+ type: integer
3512
+ nullable: true
3513
+ description: |
3514
+ Representative Point Code - reliability of the BLPU's coordinate, as
3515
+ assessed by the local authority custodian. `1` Central internal,
3516
+ `2` General internal, `3` Transitional, `4` Street location,
3517
+ `5` Postcode unit, `9` Low accuracy.
3518
+ local_custodian_code:
3519
+ title: Local Custodian Code
3520
+ type: integer
3521
+ maximum: 9999
3522
+ description: |
3523
+ 4-digit identifier of the Local Authority responsible for maintaining
3524
+ the record.
3525
+ addressbase_postal:
3526
+ title: AddressBase Postal Code
3527
+ type: string
3528
+ maxLength: 1
3529
+ description: |
3530
+ Whether the address can receive mail per AddressBase rules. `D` linked
3531
+ to PAF, `N` not a postal address, `C` postal with a PAF-linked parent,
3532
+ `L` postal based on Local Authority information.
3533
+ postcode_locator:
3534
+ title: Postcode Locator
3535
+ type: string
3536
+ maxLength: 8
3537
+ description: |
3538
+ Royal Mail PAF postcode, locally assigned by the custodian, or
3539
+ spatially derived where no PAF match exists. Up to 8 characters.
3540
+ multi_occ_count:
3541
+ title: Multi-occupancy Count
3542
+ type: integer
3543
+ maximum: 9999
3544
+ description: |
3545
+ Count of child UPRNs for this record where parent-child relationships
3546
+ exist.
3547
+ blpu_start_date:
3548
+ title: BLPU Start Date
3549
+ type: string
3550
+ format: date-time
3551
+ nullable: true
3552
+ description: Date the address record was inserted into the database.
3553
+ blpu_end_date:
3554
+ title: BLPU End Date
3555
+ type: string
3556
+ format: date-time
3557
+ nullable: true
3558
+ description: Date the address record was closed in the database.
3559
+ blpu_last_update_date:
3560
+ title: BLPU Last Update Date
3561
+ type: string
3562
+ format: date-time
3563
+ nullable: true
3564
+ description: Date of the most recent attribute change on the BLPU record.
3565
+ blpu_entry_date:
3566
+ title: BLPU Entry Date
3567
+ type: string
3568
+ format: date-time
3569
+ nullable: true
3570
+ description: Date the record was inserted into the Local Authority database.
3571
+ udprn:
3572
+ title: Unique Delivery Point Reference Number
3573
+ type: string
3574
+ maxLength: 8
3575
+ nullable: true
3576
+ description: |
3577
+ Royal Mail's Unique Delivery Point Reference Number - primary key for
3578
+ the Delivery Point Address (DPA) record. Up to 8 digits. NULL for
3579
+ non-postal UPRNs.
3580
+ organisation_name:
3581
+ title: Organisation Name
3582
+ type: string
3583
+ maxLength: 100
3584
+ nullable: true
3585
+ description: |
3586
+ Royal Mail-recognised organisation name from DPA, falling back to the
3587
+ AddressBase Organisation record's `organisation` when DPA is absent.
3588
+ legal_name:
3589
+ title: Legal Name
3590
+ type: string
3591
+ maxLength: 60
3592
+ nullable: true
3593
+ description: Registered legal name from the AddressBase Organisation record.
3594
+ department_name:
3595
+ title: Department Name
3596
+ type: string
3597
+ maxLength: 60
3598
+ nullable: true
3599
+ description: |
3600
+ Subdivision of an organisation that receives mail at a distinct
3601
+ delivery point. Requires `organisation_name` to be present.
3602
+ sub_building_name:
3603
+ title: Sub-building Name
3604
+ type: string
3605
+ maxLength: 30
3606
+ nullable: true
3607
+ description: |
3608
+ Property subdivision identifier (e.g. flat number). Requires
3609
+ `building_name` or `building_number`.
3610
+ building_name:
3611
+ title: Building Name
3612
+ type: string
3613
+ maxLength: 50
3614
+ nullable: true
3615
+ description: |
3616
+ Descriptive name applied to a single building or small group of
3617
+ buildings.
3618
+ building_number:
3619
+ title: Building Number
3620
+ type: integer
3621
+ maximum: 9999
3622
+ nullable: true
3623
+ description: |
3624
+ Numeric identifier for a single building or small group of buildings.
3625
+ Complex number formats (e.g. "12A") go in `building_name` or
3626
+ `sub_building_name`.
3627
+ dependent_thoroughfare:
3628
+ title: Dependent Thoroughfare
3629
+ type: string
3630
+ maxLength: 80
3631
+ nullable: true
3632
+ description: |
3633
+ Named thoroughfare within another named thoroughfare. Requires
3634
+ `thoroughfare` to be present.
3635
+ thoroughfare:
3636
+ title: Thoroughfare
3637
+ type: string
3638
+ maxLength: 80
3639
+ nullable: true
3640
+ description: Road, track or named access route with Royal Mail delivery points.
3641
+ double_dependent_locality:
3642
+ title: Double Dependent Locality
3643
+ type: string
3644
+ maxLength: 35
3645
+ nullable: true
3646
+ description: |
3647
+ Estate or area name used to distinguish similar thoroughfares within a
3648
+ dependent locality. Requires `dependent_locality`.
3649
+ dependent_locality:
3650
+ title: Dependent Locality
3651
+ type: string
3652
+ maxLength: 35
3653
+ nullable: true
3654
+ description: Subdivision of a post town to differentiate same-name thoroughfares.
3655
+ post_town:
3656
+ title: Post Town
3657
+ type: string
3658
+ maxLength: 30
3659
+ nullable: true
3660
+ description: |
3661
+ Town or city of the Royal Mail sorting office serving this record.
3662
+ Uppercased. NULL for non-postal UPRNs (no Royal Mail delivery point).
3663
+ postcode:
3664
+ title: Postcode
3665
+ type: string
3666
+ maxLength: 8
3667
+ description: |
3668
+ Royal Mail postcode from DPA, falling back to BLPU's `postcode_locator`
3669
+ when no Royal Mail delivery point exists. Uppercased, with single space
3670
+ between outward and inward portions.
3671
+ postcode_type:
3672
+ title: Postcode Type Code
3673
+ type: string
3674
+ maxLength: 1
3675
+ nullable: true
3676
+ description: |
3677
+ Royal Mail postal-user category. `S` Small user (e.g. a residential
3678
+ property), `L` Large user (e.g. a large commercial company).
3679
+ delivery_point_suffix:
3680
+ title: Delivery Point Suffix
3681
+ type: string
3682
+ maxLength: 2
3683
+ nullable: true
3684
+ description: |
3685
+ Two-character code uniquely identifying an individual delivery point
3686
+ within a postcode (Royal Mail DPS).
3687
+ po_box_number:
3688
+ title: PO Box Number
3689
+ type: string
3690
+ maxLength: 6
3691
+ nullable: true
3692
+ description: Post Office Box number.
3693
+ welsh_dependent_thoroughfare:
3694
+ title: Welsh Dependent Thoroughfare
3695
+ type: string
3696
+ maxLength: 80
3697
+ nullable: true
3698
+ description: Welsh translation of `dependent_thoroughfare`. Requires `welsh_thoroughfare`.
3699
+ welsh_thoroughfare:
3700
+ title: Welsh Thoroughfare
3701
+ type: string
3702
+ maxLength: 80
3703
+ nullable: true
3704
+ description: Welsh translation of `thoroughfare`.
3705
+ welsh_double_dependent_locality:
3706
+ title: Welsh Double Dependent Locality
3707
+ type: string
3708
+ maxLength: 36
3709
+ nullable: true
3710
+ description: Welsh translation of `double_dependent_locality`. Requires `welsh_dependent_locality`.
3711
+ welsh_dependent_locality:
3712
+ title: Welsh Dependent Locality
3713
+ type: string
3714
+ maxLength: 35
3715
+ nullable: true
3716
+ description: Welsh translation of `dependent_locality`.
3717
+ welsh_post_town:
3718
+ title: Welsh Post Town
3719
+ type: string
3720
+ maxLength: 30
3721
+ nullable: true
3722
+ description: Welsh translation of `post_town`.
3723
+ dpa_process_date:
3724
+ title: DPA Process Date
3725
+ type: string
3726
+ format: date-time
3727
+ nullable: true
3728
+ description: Date the PAF record was processed into the database.
3729
+ dpa_start_date:
3730
+ title: DPA Start Date
3731
+ type: string
3732
+ format: date-time
3733
+ nullable: true
3734
+ description: Date the address record was matched to the Delivery Point Address.
3735
+ dpa_end_date:
3736
+ title: DPA End Date
3737
+ type: string
3738
+ format: date-time
3739
+ nullable: true
3740
+ description: Date the PAF record no longer existed in the database.
3741
+ dpa_last_update_date:
3742
+ title: DPA Last Update Date
3743
+ type: string
3744
+ format: date-time
3745
+ nullable: true
3746
+ description: Date any attribute on the DPA record was last changed.
3747
+ dpa_entry_date:
3748
+ title: DPA Entry Date
3749
+ type: string
3750
+ format: date-time
3751
+ nullable: true
3752
+ description: Date the PAF record was first loaded by GeoPlace.
3753
+ classification_code:
3754
+ title: Classification Code
3755
+ type: string
3756
+ maxLength: 6
3757
+ nullable: true
3758
+ description: |
3759
+ Current AddressBase classification code (e.g. `RD` residential,
3760
+ `CR` commercial retail). Top-level categories: `R` Residential,
3761
+ `C` Commercial, `L` Land, `M` Military, `O` Other, `P` Parent shell,
3762
+ `U` Unclassified, `X` Dual use, `Z` Object of interest. NULL when no
3763
+ current classification row exists for the UPRN.
3764
+ class_scheme:
3765
+ title: Classification Scheme
3766
+ type: string
3767
+ maxLength: 60
3768
+ nullable: true
3769
+ description: Name of the classification scheme applied to this record.
3770
+ scheme_version:
3771
+ title: Classification Scheme Version
3772
+ type: number
3773
+ nullable: true
3774
+ description: Version number of the classification scheme in use (e.g. `1.0`).
3775
+ classification_start_date:
3776
+ title: Classification Start Date
3777
+ type: string
3778
+ format: date-time
3779
+ nullable: true
3780
+ description: Date the classification record was first loaded into the database.
3781
+ classification_end_date:
3782
+ title: Classification End Date
3783
+ type: string
3784
+ format: date-time
3785
+ nullable: true
3786
+ description: Date the classification record ceased to exist.
3787
+ classification_last_update_date:
3788
+ title: Classification Last Update Date
3789
+ type: string
3790
+ format: date-time
3791
+ nullable: true
3792
+ description: Date of the most recent attribute change on the classification record.
3793
+ classification_entry_date:
3794
+ title: Classification Entry Date
3795
+ type: string
3796
+ format: date-time
3797
+ nullable: true
3798
+ description: |
3799
+ Date the associated address record was inserted into the Local
3800
+ Authority database.
3801
+ organisation_start_date:
3802
+ title: Organisation Start Date
3803
+ type: string
3804
+ format: date-time
3805
+ nullable: true
3806
+ description: Date the organisation record was initially loaded into the database.
3807
+ organisation_end_date:
3808
+ title: Organisation End Date
3809
+ type: string
3810
+ format: date-time
3811
+ nullable: true
3812
+ description: Date the organisation record ceased to exist.
3813
+ organisation_last_update_date:
3814
+ title: Organisation Last Update Date
3815
+ type: string
3816
+ format: date-time
3817
+ nullable: true
3818
+ description: Date of the most recent attribute change on the organisation record.
3819
+ organisation_entry_date:
3820
+ title: Organisation Entry Date
3821
+ type: string
3822
+ format: date-time
3823
+ nullable: true
3824
+ description: Date the UPRN was entered into the Local Authority database.
3825
+ lpi_key:
3826
+ title: LPI Key
3827
+ type: string
3828
+ maxLength: 14
3829
+ nullable: true
3830
+ description: Unique identifier and primary key for the LPI record.
3831
+ lpi_language:
3832
+ title: LPI Language Code
3833
+ type: string
3834
+ maxLength: 3
3835
+ nullable: true
3836
+ description: |
3837
+ Language used for this LPI record. `ENG` English, `CYM` Welsh,
3838
+ `GAE` Gaelic (Scottish), `BIL` Bilingual.
3839
+ lpi_logical_status:
3840
+ title: LPI Logical Status Code
3841
+ type: integer
3842
+ nullable: true
3843
+ description: |
3844
+ Logical status of the LPI record. `1` Approved, `3` Alternative,
3845
+ `6` Provisional, `8` Historical.
3846
+ lpi_start_date:
3847
+ title: LPI Start Date
3848
+ type: string
3849
+ format: date-time
3850
+ nullable: true
3851
+ description: Date the LPI was first loaded into the database.
3852
+ lpi_end_date:
3853
+ title: LPI End Date
3854
+ type: string
3855
+ format: date-time
3856
+ nullable: true
3857
+ description: Date the LPI record ceased to exist.
3858
+ lpi_last_update_date:
3859
+ title: LPI Last Update Date
3860
+ type: string
3861
+ format: date-time
3862
+ nullable: true
3863
+ description: Date of the most recent attribute change on the LPI record.
3864
+ lpi_entry_date:
3865
+ title: LPI Entry Date
3866
+ type: string
3867
+ format: date-time
3868
+ nullable: true
3869
+ description: Date the LPI record was inserted into the Local Authority database.
3870
+ sao_start_number:
3871
+ title: SAO Start Number
3872
+ type: integer
3873
+ maximum: 9999
3874
+ nullable: true
3875
+ description: |
3876
+ Number of the Secondary Addressable Object, or range start. Requires
3877
+ `pao_start_number` or `pao_text` to be present.
3878
+ sao_start_suffix:
3879
+ title: SAO Start Suffix
3880
+ type: string
3881
+ maxLength: 2
3882
+ nullable: true
3883
+ description: Suffix appended to `sao_start_number`. Requires `sao_start_number`.
3884
+ sao_end_number:
3885
+ title: SAO End Number
3886
+ type: integer
3887
+ maximum: 9999
3888
+ nullable: true
3889
+ description: End number of the SAO range. Requires `sao_start_number`.
3890
+ sao_end_suffix:
3891
+ title: SAO End Suffix
3892
+ type: string
3893
+ maxLength: 2
3894
+ nullable: true
3895
+ description: Suffix appended to `sao_end_number`. Requires `sao_end_number`.
3896
+ sao_text:
3897
+ title: SAO Text
3898
+ type: string
3899
+ maxLength: 90
3900
+ nullable: true
3901
+ description: |
3902
+ Building name or description for the Secondary Addressable Object
3903
+ (e.g. "FLAT 1", "UNIT B"). Requires `pao_start_number` or `pao_text`.
3904
+ pao_start_number:
3905
+ title: PAO Start Number
3906
+ type: integer
3907
+ maximum: 9999
3908
+ nullable: true
3909
+ description: |
3910
+ Number of the Primary Addressable Object, or range start. Mandatory if
3911
+ `pao_text` is absent.
3912
+ pao_start_suffix:
3913
+ title: PAO Start Suffix
3914
+ type: string
3915
+ maxLength: 2
3916
+ nullable: true
3917
+ description: Suffix appended to `pao_start_number`. Requires `pao_start_number`.
3918
+ pao_end_number:
3919
+ title: PAO End Number
3920
+ type: integer
3921
+ maximum: 9999
3922
+ nullable: true
3923
+ description: End number of the PAO range. Requires `pao_start_number`.
3924
+ pao_end_suffix:
3925
+ title: PAO End Suffix
3926
+ type: string
3927
+ maxLength: 2
3928
+ nullable: true
3929
+ description: Suffix appended to `pao_end_number`. Requires `pao_end_number`.
3930
+ pao_text:
3931
+ title: PAO Text
3932
+ type: string
3933
+ maxLength: 90
3934
+ nullable: true
3935
+ description: |
3936
+ Building name or description for the Primary Addressable Object.
3937
+ Mandatory if `pao_start_number` is absent.
3938
+ usrn:
3939
+ title: Unique Street Reference Number
3940
+ type: string
3941
+ maxLength: 8
3942
+ nullable: true
3943
+ description: |
3944
+ Unique Street Reference Number linking this LPI to its Street record.
3945
+ Up to 8 digits.
3946
+ usrn_match_indicator:
3947
+ title: USRN Match Indicator Code
3948
+ type: string
3949
+ nullable: true
3950
+ description: |
3951
+ Confidence of the LPI to Street linkage. `1` Matched manually to the
3952
+ nearest accessible Street, `2` Matched spatially to the nearest USRN.
3953
+ area_name:
3954
+ title: Area Name
3955
+ type: string
3956
+ maxLength: 40
3957
+ nullable: true
3958
+ description: Third-level geographic area name such as island or property group.
3959
+ level:
3960
+ title: Level
3961
+ type: string
3962
+ maxLength: 30
3963
+ nullable: true
3964
+ description: Vertical position of the property (e.g. "GROUND FLOOR").
3965
+ official_flag:
3966
+ title: Official Flag Code
3967
+ type: string
3968
+ maxLength: 1
3969
+ nullable: true
3970
+ description: |
3971
+ Whether the LPI corresponds to an entry in the official Street Name and
3972
+ Numbering register. `Y` Official address, `N` Unofficial address.
3973
+ street_record_type:
3974
+ title: Street Record Type Code
3975
+ type: integer
3976
+ nullable: true
3977
+ description: |
3978
+ Description of the street record type. `1` Official designated Street
3979
+ Name, `2` Street Description, `3` Numbered Street, `4` Unofficial
3980
+ Street Description, `9` Description used for LLPG Access.
3981
+ swa_org_ref_naming:
3982
+ title: SWA Org Ref (Naming)
3983
+ type: integer
3984
+ maximum: 9999
3985
+ nullable: true
3986
+ description: |
3987
+ Code identifying the Street Naming and Numbering Authority or Local
3988
+ Highway Authority (DfT-allocated).
3989
+ street_state:
3990
+ title: Street State Code
3991
+ type: string
3992
+ nullable: true
3993
+ description: |
3994
+ Current state of the street. `1` Under construction, `2` Open,
3995
+ `4` Permanently closed.
3996
+ street_state_date:
3997
+ title: Street State Date
3998
+ type: string
3999
+ format: date-time
4000
+ nullable: true
4001
+ description: Date when the street achieved its current state.
4002
+ street_surface:
4003
+ title: Street Surface Code
4004
+ type: string
4005
+ nullable: true
4006
+ description: |
4007
+ Surface finish of the street. `1` Metalled, `2` Unmetalled, `3` Mixed.
4008
+ street_classification:
4009
+ title: Street Classification Code
4010
+ type: string
4011
+ nullable: true
4012
+ description: |
4013
+ Primary classification of the street record. `4` Pedestrian way or
4014
+ footpath, `6` Cycletrack or cycleway, `8` All vehicles, `9` Restricted
4015
+ byway, `10` Bridleway.
4016
+ street_start_date:
4017
+ title: Street Start Date
4018
+ type: string
4019
+ format: date-time
4020
+ nullable: true
4021
+ description: Date this street record or version was inserted into the database.
4022
+ street_last_update_date:
4023
+ title: Street Last Update Date
4024
+ type: string
4025
+ format: date-time
4026
+ nullable: true
4027
+ description: Date when any attribute of the street record was last changed.
4028
+ street_record_entry_date:
4029
+ title: Street Record Entry Date
4030
+ type: string
4031
+ format: date-time
4032
+ nullable: true
4033
+ description: Date the street record was entered into the Local Authority database.
4034
+ street_start_x:
4035
+ title: Street Start Eastings
4036
+ type: number
4037
+ format: double
4038
+ nullable: true
4039
+ description: X coordinate (BNG) for the street start point.
4040
+ street_start_y:
4041
+ title: Street Start Northings
4042
+ type: number
4043
+ format: double
4044
+ nullable: true
4045
+ description: Y coordinate (BNG) for the street start point.
4046
+ street_start_lat:
4047
+ title: Street Start Latitude
4048
+ type: number
4049
+ format: double
4050
+ nullable: true
4051
+ description: Latitude (ETRS89) for the street start point.
4052
+ street_start_long:
4053
+ title: Street Start Longitude
4054
+ type: number
4055
+ format: double
4056
+ nullable: true
4057
+ description: Longitude (ETRS89) for the street start point.
4058
+ street_end_x:
4059
+ title: Street End Eastings
4060
+ type: number
4061
+ format: double
4062
+ nullable: true
4063
+ description: X coordinate (BNG) for the street end point.
4064
+ street_end_y:
4065
+ title: Street End Northings
4066
+ type: number
4067
+ format: double
4068
+ nullable: true
4069
+ description: Y coordinate (BNG) for the street end point.
4070
+ street_end_lat:
4071
+ title: Street End Latitude
4072
+ type: number
4073
+ format: double
4074
+ nullable: true
4075
+ description: Latitude (ETRS89) for the street end point.
4076
+ street_end_long:
4077
+ title: Street End Longitude
4078
+ type: number
4079
+ format: double
4080
+ nullable: true
4081
+ description: Longitude (ETRS89) for the street end point.
4082
+ street_tolerance:
4083
+ title: Street Tolerance
4084
+ type: number
4085
+ nullable: true
4086
+ description: Accuracy of street-coordinate data capture, in metres.
4087
+ street_description:
4088
+ title: Street Description
4089
+ type: string
4090
+ maxLength: 100
4091
+ nullable: true
4092
+ description: Street name, description or street number.
4093
+ street_locality:
4094
+ title: Street Locality
4095
+ type: string
4096
+ maxLength: 35
4097
+ nullable: true
4098
+ description: Geographical area within a town.
4099
+ street_town:
4100
+ title: Street Town
4101
+ type: string
4102
+ maxLength: 30
4103
+ nullable: true
4104
+ description: |
4105
+ Name of the town. Required for Street Record Types `1` and `2`;
4106
+ optional for types `3`, `4` and `9`.
4107
+ adminstrative_area:
4108
+ title: Administrative Area
4109
+ type: string
4110
+ maxLength: 30
4111
+ nullable: true
4112
+ description: |
4113
+ Local Highway Authority name (administrative area / county / unitary
4114
+ authority). Field name spelling preserved verbatim from OS
4115
+ (`ADMINSTRATIVE_AREA`).
4116
+ sd_language:
4117
+ title: Street Descriptor Language Code
4118
+ type: string
4119
+ maxLength: 3
4120
+ nullable: true
4121
+ description: |
4122
+ Language of the street descriptor. `ENG` English, `CYM` Welsh,
4123
+ `GAE` Gaelic (Scottish), `BIL` Bilingual.
4124
+ sd_start_date:
4125
+ title: Street Descriptor Start Date
4126
+ type: string
4127
+ format: date-time
4128
+ nullable: true
4129
+ description: Date the street descriptor record was first created in the database.
4130
+ sd_end_date:
4131
+ title: Street Descriptor End Date
3012
4132
  type: string
3013
- maxLength: 50
3014
- description: Third level of geographic area name to record island names where appropriate.
3015
- change_code:
3016
- title: Change Code
4133
+ format: date-time
4134
+ nullable: true
4135
+ description: Date the street descriptor record ceased to exist.
4136
+ sd_last_update_date:
4137
+ title: Street Descriptor Last Update Date
3017
4138
  type: string
3018
- maxLength: 50
3019
- 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
3020
- enum:
3021
- - I
3022
- - U
3023
- - D
3024
- building_name:
3025
- title: Building Name
4139
+ format: date-time
4140
+ nullable: true
4141
+ description: Date of the most recent attribute change on the street descriptor record.
4142
+ sd_entry_date:
4143
+ title: Street Descriptor Entry Date
3026
4144
  type: string
3027
- maxLength: 110
3028
- description: The building name is a description applied to a single address or a group of addresses.
3029
- building_number:
3030
- title: Building Number
4145
+ format: date-time
4146
+ nullable: true
4147
+ description: |
4148
+ Date the street descriptor record was entered into the Local Authority
4149
+ database.
4150
+ toid:
4151
+ title: TOID (Topography)
3031
4152
  type: string
3032
- maxLength: 13
3033
- description: The building number is a number or range of numbers given to a single address or a group of addresses.
3034
- sub_building:
3035
- title: Sub-building
4153
+ maxLength: 20
4154
+ nullable: true
4155
+ description: |
4156
+ OS MasterMap Topography Layer TOID (cross-reference source `7666MT`)
4157
+ linked to the UPRN.
4158
+ toid_address:
4159
+ title: TOID (Address Layer)
3036
4160
  type: string
3037
- maxLength: 110
3038
- description: The sub-building name and/or number for the address record.
3039
- postcode:
3040
- title: Postcode
4161
+ maxLength: 20
4162
+ nullable: true
4163
+ description: |
4164
+ OS MasterMap Address Layer 2 TOID (cross-reference source `7666MA`)
4165
+ linked to the UPRN.
4166
+ toid_highways:
4167
+ title: TOID (Highways)
3041
4168
  type: string
3042
- maxLength: 8
3043
- description: A postcode assigned by Royal Mail for the address record.
3044
- po_box:
3045
- title: PO Box
4169
+ maxLength: 20
4170
+ nullable: true
4171
+ description: |
4172
+ OS MasterMap Highways TOID (cross-reference source `7666MI`) linked to
4173
+ the UPRN.
4174
+ council_tax_ref:
4175
+ title: Council Tax Reference
3046
4176
  type: string
3047
- maxLength: 13
3048
- description: Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number.
3049
- organisation:
3050
- title: Organization
4177
+ maxLength: 50
4178
+ nullable: true
4179
+ description: |
4180
+ Centrally created Valuation Office Agency council tax reference
4181
+ (cross-reference source `7666VC`) linked to the UPRN.
4182
+ ndr_ref:
4183
+ title: Non-Domestic Rates Reference
3051
4184
  type: string
3052
- maxLength: 100
3053
- description: The organization name is the business name given, when appropriate, to an address record.
3054
- country:
3055
- $ref: '#/components/schemas/paf_country'
3056
- country_iso:
3057
- $ref: '#/components/schemas/paf_country_iso'
3058
- county:
3059
- $ref: '#/components/schemas/paf_county'
3060
- district:
3061
- $ref: '#/components/schemas/paf_district'
3062
- ward:
3063
- $ref: '#/components/schemas/paf_ward'
3064
- traditional_county:
3065
- $ref: '#/components/schemas/paf_traditional_county'
3066
- administrative_county:
3067
- $ref: '#/components/schemas/paf_administrative_county'
3068
- postal_county:
3069
- $ref: '#/components/schemas/paf_postal_county'
3070
- AbAddress:
3071
- title: AddressBase Core
4185
+ maxLength: 50
4186
+ nullable: true
4187
+ description: |
4188
+ Centrally created Valuation Office Agency non-domestic rates reference
4189
+ (cross-reference source `7666VN`) linked to the UPRN.
4190
+ ons_ward_code:
4191
+ title: ONS Ward Code
4192
+ type: string
4193
+ maxLength: 50
4194
+ nullable: true
4195
+ description: |
4196
+ Office for National Statistics ward code (cross-reference source
4197
+ `7666OW`) linked to the UPRN.
4198
+ ons_parish_code:
4199
+ title: ONS Parish Code
4200
+ type: string
4201
+ maxLength: 50
4202
+ nullable: true
4203
+ description: |
4204
+ Office for National Statistics parish code (cross-reference source
4205
+ `7666OP`) linked to the UPRN.
4206
+ example:
4207
+ uprn: '49020496'
4208
+ parent_uprn: '49020495'
4209
+ logical_status: 1
4210
+ blpu_state: '2'
4211
+ blpu_state_date: '2011-10-06T00:00:00.000Z'
4212
+ country: W
4213
+ latitude: 52.4121999
4214
+ longitude: -4.0883772
4215
+ x_coordinate: 258053.87
4216
+ y_coordinate: 281405.95
4217
+ rpc: 2
4218
+ local_custodian_code: 6820
4219
+ addressbase_postal: D
4220
+ postcode_locator: SY23 1JT
4221
+ multi_occ_count: 4
4222
+ blpu_start_date: '2007-10-24T00:00:00.000Z'
4223
+ blpu_end_date: null
4224
+ blpu_last_update_date: '2025-10-13T00:00:00.000Z'
4225
+ blpu_entry_date: '2006-11-24T00:00:00.000Z'
4226
+ udprn: '24255522'
4227
+ organisation_name: null
4228
+ legal_name: null
4229
+ department_name: null
4230
+ sub_building_name: null
4231
+ building_name: null
4232
+ building_number: 1
4233
+ dependent_thoroughfare: CASTLE TERRACE
4234
+ thoroughfare: SOUTH ROAD
4235
+ double_dependent_locality: null
4236
+ dependent_locality: null
4237
+ post_town: ABERYSTWYTH
4238
+ postcode: SY23 1JT
4239
+ postcode_type: S
4240
+ delivery_point_suffix: 1A
4241
+ po_box_number: null
4242
+ welsh_dependent_thoroughfare: HEOL Y CASTELL
4243
+ welsh_thoroughfare: TAN Y CAE
4244
+ welsh_double_dependent_locality: null
4245
+ welsh_dependent_locality: null
4246
+ welsh_post_town: ABERYSTWYTH
4247
+ dpa_process_date: '2016-01-18T00:00:00.000Z'
4248
+ dpa_start_date: '2012-04-23T00:00:00.000Z'
4249
+ dpa_end_date: null
4250
+ dpa_last_update_date: '2016-02-10T00:00:00.000Z'
4251
+ dpa_entry_date: '2012-03-19T00:00:00.000Z'
4252
+ classification_code: RD04
4253
+ class_scheme: AddressBase Premium Classification Scheme
4254
+ scheme_version: 1
4255
+ classification_start_date: '2007-10-24T00:00:00.000Z'
4256
+ classification_end_date: null
4257
+ classification_last_update_date: '2018-09-23T00:00:00.000Z'
4258
+ classification_entry_date: '2006-11-24T00:00:00.000Z'
4259
+ organisation_start_date: null
4260
+ organisation_end_date: null
4261
+ organisation_last_update_date: null
4262
+ organisation_entry_date: null
4263
+ lpi_key: 6820L000054880
4264
+ lpi_language: CYM
4265
+ lpi_logical_status: 1
4266
+ lpi_start_date: '2007-10-24T00:00:00.000Z'
4267
+ lpi_end_date: null
4268
+ lpi_last_update_date: '2025-09-26T00:00:00.000Z'
4269
+ lpi_entry_date: '2007-09-04T00:00:00.000Z'
4270
+ sao_start_number: null
4271
+ sao_start_suffix: null
4272
+ sao_end_number: null
4273
+ sao_end_suffix: null
4274
+ sao_text: null
4275
+ pao_start_number: 1
4276
+ pao_start_suffix: null
4277
+ pao_end_number: null
4278
+ pao_end_suffix: null
4279
+ pao_text: HEOL Y CASTELL
4280
+ usrn: '47114724'
4281
+ usrn_match_indicator: '1'
4282
+ area_name: null
4283
+ level: null
4284
+ official_flag: 'Y'
4285
+ street_record_type: 1
4286
+ swa_org_ref_naming: 6820
4287
+ street_state: '2'
4288
+ street_state_date: '1990-01-01T00:00:00.000Z'
4289
+ street_surface: '1'
4290
+ street_classification: null
4291
+ street_start_date: '2007-10-24T00:00:00.000Z'
4292
+ street_last_update_date: '2022-01-14T00:00:00.000Z'
4293
+ street_record_entry_date: '1998-07-14T00:00:00.000Z'
4294
+ street_start_x: 257968
4295
+ street_start_y: 281400
4296
+ street_start_lat: 52.4121241
4297
+ street_start_long: -4.0896363
4298
+ street_end_x: 258266
4299
+ street_end_y: 281393
4300
+ street_end_lat: 52.4121386
4301
+ street_end_long: -4.0852551
4302
+ street_tolerance: 10
4303
+ street_description: SOUTH ROAD
4304
+ street_locality: null
4305
+ street_town: ABERYSTWYTH
4306
+ adminstrative_area: CEREDIGION
4307
+ sd_language: ENG
4308
+ sd_start_date: '2007-10-24T00:00:00.000Z'
4309
+ sd_end_date: null
4310
+ sd_last_update_date: '2016-02-06T00:00:00.000Z'
4311
+ sd_entry_date: '1998-07-14T00:00:00.000Z'
4312
+ toid: osgb1000020592167
4313
+ toid_address: osgb1000002175099422
4314
+ toid_highways: osgb5000005181786114
4315
+ council_tax_ref: null
4316
+ ndr_ref: null
4317
+ ons_ward_code: W05001302
4318
+ ons_parish_code: W04000359
4319
+ AbpAddress:
4320
+ title: AddressBase Premium
3072
4321
  description: |-
3073
- Address from Ordnance Survey AddressBase Core dataset.
4322
+ Address from Ordnance Survey AddressBase Premium dataset.
3074
4323
 
3075
4324
  Please contact us to have this enabled on your account.
3076
4325
 
3077
- All AddressBase Core address have a UPRN and a rooftop geolocation available however they may not have a UDPRN.
4326
+ All AddressBase Premium addresses have a UPRN and a rooftop geolocation available however they may not have a UDPRN.
3078
4327
  allOf:
3079
4328
  - $ref: '#/components/schemas/PafBase'
3080
4329
  - type: object
@@ -3087,7 +4336,7 @@ components:
3087
4336
  dataset:
3088
4337
  type: string
3089
4338
  enum:
3090
- - ab
4339
+ - abp
3091
4340
  country_iso_2:
3092
4341
  enum:
3093
4342
  - GB
@@ -3104,8 +4353,9 @@ components:
3104
4353
  - England
3105
4354
  - Scotland
3106
4355
  - Wales
4356
+ - Northern Ireland
3107
4357
  native:
3108
- $ref: '#/components/schemas/AddressBaseCore'
4358
+ $ref: '#/components/schemas/AddressBasePremium'
3109
4359
  Dataset:
3110
4360
  title: Dataset
3111
4361
  type: string
@@ -3119,6 +4369,7 @@ components:
3119
4369
  - `pafa` (GBR) Alias File
3120
4370
  - `pafw` (GBR) Welsh File
3121
4371
  - `ab` (GBR) AddressBase Core
4372
+ - `abp` (GBR) AddressBase Premium
3122
4373
  - `ecaf` (IRL) Eircode ECAF
3123
4374
  - `ecad` (IRL) Eircode ECAD
3124
4375
  - `herewe` (Western Europe) Western Europe Dataset
@@ -3141,6 +4392,7 @@ components:
3141
4392
  - `mois` (KOR) South Korea Dataset
3142
4393
  - `upujp` (JPN) Japan UPU Address File
3143
4394
  - `bev` (AUT) Austria Dataset
4395
+ - `ban` (FRA) France BAN Dataset
3144
4396
  enum:
3145
4397
  - paf
3146
4398
  - pafw
@@ -3151,6 +4403,7 @@ components:
3151
4403
  - ecaf
3152
4404
  - ecad
3153
4405
  - ab
4406
+ - abp
3154
4407
  - herewe
3155
4408
  - heret
3156
4409
  - heresa
@@ -3172,6 +4425,7 @@ components:
3172
4425
  - mois
3173
4426
  - upujp
3174
4427
  - bev
4428
+ - ban
3175
4429
  CountryISO:
3176
4430
  title: ISO Country Code (3)
3177
4431
  type: string
@@ -3237,7 +4491,6 @@ components:
3237
4491
  - HUN
3238
4492
  - KAZ
3239
4493
  - KGZ
3240
- - KOS
3241
4494
  - LTU
3242
4495
  - LVA
3243
4496
  - MDA
@@ -3252,6 +4505,7 @@ components:
3252
4505
  - TUR
3253
4506
  - UKR
3254
4507
  - UZB
4508
+ - XKX
3255
4509
  - HKG
3256
4510
  - BGD
3257
4511
  - IND
@@ -4041,11 +5295,11 @@ components:
4041
5295
  type: string
4042
5296
  maxLength: 60
4043
5297
  minLength: 0
4044
- description: The department or division within an organization. If the department element exists, then the organization must also exist.
5298
+ description: The department or division within an organisation. If the department element exists, then the organisation must also exist.
4045
5299
  example: Accounts Department
4046
5300
  organisation:
4047
5301
  type: string
4048
- description: Organization name
5302
+ description: Organisation name
4049
5303
  maxLength: 60
4050
5304
  minLength: 0
4051
5305
  example: Oak Tree Limited
@@ -4214,7 +5468,7 @@ components:
4214
5468
  maxLength: 10
4215
5469
  organisation_id:
4216
5470
  type: string
4217
- description: Organization ID
5471
+ description: Organisation ID
4218
5472
  example: '10098783'
4219
5473
  maxLength: 10
4220
5474
  minLength: 1
@@ -4269,6 +5523,7 @@ components:
4269
5523
  minLength: 1
4270
5524
  post_county_id:
4271
5525
  type: string
5526
+ nullable: true
4272
5527
  description: Post County ID
4273
5528
  example: '10098783'
4274
5529
  maxLength: 10
@@ -4298,7 +5553,7 @@ components:
4298
5553
  Addresses points can assume one of the following values:
4299
5554
 
4300
5555
  - Residential Address Point. This type of address point has one residential addresses associated with it.
4301
- - Non-Residential Address Point. This type of address point has one or more non-residential address (business, club or other organization) associated with it.
5556
+ - Non-Residential Address Point. This type of address point has one or more non-residential address (business, club or other organisation) associated with it.
4302
5557
  - Mixed Address Point. This is a special case where the residential and non residential addresses in the building are essentially the same address. The typical example is a farm house on an active farm. It is important to note that this is a special case. In general a building with both residential and non-residential addresses (e.g. an apartment over a shop) will receive two address points, one commercial and one residential, and hence two Eircodes.
4303
5558
 
4304
5559
  Buildings can contain multiple address points of type Residential and/or Non-Residential.
@@ -4308,8 +5563,8 @@ components:
4308
5563
 
4309
5564
  - Single Occupancy Residential Building. This type of building contains one residential address.
4310
5565
  - Multi Occupancy Residential Building. This type of building contains multiple residential addresses.
4311
- - Single Occupancy Non-Residential Building. This type of building contains one non-residential address (business, club or other organization).
4312
- - Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other organization).
5566
+ - Single Occupancy Non-Residential Building. This type of building contains one non-residential address (business, club or other organisation).
5567
+ - Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other organisation).
4313
5568
  - Multi Occupancy Mixed Use Building. This type of building contains multiple residential and non- residential addresses.
4314
5569
 
4315
5570
  Buildings can also have a more specific address types such as a Hospital, School, Shopping Centre, etc.
@@ -4322,7 +5577,7 @@ components:
4322
5577
  The building group type can be:
4323
5578
 
4324
5579
  - Residential Building Group. This type of building group contains buildings with residential addresses only.
4325
- - Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organization) only.
5580
+ - Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organisation) only.
4326
5581
  - Mixed Building Group. This type of building group contains buildings with residential and non-residential addresses. Can also have a more specific address type such as a Hospital, School, Shopping Centre, etc.
4327
5582
 
4328
5583
  Building groups can also have a more specific address type such as a Hospital, School, Shopping Centre, etc.
@@ -4400,7 +5655,7 @@ components:
4400
5655
  - 'N'
4401
5656
  - ''
4402
5657
  org_vacant:
4403
- description: A Yes/No field, indicating whether the organization is vacant.
5658
+ description: A Yes/No field, indicating whether the organisation is vacant.
4404
5659
  enum:
4405
5660
  - 'Y'
4406
5661
  - 'N'
@@ -6479,7 +7734,7 @@ components:
6479
7734
  organisasjonsnummer:
6480
7735
  type: string
6481
7736
  description: |
6482
- Unique identifier of organization in the Brønnøysund Register.
7737
+ Unique identifier of organisation in the Brønnøysund Register.
6483
7738
 
6484
7739
  Can be empty string `""` if not present.
6485
7740
  tettstednummer:
@@ -8491,7 +9746,7 @@ components:
8491
9746
  org_id:
8492
9747
  type: string
8493
9748
  description: |
8494
- The unique identifier of an organization.
9749
+ The unique identifier of an organisation.
8495
9750
 
8496
9751
  Can be empty string `""` if not present.
8497
9752
  org_type_ind:
@@ -8499,7 +9754,7 @@ components:
8499
9754
  - type: string
8500
9755
  - type: number
8501
9756
  description: |
8502
- Indicates the type of organization.
9757
+ Indicates the type of organisation.
8503
9758
 
8504
9759
  Can be empty string `""` if not present.
8505
9760
  org_sub_type_ind:
@@ -8507,67 +9762,67 @@ components:
8507
9762
  - type: string
8508
9763
  - type: number
8509
9764
  description: |
8510
- Indicates the sub-type of the organization.
9765
+ Indicates the sub-type of the organisation.
8511
9766
 
8512
9767
  Can be empty string `""` if not present.
8513
9768
  org_loc_id:
8514
9769
  type: string
8515
9770
  description: |
8516
- Locality identifier for the organization.
9771
+ Locality identifier for the organisation.
8517
9772
 
8518
9773
  Can be empty string `""` if not present.
8519
9774
  org_dis_id:
8520
9775
  type: string
8521
9776
  description: |
8522
- District identifier for the organization.
9777
+ District identifier for the organisation.
8523
9778
 
8524
9779
  Can be empty string `""` if not present.
8525
9780
  org_nei_id:
8526
9781
  type: string
8527
9782
  description: |
8528
- Neighborhood identifier for the organization.
9783
+ Neighbourhood identifier for the organisation.
8529
9784
 
8530
9785
  Can be empty string `""` if not present.
8531
9786
  org_org_id:
8532
9787
  type: string
8533
9788
  description: |
8534
- Associated organization identifier for the organization.
9789
+ Associated organisation identifier for the organisation.
8535
9790
 
8536
9791
  Can be empty string `""` if not present.
8537
9792
  org_name:
8538
9793
  type: string
8539
9794
  description: |
8540
- Name of the organization.
9795
+ Name of the organisation.
8541
9796
 
8542
9797
  Can be empty string `""` if not present.
8543
9798
  org_name_trans:
8544
9799
  type: string
8545
9800
  description: |
8546
- Translated name of the organization in Latin script.
9801
+ Translated name of the organisation in Latin script.
8547
9802
 
8548
9803
  Can be empty string `""` if not present.
8549
9804
  org_loc_sfx:
8550
9805
  type: string
8551
9806
  description: |
8552
- Suffix of the locality for the organization.
9807
+ Suffix of the locality for the organisation.
8553
9808
 
8554
9809
  Can be empty string `""` if not present.
8555
9810
  org_loc_sfx_trans:
8556
9811
  type: string
8557
9812
  description: |
8558
- Translated suffix of the locality for the organization in Latin script.
9813
+ Translated suffix of the locality for the organisation in Latin script.
8559
9814
 
8560
9815
  Can be empty string `""` if not present.
8561
9816
  org_adr:
8562
9817
  type: string
8563
9818
  description: |
8564
- Address of the organization.
9819
+ Address of the organisation.
8565
9820
 
8566
9821
  Can be empty string `""` if not present.
8567
9822
  org_adr_trans:
8568
9823
  type: string
8569
9824
  description: |
8570
- Translated address of the organization in Latin script.
9825
+ Translated address of the organisation in Latin script.
8571
9826
 
8572
9827
  Can be empty string `""` if not present.
8573
9828
  org_po_ind:
@@ -8575,49 +9830,49 @@ components:
8575
9830
  - type: string
8576
9831
  - type: number
8577
9832
  description: |
8578
- Indicates whether the organization has a post office box.
9833
+ Indicates whether the organisation has a post office box.
8579
9834
 
8580
9835
  Can be empty string `""` if not present.
8581
9836
  org_po_start:
8582
9837
  type: string
8583
9838
  description: |
8584
- Post office box number or start of the post office box range associated with the organization.
9839
+ Post office box number or start of the post office box range associated with the organisation.
8585
9840
 
8586
9841
  Can be empty string `""` if not present.
8587
9842
  org_po_end:
8588
9843
  type: string
8589
9844
  description: |
8590
- End of the post office box range associated with the organization.
9845
+ End of the post office box range associated with the organisation.
8591
9846
 
8592
9847
  Can be empty string `""` if not present.
8593
9848
  org_dsc:
8594
9849
  type: string
8595
9850
  description: |
8596
- Additional information about the organization.
9851
+ Additional information about the organisation.
8597
9852
 
8598
9853
  Can be empty string `""` if not present.
8599
9854
  org_dsc_trans:
8600
9855
  type: string
8601
9856
  description: |
8602
- Translated additional information about the organization in Latin script.
9857
+ Translated additional information about the organisation in Latin script.
8603
9858
 
8604
9859
  Can be empty string `""` if not present.
8605
9860
  org_pcode:
8606
9861
  type: string
8607
9862
  description: |
8608
- Postal code for the organization.
9863
+ Postal code for the organisation.
8609
9864
 
8610
9865
  Can be empty string `""` if not present.
8611
9866
  org_pcode_fin:
8612
9867
  type: string
8613
9868
  description: |
8614
- Final postal code for the organization.
9869
+ Final postal code for the organisation.
8615
9870
 
8616
9871
  Can be empty string `""` if not present.
8617
9872
  org_script:
8618
9873
  type: string
8619
9874
  description: |
8620
- Script used for the organization name.
9875
+ Script used for the organisation name.
8621
9876
 
8622
9877
  `Hani` = Kanji, `Hira` = Hiragana, `Latn` = Latin.
8623
9878
 
@@ -8625,7 +9880,7 @@ components:
8625
9880
  org_language:
8626
9881
  type: string
8627
9882
  description: |
8628
- Language used for the organization name.
9883
+ Language used for the organisation name.
8629
9884
 
8630
9885
  Can be empty string `""` if not present.
8631
9886
  str_id:
@@ -8661,7 +9916,7 @@ components:
8661
9916
  str_org_id:
8662
9917
  type: string
8663
9918
  description: |
8664
- Associated organization identifier for the street.
9919
+ Associated organisation identifier for the street.
8665
9920
 
8666
9921
  Can be empty string `""` if not present.
8667
9922
  str_pfx:
@@ -9562,6 +10817,204 @@ components:
9562
10817
  type: string
9563
10818
  description: |
9564
10819
  Name of the census district
10820
+ BanAddress:
10821
+ required:
10822
+ - id
10823
+ - dataset
10824
+ - country
10825
+ - country_iso
10826
+ - country_iso_2
10827
+ - language
10828
+ - address
10829
+ - line_1
10830
+ - line_2
10831
+ - latitude
10832
+ - longitude
10833
+ - id_fantoir
10834
+ - numero
10835
+ - rep
10836
+ - nom_voie
10837
+ - code_postal
10838
+ - code_insee
10839
+ - nom_commune
10840
+ - code_insee_ancienne_commune
10841
+ - nom_ancienne_commune
10842
+ - x
10843
+ - 'y'
10844
+ - lon
10845
+ - lat
10846
+ - type_position
10847
+ - alias
10848
+ - nom_ld
10849
+ - libelle_acheminement
10850
+ - nom_afnor
10851
+ - source_position
10852
+ - source_nom_voie
10853
+ - certification_commune
10854
+ - cad_parcelles
10855
+ properties:
10856
+ id:
10857
+ $ref: '#/components/schemas/ID'
10858
+ dataset:
10859
+ type: string
10860
+ enum:
10861
+ - ban
10862
+ country_iso:
10863
+ description: |2
10864
+ 3 letter country code (ISO 3166-1)
10865
+ enum:
10866
+ - FRA
10867
+ country_iso_2:
10868
+ type: string
10869
+ description: |2
10870
+ 2 letter country code (ISO 3166-1)
10871
+ enum:
10872
+ - FR
10873
+ country:
10874
+ type: string
10875
+ description: |2
10876
+ Full country names (ISO 3166)
10877
+ enum:
10878
+ - France
10879
+ language:
10880
+ enum:
10881
+ - fr
10882
+ description: |
10883
+ Language represented by 2 letter ISO Code (639-1)
10884
+ address:
10885
+ type: string
10886
+ description: |
10887
+ The house number of the address.
10888
+
10889
+ Can be empty string `""` if not present.
10890
+ example: '8'
10891
+ line_1:
10892
+ type: string
10893
+ nullable: true
10894
+ description: |
10895
+ First address line (house number, suffix, and street name).
10896
+
10897
+ Can be `null` if not present.
10898
+ example: 8 bis avenue des Champs-Élysées
10899
+ line_2:
10900
+ type: string
10901
+ nullable: true
10902
+ description: |
10903
+ Second address line (postcode and municipality name).
10904
+
10905
+ Can be `null` if not present.
10906
+ example: 75008 Paris
10907
+ longitude:
10908
+ $ref: '#/components/schemas/Longitude'
10909
+ latitude:
10910
+ $ref: '#/components/schemas/Latitude'
10911
+ id_fantoir:
10912
+ type: string
10913
+ nullable: true
10914
+ description: |
10915
+ FANTOIR street identifier
10916
+ numero:
10917
+ type: integer
10918
+ nullable: true
10919
+ description: |
10920
+ House number
10921
+ rep:
10922
+ type: string
10923
+ nullable: true
10924
+ description: |
10925
+ House number suffix / répétition (`bis`, `ter`, `quater`, etc.)
10926
+ nom_voie:
10927
+ type: string
10928
+ description: |
10929
+ Street name
10930
+ code_postal:
10931
+ type: string
10932
+ nullable: true
10933
+ description: |
10934
+ 5-digit postal code
10935
+ code_insee:
10936
+ type: string
10937
+ description: |
10938
+ INSEE commune code (2-digit département + 3-digit commune)
10939
+ nom_commune:
10940
+ type: string
10941
+ description: |
10942
+ Municipality name
10943
+ code_insee_ancienne_commune:
10944
+ type: string
10945
+ nullable: true
10946
+ description: |
10947
+ INSEE code of the pre-fusion commune (for merged municipalities)
10948
+ nom_ancienne_commune:
10949
+ type: string
10950
+ nullable: true
10951
+ description: |
10952
+ Name of the pre-fusion commune (for merged municipalities)
10953
+ x:
10954
+ type: string
10955
+ nullable: true
10956
+ description: |
10957
+ Lambert 93 easting coordinate
10958
+ 'y':
10959
+ type: string
10960
+ nullable: true
10961
+ description: |
10962
+ Lambert 93 northing coordinate
10963
+ lon:
10964
+ type: string
10965
+ nullable: true
10966
+ description: |
10967
+ Longitude (WGS84) as returned from source data
10968
+ lat:
10969
+ type: string
10970
+ nullable: true
10971
+ description: |
10972
+ Latitude (WGS84) as returned from source data
10973
+ type_position:
10974
+ type: string
10975
+ nullable: true
10976
+ description: |
10977
+ Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.)
10978
+ alias:
10979
+ type: string
10980
+ nullable: true
10981
+ description: |
10982
+ Address alias
10983
+ nom_ld:
10984
+ type: string
10985
+ nullable: true
10986
+ description: |
10987
+ Lieu-dit (named place) label
10988
+ libelle_acheminement:
10989
+ type: string
10990
+ nullable: true
10991
+ description: |
10992
+ Postal routing label
10993
+ nom_afnor:
10994
+ type: string
10995
+ nullable: true
10996
+ description: |
10997
+ AFNOR-normalised street name
10998
+ source_position:
10999
+ type: string
11000
+ nullable: true
11001
+ description: |
11002
+ Source of position data (`commune`, `IGN`, etc.)
11003
+ source_nom_voie:
11004
+ type: string
11005
+ nullable: true
11006
+ description: |
11007
+ Source of street name data
11008
+ certification_commune:
11009
+ type: boolean
11010
+ nullable: true
11011
+ description: |
11012
+ Whether the municipality has certified this address
11013
+ cad_parcelles:
11014
+ type: string
11015
+ nullable: true
11016
+ description: |
11017
+ Cadastral parcel reference(s)
9565
11018
  GbrGlobalAddress:
9566
11019
  title: Global Address
9567
11020
  description: Global (non-UK) address in the UK address format
@@ -9674,6 +11127,7 @@ components:
9674
11127
  - $ref: '#/components/schemas/MoisAddress'
9675
11128
  - $ref: '#/components/schemas/UpujpAddress'
9676
11129
  - $ref: '#/components/schemas/BevAddress'
11130
+ - $ref: '#/components/schemas/BanAddress'
9677
11131
  postcode_outward:
9678
11132
  type: string
9679
11133
  description: Not available for non-UK addresses
@@ -9731,7 +11185,7 @@ components:
9731
11185
  - ''
9732
11186
  organisation_name:
9733
11187
  type: string
9734
- description: Name of the company or organization associated with the address
11188
+ description: Name of the company or organisation associated with the address
9735
11189
  example: Farrell's Gift Shop
9736
11190
  udprn:
9737
11191
  type: string
@@ -9865,6 +11319,7 @@ components:
9865
11319
  - $ref: '#/components/schemas/PafAliasAddress'
9866
11320
  - $ref: '#/components/schemas/WelshPafAddress'
9867
11321
  - $ref: '#/components/schemas/AbAddress'
11322
+ - $ref: '#/components/schemas/AbpAddress'
9868
11323
  - $ref: '#/components/schemas/GbrGlobalAddress'
9869
11324
  description: |
9870
11325
  All addresses listed at the postcode.
@@ -10319,6 +11774,7 @@ components:
10319
11774
  - mois
10320
11775
  - upujp
10321
11776
  - bev
11777
+ - ban
10322
11778
  - gbrcleanse
10323
11779
  - uspscleanse
10324
11780
  properties:
@@ -10346,6 +11802,10 @@ components:
10346
11802
  type: boolean
10347
11803
  description: UK AddressBase dataset
10348
11804
  example: false
11805
+ abp:
11806
+ type: boolean
11807
+ description: UK AddressBase Premium dataset
11808
+ example: false
10349
11809
  nip:
10350
11810
  type: boolean
10351
11811
  description: Northern Ireland Pointer Dataset
@@ -10453,6 +11913,10 @@ components:
10453
11913
  type: boolean
10454
11914
  description: 'Austria: BEV Address File'
10455
11915
  example: true
11916
+ ban:
11917
+ type: boolean
11918
+ description: 'France: BAN (Base Adresse Nationale)'
11919
+ example: true
10456
11920
  gbrcleanse:
10457
11921
  type: boolean
10458
11922
  description: UK GBR Cleanse
@@ -10787,10 +12251,18 @@ components:
10787
12251
  type: boolean
10788
12252
  description: 'Austria: BEV Address File'
10789
12253
  example: true
12254
+ ban:
12255
+ type: boolean
12256
+ description: 'France: BAN (Base Adresse Nationale)'
12257
+ example: true
10790
12258
  ab:
10791
12259
  type: boolean
10792
12260
  description: UK AddressBase dataset
10793
12261
  example: false
12262
+ abp:
12263
+ type: boolean
12264
+ description: UK AddressBase Premium dataset
12265
+ example: false
10794
12266
  nip:
10795
12267
  type: boolean
10796
12268
  description: Northern Ireland Pointer Dataset
@@ -11295,7 +12767,7 @@ components:
11295
12767
  A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
11296
12768
  organisation_match:
11297
12769
  type: string
11298
- description: Match indicator for the organization
12770
+ description: Match indicator for the organisation
11299
12771
  enum:
11300
12772
  - FULL
11301
12773
  - PARTIAL
@@ -11811,6 +13283,7 @@ components:
11811
13283
  - $ref: '#/components/schemas/PafAliasAddress'
11812
13284
  - $ref: '#/components/schemas/NybAddress'
11813
13285
  - $ref: '#/components/schemas/AbAddress'
13286
+ - $ref: '#/components/schemas/AbpAddress'
11814
13287
  - $ref: '#/components/schemas/GbrGlobalAddress'
11815
13288
  UsaGlobalAddress:
11816
13289
  title: Global Address
@@ -12043,6 +13516,7 @@ components:
12043
13516
  - $ref: '#/components/schemas/PafAliasAddress'
12044
13517
  - $ref: '#/components/schemas/WelshPafAddress'
12045
13518
  - $ref: '#/components/schemas/AbAddress'
13519
+ - $ref: '#/components/schemas/AbpAddress'
12046
13520
  - $ref: '#/components/schemas/HereAddress'
12047
13521
  - $ref: '#/components/schemas/GnafAddress'
12048
13522
  - $ref: '#/components/schemas/KadasterAddress'
@@ -12053,6 +13527,7 @@ components:
12053
13527
  - $ref: '#/components/schemas/MoisAddress'
12054
13528
  - $ref: '#/components/schemas/UpujpAddress'
12055
13529
  - $ref: '#/components/schemas/BevAddress'
13530
+ - $ref: '#/components/schemas/BanAddress'
12056
13531
  UsaResolveAddressResponse:
12057
13532
  title: Address Retrieve Response (USA)
12058
13533
  type: object
@@ -12111,6 +13586,7 @@ components:
12111
13586
  - $ref: '#/components/schemas/WelshPafAddress'
12112
13587
  - $ref: '#/components/schemas/PafAliasAddress'
12113
13588
  - $ref: '#/components/schemas/AbAddress'
13589
+ - $ref: '#/components/schemas/AbpAddress'
12114
13590
  total:
12115
13591
  minimum: 0
12116
13592
  maximum: 10000
@@ -12890,7 +14366,7 @@ components:
12890
14366
  description: Returns `true` if the email originates from a free service like Outlook or Gmail.
12891
14367
  role:
12892
14368
  type: boolean
12893
- description: Returns `true` if email address represents an organizational role like `admin`, `support`, `postmaster` etc
14369
+ description: Returns `true` if email address represents an organisational role like `admin`, `support`, `postmaster` etc
12894
14370
  catchall:
12895
14371
  type: boolean
12896
14372
  description: Returns `true` if this domain accepts all emails regardless of username
@@ -13187,6 +14663,123 @@ components:
13187
14663
  oneOf:
13188
14664
  - $ref: '#/components/schemas/PhoneNumber'
13189
14665
  - $ref: '#/components/schemas/InvalidPhoneNumber'
14666
+ GilpGroundStability:
14667
+ title: GILP Ground Stability
14668
+ description: |
14669
+ Postcode-level potential insurance risk from natural ground movement, from
14670
+ the BGS GeoSure Insurance and Lenders Product (GILP) Derived Postcode
14671
+ Database. Combines the six GeoSure hazards on (low-rise) buildings:
14672
+ shrink-swell, landslides, soluble rocks, running sand, compressible ground
14673
+ and collapsible deposits.
14674
+
14675
+ Field names, types and score ranges mirror the GILP v8 Derived Postcode
14676
+ Database verbatim (lower-cased), per the BGS user guide (Open Report
14677
+ OR/26/013). Scores are unitless measures of expected impact, normalised by
14678
+ expert elicitation so they are comparable and summable across hazards;
14679
+ `total` is the sum of the six individual hazard scores.
14680
+
14681
+ Hazards cover NATURAL ground movement only - no mining or contaminated
14682
+ land (compressible ground is the one layer that considers man-made ground,
14683
+ e.g. landfill). Values are generalised to postcode level; minimum
14684
+ meaningful resolution is the postcode.
14685
+ type: object
14686
+ required:
14687
+ - postcode
14688
+ - collapse
14689
+ - rsand
14690
+ - comp
14691
+ - sswell
14692
+ - solub
14693
+ - landslide
14694
+ - total
14695
+ - class
14696
+ - version
14697
+ properties:
14698
+ postcode:
14699
+ type: string
14700
+ maxLength: 8
14701
+ description: The individual postcode.
14702
+ example: BA1 0AA
14703
+ collapse:
14704
+ type: integer
14705
+ minimum: 0
14706
+ maximum: 18
14707
+ description: |
14708
+ The individual hazard score value for collapsible deposits - rocks and
14709
+ soils that may collapse when a load is placed on them, especially when
14710
+ saturated.
14711
+ example: 0
14712
+ rsand:
14713
+ type: integer
14714
+ minimum: 0
14715
+ maximum: 22
14716
+ description: |
14717
+ The individual hazard score value for running sand - loosely packed
14718
+ sandy layers that can become fluidised by water flowing through them,
14719
+ potentially removing support from overlying buildings.
14720
+ example: 6
14721
+ comp:
14722
+ type: integer
14723
+ minimum: 0
14724
+ maximum: 148
14725
+ description: |
14726
+ The individual hazard score value for compressible ground - very soft
14727
+ materials like peat or some clays that may compress if loaded by
14728
+ overlying structures or if the groundwater level changes.
14729
+ example: 74
14730
+ sswell:
14731
+ type: integer
14732
+ minimum: 0
14733
+ maximum: 1000
14734
+ description: |
14735
+ The individual hazard score value for shrink-swell - swelling clays
14736
+ that change volume with moisture variation, particularly in the upper
14737
+ two metres of the ground.
14738
+ example: 252
14739
+ solub:
14740
+ type: integer
14741
+ minimum: 0
14742
+ maximum: 73
14743
+ description: |
14744
+ The individual hazard score value for soluble rocks (dissolution) -
14745
+ soluble material dissolving to form underground cavities that reduce
14746
+ support to the ground above.
14747
+ example: 0
14748
+ landslide:
14749
+ type: integer
14750
+ minimum: 0
14751
+ maximum: 787
14752
+ description: |
14753
+ The individual hazard score value for landslide - slope instability
14754
+ causing down-slope movement of materials such as a landslide or
14755
+ rockfall.
14756
+ example: 35
14757
+ total:
14758
+ type: integer
14759
+ minimum: 0
14760
+ maximum: 2000
14761
+ description: The total combined score of all 6 hazards.
14762
+ example: 367
14763
+ class:
14764
+ type: string
14765
+ enum:
14766
+ - Low
14767
+ - Low-Medium
14768
+ - Medium
14769
+ - Medium-High
14770
+ - High
14771
+ description: |
14772
+ Classification of the insurance hazard potential, dividing `total`
14773
+ into 5 equal categories: Low (0-399), Low-Medium (400-799), Medium
14774
+ (800-1199), Medium-High (1200-1599), High (1600-2000).
14775
+ example: Low
14776
+ version:
14777
+ type: string
14778
+ maxLength: 50
14779
+ description: |
14780
+ Dataset name and version number, encoding the GeoSure version and the
14781
+ OS Code-Point Open version used in production.
14782
+ example: GILP_v8_2025.3
13190
14783
  parameters:
13191
14784
  ApiKeyParam:
13192
14785
  description: |
@@ -13506,7 +15099,7 @@ components:
13506
15099
  description: |
13507
15100
  **Filter by Postcode Type**
13508
15101
 
13509
- Filter by Postcode Type. Useful for separating organizational and residential addresses
15102
+ Filter by Postcode Type. Useful for separating organisational and residential addresses
13510
15103
  SmallUserParam:
13511
15104
  name: su_organisation_indicator
13512
15105
  in: query
@@ -13515,9 +15108,9 @@ components:
13515
15108
  schema:
13516
15109
  type: string
13517
15110
  description: |
13518
- **Filter by Organization Indicator**
15111
+ **Filter by Organisation Indicator**
13519
15112
 
13520
- Useful for separating organizational and residential addresses
15113
+ Useful for separating organisational and residential addresses
13521
15114
  example: 'Y'
13522
15115
  BiasPostcodeOutwardParam:
13523
15116
  name: bias_postcode_outward
@@ -13709,6 +15302,17 @@ x-tagGroups:
13709
15302
  - usps_address
13710
15303
  - uk_address
13711
15304
  - ab_address
15305
+ - abp_address
15306
+ - bev_address
13712
15307
  - ecaf_address
13713
15308
  - ecad_address
15309
+ - gnaf_address
15310
+ - fodbosa_address
15311
+ - cannar_address
15312
+ - sdfi_address
15313
+ - upujp_address
15314
+ - mois_address
15315
+ - kadaster_address
15316
+ - kartverket_address
15317
+ - here_address
13714
15318
  - geonames_place