@addresszen/openapi 3.4.0 → 3.5.1
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/README.md +3 -5
- package/dist/openapi.cjs +19 -0
- package/dist/openapi.cjs.map +1 -0
- package/dist/openapi.d.cts +10185 -0
- package/dist/openapi.d.ts +320 -57
- package/dist/openapi.json +528 -54
- package/dist/openapi.mjs +1 -0
- package/dist/openapi.mjs.map +1 -0
- package/dist/openapi.yaml +485 -46
- package/openapi.ts +11185 -0
- package/package.json +36 -43
- package/dist/_headers +0 -2
- package/dist/index.html +0 -37
- package/dist/openapi.js +0 -6
package/dist/openapi.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
|
-
version:
|
|
3
|
+
version: 3.5.1
|
|
4
4
|
license:
|
|
5
5
|
name: AGPLv3
|
|
6
6
|
url: https://opensource.org/licenses/AGPL-3.0
|
|
@@ -21,11 +21,11 @@ info:
|
|
|
21
21
|
|
|
22
22
|
Our OpenAPI specification is available at:
|
|
23
23
|
|
|
24
|
-
- [Github Repository](https://github.com/
|
|
24
|
+
- [Github Repository](https://github.com/addresszen/openapi)
|
|
25
25
|
- [API Reference](https://openapi.addresszen.com)
|
|
26
26
|
- [OpenAPI v3 JSON File](https://openapi.addresszen.com/openapi.json)
|
|
27
27
|
- [OpenAPI v3 YAML File](https://openapi.addresszen.com/openapi.yaml)
|
|
28
|
-
- [NPM Package](https://www.npmjs.com/package/@
|
|
28
|
+
- [NPM Package](https://www.npmjs.com/package/@addresszen/openapi)
|
|
29
29
|
|
|
30
30
|
## Rate Limiting
|
|
31
31
|
|
|
@@ -103,7 +103,7 @@ tags:
|
|
|
103
103
|
description: Monitor and manage API Keys
|
|
104
104
|
- name: Licensees
|
|
105
105
|
description: |
|
|
106
|
-
The Licensee resource represents an alternate legal End User of our data who may not be same entity as the owners of the account.
|
|
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
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
|
|
|
@@ -172,7 +172,7 @@ paths:
|
|
|
172
172
|
description: |
|
|
173
173
|
Returns the complete list of addresses for a postcode. Postcode searches are space and case insensitive.
|
|
174
174
|
|
|
175
|
-
The Postcode Lookup API provides a JSON interface to search UK addresses from a postcode. It can be used to power
|
|
175
|
+
The Postcode Lookup API provides a JSON interface to search UK addresses from a postcode. It can be used to power Address Lookup driven address searches, like [Address Lookup](/docs/address-lookup/).
|
|
176
176
|
|
|
177
177
|
## Postcode Not Found
|
|
178
178
|
|
|
@@ -407,7 +407,7 @@ paths:
|
|
|
407
407
|
summary: Retrieve by UMPRN
|
|
408
408
|
operationId: UMPRN
|
|
409
409
|
description: |
|
|
410
|
-
Returns a multiple occupancy address
|
|
410
|
+
Returns a multiple occupancy address identified via its UMPRN (Multiple Residence Unique ID).
|
|
411
411
|
|
|
412
412
|
UMPRNs are a unique numeric code for any Multiple Residence household on the optional Multiple Residence dataset.
|
|
413
413
|
|
|
@@ -517,8 +517,8 @@ paths:
|
|
|
517
517
|
Returns public information on your API Key.
|
|
518
518
|
|
|
519
519
|
This endpoint can be used for the following:
|
|
520
|
-
|
|
521
|
-
|
|
520
|
+
- Determine if the key is currently usable via the `available` property
|
|
521
|
+
- Determine available contexts for an API Key
|
|
522
522
|
- Identify the currently likely context of a user given their location
|
|
523
523
|
|
|
524
524
|
You may pass both API Keys (beginning `ak_`) and Sub-licensed Keys (beginning `sl_`).
|
|
@@ -731,13 +731,13 @@ paths:
|
|
|
731
731
|
|
|
732
732
|
### Deciding on an Acceptable Confidence Score Threshold
|
|
733
733
|
|
|
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
|
|
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 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
735
|
|
|
736
736
|
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
|
-
|
|
737
|
+
- Which confidence scores indicate ambiguous matches (i.e. up to building level only)
|
|
738
738
|
- Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)
|
|
739
739
|
|
|
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
|
|
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 organisation names an important feature?
|
|
741
741
|
operationId: AddressCleanse
|
|
742
742
|
parameters:
|
|
743
743
|
- $ref: '#/components/parameters/ApiKeyParam'
|
|
@@ -832,13 +832,13 @@ paths:
|
|
|
832
832
|
- Free-form address submitted as a single string in `query`
|
|
833
833
|
- Example: "123 Main St, Springfield, CO 81073-1119"
|
|
834
834
|
- Only free-form and zip code address components submitted as separate parameters:
|
|
835
|
-
- `query` for the
|
|
835
|
+
- `query` for the first address line
|
|
836
836
|
- `zip_code` for the ZIP code
|
|
837
837
|
- Example:
|
|
838
838
|
- `query`: "123 Main St, Springfield CO"
|
|
839
839
|
- `zip_code`: "81073-1119"
|
|
840
840
|
- Only free-form, city and state address components submitted as separate parameters:
|
|
841
|
-
- `query` for the
|
|
841
|
+
- `query` for the first address line
|
|
842
842
|
- `city` for the city
|
|
843
843
|
- `state` for the state
|
|
844
844
|
- Example:
|
|
@@ -868,11 +868,15 @@ paths:
|
|
|
868
868
|
query:
|
|
869
869
|
type: string
|
|
870
870
|
description: |
|
|
871
|
-
|
|
871
|
+
Address input to verify.
|
|
872
872
|
|
|
873
|
-
|
|
873
|
+
If submitting a freeform address verification query, enter the full address. E.g. `query=123 Main St, Springfield, CO, 81073`
|
|
874
|
+
|
|
875
|
+
Otherwise, query can be accompanied with the following address components:
|
|
874
876
|
- `zip_code`
|
|
875
877
|
- `city` and `state`
|
|
878
|
+
|
|
879
|
+
If zip_code or `city` and `state` or supplied, please omit this information from query by using it purely for the first address line. E.g. `query=123 Main St`
|
|
876
880
|
example: 123 Main St, Springfield, CO 81073
|
|
877
881
|
zip_code:
|
|
878
882
|
type: string
|
|
@@ -983,6 +987,7 @@ paths:
|
|
|
983
987
|
type: string
|
|
984
988
|
maxLength: 150
|
|
985
989
|
style: form
|
|
990
|
+
- $ref: '#/components/parameters/DatasetParam'
|
|
986
991
|
- $ref: '#/components/parameters/ContextParam'
|
|
987
992
|
- $ref: '#/components/parameters/LimitParam'
|
|
988
993
|
- $ref: '#/components/parameters/BiasLonLatParam'
|
|
@@ -1349,7 +1354,7 @@ paths:
|
|
|
1349
1354
|
|
|
1350
1355
|
## Suggestion Format
|
|
1351
1356
|
|
|
1352
|
-
Each place suggestion contains a descriptive name which you can provide to users to uniquely
|
|
1357
|
+
Each place suggestion contains a descriptive name which you can provide to users to uniquely identify a place.
|
|
1353
1358
|
|
|
1354
1359
|
## Rate Limiting and Cost
|
|
1355
1360
|
|
|
@@ -3135,6 +3140,7 @@ components:
|
|
|
3135
3140
|
- `fodbosa` (BEL) Belgium Dataset
|
|
3136
3141
|
- `mois` (KOR) South Korea Dataset
|
|
3137
3142
|
- `upujp` (JPN) Japan UPU Address File
|
|
3143
|
+
- `bev` (AUT) Austria Dataset
|
|
3138
3144
|
enum:
|
|
3139
3145
|
- paf
|
|
3140
3146
|
- pafw
|
|
@@ -3165,6 +3171,7 @@ components:
|
|
|
3165
3171
|
- fodbosa
|
|
3166
3172
|
- mois
|
|
3167
3173
|
- upujp
|
|
3174
|
+
- bev
|
|
3168
3175
|
CountryISO:
|
|
3169
3176
|
title: ISO Country Code (3)
|
|
3170
3177
|
type: string
|
|
@@ -9251,6 +9258,310 @@ components:
|
|
|
9251
9258
|
Language used for the locality names.
|
|
9252
9259
|
|
|
9253
9260
|
Can be empty string `""` if not present.
|
|
9261
|
+
BevAddress:
|
|
9262
|
+
required:
|
|
9263
|
+
- id
|
|
9264
|
+
- dataset
|
|
9265
|
+
- country
|
|
9266
|
+
- country_iso
|
|
9267
|
+
- country_iso_2
|
|
9268
|
+
- language
|
|
9269
|
+
- address
|
|
9270
|
+
- line_1
|
|
9271
|
+
- line_2
|
|
9272
|
+
- latitude
|
|
9273
|
+
- longitude
|
|
9274
|
+
- adrcd
|
|
9275
|
+
- kgnr
|
|
9276
|
+
- gkz
|
|
9277
|
+
- okz
|
|
9278
|
+
- plz
|
|
9279
|
+
- skz
|
|
9280
|
+
- zaehlsprengel
|
|
9281
|
+
- hausnrtext
|
|
9282
|
+
- hausnrzahl1
|
|
9283
|
+
- hausnrbuchstabe1
|
|
9284
|
+
- hausnrverbindung1
|
|
9285
|
+
- hausnrzahl2
|
|
9286
|
+
- hausnrbuchstabe2
|
|
9287
|
+
- hausnrbereich
|
|
9288
|
+
- hnr_adr_zusammen
|
|
9289
|
+
- gnradresse
|
|
9290
|
+
- hofname
|
|
9291
|
+
- rw
|
|
9292
|
+
- hw
|
|
9293
|
+
- epsg
|
|
9294
|
+
- quelladresse
|
|
9295
|
+
- bestimmungsart
|
|
9296
|
+
- subcd
|
|
9297
|
+
- objektnummer
|
|
9298
|
+
- objfunktkennziffer
|
|
9299
|
+
- hauptadresse
|
|
9300
|
+
- hausnrverbindung2
|
|
9301
|
+
- hausnrzahl3
|
|
9302
|
+
- hausnrbuchstabe3
|
|
9303
|
+
- hausnrverbindung3
|
|
9304
|
+
- hausnrzahl4
|
|
9305
|
+
- hausnrbuchstabe4
|
|
9306
|
+
- hausnrgebaeudebez
|
|
9307
|
+
- hnr_geb_zusammen
|
|
9308
|
+
- eigenschaft
|
|
9309
|
+
- gemeindename
|
|
9310
|
+
- ortsname
|
|
9311
|
+
- strassenname
|
|
9312
|
+
- strassennamenzusatz
|
|
9313
|
+
- szusadrbest
|
|
9314
|
+
- zustellort
|
|
9315
|
+
- zustellort_id
|
|
9316
|
+
- zaehlsprengelname
|
|
9317
|
+
properties:
|
|
9318
|
+
id:
|
|
9319
|
+
$ref: '#/components/schemas/ID'
|
|
9320
|
+
dataset:
|
|
9321
|
+
type: string
|
|
9322
|
+
enum:
|
|
9323
|
+
- bev
|
|
9324
|
+
country_iso:
|
|
9325
|
+
description: |2
|
|
9326
|
+
3 letter country code (ISO 3166-1)
|
|
9327
|
+
enum:
|
|
9328
|
+
- AUT
|
|
9329
|
+
country_iso_2:
|
|
9330
|
+
type: string
|
|
9331
|
+
description: |2
|
|
9332
|
+
2 letter country code (ISO 3166-1)
|
|
9333
|
+
enum:
|
|
9334
|
+
- AT
|
|
9335
|
+
country:
|
|
9336
|
+
type: string
|
|
9337
|
+
description: |2
|
|
9338
|
+
Full country names (ISO 3166)
|
|
9339
|
+
enum:
|
|
9340
|
+
- Austria
|
|
9341
|
+
language:
|
|
9342
|
+
enum:
|
|
9343
|
+
- de
|
|
9344
|
+
description: |
|
|
9345
|
+
Language represented by 2 letter ISO Code (639-1)
|
|
9346
|
+
address:
|
|
9347
|
+
type: string
|
|
9348
|
+
description: |
|
|
9349
|
+
Combination of hnr_adr_zusammen and hnr_geb_zusammen - the full house number and building designation.
|
|
9350
|
+
|
|
9351
|
+
Can be empty string `""` if not present.
|
|
9352
|
+
example: '40'
|
|
9353
|
+
line_1:
|
|
9354
|
+
type: string
|
|
9355
|
+
description: |
|
|
9356
|
+
First address line.
|
|
9357
|
+
|
|
9358
|
+
Can be empty string `""` if not present.
|
|
9359
|
+
example: Villa Kranzmayer
|
|
9360
|
+
line_2:
|
|
9361
|
+
type: string
|
|
9362
|
+
description: |
|
|
9363
|
+
Second address line.
|
|
9364
|
+
|
|
9365
|
+
Can be empty string `""` if not present.
|
|
9366
|
+
example: Römerweg 48
|
|
9367
|
+
longitude:
|
|
9368
|
+
$ref: '#/components/schemas/Longitude'
|
|
9369
|
+
latitude:
|
|
9370
|
+
$ref: '#/components/schemas/Latitude'
|
|
9371
|
+
adrcd:
|
|
9372
|
+
type: string
|
|
9373
|
+
description: |
|
|
9374
|
+
Unique identifier of the address
|
|
9375
|
+
kgnr:
|
|
9376
|
+
type: string
|
|
9377
|
+
description: |
|
|
9378
|
+
Cadastral number of the municipality of the land parcel associated with the address
|
|
9379
|
+
gkz:
|
|
9380
|
+
type: string
|
|
9381
|
+
description: |
|
|
9382
|
+
Municipality unique identifier
|
|
9383
|
+
okz:
|
|
9384
|
+
type: string
|
|
9385
|
+
description: |
|
|
9386
|
+
Locality unique identifier
|
|
9387
|
+
plz:
|
|
9388
|
+
type: string
|
|
9389
|
+
description: |
|
|
9390
|
+
Postal code
|
|
9391
|
+
skz:
|
|
9392
|
+
type: string
|
|
9393
|
+
description: |
|
|
9394
|
+
Street unique identifier
|
|
9395
|
+
zaehlsprengel:
|
|
9396
|
+
type: string
|
|
9397
|
+
description: |
|
|
9398
|
+
Census district unique identifier
|
|
9399
|
+
hausnrtext:
|
|
9400
|
+
type: string
|
|
9401
|
+
description: |
|
|
9402
|
+
Text before house number
|
|
9403
|
+
hausnrzahl1:
|
|
9404
|
+
oneOf:
|
|
9405
|
+
- type: string
|
|
9406
|
+
description: |
|
|
9407
|
+
Empty string `""` if not available
|
|
9408
|
+
- type: number
|
|
9409
|
+
description: |
|
|
9410
|
+
House number part 1
|
|
9411
|
+
hausnrbuchstabe1:
|
|
9412
|
+
type: string
|
|
9413
|
+
description: |
|
|
9414
|
+
House letter part 1
|
|
9415
|
+
hausnrverbindung1:
|
|
9416
|
+
type: string
|
|
9417
|
+
description: |
|
|
9418
|
+
House number connector 1
|
|
9419
|
+
hausnrzahl2:
|
|
9420
|
+
oneOf:
|
|
9421
|
+
- type: string
|
|
9422
|
+
description: |
|
|
9423
|
+
Empty string `""` if not available
|
|
9424
|
+
- type: number
|
|
9425
|
+
description: |
|
|
9426
|
+
House number part 2
|
|
9427
|
+
hausnrbuchstabe2:
|
|
9428
|
+
type: string
|
|
9429
|
+
description: |
|
|
9430
|
+
House letter part 2
|
|
9431
|
+
hausnrbereich:
|
|
9432
|
+
type: string
|
|
9433
|
+
description: |
|
|
9434
|
+
House number range scheme (even, odd, all or not specified)
|
|
9435
|
+
hnr_adr_zusammen:
|
|
9436
|
+
type: string
|
|
9437
|
+
description: |
|
|
9438
|
+
Complete house number (combination of house number parts and letters)
|
|
9439
|
+
gnradresse:
|
|
9440
|
+
type: number
|
|
9441
|
+
description: |
|
|
9442
|
+
Parcel number used as an address when no house number is present
|
|
9443
|
+
hofname:
|
|
9444
|
+
type: string
|
|
9445
|
+
description: |
|
|
9446
|
+
Name of building or building complex (e.g. farmstead)
|
|
9447
|
+
rw:
|
|
9448
|
+
type: string
|
|
9449
|
+
description: |
|
|
9450
|
+
Easting / X coordinate
|
|
9451
|
+
hw:
|
|
9452
|
+
type: string
|
|
9453
|
+
description: |
|
|
9454
|
+
Northing / Y coordinate
|
|
9455
|
+
epsg:
|
|
9456
|
+
type: number
|
|
9457
|
+
description: |
|
|
9458
|
+
Coordinate reference system identifier
|
|
9459
|
+
quelladresse:
|
|
9460
|
+
type: string
|
|
9461
|
+
description: |
|
|
9462
|
+
Coordinate accuracy level (building level, parcel level, etc.)
|
|
9463
|
+
bestimmungsart:
|
|
9464
|
+
type: string
|
|
9465
|
+
description: |
|
|
9466
|
+
Coordinate determination method (DKM, surveying office, municipality, etc.)
|
|
9467
|
+
subcd:
|
|
9468
|
+
type: string
|
|
9469
|
+
description: |
|
|
9470
|
+
Subcode to distinguish multiple buildings at the same address
|
|
9471
|
+
objektnummer:
|
|
9472
|
+
type: string
|
|
9473
|
+
description: |
|
|
9474
|
+
Object number of the building
|
|
9475
|
+
objfunktkennziffer:
|
|
9476
|
+
type: string
|
|
9477
|
+
description: |
|
|
9478
|
+
All building function codes related to the address
|
|
9479
|
+
|
|
9480
|
+
Can be empty string `""` if not present.
|
|
9481
|
+
hauptadresse:
|
|
9482
|
+
oneOf:
|
|
9483
|
+
- type: string
|
|
9484
|
+
description: |
|
|
9485
|
+
Empty string `""` if not available
|
|
9486
|
+
- type: number
|
|
9487
|
+
description: |
|
|
9488
|
+
Indicates whether this address is the primary address for the associated building.
|
|
9489
|
+
hausnrverbindung2:
|
|
9490
|
+
type: string
|
|
9491
|
+
description: |
|
|
9492
|
+
House number connector 2
|
|
9493
|
+
hausnrzahl3:
|
|
9494
|
+
oneOf:
|
|
9495
|
+
- type: string
|
|
9496
|
+
description: |
|
|
9497
|
+
Empty string `""` if not available
|
|
9498
|
+
- type: number
|
|
9499
|
+
description: |
|
|
9500
|
+
House number part 3
|
|
9501
|
+
hausnrbuchstabe3:
|
|
9502
|
+
type: string
|
|
9503
|
+
description: |
|
|
9504
|
+
House letter part 3
|
|
9505
|
+
hausnrverbindung3:
|
|
9506
|
+
type: string
|
|
9507
|
+
description: |
|
|
9508
|
+
House number connector 3
|
|
9509
|
+
hausnrzahl4:
|
|
9510
|
+
oneOf:
|
|
9511
|
+
- type: string
|
|
9512
|
+
description: |
|
|
9513
|
+
Empty string `""` if not available
|
|
9514
|
+
- type: number
|
|
9515
|
+
description: |
|
|
9516
|
+
House number part 4
|
|
9517
|
+
hausnrbuchstabe4:
|
|
9518
|
+
type: string
|
|
9519
|
+
description: |
|
|
9520
|
+
House letter part 4
|
|
9521
|
+
hausnrgebaeudebez:
|
|
9522
|
+
type: string
|
|
9523
|
+
description: |
|
|
9524
|
+
Building description
|
|
9525
|
+
hnr_geb_zusammen:
|
|
9526
|
+
type: string
|
|
9527
|
+
description: |
|
|
9528
|
+
Combination of house number and building designation
|
|
9529
|
+
eigenschaft:
|
|
9530
|
+
type: string
|
|
9531
|
+
description: |
|
|
9532
|
+
Code indicating the primary use or function of the building associated with the address
|
|
9533
|
+
gemeindename:
|
|
9534
|
+
type: string
|
|
9535
|
+
description: |
|
|
9536
|
+
Name of the municipality
|
|
9537
|
+
ortsname:
|
|
9538
|
+
type: string
|
|
9539
|
+
description: |
|
|
9540
|
+
Name of the locality
|
|
9541
|
+
strassenname:
|
|
9542
|
+
type: string
|
|
9543
|
+
description: |
|
|
9544
|
+
Name of the street
|
|
9545
|
+
strassennamenzusatz:
|
|
9546
|
+
type: string
|
|
9547
|
+
description: |
|
|
9548
|
+
Street type (e.g., "Allee", "Strasse", etc.)
|
|
9549
|
+
szusadrbest:
|
|
9550
|
+
type: number
|
|
9551
|
+
description: |
|
|
9552
|
+
Indicates whether the street type is included in the street name
|
|
9553
|
+
zustellort:
|
|
9554
|
+
type: string
|
|
9555
|
+
description: |
|
|
9556
|
+
Postal town name
|
|
9557
|
+
zustellort_id:
|
|
9558
|
+
type: string
|
|
9559
|
+
description: |
|
|
9560
|
+
Postal town identifier
|
|
9561
|
+
zaehlsprengelname:
|
|
9562
|
+
type: string
|
|
9563
|
+
description: |
|
|
9564
|
+
Name of the census district
|
|
9254
9565
|
GbrGlobalAddress:
|
|
9255
9566
|
title: Global Address
|
|
9256
9567
|
description: Global (non-UK) address in the UK address format
|
|
@@ -9362,6 +9673,7 @@ components:
|
|
|
9362
9673
|
- $ref: '#/components/schemas/FodbosaAddress'
|
|
9363
9674
|
- $ref: '#/components/schemas/MoisAddress'
|
|
9364
9675
|
- $ref: '#/components/schemas/UpujpAddress'
|
|
9676
|
+
- $ref: '#/components/schemas/BevAddress'
|
|
9365
9677
|
postcode_outward:
|
|
9366
9678
|
type: string
|
|
9367
9679
|
description: Not available for non-UK addresses
|
|
@@ -9384,9 +9696,8 @@ components:
|
|
|
9384
9696
|
- ''
|
|
9385
9697
|
thoroughfare:
|
|
9386
9698
|
type: string
|
|
9387
|
-
description:
|
|
9388
|
-
|
|
9389
|
-
- ''
|
|
9699
|
+
description: Street name
|
|
9700
|
+
example: Georgia Ave
|
|
9390
9701
|
dependant_thoroughfare:
|
|
9391
9702
|
type: string
|
|
9392
9703
|
description: Not available for non-UK addresses
|
|
@@ -9394,19 +9705,16 @@ components:
|
|
|
9394
9705
|
- ''
|
|
9395
9706
|
building_number:
|
|
9396
9707
|
type: string
|
|
9397
|
-
description:
|
|
9398
|
-
|
|
9399
|
-
- ''
|
|
9708
|
+
description: Address or house number
|
|
9709
|
+
example: '2'
|
|
9400
9710
|
building_name:
|
|
9401
9711
|
type: string
|
|
9402
|
-
description:
|
|
9403
|
-
|
|
9404
|
-
- ''
|
|
9712
|
+
description: Name of the building associated with the address
|
|
9713
|
+
example: Holland House
|
|
9405
9714
|
sub_building_name:
|
|
9406
9715
|
type: string
|
|
9407
|
-
description:
|
|
9408
|
-
|
|
9409
|
-
- ''
|
|
9716
|
+
description: Name of the sub-building associated with the address
|
|
9717
|
+
example: Kingscourt Post Office
|
|
9410
9718
|
premise:
|
|
9411
9719
|
type: string
|
|
9412
9720
|
description: Not available for non-UK addresses
|
|
@@ -9414,9 +9722,8 @@ components:
|
|
|
9414
9722
|
- ''
|
|
9415
9723
|
po_box:
|
|
9416
9724
|
type: string
|
|
9417
|
-
description:
|
|
9418
|
-
|
|
9419
|
-
- ''
|
|
9725
|
+
description: PO Box number
|
|
9726
|
+
example: '100'
|
|
9420
9727
|
department_name:
|
|
9421
9728
|
type: string
|
|
9422
9729
|
description: Not available for non-UK addresses
|
|
@@ -9424,9 +9731,8 @@ components:
|
|
|
9424
9731
|
- ''
|
|
9425
9732
|
organisation_name:
|
|
9426
9733
|
type: string
|
|
9427
|
-
description:
|
|
9428
|
-
|
|
9429
|
-
- ''
|
|
9734
|
+
description: Name of the company or organisation associated with the address
|
|
9735
|
+
example: Farrell's Gift Shop
|
|
9430
9736
|
udprn:
|
|
9431
9737
|
type: string
|
|
9432
9738
|
description: Not available for non-UK addresses. See `id` for address identifier
|
|
@@ -9902,6 +10208,29 @@ components:
|
|
|
9902
10208
|
type: integer
|
|
9903
10209
|
description: Number of lookups performed today which count towards your daily limit.
|
|
9904
10210
|
format: int32
|
|
10211
|
+
ApiKeyMonthlyLimit:
|
|
10212
|
+
title: API Key Monthly Limit
|
|
10213
|
+
type: object
|
|
10214
|
+
required:
|
|
10215
|
+
- limit
|
|
10216
|
+
- consumed
|
|
10217
|
+
properties:
|
|
10218
|
+
limit:
|
|
10219
|
+
x-nullable: true
|
|
10220
|
+
nullable: true
|
|
10221
|
+
minimum: 0
|
|
10222
|
+
example: 10000
|
|
10223
|
+
type: integer
|
|
10224
|
+
description: |-
|
|
10225
|
+
`number` or `null`. The monthly lookup limit currently set on your key.
|
|
10226
|
+
`null` means the limit is currently disabled.
|
|
10227
|
+
format: int32
|
|
10228
|
+
consumed:
|
|
10229
|
+
minimum: 0
|
|
10230
|
+
example: 2500
|
|
10231
|
+
type: integer
|
|
10232
|
+
description: Number of lookups performed this month which count towards your monthly limit.
|
|
10233
|
+
format: int32
|
|
9905
10234
|
ApiKeyIndividualLimit:
|
|
9906
10235
|
title: API Key Individual Limit
|
|
9907
10236
|
type: object
|
|
@@ -9925,6 +10254,9 @@ components:
|
|
|
9925
10254
|
required:
|
|
9926
10255
|
- emails
|
|
9927
10256
|
- enabled
|
|
10257
|
+
- balance_threshold
|
|
10258
|
+
- no_balance
|
|
10259
|
+
- limit_reached
|
|
9928
10260
|
properties:
|
|
9929
10261
|
emails:
|
|
9930
10262
|
type: array
|
|
@@ -9935,6 +10267,20 @@ components:
|
|
|
9935
10267
|
enabled:
|
|
9936
10268
|
description: Indicates whether email notifications are enabled.
|
|
9937
10269
|
type: boolean
|
|
10270
|
+
balance_threshold:
|
|
10271
|
+
type: integer
|
|
10272
|
+
format: int32
|
|
10273
|
+
minimum: 0
|
|
10274
|
+
x-nullable: true
|
|
10275
|
+
nullable: true
|
|
10276
|
+
description: Balance threshold that triggers a reminder email. null means disabled.
|
|
10277
|
+
example: 500
|
|
10278
|
+
no_balance:
|
|
10279
|
+
type: boolean
|
|
10280
|
+
description: Send notice when balance hits zero.
|
|
10281
|
+
limit_reached:
|
|
10282
|
+
type: boolean
|
|
10283
|
+
description: Send notice when rate limit is reached.
|
|
9938
10284
|
ApiKeyDatasets:
|
|
9939
10285
|
title: API Key Dataset Availability
|
|
9940
10286
|
description: Indicates which datasets are available and added by default to the address responses
|
|
@@ -9972,6 +10318,9 @@ components:
|
|
|
9972
10318
|
- fodbosa
|
|
9973
10319
|
- mois
|
|
9974
10320
|
- upujp
|
|
10321
|
+
- bev
|
|
10322
|
+
- gbrcleanse
|
|
10323
|
+
- uspscleanse
|
|
9975
10324
|
properties:
|
|
9976
10325
|
paf:
|
|
9977
10326
|
type: boolean
|
|
@@ -10100,6 +10449,18 @@ components:
|
|
|
10100
10449
|
type: boolean
|
|
10101
10450
|
description: 'Japan: UPU Address File'
|
|
10102
10451
|
example: true
|
|
10452
|
+
bev:
|
|
10453
|
+
type: boolean
|
|
10454
|
+
description: 'Austria: BEV Address File'
|
|
10455
|
+
example: true
|
|
10456
|
+
gbrcleanse:
|
|
10457
|
+
type: boolean
|
|
10458
|
+
description: UK GBR Cleanse
|
|
10459
|
+
example: true
|
|
10460
|
+
uspscleanse:
|
|
10461
|
+
type: boolean
|
|
10462
|
+
description: US CASS Cleanse
|
|
10463
|
+
example: true
|
|
10103
10464
|
ApiKeyAutomatedTopup:
|
|
10104
10465
|
title: API Key Automated Topup
|
|
10105
10466
|
description: Automated topup status
|
|
@@ -10145,8 +10506,11 @@ components:
|
|
|
10145
10506
|
title: API Key Details
|
|
10146
10507
|
type: object
|
|
10147
10508
|
required:
|
|
10509
|
+
- name
|
|
10510
|
+
- contexts
|
|
10148
10511
|
- lookups_remaining
|
|
10149
10512
|
- daily_limit
|
|
10513
|
+
- monthly_limit
|
|
10150
10514
|
- individual_limit
|
|
10151
10515
|
- allowed_urls
|
|
10152
10516
|
- redact_days
|
|
@@ -10156,6 +10520,12 @@ components:
|
|
|
10156
10520
|
- ip_forwarding
|
|
10157
10521
|
- datasets
|
|
10158
10522
|
properties:
|
|
10523
|
+
name:
|
|
10524
|
+
type: string
|
|
10525
|
+
description: A name for the key
|
|
10526
|
+
example: My API Key
|
|
10527
|
+
contexts:
|
|
10528
|
+
$ref: '#/components/schemas/AvailableContexts'
|
|
10159
10529
|
lookups_remaining:
|
|
10160
10530
|
minimum: 0
|
|
10161
10531
|
example: 19889
|
|
@@ -10163,6 +10533,8 @@ components:
|
|
|
10163
10533
|
format: int32
|
|
10164
10534
|
daily_limit:
|
|
10165
10535
|
$ref: '#/components/schemas/ApiKeyDailyLimit'
|
|
10536
|
+
monthly_limit:
|
|
10537
|
+
$ref: '#/components/schemas/ApiKeyMonthlyLimit'
|
|
10166
10538
|
individual_limit:
|
|
10167
10539
|
$ref: '#/components/schemas/ApiKeyIndividualLimit'
|
|
10168
10540
|
allowed_urls:
|
|
@@ -10212,6 +10584,12 @@ components:
|
|
|
10212
10584
|
title: API Key Details Update
|
|
10213
10585
|
type: object
|
|
10214
10586
|
properties:
|
|
10587
|
+
name:
|
|
10588
|
+
type: string
|
|
10589
|
+
maxLength: 32
|
|
10590
|
+
pattern: ^(\w|\s){0,32}$
|
|
10591
|
+
description: A name for the key
|
|
10592
|
+
example: My API Key
|
|
10215
10593
|
daily_limit:
|
|
10216
10594
|
title: Daily Rate Limit
|
|
10217
10595
|
type: object
|
|
@@ -10226,6 +10604,20 @@ components:
|
|
|
10226
10604
|
`number` or `null`. The daily lookup limit currently set on your key.
|
|
10227
10605
|
`null` means the limit is currently disabled.
|
|
10228
10606
|
format: int32
|
|
10607
|
+
monthly_limit:
|
|
10608
|
+
title: Monthly Rate Limit
|
|
10609
|
+
type: object
|
|
10610
|
+
properties:
|
|
10611
|
+
limit:
|
|
10612
|
+
x-nullable: true
|
|
10613
|
+
nullable: true
|
|
10614
|
+
minimum: 0
|
|
10615
|
+
example: 10000
|
|
10616
|
+
type: integer
|
|
10617
|
+
description: |-
|
|
10618
|
+
`number` or `null`. The monthly lookup limit currently set on your key.
|
|
10619
|
+
`null` means the limit is currently disabled.
|
|
10620
|
+
format: int32
|
|
10229
10621
|
individual_limit:
|
|
10230
10622
|
title: API Key Individual Limit
|
|
10231
10623
|
type: object
|
|
@@ -10268,6 +10660,20 @@ components:
|
|
|
10268
10660
|
enabled:
|
|
10269
10661
|
description: Indicates whether email notifications are enabled.
|
|
10270
10662
|
type: boolean
|
|
10663
|
+
balance_threshold:
|
|
10664
|
+
type: integer
|
|
10665
|
+
format: int32
|
|
10666
|
+
minimum: 0
|
|
10667
|
+
x-nullable: true
|
|
10668
|
+
nullable: true
|
|
10669
|
+
description: Balance threshold that triggers a reminder email. null to disable.
|
|
10670
|
+
example: 500
|
|
10671
|
+
no_balance:
|
|
10672
|
+
type: boolean
|
|
10673
|
+
description: Send notice when balance hits zero.
|
|
10674
|
+
limit_reached:
|
|
10675
|
+
type: boolean
|
|
10676
|
+
description: Send notice when rate limit is reached.
|
|
10271
10677
|
ip_forwarding:
|
|
10272
10678
|
type: boolean
|
|
10273
10679
|
default: false
|
|
@@ -10377,6 +10783,26 @@ components:
|
|
|
10377
10783
|
type: boolean
|
|
10378
10784
|
description: 'Japan: UPU Address File'
|
|
10379
10785
|
example: true
|
|
10786
|
+
bev:
|
|
10787
|
+
type: boolean
|
|
10788
|
+
description: 'Austria: BEV Address File'
|
|
10789
|
+
example: true
|
|
10790
|
+
ab:
|
|
10791
|
+
type: boolean
|
|
10792
|
+
description: UK AddressBase dataset
|
|
10793
|
+
example: false
|
|
10794
|
+
nip:
|
|
10795
|
+
type: boolean
|
|
10796
|
+
description: Northern Ireland Pointer Dataset
|
|
10797
|
+
example: false
|
|
10798
|
+
gbrcleanse:
|
|
10799
|
+
type: boolean
|
|
10800
|
+
description: UK GBR Cleanse
|
|
10801
|
+
example: true
|
|
10802
|
+
uspscleanse:
|
|
10803
|
+
type: boolean
|
|
10804
|
+
description: US CASS Cleanse
|
|
10805
|
+
example: true
|
|
10380
10806
|
KeyUsageResult:
|
|
10381
10807
|
title: Key Usage
|
|
10382
10808
|
type: object
|
|
@@ -11450,14 +11876,12 @@ components:
|
|
|
11450
11876
|
$ref: '#/components/schemas/Language'
|
|
11451
11877
|
primary_number:
|
|
11452
11878
|
type: string
|
|
11453
|
-
description:
|
|
11454
|
-
|
|
11455
|
-
- ''
|
|
11879
|
+
description: House number or PO Box number
|
|
11880
|
+
example: '10'
|
|
11456
11881
|
secondary_number:
|
|
11457
11882
|
type: string
|
|
11458
|
-
description:
|
|
11459
|
-
|
|
11460
|
-
- ''
|
|
11883
|
+
description: Unit or apartment number
|
|
11884
|
+
example: '4'
|
|
11461
11885
|
plus_4_code:
|
|
11462
11886
|
type: string
|
|
11463
11887
|
description: Not available for non-US addresses
|
|
@@ -11502,9 +11926,8 @@ components:
|
|
|
11502
11926
|
- ''
|
|
11503
11927
|
street_name:
|
|
11504
11928
|
type: string
|
|
11505
|
-
description:
|
|
11506
|
-
|
|
11507
|
-
- ''
|
|
11929
|
+
description: Street name
|
|
11930
|
+
example: Harvey St
|
|
11508
11931
|
street_suffix_abbreviation:
|
|
11509
11932
|
type: string
|
|
11510
11933
|
description: Not available for non-US addresses
|
|
@@ -11517,9 +11940,8 @@ components:
|
|
|
11517
11940
|
- ''
|
|
11518
11941
|
building_or_firm_name:
|
|
11519
11942
|
type: string
|
|
11520
|
-
description:
|
|
11521
|
-
|
|
11522
|
-
- ''
|
|
11943
|
+
description: Name of the company or building associated with the address
|
|
11944
|
+
example: Cooper Ltd
|
|
11523
11945
|
address_secondary_abbreviation:
|
|
11524
11946
|
type: string
|
|
11525
11947
|
description: Not available for non-US addresses
|
|
@@ -11630,6 +12052,7 @@ components:
|
|
|
11630
12052
|
- $ref: '#/components/schemas/FodbosaAddress'
|
|
11631
12053
|
- $ref: '#/components/schemas/MoisAddress'
|
|
11632
12054
|
- $ref: '#/components/schemas/UpujpAddress'
|
|
12055
|
+
- $ref: '#/components/schemas/BevAddress'
|
|
11633
12056
|
UsaResolveAddressResponse:
|
|
11634
12057
|
title: Address Retrieve Response (USA)
|
|
11635
12058
|
type: object
|
|
@@ -12894,6 +13317,22 @@ components:
|
|
|
12894
13317
|
schema:
|
|
12895
13318
|
type: string
|
|
12896
13319
|
style: form
|
|
13320
|
+
DatasetParam:
|
|
13321
|
+
name: dataset
|
|
13322
|
+
in: query
|
|
13323
|
+
style: form
|
|
13324
|
+
explode: false
|
|
13325
|
+
schema:
|
|
13326
|
+
type: array
|
|
13327
|
+
items:
|
|
13328
|
+
$ref: '#/components/schemas/Dataset'
|
|
13329
|
+
description: |
|
|
13330
|
+
**Filter by Dataset**
|
|
13331
|
+
|
|
13332
|
+
Comma-separated list of datasets to search within.
|
|
13333
|
+
|
|
13334
|
+
Filters autocomplete results to only include addresses from the specified datasets.
|
|
13335
|
+
example: paf,nyb
|
|
12897
13336
|
ContextParam:
|
|
12898
13337
|
name: context
|
|
12899
13338
|
in: query
|