@addresszen/openapi 3.5.1 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi.cjs.map +1 -1
- package/dist/openapi.d.cts +61 -61
- package/dist/openapi.d.ts +61 -61
- package/dist/openapi.json +49 -49
- package/dist/openapi.yaml +53 -53
- package/openapi.ts +61 -61
- package/package.json +1 -1
package/dist/openapi.yaml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
openapi: 3.0.3
|
|
2
2
|
info:
|
|
3
|
-
version: 3.5.
|
|
3
|
+
version: 3.5.2
|
|
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
|
|
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.
|
|
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
|
|
@@ -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 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.
|
|
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 thoroughfare or building name only? Are accurate
|
|
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?
|
|
741
741
|
operationId: AddressCleanse
|
|
742
742
|
parameters:
|
|
743
743
|
- $ref: '#/components/parameters/ApiKeyParam'
|
|
@@ -1233,7 +1233,7 @@ paths:
|
|
|
1233
1233
|
|
|
1234
1234
|
All filters can accept multiple terms unless stated otherwise below.
|
|
1235
1235
|
|
|
1236
|
-
Multiple filters can also be combined. E.g. Restrict results to small user
|
|
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.
|
|
1237
1237
|
|
|
1238
1238
|
A combined maximum of 5 terms are allowed across all filters.
|
|
1239
1239
|
|
|
@@ -2190,7 +2190,7 @@ components:
|
|
|
2190
2190
|
paf_line1:
|
|
2191
2191
|
title: Line 1
|
|
2192
2192
|
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
|
|
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.
|
|
2194
2194
|
example: Prime Minister & First Lord of Treasury
|
|
2195
2195
|
paf_line2:
|
|
2196
2196
|
title: Line 2
|
|
@@ -2338,13 +2338,13 @@ components:
|
|
|
2338
2338
|
paf_department_name:
|
|
2339
2339
|
title: Department Name
|
|
2340
2340
|
type: string
|
|
2341
|
-
description: Used to
|
|
2341
|
+
description: Used to supplement Organization Name to identify a department within the organization.
|
|
2342
2342
|
maxLength: 60
|
|
2343
2343
|
example: ''
|
|
2344
2344
|
paf_organisation_name:
|
|
2345
|
-
title:
|
|
2345
|
+
title: Organization Name
|
|
2346
2346
|
type: string
|
|
2347
|
-
description: Used to
|
|
2347
|
+
description: Used to supplement Organization Name to identify a department within the organization
|
|
2348
2348
|
maxLength: 60
|
|
2349
2349
|
example: Prime Minister & First Lord Of The Treasury
|
|
2350
2350
|
paf_postcode_type:
|
|
@@ -2358,9 +2358,9 @@ components:
|
|
|
2358
2358
|
|
|
2359
2359
|
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
2360
|
paf_su_organisation_indicator:
|
|
2361
|
-
title: Small User
|
|
2361
|
+
title: Small User Organization Indicator
|
|
2362
2362
|
type: string
|
|
2363
|
-
description: Small User
|
|
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.
|
|
2364
2364
|
example: 'Y'
|
|
2365
2365
|
paf_delivery_point_suffix:
|
|
2366
2366
|
title: Delivery Point Suffix
|
|
@@ -3047,10 +3047,10 @@ components:
|
|
|
3047
3047
|
maxLength: 13
|
|
3048
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
3049
|
organisation:
|
|
3050
|
-
title:
|
|
3050
|
+
title: Organization
|
|
3051
3051
|
type: string
|
|
3052
3052
|
maxLength: 100
|
|
3053
|
-
description: The
|
|
3053
|
+
description: The organization name is the business name given, when appropriate, to an address record.
|
|
3054
3054
|
country:
|
|
3055
3055
|
$ref: '#/components/schemas/paf_country'
|
|
3056
3056
|
country_iso:
|
|
@@ -4041,11 +4041,11 @@ components:
|
|
|
4041
4041
|
type: string
|
|
4042
4042
|
maxLength: 60
|
|
4043
4043
|
minLength: 0
|
|
4044
|
-
description: The department or division within an
|
|
4044
|
+
description: The department or division within an organization. If the department element exists, then the organization must also exist.
|
|
4045
4045
|
example: Accounts Department
|
|
4046
4046
|
organisation:
|
|
4047
4047
|
type: string
|
|
4048
|
-
description:
|
|
4048
|
+
description: Organization name
|
|
4049
4049
|
maxLength: 60
|
|
4050
4050
|
minLength: 0
|
|
4051
4051
|
example: Oak Tree Limited
|
|
@@ -4214,7 +4214,7 @@ components:
|
|
|
4214
4214
|
maxLength: 10
|
|
4215
4215
|
organisation_id:
|
|
4216
4216
|
type: string
|
|
4217
|
-
description:
|
|
4217
|
+
description: Organization ID
|
|
4218
4218
|
example: '10098783'
|
|
4219
4219
|
maxLength: 10
|
|
4220
4220
|
minLength: 1
|
|
@@ -4298,7 +4298,7 @@ components:
|
|
|
4298
4298
|
Addresses points can assume one of the following values:
|
|
4299
4299
|
|
|
4300
4300
|
- 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
|
|
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.
|
|
4302
4302
|
- 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
4303
|
|
|
4304
4304
|
Buildings can contain multiple address points of type Residential and/or Non-Residential.
|
|
@@ -4308,8 +4308,8 @@ components:
|
|
|
4308
4308
|
|
|
4309
4309
|
- Single Occupancy Residential Building. This type of building contains one residential address.
|
|
4310
4310
|
- 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
|
|
4312
|
-
- Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other
|
|
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).
|
|
4313
4313
|
- Multi Occupancy Mixed Use Building. This type of building contains multiple residential and non- residential addresses.
|
|
4314
4314
|
|
|
4315
4315
|
Buildings can also have a more specific address types such as a Hospital, School, Shopping Centre, etc.
|
|
@@ -4322,7 +4322,7 @@ components:
|
|
|
4322
4322
|
The building group type can be:
|
|
4323
4323
|
|
|
4324
4324
|
- 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
|
|
4325
|
+
- Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organization) only.
|
|
4326
4326
|
- 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
4327
|
|
|
4328
4328
|
Building groups can also have a more specific address type such as a Hospital, School, Shopping Centre, etc.
|
|
@@ -4400,7 +4400,7 @@ components:
|
|
|
4400
4400
|
- 'N'
|
|
4401
4401
|
- ''
|
|
4402
4402
|
org_vacant:
|
|
4403
|
-
description: A Yes/No field, indicating whether the
|
|
4403
|
+
description: A Yes/No field, indicating whether the organization is vacant.
|
|
4404
4404
|
enum:
|
|
4405
4405
|
- 'Y'
|
|
4406
4406
|
- 'N'
|
|
@@ -6479,7 +6479,7 @@ components:
|
|
|
6479
6479
|
organisasjonsnummer:
|
|
6480
6480
|
type: string
|
|
6481
6481
|
description: |
|
|
6482
|
-
Unique identifier of
|
|
6482
|
+
Unique identifier of organization in the Brønnøysund Register.
|
|
6483
6483
|
|
|
6484
6484
|
Can be empty string `""` if not present.
|
|
6485
6485
|
tettstednummer:
|
|
@@ -8491,7 +8491,7 @@ components:
|
|
|
8491
8491
|
org_id:
|
|
8492
8492
|
type: string
|
|
8493
8493
|
description: |
|
|
8494
|
-
The unique identifier of an
|
|
8494
|
+
The unique identifier of an organization.
|
|
8495
8495
|
|
|
8496
8496
|
Can be empty string `""` if not present.
|
|
8497
8497
|
org_type_ind:
|
|
@@ -8499,7 +8499,7 @@ components:
|
|
|
8499
8499
|
- type: string
|
|
8500
8500
|
- type: number
|
|
8501
8501
|
description: |
|
|
8502
|
-
Indicates the type of
|
|
8502
|
+
Indicates the type of organization.
|
|
8503
8503
|
|
|
8504
8504
|
Can be empty string `""` if not present.
|
|
8505
8505
|
org_sub_type_ind:
|
|
@@ -8507,67 +8507,67 @@ components:
|
|
|
8507
8507
|
- type: string
|
|
8508
8508
|
- type: number
|
|
8509
8509
|
description: |
|
|
8510
|
-
Indicates the sub-type of the
|
|
8510
|
+
Indicates the sub-type of the organization.
|
|
8511
8511
|
|
|
8512
8512
|
Can be empty string `""` if not present.
|
|
8513
8513
|
org_loc_id:
|
|
8514
8514
|
type: string
|
|
8515
8515
|
description: |
|
|
8516
|
-
Locality identifier for the
|
|
8516
|
+
Locality identifier for the organization.
|
|
8517
8517
|
|
|
8518
8518
|
Can be empty string `""` if not present.
|
|
8519
8519
|
org_dis_id:
|
|
8520
8520
|
type: string
|
|
8521
8521
|
description: |
|
|
8522
|
-
District identifier for the
|
|
8522
|
+
District identifier for the organization.
|
|
8523
8523
|
|
|
8524
8524
|
Can be empty string `""` if not present.
|
|
8525
8525
|
org_nei_id:
|
|
8526
8526
|
type: string
|
|
8527
8527
|
description: |
|
|
8528
|
-
|
|
8528
|
+
Neighborhood identifier for the organization.
|
|
8529
8529
|
|
|
8530
8530
|
Can be empty string `""` if not present.
|
|
8531
8531
|
org_org_id:
|
|
8532
8532
|
type: string
|
|
8533
8533
|
description: |
|
|
8534
|
-
Associated
|
|
8534
|
+
Associated organization identifier for the organization.
|
|
8535
8535
|
|
|
8536
8536
|
Can be empty string `""` if not present.
|
|
8537
8537
|
org_name:
|
|
8538
8538
|
type: string
|
|
8539
8539
|
description: |
|
|
8540
|
-
Name of the
|
|
8540
|
+
Name of the organization.
|
|
8541
8541
|
|
|
8542
8542
|
Can be empty string `""` if not present.
|
|
8543
8543
|
org_name_trans:
|
|
8544
8544
|
type: string
|
|
8545
8545
|
description: |
|
|
8546
|
-
Translated name of the
|
|
8546
|
+
Translated name of the organization in Latin script.
|
|
8547
8547
|
|
|
8548
8548
|
Can be empty string `""` if not present.
|
|
8549
8549
|
org_loc_sfx:
|
|
8550
8550
|
type: string
|
|
8551
8551
|
description: |
|
|
8552
|
-
Suffix of the locality for the
|
|
8552
|
+
Suffix of the locality for the organization.
|
|
8553
8553
|
|
|
8554
8554
|
Can be empty string `""` if not present.
|
|
8555
8555
|
org_loc_sfx_trans:
|
|
8556
8556
|
type: string
|
|
8557
8557
|
description: |
|
|
8558
|
-
Translated suffix of the locality for the
|
|
8558
|
+
Translated suffix of the locality for the organization in Latin script.
|
|
8559
8559
|
|
|
8560
8560
|
Can be empty string `""` if not present.
|
|
8561
8561
|
org_adr:
|
|
8562
8562
|
type: string
|
|
8563
8563
|
description: |
|
|
8564
|
-
Address of the
|
|
8564
|
+
Address of the organization.
|
|
8565
8565
|
|
|
8566
8566
|
Can be empty string `""` if not present.
|
|
8567
8567
|
org_adr_trans:
|
|
8568
8568
|
type: string
|
|
8569
8569
|
description: |
|
|
8570
|
-
Translated address of the
|
|
8570
|
+
Translated address of the organization in Latin script.
|
|
8571
8571
|
|
|
8572
8572
|
Can be empty string `""` if not present.
|
|
8573
8573
|
org_po_ind:
|
|
@@ -8575,49 +8575,49 @@ components:
|
|
|
8575
8575
|
- type: string
|
|
8576
8576
|
- type: number
|
|
8577
8577
|
description: |
|
|
8578
|
-
Indicates whether the
|
|
8578
|
+
Indicates whether the organization has a post office box.
|
|
8579
8579
|
|
|
8580
8580
|
Can be empty string `""` if not present.
|
|
8581
8581
|
org_po_start:
|
|
8582
8582
|
type: string
|
|
8583
8583
|
description: |
|
|
8584
|
-
Post office box number or start of the post office box range associated with the
|
|
8584
|
+
Post office box number or start of the post office box range associated with the organization.
|
|
8585
8585
|
|
|
8586
8586
|
Can be empty string `""` if not present.
|
|
8587
8587
|
org_po_end:
|
|
8588
8588
|
type: string
|
|
8589
8589
|
description: |
|
|
8590
|
-
End of the post office box range associated with the
|
|
8590
|
+
End of the post office box range associated with the organization.
|
|
8591
8591
|
|
|
8592
8592
|
Can be empty string `""` if not present.
|
|
8593
8593
|
org_dsc:
|
|
8594
8594
|
type: string
|
|
8595
8595
|
description: |
|
|
8596
|
-
Additional information about the
|
|
8596
|
+
Additional information about the organization.
|
|
8597
8597
|
|
|
8598
8598
|
Can be empty string `""` if not present.
|
|
8599
8599
|
org_dsc_trans:
|
|
8600
8600
|
type: string
|
|
8601
8601
|
description: |
|
|
8602
|
-
Translated additional information about the
|
|
8602
|
+
Translated additional information about the organization in Latin script.
|
|
8603
8603
|
|
|
8604
8604
|
Can be empty string `""` if not present.
|
|
8605
8605
|
org_pcode:
|
|
8606
8606
|
type: string
|
|
8607
8607
|
description: |
|
|
8608
|
-
Postal code for the
|
|
8608
|
+
Postal code for the organization.
|
|
8609
8609
|
|
|
8610
8610
|
Can be empty string `""` if not present.
|
|
8611
8611
|
org_pcode_fin:
|
|
8612
8612
|
type: string
|
|
8613
8613
|
description: |
|
|
8614
|
-
Final postal code for the
|
|
8614
|
+
Final postal code for the organization.
|
|
8615
8615
|
|
|
8616
8616
|
Can be empty string `""` if not present.
|
|
8617
8617
|
org_script:
|
|
8618
8618
|
type: string
|
|
8619
8619
|
description: |
|
|
8620
|
-
Script used for the
|
|
8620
|
+
Script used for the organization name.
|
|
8621
8621
|
|
|
8622
8622
|
`Hani` = Kanji, `Hira` = Hiragana, `Latn` = Latin.
|
|
8623
8623
|
|
|
@@ -8625,7 +8625,7 @@ components:
|
|
|
8625
8625
|
org_language:
|
|
8626
8626
|
type: string
|
|
8627
8627
|
description: |
|
|
8628
|
-
Language used for the
|
|
8628
|
+
Language used for the organization name.
|
|
8629
8629
|
|
|
8630
8630
|
Can be empty string `""` if not present.
|
|
8631
8631
|
str_id:
|
|
@@ -8661,7 +8661,7 @@ components:
|
|
|
8661
8661
|
str_org_id:
|
|
8662
8662
|
type: string
|
|
8663
8663
|
description: |
|
|
8664
|
-
Associated
|
|
8664
|
+
Associated organization identifier for the street.
|
|
8665
8665
|
|
|
8666
8666
|
Can be empty string `""` if not present.
|
|
8667
8667
|
str_pfx:
|
|
@@ -9731,7 +9731,7 @@ components:
|
|
|
9731
9731
|
- ''
|
|
9732
9732
|
organisation_name:
|
|
9733
9733
|
type: string
|
|
9734
|
-
description: Name of the company or
|
|
9734
|
+
description: Name of the company or organization associated with the address
|
|
9735
9735
|
example: Farrell's Gift Shop
|
|
9736
9736
|
udprn:
|
|
9737
9737
|
type: string
|
|
@@ -10560,7 +10560,7 @@ components:
|
|
|
10560
10560
|
ip_forwarding:
|
|
10561
10561
|
type: boolean
|
|
10562
10562
|
default: false
|
|
10563
|
-
description: Accept IP addresses forwarded in the `
|
|
10563
|
+
description: Accept IP addresses forwarded in the `AZ-Source-IP` header
|
|
10564
10564
|
ApiKeyDetailsResponse:
|
|
10565
10565
|
title: API Key Details Response
|
|
10566
10566
|
type: object
|
|
@@ -10677,7 +10677,7 @@ components:
|
|
|
10677
10677
|
ip_forwarding:
|
|
10678
10678
|
type: boolean
|
|
10679
10679
|
default: false
|
|
10680
|
-
description: Accept IP addresses forwarded in the `
|
|
10680
|
+
description: Accept IP addresses forwarded in the `AZ-Source-IP` header
|
|
10681
10681
|
datasets:
|
|
10682
10682
|
title: API Key Dataset Availability
|
|
10683
10683
|
description: Indicates which datasets are available and added by default to the address responses
|
|
@@ -11295,7 +11295,7 @@ components:
|
|
|
11295
11295
|
A confidence score represented as number between 1 and 0. 1 indicates a full match. 0 indicates no complete matching elements.
|
|
11296
11296
|
organisation_match:
|
|
11297
11297
|
type: string
|
|
11298
|
-
description: Match indicator for the
|
|
11298
|
+
description: Match indicator for the organization
|
|
11299
11299
|
enum:
|
|
11300
11300
|
- FULL
|
|
11301
11301
|
- PARTIAL
|
|
@@ -12890,7 +12890,7 @@ components:
|
|
|
12890
12890
|
description: Returns `true` if the email originates from a free service like Outlook or Gmail.
|
|
12891
12891
|
role:
|
|
12892
12892
|
type: boolean
|
|
12893
|
-
description: Returns `true` if email address represents an
|
|
12893
|
+
description: Returns `true` if email address represents an organizational role like `admin`, `support`, `postmaster` etc
|
|
12894
12894
|
catchall:
|
|
12895
12895
|
type: boolean
|
|
12896
12896
|
description: Returns `true` if this domain accepts all emails regardless of username
|
|
@@ -13506,7 +13506,7 @@ components:
|
|
|
13506
13506
|
description: |
|
|
13507
13507
|
**Filter by Postcode Type**
|
|
13508
13508
|
|
|
13509
|
-
Filter by Postcode Type. Useful for separating
|
|
13509
|
+
Filter by Postcode Type. Useful for separating organizational and residential addresses
|
|
13510
13510
|
SmallUserParam:
|
|
13511
13511
|
name: su_organisation_indicator
|
|
13512
13512
|
in: query
|
|
@@ -13515,9 +13515,9 @@ components:
|
|
|
13515
13515
|
schema:
|
|
13516
13516
|
type: string
|
|
13517
13517
|
description: |
|
|
13518
|
-
**Filter by
|
|
13518
|
+
**Filter by Organization Indicator**
|
|
13519
13519
|
|
|
13520
|
-
Useful for separating
|
|
13520
|
+
Useful for separating organizational and residential addresses
|
|
13521
13521
|
example: 'Y'
|
|
13522
13522
|
BiasPostcodeOutwardParam:
|
|
13523
13523
|
name: bias_postcode_outward
|