@addresszen/openapi 3.5.2 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
- "version": "3.5.2",
4
+ "version": "3.6.0",
5
5
  "license": {
6
6
  "name": "AGPLv3",
7
7
  "url": "https://opensource.org/licenses/AGPL-3.0"
@@ -41,7 +41,7 @@
41
41
  },
42
42
  {
43
43
  "name": "Licensees",
44
- "description": "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.\n\nThe concept of Licensees underpins our sublicensing platform, which allows users to license multiple external organizations or individuals to access data under the same account.\n\nSublicensing is ideal for platform vendors, who provide services to multiple clients who in turn each have their own users.\n"
44
+ "description": "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.\n\nThe concept of Licensees underpins our sublicensing platform, which allows users to license multiple external organisations or individuals to access data under the same account.\n\nSublicensing is ideal for platform vendors, who provide services to multiple clients who in turn each have their own users.\n"
45
45
  },
46
46
  {
47
47
  "name": "Configs",
@@ -77,6 +77,61 @@
77
77
  "x-displayName": "AddressBase Core",
78
78
  "description": "AddressBase Core Address. An alternative to UK PAF dataset from Ordnance Survey.\n\nPlease contact us to have this enabled on your account.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AddressBaseCore\" />\n"
79
79
  },
80
+ {
81
+ "name": "abp_address",
82
+ "x-displayName": "AddressBase Premium",
83
+ "description": "AddressBase Premium Address. The full property-level record from Ordnance\nSurvey AddressBase Premium — the flat `abp.addresses` row (BLPU, DPA,\nClassification, Organisation, LPI, Street and cross references).\n\nPlease contact us to have this enabled on your account.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AddressBasePremium\" />\n"
84
+ },
85
+ {
86
+ "name": "bev_address",
87
+ "x-displayName": "AT Address",
88
+ "description": "Standard Austrian Address format as reported by the BEV (Bundesamt\nfür Eich- und Vermessungswesen) address register.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/BevAddress\" />\n"
89
+ },
90
+ {
91
+ "name": "gnaf_address",
92
+ "x-displayName": "AU Address",
93
+ "description": "Standard Australian Address format from Geoscape's Geocoded National\nAddress File (G-NAF).\n\n<SchemaDefinition schemaRef=\"#/components/schemas/GnafAddress\" />\n"
94
+ },
95
+ {
96
+ "name": "fodbosa_address",
97
+ "x-displayName": "BE Address",
98
+ "description": "Standard Belgian Address format from the federal BeST address dataset\n(FOD BOSA).\n\n<SchemaDefinition schemaRef=\"#/components/schemas/FodbosaAddress\" />\n"
99
+ },
100
+ {
101
+ "name": "cannar_address",
102
+ "x-displayName": "CA Address",
103
+ "description": "Standard Canadian Address format from the National Address Register.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/CannarAddress\" />\n"
104
+ },
105
+ {
106
+ "name": "sdfi_address",
107
+ "x-displayName": "DK Address",
108
+ "description": "Standard Danish Address format from the Danish Agency for Data Supply\nand Infrastructure (SDFI).\n\n<SchemaDefinition schemaRef=\"#/components/schemas/SdfiAddress\" />\n"
109
+ },
110
+ {
111
+ "name": "upujp_address",
112
+ "x-displayName": "JP Address",
113
+ "description": "Standard Japanese Address format from the Japan UPU address file.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/UpujpAddress\" />\n"
114
+ },
115
+ {
116
+ "name": "mois_address",
117
+ "x-displayName": "KR Address",
118
+ "description": "Standard South Korean Address format from the Korean Ministry of the\nInterior and Safety (MOIS).\n\n<SchemaDefinition schemaRef=\"#/components/schemas/MoisAddress\" />\n"
119
+ },
120
+ {
121
+ "name": "kadaster_address",
122
+ "x-displayName": "NL Address",
123
+ "description": "Standard Dutch Address format from Kadaster BAG 2.0.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/KadasterAddress\" />\n"
124
+ },
125
+ {
126
+ "name": "kartverket_address",
127
+ "x-displayName": "NO Address",
128
+ "description": "Standard Norwegian Address format from the Norwegian Mapping Authority\n(Kartverket).\n\n<SchemaDefinition schemaRef=\"#/components/schemas/KartverketAddress\" />\n"
129
+ },
130
+ {
131
+ "name": "here_address",
132
+ "x-displayName": "HERE Address",
133
+ "description": "Address from the global HERE dataset, covering regions not served by a\nnational address file.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/HereAddress\" />\n"
134
+ },
80
135
  {
81
136
  "name": "geonames_place",
82
137
  "x-displayName": "GeoNames Place",
@@ -743,7 +798,7 @@
743
798
  "UK"
744
799
  ],
745
800
  "summary": "Cleanse Address",
746
- "description": "The address cleanse API attempts to return the closest matching address for any given address inputs. We also return a number of Match Level indicators that describe the degree to which the suggested address matches the input address. The more impaired the input address, the harder it is to cleanse.\n\n## Confidence Score\n\nThe confidence score is a number ranging between 0 and 1. Where 1 implies a full match and 0 implies no major elements completely match. Each incorrect, missing or misspelled element will subtract from the overall confidence score.\n\n### Deciding on an Acceptable Confidence Score Threshold\n\nDifferent 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.\n\nWhen 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:\n - Which confidence scores indicate ambiguous matches (i.e. up to building level only)\n- Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)\n\nDepending 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?\n",
801
+ "description": "The address cleanse API attempts to return the closest matching address for any given address inputs. We also return a number of Match Level indicators that describe the degree to which the suggested address matches the input address. The more impaired the input address, the harder it is to cleanse.\n\n## Confidence Score\n\nThe confidence score is a number ranging between 0 and 1. Where 1 implies a full match and 0 implies no major elements completely match. Each incorrect, missing or misspelled element will subtract from the overall confidence score.\n\n### Deciding on an Acceptable Confidence Score Threshold\n\nDifferent 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.\n\nWhen 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:\n - Which confidence scores indicate ambiguous matches (i.e. up to building level only)\n- Which confidence scores indicate a poor or no match (i.e. the nearest matching address is too far from the input address)\n\nDepending 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?\n",
747
802
  "operationId": "AddressCleanse",
748
803
  "parameters": [
749
804
  {
@@ -1335,7 +1390,7 @@
1335
1390
  "UK"
1336
1391
  ],
1337
1392
  "summary": "Extract Addresses",
1338
- "description": "Extract a list of complete addresses that match the query ordered by relevance score. This query accepts an optional limit and page query (defaults to 10 and 0 respectively).\n\nIf a valid postcode is passed as the query string, the entire address list for that postcode is passed as a result. Note, in these cases, limit and page parameters are ignored.\n\nThis API is designed as a multi-purpose tool for generating address lists, cleansing and wholesale data extraction according to specific parameters.\n\nFor address autocomplete, see our address finder API - which is designed for speed and address completion.\n\n## Reverse Geocoding\n\nReturn a list of addresses around a point using the lon= and lat= querystring arguments. Addresses will be sorted in order of distance to the point. The search radius is 100m.\n\n## Filters\n\nYou can strictly narrow your result by adding filters to your query string which correspond with an address attribute.\n\nFor instance, you can restrict to postcode `SW1A 2AA` by appending `postcode=sw1a2aa`.\n\nIf a filter term is invalid, e.g. `postcode=SW1A2AAA`, then an empty result set is returned and no lookup is incurred.\n\nYou can also scope using multiple terms for the same filter with a comma separated list of terms. E.g. Restrict results to E1, E2 and E3 outward codes: `postcode_outward=e1,e2,e3`. Multiple terms are `OR`'ed, i.e. the matching result sets are combined.\n\nAll filters can accept multiple terms unless stated otherwise below.\n\nMultiple 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.\n\nA combined maximum of 5 terms are allowed across all filters.\n\n## Biases\n\nYou can boost certain addresses results that correspond with a certain address attribute. All bias searches are prefixed with `bias_`.\n\nBiased searches, unlike filtered searches, also allow unmatched addresses to appear . These will rank lower.\n\nFor instance, you can boost addresses with postcode areas `SW` and `SE` by appending `bias_postcode_area=SW,SE`.\n\nIf a bias term is invalid, e.g. `bias_postcode=SW1A2AAA` no bias effect is applied.\n\nYou may scope using multiple terms for the same bias with a comma separated list of terms. E.g. Restrict results to `E1`, `E2` and `E3` outward codes: `bias_postcode_outward=e1,e2,e3`.\n\nAll biases can accept multiple terms unless stated otherwise below.\n\nA combined maximum of 5 terms are allowed across all biases.\n\n## Search by Postcode and Building Name or Number\n\nSearch by postcode and building attribute with the postcode filter and query argument. E.g. For \"SW1A 2AA Prime Minister\" `/v1/addresses?postcode=sw1a2aa&q=prime minister`.\n\nThe advantage of using filters is a postcode mismatch does not result in a lookup as no results are returned.\n\n#### Search By UPRN\n\nSearch by UPRN using the `uprn` filter and excluding the query argument. E.g. `/v1/addresses?uprn=100`.\n\n## Testing\n\n- **ID1 1QD** Returns a successful query response `2000`\n- **ID1 KFA** Returns an empty query response `2000`\n- **ID1 CLIP** Returns \"no lookups remaining\" error `4020`\n- **ID1 CHOP** Returns \"daily (or individual) lookup limit breached\" error `4021`\n\nTest request undergo the usual authentication and restriction rules. This is to help surface any issues that occur during implementation and does not cost you a lookup.\n",
1393
+ "description": "Extract a list of complete addresses that match the query ordered by relevance score. This query accepts an optional limit and page query (defaults to 10 and 0 respectively).\n\nIf a valid postcode is passed as the query string, the entire address list for that postcode is passed as a result. Note, in these cases, limit and page parameters are ignored.\n\nThis API is designed as a multi-purpose tool for generating address lists, cleansing and wholesale data extraction according to specific parameters.\n\nFor address autocomplete, see our address finder API - which is designed for speed and address completion.\n\n## Reverse Geocoding\n\nReturn a list of addresses around a point using the lon= and lat= querystring arguments. Addresses will be sorted in order of distance to the point. The search radius is 100m.\n\n## Filters\n\nYou can strictly narrow your result by adding filters to your query string which correspond with an address attribute.\n\nFor instance, you can restrict to postcode `SW1A 2AA` by appending `postcode=sw1a2aa`.\n\nIf a filter term is invalid, e.g. `postcode=SW1A2AAA`, then an empty result set is returned and no lookup is incurred.\n\nYou can also scope using multiple terms for the same filter with a comma separated list of terms. E.g. Restrict results to E1, E2 and E3 outward codes: `postcode_outward=e1,e2,e3`. Multiple terms are `OR`'ed, i.e. the matching result sets are combined.\n\nAll filters can accept multiple terms unless stated otherwise below.\n\nMultiple 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.\n\nA combined maximum of 5 terms are allowed across all filters.\n\n## Biases\n\nYou can boost certain addresses results that correspond with a certain address attribute. All bias searches are prefixed with `bias_`.\n\nBiased searches, unlike filtered searches, also allow unmatched addresses to appear . These will rank lower.\n\nFor instance, you can boost addresses with postcode areas `SW` and `SE` by appending `bias_postcode_area=SW,SE`.\n\nIf a bias term is invalid, e.g. `bias_postcode=SW1A2AAA` no bias effect is applied.\n\nYou may scope using multiple terms for the same bias with a comma separated list of terms. E.g. Restrict results to `E1`, `E2` and `E3` outward codes: `bias_postcode_outward=e1,e2,e3`.\n\nAll biases can accept multiple terms unless stated otherwise below.\n\nA combined maximum of 5 terms are allowed across all biases.\n\n## Search by Postcode and Building Name or Number\n\nSearch by postcode and building attribute with the postcode filter and query argument. E.g. For \"SW1A 2AA Prime Minister\" `/v1/addresses?postcode=sw1a2aa&q=prime minister`.\n\nThe advantage of using filters is a postcode mismatch does not result in a lookup as no results are returned.\n\n#### Search By UPRN\n\nSearch by UPRN using the `uprn` filter and excluding the query argument. E.g. `/v1/addresses?uprn=100`.\n\n## Testing\n\n- **ID1 1QD** Returns a successful query response `2000`\n- **ID1 KFA** Returns an empty query response `2000`\n- **ID1 CLIP** Returns \"no lookups remaining\" error `4020`\n- **ID1 CHOP** Returns \"daily (or individual) lookup limit breached\" error `4021`\n\nTest request undergo the usual authentication and restriction rules. This is to help surface any issues that occur during implementation and does not cost you a lookup.\n",
1339
1394
  "operationId": "Addresses",
1340
1395
  "parameters": [
1341
1396
  {
@@ -2641,6 +2696,264 @@
2641
2696
  }
2642
2697
  ]
2643
2698
  }
2699
+ },
2700
+ "/sign_up": {
2701
+ "post": {
2702
+ "tags": [
2703
+ "Sign Up"
2704
+ ],
2705
+ "summary": "Mint CLI Signup Token",
2706
+ "description": "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.\n\nThe 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.\n",
2707
+ "operationId": "SignUpMintToken",
2708
+ "requestBody": {
2709
+ "required": true,
2710
+ "content": {
2711
+ "application/json": {
2712
+ "schema": {
2713
+ "type": "object",
2714
+ "required": [
2715
+ "email",
2716
+ "name",
2717
+ "org_name",
2718
+ "org_address_line_one",
2719
+ "org_post_town",
2720
+ "org_postcode",
2721
+ "org_country_code"
2722
+ ],
2723
+ "properties": {
2724
+ "email": {
2725
+ "type": "string",
2726
+ "format": "email",
2727
+ "minLength": 1,
2728
+ "description": "Account holder's email address."
2729
+ },
2730
+ "name": {
2731
+ "type": "string",
2732
+ "minLength": 1,
2733
+ "description": "Account holder's full name."
2734
+ },
2735
+ "org_name": {
2736
+ "type": "string",
2737
+ "minLength": 1,
2738
+ "description": "Organisation name."
2739
+ },
2740
+ "org_address_line_one": {
2741
+ "type": "string",
2742
+ "minLength": 1
2743
+ },
2744
+ "org_address_line_two": {
2745
+ "type": "string"
2746
+ },
2747
+ "org_address_line_three": {
2748
+ "type": "string"
2749
+ },
2750
+ "org_post_town": {
2751
+ "type": "string",
2752
+ "minLength": 1
2753
+ },
2754
+ "org_postcode": {
2755
+ "type": "string",
2756
+ "minLength": 1
2757
+ },
2758
+ "org_country_code": {
2759
+ "type": "string",
2760
+ "minLength": 2,
2761
+ "description": "ISO 3166-1 alpha-2 country code."
2762
+ }
2763
+ }
2764
+ }
2765
+ }
2766
+ }
2767
+ },
2768
+ "responses": {
2769
+ "200": {
2770
+ "description": "Token minted",
2771
+ "content": {
2772
+ "application/json": {
2773
+ "schema": {
2774
+ "type": "object",
2775
+ "required": [
2776
+ "code",
2777
+ "message",
2778
+ "result"
2779
+ ],
2780
+ "properties": {
2781
+ "code": {
2782
+ "type": "integer",
2783
+ "example": 2000
2784
+ },
2785
+ "message": {
2786
+ "type": "string",
2787
+ "example": "Success"
2788
+ },
2789
+ "result": {
2790
+ "type": "object",
2791
+ "required": [
2792
+ "cli_token",
2793
+ "signup_url"
2794
+ ],
2795
+ "properties": {
2796
+ "cli_token": {
2797
+ "type": "string",
2798
+ "description": "Random URL-safe token (base64url). Used by the CLI to poll for credentials."
2799
+ },
2800
+ "signup_url": {
2801
+ "type": "string",
2802
+ "format": "uri",
2803
+ "description": "Prefilled accounts web URL. The user opens this in a browser to complete signup."
2804
+ }
2805
+ }
2806
+ }
2807
+ }
2808
+ }
2809
+ }
2810
+ }
2811
+ },
2812
+ "400": {
2813
+ "description": "Bad Request",
2814
+ "content": {
2815
+ "application/json": {
2816
+ "schema": {
2817
+ "$ref": "#/components/schemas/BadRequestResponse"
2818
+ }
2819
+ }
2820
+ }
2821
+ }
2822
+ }
2823
+ }
2824
+ },
2825
+ "/sign_up/{cli_token}": {
2826
+ "get": {
2827
+ "tags": [
2828
+ "Sign Up"
2829
+ ],
2830
+ "summary": "Poll CLI Signup Token",
2831
+ "description": "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`.\n\n- `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.\n- `200 OK` — User and first API key exist. Credentials are returned exactly once; subsequent polls return `410 Gone`.\n- `410 Gone` — Token has expired (per the `cli_token_expires_at` set by Rails on the User record) or has already been claimed.\n",
2832
+ "operationId": "SignUpClaim",
2833
+ "parameters": [
2834
+ {
2835
+ "name": "cli_token",
2836
+ "in": "path",
2837
+ "required": true,
2838
+ "description": "The token returned by `POST /sign_up`.",
2839
+ "schema": {
2840
+ "type": "string",
2841
+ "minLength": 1
2842
+ }
2843
+ }
2844
+ ],
2845
+ "responses": {
2846
+ "200": {
2847
+ "description": "Credentials ready",
2848
+ "content": {
2849
+ "application/json": {
2850
+ "schema": {
2851
+ "type": "object",
2852
+ "required": [
2853
+ "code",
2854
+ "message",
2855
+ "result"
2856
+ ],
2857
+ "properties": {
2858
+ "code": {
2859
+ "type": "integer",
2860
+ "example": 2000
2861
+ },
2862
+ "message": {
2863
+ "type": "string",
2864
+ "example": "Success"
2865
+ },
2866
+ "result": {
2867
+ "type": "object",
2868
+ "required": [
2869
+ "user_token",
2870
+ "test_api_key",
2871
+ "user_id"
2872
+ ],
2873
+ "properties": {
2874
+ "user_token": {
2875
+ "type": "string",
2876
+ "description": "User-level token used to manage account resources via the api."
2877
+ },
2878
+ "test_api_key": {
2879
+ "type": "string",
2880
+ "description": "Initial test API key for the account."
2881
+ },
2882
+ "user_id": {
2883
+ "type": "string",
2884
+ "description": "Internal api user id."
2885
+ }
2886
+ }
2887
+ }
2888
+ }
2889
+ }
2890
+ }
2891
+ }
2892
+ },
2893
+ "202": {
2894
+ "description": "Pending — keep polling",
2895
+ "content": {
2896
+ "application/json": {
2897
+ "schema": {
2898
+ "type": "object",
2899
+ "required": [
2900
+ "code",
2901
+ "message",
2902
+ "result"
2903
+ ],
2904
+ "properties": {
2905
+ "code": {
2906
+ "type": "integer",
2907
+ "example": 2020
2908
+ },
2909
+ "message": {
2910
+ "type": "string",
2911
+ "example": "Pending"
2912
+ },
2913
+ "result": {
2914
+ "type": "object",
2915
+ "required": [
2916
+ "status"
2917
+ ],
2918
+ "properties": {
2919
+ "status": {
2920
+ "type": "string",
2921
+ "enum": [
2922
+ "pending"
2923
+ ]
2924
+ }
2925
+ }
2926
+ }
2927
+ }
2928
+ }
2929
+ }
2930
+ }
2931
+ },
2932
+ "410": {
2933
+ "description": "Signup token expired or already claimed",
2934
+ "content": {
2935
+ "application/json": {
2936
+ "schema": {
2937
+ "type": "object",
2938
+ "required": [
2939
+ "code",
2940
+ "message"
2941
+ ],
2942
+ "properties": {
2943
+ "code": {
2944
+ "type": "integer",
2945
+ "example": 4100
2946
+ },
2947
+ "message": {
2948
+ "type": "string"
2949
+ }
2950
+ }
2951
+ }
2952
+ }
2953
+ }
2954
+ }
2955
+ }
2956
+ }
2644
2957
  }
2645
2958
  },
2646
2959
  "components": {
@@ -2657,6 +2970,9 @@
2657
2970
  "here": {
2658
2971
  "$ref": "#/components/schemas/HereAddress"
2659
2972
  },
2973
+ "gilp": {
2974
+ "$ref": "#/components/schemas/GilpGroundStability"
2975
+ },
2660
2976
  "ID": {
2661
2977
  "title": "ID",
2662
2978
  "type": "string",
@@ -2692,7 +3008,7 @@
2692
3008
  "paf_line1": {
2693
3009
  "title": "Line 1",
2694
3010
  "type": "string",
2695
- "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.",
3011
+ "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.",
2696
3012
  "example": "Prime Minister &amp; First Lord of Treasury"
2697
3013
  },
2698
3014
  "paf_line2": {
@@ -2831,14 +3147,14 @@
2831
3147
  "paf_department_name": {
2832
3148
  "title": "Department Name",
2833
3149
  "type": "string",
2834
- "description": "Used to supplement Organization Name to identify a department within the organization.",
3150
+ "description": "Used to supplement Organisation Name to identify a department within the organisation.",
2835
3151
  "maxLength": 60,
2836
3152
  "example": ""
2837
3153
  },
2838
3154
  "paf_organisation_name": {
2839
3155
  "title": "Organisation Name",
2840
3156
  "type": "string",
2841
- "description": "Used to supplement Organization Name to identify a department within the organization",
3157
+ "description": "Name of the business or organisation receiving mail at this delivery point",
2842
3158
  "maxLength": 60,
2843
3159
  "example": "Prime Minister &amp; First Lord Of The Treasury"
2844
3160
  },
@@ -2852,9 +3168,9 @@
2852
3168
  "description": "This indicates the type of user. It can only take the values 'S' or 'L' indicating small or large respectively. Large User Postcodes. These are assigned to one single address either due to the large volume of mail received at that address, or because a PO Box or Selectapost service has been set up. Small User Postcodes. These identify a group of Delivery Points.\n\nOn 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."
2853
3169
  },
2854
3170
  "paf_su_organisation_indicator": {
2855
- "title": "Small User Organization Indicator",
3171
+ "title": "Small User Organisation Indicator",
2856
3172
  "type": "string",
2857
- "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.",
3173
+ "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.",
2858
3174
  "example": "Y"
2859
3175
  },
2860
3176
  "paf_delivery_point_suffix": {
@@ -3526,205 +3842,1160 @@
3526
3842
  "line_3": {
3527
3843
  "$ref": "#/components/schemas/paf_line3"
3528
3844
  },
3529
- "premise": {
3530
- "$ref": "#/components/schemas/paf_premise"
3845
+ "premise": {
3846
+ "$ref": "#/components/schemas/paf_premise"
3847
+ },
3848
+ "uprn": {
3849
+ "title": "UPRN",
3850
+ "type": "string",
3851
+ "maxLength": 12,
3852
+ "description": "Unique Property Reference Number (UPRN) assigned by the LLPG Custodian or Ordnance Survey."
3853
+ },
3854
+ "udprn": {
3855
+ "title": "UDPRN",
3856
+ "type": "number",
3857
+ "maxLength": 8,
3858
+ "description": "Royal Mail's Unique Delivery Point Reference Number (UDPRN)."
3859
+ },
3860
+ "parent_uprn": {
3861
+ "title": "PARENT_UPRN",
3862
+ "type": "string",
3863
+ "maxLength": 12,
3864
+ "description": "UPRN of the parent Record if a parent-child relationship exists."
3865
+ },
3866
+ "usrn": {
3867
+ "title": "USRN",
3868
+ "type": "number",
3869
+ "maxLength": 8,
3870
+ "description": "Unique Street Reference Number assigned by the Street Name and Numbering Custodian OR\n\nOrdnance Survey depending on the address record."
3871
+ },
3872
+ "toid": {
3873
+ "title": "TOID",
3874
+ "type": "string",
3875
+ "maxLength": 20,
3876
+ "description": "The Topographic Identifier taken from OS MasterMap Topography Layer. This TOID is assigned to the UPRN by performing a spatial intersection between the two identifiers. It consists of the letters 'osgb' and is followed by up to sixteen digits."
3877
+ },
3878
+ "classification_code": {
3879
+ "title": "Classification Code",
3880
+ "type": "string",
3881
+ "maxLength": 4,
3882
+ "description": "A code that describes the classification of the address record to a maximum of a secondary level."
3883
+ },
3884
+ "eastings": {
3885
+ "title": "Easting",
3886
+ "type": "number",
3887
+ "maxLength": 8,
3888
+ "multipleOf": 0.01,
3889
+ "description": "A value in metres defining the x location in accordance with the British National Grid."
3890
+ },
3891
+ "northings": {
3892
+ "title": "Northing",
3893
+ "type": "number",
3894
+ "maxLength": 9,
3895
+ "multipleOf": 0.01,
3896
+ "description": "A value in metres defining the y location in accordance with the British National Grid."
3897
+ },
3898
+ "latitude": {
3899
+ "title": "Latitude",
3900
+ "type": "number",
3901
+ "description": "A value in metres defining the y location in accordance with the British National Grid."
3902
+ },
3903
+ "longitude": {
3904
+ "title": "Longitude",
3905
+ "type": "number",
3906
+ "description": "A value defining the Longitude location in accordance with the ETRS89 coordinate reference system."
3907
+ },
3908
+ "single_address_line": {
3909
+ "title": "Single Line Address",
3910
+ "type": "string",
3911
+ "maxLength": 500,
3912
+ "description": "A single attribute containing text concatenation of the address elements separated by a comma."
3913
+ },
3914
+ "street_name": {
3915
+ "title": "Single Line Address",
3916
+ "type": "string",
3917
+ "maxLength": 100,
3918
+ "description": "Street / Road name for the address record."
3919
+ },
3920
+ "locality": {
3921
+ "title": "Locality",
3922
+ "type": "string",
3923
+ "maxLength": 35,
3924
+ "description": "A locality defines an area or geographical identifier within a town, village or hamlet. Locality represents the lower level geographical area. The locality field should be used in conjunction with the town name and street description fields to uniquely identify geographic area where there may be more than one within an administrative area."
3925
+ },
3926
+ "town_name": {
3927
+ "title": "Town Name",
3928
+ "type": "string",
3929
+ "maxLength": 35,
3930
+ "description": "Geographical town name assigned by the Local Authority. Please note this can be different from the Post Town value assigned by Royal Mail."
3931
+ },
3932
+ "delivery_point_suffix": {
3933
+ "title": "Delivery Point Suffix",
3934
+ "type": "string",
3935
+ "maxLength": 2,
3936
+ "description": "A two-character code uniquely identifying an individual delivery point within a postcode, assigned by Royal Mail."
3937
+ },
3938
+ "post_town": {
3939
+ "title": "Town Name",
3940
+ "type": "string",
3941
+ "maxLength": 30,
3942
+ "description": "The town or city in which the Royal Mail sorting office is located which services this address record.\n\nCondition:\nPOST_TOWN is not populated if this is the same as TOWN_NAME."
3943
+ },
3944
+ "gss_code": {
3945
+ "title": "Governmental Statistical Service",
3946
+ "type": "string",
3947
+ "maxLength": 9,
3948
+ "description": "The Office for National Statistics Governmental Statistical Service (GSS) code representing the contributing Local Authority."
3949
+ },
3950
+ "rpc": {
3951
+ "title": "Representative Point Code",
3952
+ "type": "number",
3953
+ "maxLength": 1,
3954
+ "description": "Representative Point Code describes the accuracy of the coordinate that has been allocated to the UPRN as indicated by the Local Authority and enhanced using large scale OS data."
3955
+ },
3956
+ "last_update_date": {
3957
+ "title": "Last Update Date",
3958
+ "type": "string",
3959
+ "format": "date",
3960
+ "description": "The latest date on which any of the attributes on this record were last changed."
3961
+ },
3962
+ "island": {
3963
+ "title": "Island",
3964
+ "type": "string",
3965
+ "maxLength": 50,
3966
+ "description": "Third level of geographic area name to record island names where appropriate."
3967
+ },
3968
+ "change_code": {
3969
+ "title": "Change Code",
3970
+ "type": "string",
3971
+ "maxLength": 50,
3972
+ "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",
3973
+ "enum": [
3974
+ "I",
3975
+ "U",
3976
+ "D"
3977
+ ]
3978
+ },
3979
+ "building_name": {
3980
+ "title": "Building Name",
3981
+ "type": "string",
3982
+ "maxLength": 110,
3983
+ "description": "The building name is a description applied to a single address or a group of addresses."
3984
+ },
3985
+ "building_number": {
3986
+ "title": "Building Number",
3987
+ "type": "string",
3988
+ "maxLength": 13,
3989
+ "description": "The building number is a number or range of numbers given to a single address or a group of addresses."
3990
+ },
3991
+ "sub_building": {
3992
+ "title": "Sub-building",
3993
+ "type": "string",
3994
+ "maxLength": 110,
3995
+ "description": "The sub-building name and/or number for the address record."
3996
+ },
3997
+ "postcode": {
3998
+ "title": "Postcode",
3999
+ "type": "string",
4000
+ "maxLength": 8,
4001
+ "description": "A postcode assigned by Royal Mail for the address record."
4002
+ },
4003
+ "po_box": {
4004
+ "title": "PO Box",
4005
+ "type": "string",
4006
+ "maxLength": 13,
4007
+ "description": "Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number."
4008
+ },
4009
+ "organisation": {
4010
+ "title": "Organisation",
4011
+ "type": "string",
4012
+ "maxLength": 100,
4013
+ "description": "The organisation name is the business name given, when appropriate, to an address record."
4014
+ },
4015
+ "country": {
4016
+ "$ref": "#/components/schemas/paf_country"
4017
+ },
4018
+ "country_iso": {
4019
+ "$ref": "#/components/schemas/paf_country_iso"
4020
+ },
4021
+ "county": {
4022
+ "$ref": "#/components/schemas/paf_county"
4023
+ },
4024
+ "district": {
4025
+ "$ref": "#/components/schemas/paf_district"
4026
+ },
4027
+ "ward": {
4028
+ "$ref": "#/components/schemas/paf_ward"
4029
+ },
4030
+ "traditional_county": {
4031
+ "$ref": "#/components/schemas/paf_traditional_county"
4032
+ },
4033
+ "administrative_county": {
4034
+ "$ref": "#/components/schemas/paf_administrative_county"
4035
+ },
4036
+ "postal_county": {
4037
+ "$ref": "#/components/schemas/paf_postal_county"
4038
+ }
4039
+ }
4040
+ },
4041
+ "AbAddress": {
4042
+ "title": "AddressBase Core",
4043
+ "description": "Address from Ordnance Survey AddressBase Core dataset.\n\nPlease contact us to have this enabled on your account.\n\nAll AddressBase Core address have a UPRN and a rooftop geolocation available however they may not have a UDPRN.",
4044
+ "allOf": [
4045
+ {
4046
+ "$ref": "#/components/schemas/PafBase"
4047
+ },
4048
+ {
4049
+ "type": "object",
4050
+ "required": [
4051
+ "native"
4052
+ ],
4053
+ "properties": {
4054
+ "country_iso": {
4055
+ "enum": [
4056
+ "GBR"
4057
+ ]
4058
+ },
4059
+ "dataset": {
4060
+ "type": "string",
4061
+ "enum": [
4062
+ "ab"
4063
+ ]
4064
+ },
4065
+ "country_iso_2": {
4066
+ "enum": [
4067
+ "GB"
4068
+ ]
4069
+ },
4070
+ "language": {
4071
+ "enum": [
4072
+ "en"
4073
+ ]
4074
+ },
4075
+ "postcode_type": {
4076
+ "title": "Postcode Type",
4077
+ "enum": [
4078
+ ""
4079
+ ],
4080
+ "type": "string"
4081
+ },
4082
+ "country": {
4083
+ "enum": [
4084
+ "England",
4085
+ "Scotland",
4086
+ "Wales"
4087
+ ]
4088
+ },
4089
+ "native": {
4090
+ "$ref": "#/components/schemas/AddressBaseCore"
4091
+ }
4092
+ }
4093
+ }
4094
+ ]
4095
+ },
4096
+ "AddressBasePremium": {
4097
+ "title": "AddressBase Premium",
4098
+ "description": "A flat, consolidated row from the `abp.addresses` materialised view of\nOrdnance Survey's AddressBase Premium dataset.\n\nEach row joins the BLPU spine (one per UPRN) to the Royal Mail Delivery\nPoint Address (DPA), plus the current Classification and Organisation\nrecords (where `end_date IS NULL`), the English-preferred LPI, its Street\nand Street Descriptor, and pivoted Application Cross References.\n\nCardinality is one row per Royal Mail delivery point (UDPRN) for postal\nUPRNs; non-postal UPRNs (in BLPU but with no Royal Mail delivery point -\nutility infrastructure, commercial-only sites, etc.) get a single row with\n`udprn` and the DPA columns NULL. Fallbacks for non-postal UPRNs: `postcode`\nfalls back to BLPU's `postcode_locator`; `organisation_name` falls back to\nthe Organisation record's `organisation`. The unique key is the composite\n`(uprn, udprn)`.\n\nAudit-date columns are prefixed with their source table name\n(`blpu_*`, `dpa_*`, `lpi_*`, `street_*`, `sd_*`, etc.) to avoid clashes.\n",
4099
+ "type": "object",
4100
+ "required": [
4101
+ "uprn",
4102
+ "logical_status",
4103
+ "country",
4104
+ "latitude",
4105
+ "longitude",
4106
+ "x_coordinate",
4107
+ "y_coordinate",
4108
+ "local_custodian_code",
4109
+ "addressbase_postal",
4110
+ "postcode_locator",
4111
+ "multi_occ_count",
4112
+ "postcode"
4113
+ ],
4114
+ "properties": {
4115
+ "uprn": {
4116
+ "title": "Unique Property Reference Number",
4117
+ "type": "string",
4118
+ "maxLength": 12,
4119
+ "description": "Unique Property Reference Number - a persistent identifier for a Basic\nLand and Property Unit (BLPU). Up to 12 digits. Primary key for the\nBLPU spine. Carried as a string to preserve precision (12-digit values\ncan exceed Number.MAX_SAFE_INTEGER).\n"
4120
+ },
4121
+ "parent_uprn": {
4122
+ "title": "Parent UPRN",
4123
+ "type": "string",
4124
+ "maxLength": 12,
4125
+ "nullable": true,
4126
+ "description": "UPRN of the parent record where a parent-child relationship exists\n(flats sharing a building entrance, sub-units of a parent property).\n"
4127
+ },
4128
+ "logical_status": {
4129
+ "title": "Logical Status Code",
4130
+ "type": "integer",
4131
+ "description": "Logical lifecycle status of the BLPU. `1` Approved, `6` Provisional,\n`8` Historical. BLPU records do not take value `3` (alternative).\n"
4132
+ },
4133
+ "blpu_state": {
4134
+ "title": "BLPU State Code",
4135
+ "type": "string",
4136
+ "nullable": true,
4137
+ "description": "Physical state of the BLPU. `1` Under construction, `2` In use,\n`3` Unoccupied / vacant / derelict, `4` No longer existing,\n`6` Planning permission granted.\n"
4138
+ },
4139
+ "blpu_state_date": {
4140
+ "title": "BLPU State Date",
4141
+ "type": "string",
4142
+ "format": "date-time",
4143
+ "nullable": true,
4144
+ "description": "Date the BLPU achieved its current state."
4145
+ },
4146
+ "country": {
4147
+ "title": "Country Code",
4148
+ "type": "string",
4149
+ "maxLength": 1,
4150
+ "description": "Country containing the BLPU, determined by intersection with OS\nBoundary-Line. `E` England, `W` Wales, `S` Scotland, `N` Northern\nIreland, `L` Channel Islands, `M` Isle of Man, `J` not assigned to a\ncountry.\n"
4151
+ },
4152
+ "latitude": {
4153
+ "title": "Latitude (ETRS89)",
4154
+ "type": "number",
4155
+ "format": "double",
4156
+ "minimum": -90,
4157
+ "maximum": 90,
4158
+ "description": "Latitude coordinate in the ETRS89 coordinate reference system."
4159
+ },
4160
+ "longitude": {
4161
+ "title": "Longitude (ETRS89)",
4162
+ "type": "number",
4163
+ "format": "double",
4164
+ "minimum": -180,
4165
+ "maximum": 180,
4166
+ "description": "Longitude coordinate in the ETRS89 coordinate reference system."
4167
+ },
4168
+ "x_coordinate": {
4169
+ "title": "Eastings (OSGB36 British National Grid)",
4170
+ "type": "number",
4171
+ "format": "double",
4172
+ "description": "X location in metres on the OSGB36 British National Grid\n(precision 8, scale 2).\n"
4173
+ },
4174
+ "y_coordinate": {
4175
+ "title": "Northings (OSGB36 British National Grid)",
4176
+ "type": "number",
4177
+ "format": "double",
4178
+ "description": "Y location in metres on the OSGB36 British National Grid\n(precision 9, scale 2).\n"
4179
+ },
4180
+ "rpc": {
4181
+ "title": "Representative Point Code",
4182
+ "type": "integer",
4183
+ "nullable": true,
4184
+ "description": "Representative Point Code - reliability of the BLPU's coordinate, as\nassessed by the local authority custodian. `1` Central internal,\n`2` General internal, `3` Transitional, `4` Street location,\n`5` Postcode unit, `9` Low accuracy.\n"
4185
+ },
4186
+ "local_custodian_code": {
4187
+ "title": "Local Custodian Code",
4188
+ "type": "integer",
4189
+ "maximum": 9999,
4190
+ "description": "4-digit identifier of the Local Authority responsible for maintaining\nthe record.\n"
4191
+ },
4192
+ "addressbase_postal": {
4193
+ "title": "AddressBase Postal Code",
4194
+ "type": "string",
4195
+ "maxLength": 1,
4196
+ "description": "Whether the address can receive mail per AddressBase rules. `D` linked\nto PAF, `N` not a postal address, `C` postal with a PAF-linked parent,\n`L` postal based on Local Authority information.\n"
4197
+ },
4198
+ "postcode_locator": {
4199
+ "title": "Postcode Locator",
4200
+ "type": "string",
4201
+ "maxLength": 8,
4202
+ "description": "Royal Mail PAF postcode, locally assigned by the custodian, or\nspatially derived where no PAF match exists. Up to 8 characters.\n"
4203
+ },
4204
+ "multi_occ_count": {
4205
+ "title": "Multi-occupancy Count",
4206
+ "type": "integer",
4207
+ "maximum": 9999,
4208
+ "description": "Count of child UPRNs for this record where parent-child relationships\nexist.\n"
4209
+ },
4210
+ "blpu_start_date": {
4211
+ "title": "BLPU Start Date",
4212
+ "type": "string",
4213
+ "format": "date-time",
4214
+ "nullable": true,
4215
+ "description": "Date the address record was inserted into the database."
4216
+ },
4217
+ "blpu_end_date": {
4218
+ "title": "BLPU End Date",
4219
+ "type": "string",
4220
+ "format": "date-time",
4221
+ "nullable": true,
4222
+ "description": "Date the address record was closed in the database."
4223
+ },
4224
+ "blpu_last_update_date": {
4225
+ "title": "BLPU Last Update Date",
4226
+ "type": "string",
4227
+ "format": "date-time",
4228
+ "nullable": true,
4229
+ "description": "Date of the most recent attribute change on the BLPU record."
4230
+ },
4231
+ "blpu_entry_date": {
4232
+ "title": "BLPU Entry Date",
4233
+ "type": "string",
4234
+ "format": "date-time",
4235
+ "nullable": true,
4236
+ "description": "Date the record was inserted into the Local Authority database."
4237
+ },
4238
+ "udprn": {
4239
+ "title": "Unique Delivery Point Reference Number",
4240
+ "type": "string",
4241
+ "maxLength": 8,
4242
+ "nullable": true,
4243
+ "description": "Royal Mail's Unique Delivery Point Reference Number - primary key for\nthe Delivery Point Address (DPA) record. Up to 8 digits. NULL for\nnon-postal UPRNs.\n"
4244
+ },
4245
+ "organisation_name": {
4246
+ "title": "Organisation Name",
4247
+ "type": "string",
4248
+ "maxLength": 100,
4249
+ "nullable": true,
4250
+ "description": "Royal Mail-recognised organisation name from DPA, falling back to the\nAddressBase Organisation record's `organisation` when DPA is absent.\n"
4251
+ },
4252
+ "legal_name": {
4253
+ "title": "Legal Name",
4254
+ "type": "string",
4255
+ "maxLength": 60,
4256
+ "nullable": true,
4257
+ "description": "Registered legal name from the AddressBase Organisation record."
4258
+ },
4259
+ "department_name": {
4260
+ "title": "Department Name",
4261
+ "type": "string",
4262
+ "maxLength": 60,
4263
+ "nullable": true,
4264
+ "description": "Subdivision of an organisation that receives mail at a distinct\ndelivery point. Requires `organisation_name` to be present.\n"
4265
+ },
4266
+ "sub_building_name": {
4267
+ "title": "Sub-building Name",
4268
+ "type": "string",
4269
+ "maxLength": 30,
4270
+ "nullable": true,
4271
+ "description": "Property subdivision identifier (e.g. flat number). Requires\n`building_name` or `building_number`.\n"
4272
+ },
4273
+ "building_name": {
4274
+ "title": "Building Name",
4275
+ "type": "string",
4276
+ "maxLength": 50,
4277
+ "nullable": true,
4278
+ "description": "Descriptive name applied to a single building or small group of\nbuildings.\n"
4279
+ },
4280
+ "building_number": {
4281
+ "title": "Building Number",
4282
+ "type": "integer",
4283
+ "maximum": 9999,
4284
+ "nullable": true,
4285
+ "description": "Numeric identifier for a single building or small group of buildings.\nComplex number formats (e.g. \"12A\") go in `building_name` or\n`sub_building_name`.\n"
4286
+ },
4287
+ "dependent_thoroughfare": {
4288
+ "title": "Dependent Thoroughfare",
4289
+ "type": "string",
4290
+ "maxLength": 80,
4291
+ "nullable": true,
4292
+ "description": "Named thoroughfare within another named thoroughfare. Requires\n`thoroughfare` to be present.\n"
4293
+ },
4294
+ "thoroughfare": {
4295
+ "title": "Thoroughfare",
4296
+ "type": "string",
4297
+ "maxLength": 80,
4298
+ "nullable": true,
4299
+ "description": "Road, track or named access route with Royal Mail delivery points."
4300
+ },
4301
+ "double_dependent_locality": {
4302
+ "title": "Double Dependent Locality",
4303
+ "type": "string",
4304
+ "maxLength": 35,
4305
+ "nullable": true,
4306
+ "description": "Estate or area name used to distinguish similar thoroughfares within a\ndependent locality. Requires `dependent_locality`.\n"
4307
+ },
4308
+ "dependent_locality": {
4309
+ "title": "Dependent Locality",
4310
+ "type": "string",
4311
+ "maxLength": 35,
4312
+ "nullable": true,
4313
+ "description": "Subdivision of a post town to differentiate same-name thoroughfares."
4314
+ },
4315
+ "post_town": {
4316
+ "title": "Post Town",
4317
+ "type": "string",
4318
+ "maxLength": 30,
4319
+ "nullable": true,
4320
+ "description": "Town or city of the Royal Mail sorting office serving this record.\nUppercased. NULL for non-postal UPRNs (no Royal Mail delivery point).\n"
4321
+ },
4322
+ "postcode": {
4323
+ "title": "Postcode",
4324
+ "type": "string",
4325
+ "maxLength": 8,
4326
+ "description": "Royal Mail postcode from DPA, falling back to BLPU's `postcode_locator`\nwhen no Royal Mail delivery point exists. Uppercased, with single space\nbetween outward and inward portions.\n"
4327
+ },
4328
+ "postcode_type": {
4329
+ "title": "Postcode Type Code",
4330
+ "type": "string",
4331
+ "maxLength": 1,
4332
+ "nullable": true,
4333
+ "description": "Royal Mail postal-user category. `S` Small user (e.g. a residential\nproperty), `L` Large user (e.g. a large commercial company).\n"
4334
+ },
4335
+ "delivery_point_suffix": {
4336
+ "title": "Delivery Point Suffix",
4337
+ "type": "string",
4338
+ "maxLength": 2,
4339
+ "nullable": true,
4340
+ "description": "Two-character code uniquely identifying an individual delivery point\nwithin a postcode (Royal Mail DPS).\n"
4341
+ },
4342
+ "po_box_number": {
4343
+ "title": "PO Box Number",
4344
+ "type": "string",
4345
+ "maxLength": 6,
4346
+ "nullable": true,
4347
+ "description": "Post Office Box number."
4348
+ },
4349
+ "welsh_dependent_thoroughfare": {
4350
+ "title": "Welsh Dependent Thoroughfare",
4351
+ "type": "string",
4352
+ "maxLength": 80,
4353
+ "nullable": true,
4354
+ "description": "Welsh translation of `dependent_thoroughfare`. Requires `welsh_thoroughfare`."
4355
+ },
4356
+ "welsh_thoroughfare": {
4357
+ "title": "Welsh Thoroughfare",
4358
+ "type": "string",
4359
+ "maxLength": 80,
4360
+ "nullable": true,
4361
+ "description": "Welsh translation of `thoroughfare`."
4362
+ },
4363
+ "welsh_double_dependent_locality": {
4364
+ "title": "Welsh Double Dependent Locality",
4365
+ "type": "string",
4366
+ "maxLength": 36,
4367
+ "nullable": true,
4368
+ "description": "Welsh translation of `double_dependent_locality`. Requires `welsh_dependent_locality`."
4369
+ },
4370
+ "welsh_dependent_locality": {
4371
+ "title": "Welsh Dependent Locality",
4372
+ "type": "string",
4373
+ "maxLength": 35,
4374
+ "nullable": true,
4375
+ "description": "Welsh translation of `dependent_locality`."
4376
+ },
4377
+ "welsh_post_town": {
4378
+ "title": "Welsh Post Town",
4379
+ "type": "string",
4380
+ "maxLength": 30,
4381
+ "nullable": true,
4382
+ "description": "Welsh translation of `post_town`."
4383
+ },
4384
+ "dpa_process_date": {
4385
+ "title": "DPA Process Date",
4386
+ "type": "string",
4387
+ "format": "date-time",
4388
+ "nullable": true,
4389
+ "description": "Date the PAF record was processed into the database."
4390
+ },
4391
+ "dpa_start_date": {
4392
+ "title": "DPA Start Date",
4393
+ "type": "string",
4394
+ "format": "date-time",
4395
+ "nullable": true,
4396
+ "description": "Date the address record was matched to the Delivery Point Address."
4397
+ },
4398
+ "dpa_end_date": {
4399
+ "title": "DPA End Date",
4400
+ "type": "string",
4401
+ "format": "date-time",
4402
+ "nullable": true,
4403
+ "description": "Date the PAF record no longer existed in the database."
4404
+ },
4405
+ "dpa_last_update_date": {
4406
+ "title": "DPA Last Update Date",
4407
+ "type": "string",
4408
+ "format": "date-time",
4409
+ "nullable": true,
4410
+ "description": "Date any attribute on the DPA record was last changed."
4411
+ },
4412
+ "dpa_entry_date": {
4413
+ "title": "DPA Entry Date",
4414
+ "type": "string",
4415
+ "format": "date-time",
4416
+ "nullable": true,
4417
+ "description": "Date the PAF record was first loaded by GeoPlace."
4418
+ },
4419
+ "classification_code": {
4420
+ "title": "Classification Code",
4421
+ "type": "string",
4422
+ "maxLength": 6,
4423
+ "nullable": true,
4424
+ "description": "Current AddressBase classification code (e.g. `RD` residential,\n`CR` commercial retail). Top-level categories: `R` Residential,\n`C` Commercial, `L` Land, `M` Military, `O` Other, `P` Parent shell,\n`U` Unclassified, `X` Dual use, `Z` Object of interest. NULL when no\ncurrent classification row exists for the UPRN.\n"
4425
+ },
4426
+ "class_scheme": {
4427
+ "title": "Classification Scheme",
4428
+ "type": "string",
4429
+ "maxLength": 60,
4430
+ "nullable": true,
4431
+ "description": "Name of the classification scheme applied to this record."
4432
+ },
4433
+ "scheme_version": {
4434
+ "title": "Classification Scheme Version",
4435
+ "type": "number",
4436
+ "nullable": true,
4437
+ "description": "Version number of the classification scheme in use (e.g. `1.0`)."
4438
+ },
4439
+ "classification_start_date": {
4440
+ "title": "Classification Start Date",
4441
+ "type": "string",
4442
+ "format": "date-time",
4443
+ "nullable": true,
4444
+ "description": "Date the classification record was first loaded into the database."
4445
+ },
4446
+ "classification_end_date": {
4447
+ "title": "Classification End Date",
4448
+ "type": "string",
4449
+ "format": "date-time",
4450
+ "nullable": true,
4451
+ "description": "Date the classification record ceased to exist."
4452
+ },
4453
+ "classification_last_update_date": {
4454
+ "title": "Classification Last Update Date",
4455
+ "type": "string",
4456
+ "format": "date-time",
4457
+ "nullable": true,
4458
+ "description": "Date of the most recent attribute change on the classification record."
4459
+ },
4460
+ "classification_entry_date": {
4461
+ "title": "Classification Entry Date",
4462
+ "type": "string",
4463
+ "format": "date-time",
4464
+ "nullable": true,
4465
+ "description": "Date the associated address record was inserted into the Local\nAuthority database.\n"
4466
+ },
4467
+ "organisation_start_date": {
4468
+ "title": "Organisation Start Date",
4469
+ "type": "string",
4470
+ "format": "date-time",
4471
+ "nullable": true,
4472
+ "description": "Date the organisation record was initially loaded into the database."
4473
+ },
4474
+ "organisation_end_date": {
4475
+ "title": "Organisation End Date",
4476
+ "type": "string",
4477
+ "format": "date-time",
4478
+ "nullable": true,
4479
+ "description": "Date the organisation record ceased to exist."
4480
+ },
4481
+ "organisation_last_update_date": {
4482
+ "title": "Organisation Last Update Date",
4483
+ "type": "string",
4484
+ "format": "date-time",
4485
+ "nullable": true,
4486
+ "description": "Date of the most recent attribute change on the organisation record."
4487
+ },
4488
+ "organisation_entry_date": {
4489
+ "title": "Organisation Entry Date",
4490
+ "type": "string",
4491
+ "format": "date-time",
4492
+ "nullable": true,
4493
+ "description": "Date the UPRN was entered into the Local Authority database."
4494
+ },
4495
+ "lpi_key": {
4496
+ "title": "LPI Key",
4497
+ "type": "string",
4498
+ "maxLength": 14,
4499
+ "nullable": true,
4500
+ "description": "Unique identifier and primary key for the LPI record."
4501
+ },
4502
+ "lpi_language": {
4503
+ "title": "LPI Language Code",
4504
+ "type": "string",
4505
+ "maxLength": 3,
4506
+ "nullable": true,
4507
+ "description": "Language used for this LPI record. `ENG` English, `CYM` Welsh,\n`GAE` Gaelic (Scottish), `BIL` Bilingual.\n"
4508
+ },
4509
+ "lpi_logical_status": {
4510
+ "title": "LPI Logical Status Code",
4511
+ "type": "integer",
4512
+ "nullable": true,
4513
+ "description": "Logical status of the LPI record. `1` Approved, `3` Alternative,\n`6` Provisional, `8` Historical.\n"
4514
+ },
4515
+ "lpi_start_date": {
4516
+ "title": "LPI Start Date",
4517
+ "type": "string",
4518
+ "format": "date-time",
4519
+ "nullable": true,
4520
+ "description": "Date the LPI was first loaded into the database."
4521
+ },
4522
+ "lpi_end_date": {
4523
+ "title": "LPI End Date",
4524
+ "type": "string",
4525
+ "format": "date-time",
4526
+ "nullable": true,
4527
+ "description": "Date the LPI record ceased to exist."
4528
+ },
4529
+ "lpi_last_update_date": {
4530
+ "title": "LPI Last Update Date",
4531
+ "type": "string",
4532
+ "format": "date-time",
4533
+ "nullable": true,
4534
+ "description": "Date of the most recent attribute change on the LPI record."
4535
+ },
4536
+ "lpi_entry_date": {
4537
+ "title": "LPI Entry Date",
4538
+ "type": "string",
4539
+ "format": "date-time",
4540
+ "nullable": true,
4541
+ "description": "Date the LPI record was inserted into the Local Authority database."
4542
+ },
4543
+ "sao_start_number": {
4544
+ "title": "SAO Start Number",
4545
+ "type": "integer",
4546
+ "maximum": 9999,
4547
+ "nullable": true,
4548
+ "description": "Number of the Secondary Addressable Object, or range start. Requires\n`pao_start_number` or `pao_text` to be present.\n"
4549
+ },
4550
+ "sao_start_suffix": {
4551
+ "title": "SAO Start Suffix",
4552
+ "type": "string",
4553
+ "maxLength": 2,
4554
+ "nullable": true,
4555
+ "description": "Suffix appended to `sao_start_number`. Requires `sao_start_number`."
4556
+ },
4557
+ "sao_end_number": {
4558
+ "title": "SAO End Number",
4559
+ "type": "integer",
4560
+ "maximum": 9999,
4561
+ "nullable": true,
4562
+ "description": "End number of the SAO range. Requires `sao_start_number`."
4563
+ },
4564
+ "sao_end_suffix": {
4565
+ "title": "SAO End Suffix",
4566
+ "type": "string",
4567
+ "maxLength": 2,
4568
+ "nullable": true,
4569
+ "description": "Suffix appended to `sao_end_number`. Requires `sao_end_number`."
4570
+ },
4571
+ "sao_text": {
4572
+ "title": "SAO Text",
4573
+ "type": "string",
4574
+ "maxLength": 90,
4575
+ "nullable": true,
4576
+ "description": "Building name or description for the Secondary Addressable Object\n(e.g. \"FLAT 1\", \"UNIT B\"). Requires `pao_start_number` or `pao_text`.\n"
4577
+ },
4578
+ "pao_start_number": {
4579
+ "title": "PAO Start Number",
4580
+ "type": "integer",
4581
+ "maximum": 9999,
4582
+ "nullable": true,
4583
+ "description": "Number of the Primary Addressable Object, or range start. Mandatory if\n`pao_text` is absent.\n"
4584
+ },
4585
+ "pao_start_suffix": {
4586
+ "title": "PAO Start Suffix",
4587
+ "type": "string",
4588
+ "maxLength": 2,
4589
+ "nullable": true,
4590
+ "description": "Suffix appended to `pao_start_number`. Requires `pao_start_number`."
4591
+ },
4592
+ "pao_end_number": {
4593
+ "title": "PAO End Number",
4594
+ "type": "integer",
4595
+ "maximum": 9999,
4596
+ "nullable": true,
4597
+ "description": "End number of the PAO range. Requires `pao_start_number`."
4598
+ },
4599
+ "pao_end_suffix": {
4600
+ "title": "PAO End Suffix",
4601
+ "type": "string",
4602
+ "maxLength": 2,
4603
+ "nullable": true,
4604
+ "description": "Suffix appended to `pao_end_number`. Requires `pao_end_number`."
4605
+ },
4606
+ "pao_text": {
4607
+ "title": "PAO Text",
4608
+ "type": "string",
4609
+ "maxLength": 90,
4610
+ "nullable": true,
4611
+ "description": "Building name or description for the Primary Addressable Object.\nMandatory if `pao_start_number` is absent.\n"
4612
+ },
4613
+ "usrn": {
4614
+ "title": "Unique Street Reference Number",
4615
+ "type": "string",
4616
+ "maxLength": 8,
4617
+ "nullable": true,
4618
+ "description": "Unique Street Reference Number linking this LPI to its Street record.\nUp to 8 digits.\n"
4619
+ },
4620
+ "usrn_match_indicator": {
4621
+ "title": "USRN Match Indicator Code",
4622
+ "type": "string",
4623
+ "nullable": true,
4624
+ "description": "Confidence of the LPI to Street linkage. `1` Matched manually to the\nnearest accessible Street, `2` Matched spatially to the nearest USRN.\n"
4625
+ },
4626
+ "area_name": {
4627
+ "title": "Area Name",
4628
+ "type": "string",
4629
+ "maxLength": 40,
4630
+ "nullable": true,
4631
+ "description": "Third-level geographic area name such as island or property group."
4632
+ },
4633
+ "level": {
4634
+ "title": "Level",
4635
+ "type": "string",
4636
+ "maxLength": 30,
4637
+ "nullable": true,
4638
+ "description": "Vertical position of the property (e.g. \"GROUND FLOOR\")."
4639
+ },
4640
+ "official_flag": {
4641
+ "title": "Official Flag Code",
4642
+ "type": "string",
4643
+ "maxLength": 1,
4644
+ "nullable": true,
4645
+ "description": "Whether the LPI corresponds to an entry in the official Street Name and\nNumbering register. `Y` Official address, `N` Unofficial address.\n"
4646
+ },
4647
+ "street_record_type": {
4648
+ "title": "Street Record Type Code",
4649
+ "type": "integer",
4650
+ "nullable": true,
4651
+ "description": "Description of the street record type. `1` Official designated Street\nName, `2` Street Description, `3` Numbered Street, `4` Unofficial\nStreet Description, `9` Description used for LLPG Access.\n"
4652
+ },
4653
+ "swa_org_ref_naming": {
4654
+ "title": "SWA Org Ref (Naming)",
4655
+ "type": "integer",
4656
+ "maximum": 9999,
4657
+ "nullable": true,
4658
+ "description": "Code identifying the Street Naming and Numbering Authority or Local\nHighway Authority (DfT-allocated).\n"
4659
+ },
4660
+ "street_state": {
4661
+ "title": "Street State Code",
4662
+ "type": "string",
4663
+ "nullable": true,
4664
+ "description": "Current state of the street. `1` Under construction, `2` Open,\n`4` Permanently closed.\n"
4665
+ },
4666
+ "street_state_date": {
4667
+ "title": "Street State Date",
4668
+ "type": "string",
4669
+ "format": "date-time",
4670
+ "nullable": true,
4671
+ "description": "Date when the street achieved its current state."
4672
+ },
4673
+ "street_surface": {
4674
+ "title": "Street Surface Code",
4675
+ "type": "string",
4676
+ "nullable": true,
4677
+ "description": "Surface finish of the street. `1` Metalled, `2` Unmetalled, `3` Mixed.\n"
4678
+ },
4679
+ "street_classification": {
4680
+ "title": "Street Classification Code",
4681
+ "type": "string",
4682
+ "nullable": true,
4683
+ "description": "Primary classification of the street record. `4` Pedestrian way or\nfootpath, `6` Cycletrack or cycleway, `8` All vehicles, `9` Restricted\nbyway, `10` Bridleway.\n"
3531
4684
  },
3532
- "uprn": {
3533
- "title": "UPRN",
4685
+ "street_start_date": {
4686
+ "title": "Street Start Date",
3534
4687
  "type": "string",
3535
- "maxLength": 12,
3536
- "description": "Unique Property Reference Number (UPRN) assigned by the LLPG Custodian or Ordnance Survey."
4688
+ "format": "date-time",
4689
+ "nullable": true,
4690
+ "description": "Date this street record or version was inserted into the database."
3537
4691
  },
3538
- "udprn": {
3539
- "title": "UDPRN",
3540
- "type": "number",
3541
- "maxLength": 8,
3542
- "description": "Royal Mail's Unique Delivery Point Reference Number (UDPRN)."
4692
+ "street_last_update_date": {
4693
+ "title": "Street Last Update Date",
4694
+ "type": "string",
4695
+ "format": "date-time",
4696
+ "nullable": true,
4697
+ "description": "Date when any attribute of the street record was last changed."
3543
4698
  },
3544
- "parent_uprn": {
3545
- "title": "PARENT_UPRN",
4699
+ "street_record_entry_date": {
4700
+ "title": "Street Record Entry Date",
3546
4701
  "type": "string",
3547
- "maxLength": 12,
3548
- "description": "UPRN of the parent Record if a parent-child relationship exists."
4702
+ "format": "date-time",
4703
+ "nullable": true,
4704
+ "description": "Date the street record was entered into the Local Authority database."
3549
4705
  },
3550
- "usrn": {
3551
- "title": "USRN",
4706
+ "street_start_x": {
4707
+ "title": "Street Start Eastings",
3552
4708
  "type": "number",
3553
- "maxLength": 8,
3554
- "description": "Unique Street Reference Number assigned by the Street Name and Numbering Custodian OR\n\nOrdnance Survey depending on the address record."
4709
+ "format": "double",
4710
+ "nullable": true,
4711
+ "description": "X coordinate (BNG) for the street start point."
3555
4712
  },
3556
- "toid": {
3557
- "title": "TOID",
3558
- "type": "string",
3559
- "maxLength": 20,
3560
- "description": "The Topographic Identifier taken from OS MasterMap Topography Layer. This TOID is assigned to the UPRN by performing a spatial intersection between the two identifiers. It consists of the letters 'osgb' and is followed by up to sixteen digits."
4713
+ "street_start_y": {
4714
+ "title": "Street Start Northings",
4715
+ "type": "number",
4716
+ "format": "double",
4717
+ "nullable": true,
4718
+ "description": "Y coordinate (BNG) for the street start point."
3561
4719
  },
3562
- "classification_code": {
3563
- "title": "Classification Code",
3564
- "type": "string",
3565
- "maxLength": 4,
3566
- "description": "A code that describes the classification of the address record to a maximum of a secondary level."
4720
+ "street_start_lat": {
4721
+ "title": "Street Start Latitude",
4722
+ "type": "number",
4723
+ "format": "double",
4724
+ "nullable": true,
4725
+ "description": "Latitude (ETRS89) for the street start point."
3567
4726
  },
3568
- "eastings": {
3569
- "title": "Easting",
4727
+ "street_start_long": {
4728
+ "title": "Street Start Longitude",
3570
4729
  "type": "number",
3571
- "maxLength": 8,
3572
- "multipleOf": 0.01,
3573
- "description": "A value in metres defining the x location in accordance with the British National Grid."
4730
+ "format": "double",
4731
+ "nullable": true,
4732
+ "description": "Longitude (ETRS89) for the street start point."
3574
4733
  },
3575
- "northings": {
3576
- "title": "Northing",
4734
+ "street_end_x": {
4735
+ "title": "Street End Eastings",
3577
4736
  "type": "number",
3578
- "maxLength": 9,
3579
- "multipleOf": 0.01,
3580
- "description": "A value in metres defining the y location in accordance with the British National Grid."
4737
+ "format": "double",
4738
+ "nullable": true,
4739
+ "description": "X coordinate (BNG) for the street end point."
3581
4740
  },
3582
- "latitude": {
3583
- "title": "Latitude",
4741
+ "street_end_y": {
4742
+ "title": "Street End Northings",
3584
4743
  "type": "number",
3585
- "description": "A value in metres defining the y location in accordance with the British National Grid."
4744
+ "format": "double",
4745
+ "nullable": true,
4746
+ "description": "Y coordinate (BNG) for the street end point."
3586
4747
  },
3587
- "longitude": {
3588
- "title": "Longitude",
4748
+ "street_end_lat": {
4749
+ "title": "Street End Latitude",
3589
4750
  "type": "number",
3590
- "description": "A value defining the Longitude location in accordance with the ETRS89 coordinate reference system."
4751
+ "format": "double",
4752
+ "nullable": true,
4753
+ "description": "Latitude (ETRS89) for the street end point."
3591
4754
  },
3592
- "single_address_line": {
3593
- "title": "Single Line Address",
3594
- "type": "string",
3595
- "maxLength": 500,
3596
- "description": "A single attribute containing text concatenation of the address elements separated by a comma."
4755
+ "street_end_long": {
4756
+ "title": "Street End Longitude",
4757
+ "type": "number",
4758
+ "format": "double",
4759
+ "nullable": true,
4760
+ "description": "Longitude (ETRS89) for the street end point."
3597
4761
  },
3598
- "street_name": {
3599
- "title": "Single Line Address",
3600
- "type": "string",
3601
- "maxLength": 100,
3602
- "description": "Street / Road name for the address record."
4762
+ "street_tolerance": {
4763
+ "title": "Street Tolerance",
4764
+ "type": "number",
4765
+ "nullable": true,
4766
+ "description": "Accuracy of street-coordinate data capture, in metres."
3603
4767
  },
3604
- "locality": {
3605
- "title": "Locality",
4768
+ "street_description": {
4769
+ "title": "Street Description",
3606
4770
  "type": "string",
3607
- "maxLength": 35,
3608
- "description": "A locality defines an area or geographical identifier within a town, village or hamlet. Locality represents the lower level geographical area. The locality field should be used in conjunction with the town name and street description fields to uniquely identify geographic area where there may be more than one within an administrative area."
4771
+ "maxLength": 100,
4772
+ "nullable": true,
4773
+ "description": "Street name, description or street number."
3609
4774
  },
3610
- "town_name": {
3611
- "title": "Town Name",
4775
+ "street_locality": {
4776
+ "title": "Street Locality",
3612
4777
  "type": "string",
3613
4778
  "maxLength": 35,
3614
- "description": "Geographical town name assigned by the Local Authority. Please note this can be different from the Post Town value assigned by Royal Mail."
4779
+ "nullable": true,
4780
+ "description": "Geographical area within a town."
3615
4781
  },
3616
- "delivery_point_suffix": {
3617
- "title": "Delivery Point Suffix",
4782
+ "street_town": {
4783
+ "title": "Street Town",
3618
4784
  "type": "string",
3619
- "maxLength": 2,
3620
- "description": "A two-character code uniquely identifying an individual delivery point within a postcode, assigned by Royal Mail."
4785
+ "maxLength": 30,
4786
+ "nullable": true,
4787
+ "description": "Name of the town. Required for Street Record Types `1` and `2`;\noptional for types `3`, `4` and `9`.\n"
3621
4788
  },
3622
- "post_town": {
3623
- "title": "Town Name",
4789
+ "adminstrative_area": {
4790
+ "title": "Administrative Area",
3624
4791
  "type": "string",
3625
4792
  "maxLength": 30,
3626
- "description": "The town or city in which the Royal Mail sorting office is located which services this address record.\n\nCondition:\nPOST_TOWN is not populated if this is the same as TOWN_NAME."
4793
+ "nullable": true,
4794
+ "description": "Local Highway Authority name (administrative area / county / unitary\nauthority). Field name spelling preserved verbatim from OS\n(`ADMINSTRATIVE_AREA`).\n"
3627
4795
  },
3628
- "gss_code": {
3629
- "title": "Governmental Statistical Service",
4796
+ "sd_language": {
4797
+ "title": "Street Descriptor Language Code",
3630
4798
  "type": "string",
3631
- "maxLength": 9,
3632
- "description": "The Office for National Statistics Governmental Statistical Service (GSS) code representing the contributing Local Authority."
3633
- },
3634
- "rpc": {
3635
- "title": "Representative Point Code",
3636
- "type": "number",
3637
- "maxLength": 1,
3638
- "description": "Representative Point Code describes the accuracy of the coordinate that has been allocated to the UPRN as indicated by the Local Authority and enhanced using large scale OS data."
4799
+ "maxLength": 3,
4800
+ "nullable": true,
4801
+ "description": "Language of the street descriptor. `ENG` English, `CYM` Welsh,\n`GAE` Gaelic (Scottish), `BIL` Bilingual.\n"
3639
4802
  },
3640
- "last_update_date": {
3641
- "title": "Last Update Date",
4803
+ "sd_start_date": {
4804
+ "title": "Street Descriptor Start Date",
3642
4805
  "type": "string",
3643
- "format": "date",
3644
- "description": "The latest date on which any of the attributes on this record were last changed."
4806
+ "format": "date-time",
4807
+ "nullable": true,
4808
+ "description": "Date the street descriptor record was first created in the database."
3645
4809
  },
3646
- "island": {
3647
- "title": "Island",
4810
+ "sd_end_date": {
4811
+ "title": "Street Descriptor End Date",
3648
4812
  "type": "string",
3649
- "maxLength": 50,
3650
- "description": "Third level of geographic area name to record island names where appropriate."
4813
+ "format": "date-time",
4814
+ "nullable": true,
4815
+ "description": "Date the street descriptor record ceased to exist."
3651
4816
  },
3652
- "change_code": {
3653
- "title": "Change Code",
4817
+ "sd_last_update_date": {
4818
+ "title": "Street Descriptor Last Update Date",
3654
4819
  "type": "string",
3655
- "maxLength": 50,
3656
- "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",
3657
- "enum": [
3658
- "I",
3659
- "U",
3660
- "D"
3661
- ]
4820
+ "format": "date-time",
4821
+ "nullable": true,
4822
+ "description": "Date of the most recent attribute change on the street descriptor record."
3662
4823
  },
3663
- "building_name": {
3664
- "title": "Building Name",
4824
+ "sd_entry_date": {
4825
+ "title": "Street Descriptor Entry Date",
3665
4826
  "type": "string",
3666
- "maxLength": 110,
3667
- "description": "The building name is a description applied to a single address or a group of addresses."
4827
+ "format": "date-time",
4828
+ "nullable": true,
4829
+ "description": "Date the street descriptor record was entered into the Local Authority\ndatabase.\n"
3668
4830
  },
3669
- "building_number": {
3670
- "title": "Building Number",
4831
+ "toid": {
4832
+ "title": "TOID (Topography)",
3671
4833
  "type": "string",
3672
- "maxLength": 13,
3673
- "description": "The building number is a number or range of numbers given to a single address or a group of addresses."
4834
+ "maxLength": 20,
4835
+ "nullable": true,
4836
+ "description": "OS MasterMap Topography Layer TOID (cross-reference source `7666MT`)\nlinked to the UPRN.\n"
3674
4837
  },
3675
- "sub_building": {
3676
- "title": "Sub-building",
4838
+ "toid_address": {
4839
+ "title": "TOID (Address Layer)",
3677
4840
  "type": "string",
3678
- "maxLength": 110,
3679
- "description": "The sub-building name and/or number for the address record."
4841
+ "maxLength": 20,
4842
+ "nullable": true,
4843
+ "description": "OS MasterMap Address Layer 2 TOID (cross-reference source `7666MA`)\nlinked to the UPRN.\n"
3680
4844
  },
3681
- "postcode": {
3682
- "title": "Postcode",
4845
+ "toid_highways": {
4846
+ "title": "TOID (Highways)",
3683
4847
  "type": "string",
3684
- "maxLength": 8,
3685
- "description": "A postcode assigned by Royal Mail for the address record."
4848
+ "maxLength": 20,
4849
+ "nullable": true,
4850
+ "description": "OS MasterMap Highways TOID (cross-reference source `7666MI`) linked to\nthe UPRN.\n"
3686
4851
  },
3687
- "po_box": {
3688
- "title": "PO Box",
4852
+ "council_tax_ref": {
4853
+ "title": "Council Tax Reference",
3689
4854
  "type": "string",
3690
- "maxLength": 13,
3691
- "description": "Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number."
4855
+ "maxLength": 50,
4856
+ "nullable": true,
4857
+ "description": "Centrally created Valuation Office Agency council tax reference\n(cross-reference source `7666VC`) linked to the UPRN.\n"
3692
4858
  },
3693
- "organisation": {
3694
- "title": "Organisation",
4859
+ "ndr_ref": {
4860
+ "title": "Non-Domestic Rates Reference",
3695
4861
  "type": "string",
3696
- "maxLength": 100,
3697
- "description": "The organization name is the business name given, when appropriate, to an address record."
3698
- },
3699
- "country": {
3700
- "$ref": "#/components/schemas/paf_country"
3701
- },
3702
- "country_iso": {
3703
- "$ref": "#/components/schemas/paf_country_iso"
3704
- },
3705
- "county": {
3706
- "$ref": "#/components/schemas/paf_county"
3707
- },
3708
- "district": {
3709
- "$ref": "#/components/schemas/paf_district"
3710
- },
3711
- "ward": {
3712
- "$ref": "#/components/schemas/paf_ward"
3713
- },
3714
- "traditional_county": {
3715
- "$ref": "#/components/schemas/paf_traditional_county"
4862
+ "maxLength": 50,
4863
+ "nullable": true,
4864
+ "description": "Centrally created Valuation Office Agency non-domestic rates reference\n(cross-reference source `7666VN`) linked to the UPRN.\n"
3716
4865
  },
3717
- "administrative_county": {
3718
- "$ref": "#/components/schemas/paf_administrative_county"
4866
+ "ons_ward_code": {
4867
+ "title": "ONS Ward Code",
4868
+ "type": "string",
4869
+ "maxLength": 50,
4870
+ "nullable": true,
4871
+ "description": "Office for National Statistics ward code (cross-reference source\n`7666OW`) linked to the UPRN.\n"
3719
4872
  },
3720
- "postal_county": {
3721
- "$ref": "#/components/schemas/paf_postal_county"
4873
+ "ons_parish_code": {
4874
+ "title": "ONS Parish Code",
4875
+ "type": "string",
4876
+ "maxLength": 50,
4877
+ "nullable": true,
4878
+ "description": "Office for National Statistics parish code (cross-reference source\n`7666OP`) linked to the UPRN.\n"
3722
4879
  }
4880
+ },
4881
+ "example": {
4882
+ "uprn": "49020496",
4883
+ "parent_uprn": "49020495",
4884
+ "logical_status": 1,
4885
+ "blpu_state": "2",
4886
+ "blpu_state_date": "2011-10-06T00:00:00.000Z",
4887
+ "country": "W",
4888
+ "latitude": 52.4121999,
4889
+ "longitude": -4.0883772,
4890
+ "x_coordinate": 258053.87,
4891
+ "y_coordinate": 281405.95,
4892
+ "rpc": 2,
4893
+ "local_custodian_code": 6820,
4894
+ "addressbase_postal": "D",
4895
+ "postcode_locator": "SY23 1JT",
4896
+ "multi_occ_count": 4,
4897
+ "blpu_start_date": "2007-10-24T00:00:00.000Z",
4898
+ "blpu_end_date": null,
4899
+ "blpu_last_update_date": "2025-10-13T00:00:00.000Z",
4900
+ "blpu_entry_date": "2006-11-24T00:00:00.000Z",
4901
+ "udprn": "24255522",
4902
+ "organisation_name": null,
4903
+ "legal_name": null,
4904
+ "department_name": null,
4905
+ "sub_building_name": null,
4906
+ "building_name": null,
4907
+ "building_number": 1,
4908
+ "dependent_thoroughfare": "CASTLE TERRACE",
4909
+ "thoroughfare": "SOUTH ROAD",
4910
+ "double_dependent_locality": null,
4911
+ "dependent_locality": null,
4912
+ "post_town": "ABERYSTWYTH",
4913
+ "postcode": "SY23 1JT",
4914
+ "postcode_type": "S",
4915
+ "delivery_point_suffix": "1A",
4916
+ "po_box_number": null,
4917
+ "welsh_dependent_thoroughfare": "HEOL Y CASTELL",
4918
+ "welsh_thoroughfare": "TAN Y CAE",
4919
+ "welsh_double_dependent_locality": null,
4920
+ "welsh_dependent_locality": null,
4921
+ "welsh_post_town": "ABERYSTWYTH",
4922
+ "dpa_process_date": "2016-01-18T00:00:00.000Z",
4923
+ "dpa_start_date": "2012-04-23T00:00:00.000Z",
4924
+ "dpa_end_date": null,
4925
+ "dpa_last_update_date": "2016-02-10T00:00:00.000Z",
4926
+ "dpa_entry_date": "2012-03-19T00:00:00.000Z",
4927
+ "classification_code": "RD04",
4928
+ "class_scheme": "AddressBase Premium Classification Scheme",
4929
+ "scheme_version": 1,
4930
+ "classification_start_date": "2007-10-24T00:00:00.000Z",
4931
+ "classification_end_date": null,
4932
+ "classification_last_update_date": "2018-09-23T00:00:00.000Z",
4933
+ "classification_entry_date": "2006-11-24T00:00:00.000Z",
4934
+ "organisation_start_date": null,
4935
+ "organisation_end_date": null,
4936
+ "organisation_last_update_date": null,
4937
+ "organisation_entry_date": null,
4938
+ "lpi_key": "6820L000054880",
4939
+ "lpi_language": "CYM",
4940
+ "lpi_logical_status": 1,
4941
+ "lpi_start_date": "2007-10-24T00:00:00.000Z",
4942
+ "lpi_end_date": null,
4943
+ "lpi_last_update_date": "2025-09-26T00:00:00.000Z",
4944
+ "lpi_entry_date": "2007-09-04T00:00:00.000Z",
4945
+ "sao_start_number": null,
4946
+ "sao_start_suffix": null,
4947
+ "sao_end_number": null,
4948
+ "sao_end_suffix": null,
4949
+ "sao_text": null,
4950
+ "pao_start_number": 1,
4951
+ "pao_start_suffix": null,
4952
+ "pao_end_number": null,
4953
+ "pao_end_suffix": null,
4954
+ "pao_text": "HEOL Y CASTELL",
4955
+ "usrn": "47114724",
4956
+ "usrn_match_indicator": "1",
4957
+ "area_name": null,
4958
+ "level": null,
4959
+ "official_flag": "Y",
4960
+ "street_record_type": 1,
4961
+ "swa_org_ref_naming": 6820,
4962
+ "street_state": "2",
4963
+ "street_state_date": "1990-01-01T00:00:00.000Z",
4964
+ "street_surface": "1",
4965
+ "street_classification": null,
4966
+ "street_start_date": "2007-10-24T00:00:00.000Z",
4967
+ "street_last_update_date": "2022-01-14T00:00:00.000Z",
4968
+ "street_record_entry_date": "1998-07-14T00:00:00.000Z",
4969
+ "street_start_x": 257968,
4970
+ "street_start_y": 281400,
4971
+ "street_start_lat": 52.4121241,
4972
+ "street_start_long": -4.0896363,
4973
+ "street_end_x": 258266,
4974
+ "street_end_y": 281393,
4975
+ "street_end_lat": 52.4121386,
4976
+ "street_end_long": -4.0852551,
4977
+ "street_tolerance": 10,
4978
+ "street_description": "SOUTH ROAD",
4979
+ "street_locality": null,
4980
+ "street_town": "ABERYSTWYTH",
4981
+ "adminstrative_area": "CEREDIGION",
4982
+ "sd_language": "ENG",
4983
+ "sd_start_date": "2007-10-24T00:00:00.000Z",
4984
+ "sd_end_date": null,
4985
+ "sd_last_update_date": "2016-02-06T00:00:00.000Z",
4986
+ "sd_entry_date": "1998-07-14T00:00:00.000Z",
4987
+ "toid": "osgb1000020592167",
4988
+ "toid_address": "osgb1000002175099422",
4989
+ "toid_highways": "osgb5000005181786114",
4990
+ "council_tax_ref": null,
4991
+ "ndr_ref": null,
4992
+ "ons_ward_code": "W05001302",
4993
+ "ons_parish_code": "W04000359"
3723
4994
  }
3724
4995
  },
3725
- "AbAddress": {
3726
- "title": "AddressBase Core",
3727
- "description": "Address from Ordnance Survey AddressBase Core dataset.\n\nPlease contact us to have this enabled on your account.\n\nAll AddressBase Core address have a UPRN and a rooftop geolocation available however they may not have a UDPRN.",
4996
+ "AbpAddress": {
4997
+ "title": "AddressBase Premium",
4998
+ "description": "Address from Ordnance Survey AddressBase Premium dataset.\n\nPlease contact us to have this enabled on your account.\n\nAll AddressBase Premium addresses have a UPRN and a rooftop geolocation available however they may not have a UDPRN.",
3728
4999
  "allOf": [
3729
5000
  {
3730
5001
  "$ref": "#/components/schemas/PafBase"
@@ -3743,7 +5014,7 @@
3743
5014
  "dataset": {
3744
5015
  "type": "string",
3745
5016
  "enum": [
3746
- "ab"
5017
+ "abp"
3747
5018
  ]
3748
5019
  },
3749
5020
  "country_iso_2": {
@@ -3767,11 +5038,12 @@
3767
5038
  "enum": [
3768
5039
  "England",
3769
5040
  "Scotland",
3770
- "Wales"
5041
+ "Wales",
5042
+ "Northern Ireland"
3771
5043
  ]
3772
5044
  },
3773
5045
  "native": {
3774
- "$ref": "#/components/schemas/AddressBaseCore"
5046
+ "$ref": "#/components/schemas/AddressBasePremium"
3775
5047
  }
3776
5048
  }
3777
5049
  }
@@ -3780,7 +5052,7 @@
3780
5052
  "Dataset": {
3781
5053
  "title": "Dataset",
3782
5054
  "type": "string",
3783
- "description": "Indicates the provenance of an address.\n\n - `paf` (GBR) Postcode Address File\n - `usps` (USA) USPS Zip+4\n - `mr` (GBR) Multiple Residence File\n - `nyb` (GBR) Not Yet Built File\n - `pafa` (GBR) Alias File\n - `pafw` (GBR) Welsh File\n - `ab` (GBR) AddressBase Core\n - `ecaf` (IRL) Eircode ECAF\n - `ecad` (IRL) Eircode ECAD\n - `herewe` (Western Europe) Western Europe Dataset\n - `heret` (Taiwan) Taiwan Dataset\n - `heresa` (South America) South America Dataset\n - `hereo` (Oceania) Oceania Dataset\n - `herena` (North America) North America Dataset\n - `herei` (India) India Dataset\n - `heremea` (Middle East and Africa) Middle East and Africa Dataset\n - `herem` (Macau) Macau Dataset\n - `herehk` (Hong Kong) Hong Kong Dataset\n - `hereee` (Eastern Europe) Eastern Europe Dataset\n - `hereap` (Asia Pacific) Asia Pacific Dataset\n - `gnaf` (AUS) Geoscape Geocoded National Address File\n - `kadaster` (NLD) Kadaster BAG 2.0 Address File\n - `kartverket` (NOR) Norway Dataset\n - `sdfi` (DNK) Denmark Dataset\n - `cannar` (CAN) Canada National Address Register Dataset\n - `fodbosa` (BEL) Belgium Dataset\n - `mois` (KOR) South Korea Dataset\n - `upujp` (JPN) Japan UPU Address File\n - `bev` (AUT) Austria Dataset",
5055
+ "description": "Indicates the provenance of an address.\n\n - `paf` (GBR) Postcode Address File\n - `usps` (USA) USPS Zip+4\n - `mr` (GBR) Multiple Residence File\n - `nyb` (GBR) Not Yet Built File\n - `pafa` (GBR) Alias File\n - `pafw` (GBR) Welsh File\n - `ab` (GBR) AddressBase Core\n - `abp` (GBR) AddressBase Premium\n - `ecaf` (IRL) Eircode ECAF\n - `ecad` (IRL) Eircode ECAD\n - `herewe` (Western Europe) Western Europe Dataset\n - `heret` (Taiwan) Taiwan Dataset\n - `heresa` (South America) South America Dataset\n - `hereo` (Oceania) Oceania Dataset\n - `herena` (North America) North America Dataset\n - `herei` (India) India Dataset\n - `heremea` (Middle East and Africa) Middle East and Africa Dataset\n - `herem` (Macau) Macau Dataset\n - `herehk` (Hong Kong) Hong Kong Dataset\n - `hereee` (Eastern Europe) Eastern Europe Dataset\n - `hereap` (Asia Pacific) Asia Pacific Dataset\n - `gnaf` (AUS) Geoscape Geocoded National Address File\n - `kadaster` (NLD) Kadaster BAG 2.0 Address File\n - `kartverket` (NOR) Norway Dataset\n - `sdfi` (DNK) Denmark Dataset\n - `cannar` (CAN) Canada National Address Register Dataset\n - `fodbosa` (BEL) Belgium Dataset\n - `mois` (KOR) South Korea Dataset\n - `upujp` (JPN) Japan UPU Address File\n - `bev` (AUT) Austria Dataset",
3784
5056
  "enum": [
3785
5057
  "paf",
3786
5058
  "pafw",
@@ -3791,6 +5063,7 @@
3791
5063
  "ecaf",
3792
5064
  "ecad",
3793
5065
  "ab",
5066
+ "abp",
3794
5067
  "herewe",
3795
5068
  "heret",
3796
5069
  "heresa",
@@ -3878,7 +5151,6 @@
3878
5151
  "HUN",
3879
5152
  "KAZ",
3880
5153
  "KGZ",
3881
- "KOS",
3882
5154
  "LTU",
3883
5155
  "LVA",
3884
5156
  "MDA",
@@ -3893,6 +5165,7 @@
3893
5165
  "TUR",
3894
5166
  "UKR",
3895
5167
  "UZB",
5168
+ "XKX",
3896
5169
  "HKG",
3897
5170
  "BGD",
3898
5171
  "IND",
@@ -4702,12 +5975,12 @@
4702
5975
  "type": "string",
4703
5976
  "maxLength": 60,
4704
5977
  "minLength": 0,
4705
- "description": "The department or division within an organization. If the department element exists, then the organization must also exist.",
5978
+ "description": "The department or division within an organisation. If the department element exists, then the organisation must also exist.",
4706
5979
  "example": "Accounts Department"
4707
5980
  },
4708
5981
  "organisation": {
4709
5982
  "type": "string",
4710
- "description": "Organization name",
5983
+ "description": "Organisation name",
4711
5984
  "maxLength": 60,
4712
5985
  "minLength": 0,
4713
5986
  "example": "Oak Tree Limited"
@@ -4864,7 +6137,7 @@
4864
6137
  },
4865
6138
  "organisation_id": {
4866
6139
  "type": "string",
4867
- "description": "Organization ID",
6140
+ "description": "Organisation ID",
4868
6141
  "example": "10098783",
4869
6142
  "maxLength": 10,
4870
6143
  "minLength": 1
@@ -4926,6 +6199,7 @@
4926
6199
  },
4927
6200
  "post_county_id": {
4928
6201
  "type": "string",
6202
+ "nullable": true,
4929
6203
  "description": "Post County ID",
4930
6204
  "example": "10098783",
4931
6205
  "maxLength": 10,
@@ -4942,17 +6216,17 @@
4942
6216
  "address_type": {
4943
6217
  "type": "string",
4944
6218
  "minLength": 0,
4945
- "description": "Addresses points can assume one of the following values:\n\n- Residential Address Point. This type of address point has one residential addresses associated with it.\n- Non-Residential Address Point. This type of address point has one or more non-residential address (business, club or other organization) associated with it.\n- 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.\n\nBuildings can contain multiple address points of type Residential and/or Non-Residential."
6219
+ "description": "Addresses points can assume one of the following values:\n\n- Residential Address Point. This type of address point has one residential addresses associated with it.\n- Non-Residential Address Point. This type of address point has one or more non-residential address (business, club or other organisation) associated with it.\n- 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.\n\nBuildings can contain multiple address points of type Residential and/or Non-Residential."
4946
6220
  },
4947
6221
  "building_address_type": {
4948
- "description": "The building type can assume one of the following values:\n\n- Single Occupancy Residential Building. This type of building contains one residential address.\n- Multi Occupancy Residential Building. This type of building contains multiple residential addresses.\n- Single Occupancy Non-Residential Building. This type of building contains one non-residential address (business, club or other organization).\n- Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other organization).\n- Multi Occupancy Mixed Use Building. This type of building contains multiple residential and non- residential addresses.\n\nBuildings can also have a more specific address types such as a Hospital, School, Shopping Centre, etc.",
6222
+ "description": "The building type can assume one of the following values:\n\n- Single Occupancy Residential Building. This type of building contains one residential address.\n- Multi Occupancy Residential Building. This type of building contains multiple residential addresses.\n- Single Occupancy Non-Residential Building. This type of building contains one non-residential address (business, club or other organisation).\n- Multi Occupancy Non-Residential Building. This type of building contains multiple non-residential addresses (business, club or other organisation).\n- Multi Occupancy Mixed Use Building. This type of building contains multiple residential and non- residential addresses.\n\nBuildings can also have a more specific address types such as a Hospital, School, Shopping Centre, etc.",
4949
6223
  "type": "string",
4950
6224
  "minLength": 0
4951
6225
  },
4952
6226
  "building_group_address_type": {
4953
6227
  "type": "string",
4954
6228
  "minLength": 0,
4955
- "description": "The building group type can be:\n\n- Residential Building Group. This type of building group contains buildings with residential addresses only.\n- Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organization) only.\n- 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.\n\nBuilding groups can also have a more specific address type such as a Hospital, School, Shopping Centre, etc."
6229
+ "description": "The building group type can be:\n\n- Residential Building Group. This type of building group contains buildings with residential addresses only.\n- Non-Residential Building Group This type of building group contains buildings with non-residential addresses (business, club or other organisation) only.\n- 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.\n\nBuilding groups can also have a more specific address type such as a Hospital, School, Shopping Centre, etc."
4956
6230
  },
4957
6231
  "primary_locality_address_type": {
4958
6232
  "type": "string",
@@ -5003,7 +6277,7 @@
5003
6277
  ]
5004
6278
  },
5005
6279
  "org_vacant": {
5006
- "description": "A Yes/No field, indicating whether the organization is vacant.",
6280
+ "description": "A Yes/No field, indicating whether the organisation is vacant.",
5007
6281
  "enum": [
5008
6282
  "Y",
5009
6283
  "N",
@@ -7323,7 +8597,7 @@
7323
8597
  },
7324
8598
  "organisasjonsnummer": {
7325
8599
  "type": "string",
7326
- "description": "Unique identifier of organization in the Brønnøysund Register.\n\nCan be empty string `\"\"` if not present.\n"
8600
+ "description": "Unique identifier of organisation in the Brønnøysund Register.\n\nCan be empty string `\"\"` if not present.\n"
7327
8601
  },
7328
8602
  "tettstednummer": {
7329
8603
  "type": "string",
@@ -9044,7 +10318,7 @@
9044
10318
  },
9045
10319
  "org_id": {
9046
10320
  "type": "string",
9047
- "description": "The unique identifier of an organization.\n\nCan be empty string `\"\"` if not present.\n"
10321
+ "description": "The unique identifier of an organisation.\n\nCan be empty string `\"\"` if not present.\n"
9048
10322
  },
9049
10323
  "org_type_ind": {
9050
10324
  "oneOf": [
@@ -9055,7 +10329,7 @@
9055
10329
  "type": "number"
9056
10330
  }
9057
10331
  ],
9058
- "description": "Indicates the type of organization.\n\nCan be empty string `\"\"` if not present.\n"
10332
+ "description": "Indicates the type of organisation.\n\nCan be empty string `\"\"` if not present.\n"
9059
10333
  },
9060
10334
  "org_sub_type_ind": {
9061
10335
  "oneOf": [
@@ -9066,47 +10340,47 @@
9066
10340
  "type": "number"
9067
10341
  }
9068
10342
  ],
9069
- "description": "Indicates the sub-type of the organization.\n\nCan be empty string `\"\"` if not present.\n"
10343
+ "description": "Indicates the sub-type of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9070
10344
  },
9071
10345
  "org_loc_id": {
9072
10346
  "type": "string",
9073
- "description": "Locality identifier for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10347
+ "description": "Locality identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9074
10348
  },
9075
10349
  "org_dis_id": {
9076
10350
  "type": "string",
9077
- "description": "District identifier for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10351
+ "description": "District identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9078
10352
  },
9079
10353
  "org_nei_id": {
9080
10354
  "type": "string",
9081
- "description": "Neighborhood identifier for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10355
+ "description": "Neighbourhood identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9082
10356
  },
9083
10357
  "org_org_id": {
9084
10358
  "type": "string",
9085
- "description": "Associated organization identifier for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10359
+ "description": "Associated organisation identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9086
10360
  },
9087
10361
  "org_name": {
9088
10362
  "type": "string",
9089
- "description": "Name of the organization.\n\nCan be empty string `\"\"` if not present.\n"
10363
+ "description": "Name of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9090
10364
  },
9091
10365
  "org_name_trans": {
9092
10366
  "type": "string",
9093
- "description": "Translated name of the organization in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
10367
+ "description": "Translated name of the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
9094
10368
  },
9095
10369
  "org_loc_sfx": {
9096
10370
  "type": "string",
9097
- "description": "Suffix of the locality for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10371
+ "description": "Suffix of the locality for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9098
10372
  },
9099
10373
  "org_loc_sfx_trans": {
9100
10374
  "type": "string",
9101
- "description": "Translated suffix of the locality for the organization in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
10375
+ "description": "Translated suffix of the locality for the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
9102
10376
  },
9103
10377
  "org_adr": {
9104
10378
  "type": "string",
9105
- "description": "Address of the organization.\n\nCan be empty string `\"\"` if not present.\n"
10379
+ "description": "Address of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9106
10380
  },
9107
10381
  "org_adr_trans": {
9108
10382
  "type": "string",
9109
- "description": "Translated address of the organization in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
10383
+ "description": "Translated address of the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
9110
10384
  },
9111
10385
  "org_po_ind": {
9112
10386
  "oneOf": [
@@ -9117,39 +10391,39 @@
9117
10391
  "type": "number"
9118
10392
  }
9119
10393
  ],
9120
- "description": "Indicates whether the organization has a post office box.\n\nCan be empty string `\"\"` if not present.\n"
10394
+ "description": "Indicates whether the organisation has a post office box.\n\nCan be empty string `\"\"` if not present.\n"
9121
10395
  },
9122
10396
  "org_po_start": {
9123
10397
  "type": "string",
9124
- "description": "Post office box number or start of the post office box range associated with the organization.\n\nCan be empty string `\"\"` if not present.\n"
10398
+ "description": "Post office box number or start of the post office box range associated with the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9125
10399
  },
9126
10400
  "org_po_end": {
9127
10401
  "type": "string",
9128
- "description": "End of the post office box range associated with the organization.\n\nCan be empty string `\"\"` if not present.\n"
10402
+ "description": "End of the post office box range associated with the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9129
10403
  },
9130
10404
  "org_dsc": {
9131
10405
  "type": "string",
9132
- "description": "Additional information about the organization.\n\nCan be empty string `\"\"` if not present.\n"
10406
+ "description": "Additional information about the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9133
10407
  },
9134
10408
  "org_dsc_trans": {
9135
10409
  "type": "string",
9136
- "description": "Translated additional information about the organization in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
10410
+ "description": "Translated additional information about the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
9137
10411
  },
9138
10412
  "org_pcode": {
9139
10413
  "type": "string",
9140
- "description": "Postal code for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10414
+ "description": "Postal code for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9141
10415
  },
9142
10416
  "org_pcode_fin": {
9143
10417
  "type": "string",
9144
- "description": "Final postal code for the organization.\n\nCan be empty string `\"\"` if not present.\n"
10418
+ "description": "Final postal code for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
9145
10419
  },
9146
10420
  "org_script": {
9147
10421
  "type": "string",
9148
- "description": "Script used for the organization name.\n\n`Hani` = Kanji, `Hira` = Hiragana, `Latn` = Latin.\n\nCan be empty string `\"\"` if not present.\n"
10422
+ "description": "Script used for the organisation name.\n\n`Hani` = Kanji, `Hira` = Hiragana, `Latn` = Latin.\n\nCan be empty string `\"\"` if not present.\n"
9149
10423
  },
9150
10424
  "org_language": {
9151
10425
  "type": "string",
9152
- "description": "Language used for the organization name.\n\nCan be empty string `\"\"` if not present.\n"
10426
+ "description": "Language used for the organisation name.\n\nCan be empty string `\"\"` if not present.\n"
9153
10427
  },
9154
10428
  "str_id": {
9155
10429
  "type": "string",
@@ -9173,7 +10447,7 @@
9173
10447
  },
9174
10448
  "str_org_id": {
9175
10449
  "type": "string",
9176
- "description": "Associated organization identifier for the street.\n\nCan be empty string `\"\"` if not present.\n"
10450
+ "description": "Associated organisation identifier for the street.\n\nCan be empty string `\"\"` if not present.\n"
9177
10451
  },
9178
10452
  "str_pfx": {
9179
10453
  "type": "string",
@@ -10145,7 +11419,7 @@
10145
11419
  },
10146
11420
  "organisation_name": {
10147
11421
  "type": "string",
10148
- "description": "Name of the company or organization associated with the address",
11422
+ "description": "Name of the company or organisation associated with the address",
10149
11423
  "example": "Farrell's Gift Shop"
10150
11424
  },
10151
11425
  "udprn": {
@@ -10324,6 +11598,9 @@
10324
11598
  {
10325
11599
  "$ref": "#/components/schemas/AbAddress"
10326
11600
  },
11601
+ {
11602
+ "$ref": "#/components/schemas/AbpAddress"
11603
+ },
10327
11604
  {
10328
11605
  "$ref": "#/components/schemas/GbrGlobalAddress"
10329
11606
  }
@@ -10914,6 +12191,11 @@
10914
12191
  "description": "UK AddressBase dataset",
10915
12192
  "example": false
10916
12193
  },
12194
+ "abp": {
12195
+ "type": "boolean",
12196
+ "description": "UK AddressBase Premium dataset",
12197
+ "example": false
12198
+ },
10917
12199
  "nip": {
10918
12200
  "type": "boolean",
10919
12201
  "description": "Northern Ireland Pointer Dataset",
@@ -11464,6 +12746,11 @@
11464
12746
  "description": "UK AddressBase dataset",
11465
12747
  "example": false
11466
12748
  },
12749
+ "abp": {
12750
+ "type": "boolean",
12751
+ "description": "UK AddressBase Premium dataset",
12752
+ "example": false
12753
+ },
11467
12754
  "nip": {
11468
12755
  "type": "boolean",
11469
12756
  "description": "Northern Ireland Pointer Dataset",
@@ -11994,7 +13281,7 @@
11994
13281
  },
11995
13282
  "organisation_match": {
11996
13283
  "type": "string",
11997
- "description": "Match indicator for the organization",
13284
+ "description": "Match indicator for the organisation",
11998
13285
  "enum": [
11999
13286
  "FULL",
12000
13287
  "PARTIAL",
@@ -12691,6 +13978,9 @@
12691
13978
  {
12692
13979
  "$ref": "#/components/schemas/AbAddress"
12693
13980
  },
13981
+ {
13982
+ "$ref": "#/components/schemas/AbpAddress"
13983
+ },
12694
13984
  {
12695
13985
  "$ref": "#/components/schemas/GbrGlobalAddress"
12696
13986
  }
@@ -13012,6 +14302,9 @@
13012
14302
  {
13013
14303
  "$ref": "#/components/schemas/AbAddress"
13014
14304
  },
14305
+ {
14306
+ "$ref": "#/components/schemas/AbpAddress"
14307
+ },
13015
14308
  {
13016
14309
  "$ref": "#/components/schemas/HereAddress"
13017
14310
  },
@@ -13133,6 +14426,9 @@
13133
14426
  },
13134
14427
  {
13135
14428
  "$ref": "#/components/schemas/AbAddress"
14429
+ },
14430
+ {
14431
+ "$ref": "#/components/schemas/AbpAddress"
13136
14432
  }
13137
14433
  ]
13138
14434
  }
@@ -13738,7 +15034,7 @@
13738
15034
  "name": {
13739
15035
  "type": "string",
13740
15036
  "example": "Qwerty Widgets Limited",
13741
- "description": "Licensee individual or organization name"
15037
+ "description": "Licensee individual or organisation name"
13742
15038
  },
13743
15039
  "address": {
13744
15040
  "example": "12 High Street, Manchester",
@@ -14101,7 +15397,7 @@
14101
15397
  },
14102
15398
  "role": {
14103
15399
  "type": "boolean",
14104
- "description": "Returns `true` if email address represents an organizational role like `admin`, `support`, `postmaster` etc"
15400
+ "description": "Returns `true` if email address represents an organisational role like `admin`, `support`, `postmaster` etc"
14105
15401
  },
14106
15402
  "catchall": {
14107
15403
  "type": "boolean",
@@ -14492,6 +15788,98 @@
14492
15788
  ]
14493
15789
  }
14494
15790
  }
15791
+ },
15792
+ "GilpGroundStability": {
15793
+ "title": "GILP Ground Stability",
15794
+ "description": "Postcode-level potential insurance risk from natural ground movement, from\nthe BGS GeoSure Insurance and Lenders Product (GILP) Derived Postcode\nDatabase. Combines the six GeoSure hazards on (low-rise) buildings:\nshrink-swell, landslides, soluble rocks, running sand, compressible ground\nand collapsible deposits.\n\nField names, types and score ranges mirror the GILP v8 Derived Postcode\nDatabase verbatim (lower-cased), per the BGS user guide (Open Report\nOR/26/013). Scores are unitless measures of expected impact, normalised by\nexpert elicitation so they are comparable and summable across hazards;\n`total` is the sum of the six individual hazard scores.\n\nHazards cover NATURAL ground movement only - no mining or contaminated\nland (compressible ground is the one layer that considers man-made ground,\ne.g. landfill). Values are generalised to postcode level; minimum\nmeaningful resolution is the postcode.\n",
15795
+ "type": "object",
15796
+ "required": [
15797
+ "postcode",
15798
+ "collapse",
15799
+ "rsand",
15800
+ "comp",
15801
+ "sswell",
15802
+ "solub",
15803
+ "landslide",
15804
+ "total",
15805
+ "class",
15806
+ "version"
15807
+ ],
15808
+ "properties": {
15809
+ "postcode": {
15810
+ "type": "string",
15811
+ "maxLength": 8,
15812
+ "description": "The individual postcode.",
15813
+ "example": "BA1 0AA"
15814
+ },
15815
+ "collapse": {
15816
+ "type": "integer",
15817
+ "minimum": 0,
15818
+ "maximum": 18,
15819
+ "description": "The individual hazard score value for collapsible deposits - rocks and\nsoils that may collapse when a load is placed on them, especially when\nsaturated.\n",
15820
+ "example": 0
15821
+ },
15822
+ "rsand": {
15823
+ "type": "integer",
15824
+ "minimum": 0,
15825
+ "maximum": 22,
15826
+ "description": "The individual hazard score value for running sand - loosely packed\nsandy layers that can become fluidised by water flowing through them,\npotentially removing support from overlying buildings.\n",
15827
+ "example": 6
15828
+ },
15829
+ "comp": {
15830
+ "type": "integer",
15831
+ "minimum": 0,
15832
+ "maximum": 148,
15833
+ "description": "The individual hazard score value for compressible ground - very soft\nmaterials like peat or some clays that may compress if loaded by\noverlying structures or if the groundwater level changes.\n",
15834
+ "example": 74
15835
+ },
15836
+ "sswell": {
15837
+ "type": "integer",
15838
+ "minimum": 0,
15839
+ "maximum": 1000,
15840
+ "description": "The individual hazard score value for shrink-swell - swelling clays\nthat change volume with moisture variation, particularly in the upper\ntwo metres of the ground.\n",
15841
+ "example": 252
15842
+ },
15843
+ "solub": {
15844
+ "type": "integer",
15845
+ "minimum": 0,
15846
+ "maximum": 73,
15847
+ "description": "The individual hazard score value for soluble rocks (dissolution) -\nsoluble material dissolving to form underground cavities that reduce\nsupport to the ground above.\n",
15848
+ "example": 0
15849
+ },
15850
+ "landslide": {
15851
+ "type": "integer",
15852
+ "minimum": 0,
15853
+ "maximum": 787,
15854
+ "description": "The individual hazard score value for landslide - slope instability\ncausing down-slope movement of materials such as a landslide or\nrockfall.\n",
15855
+ "example": 35
15856
+ },
15857
+ "total": {
15858
+ "type": "integer",
15859
+ "minimum": 0,
15860
+ "maximum": 2000,
15861
+ "description": "The total combined score of all 6 hazards.",
15862
+ "example": 367
15863
+ },
15864
+ "class": {
15865
+ "type": "string",
15866
+ "enum": [
15867
+ "Low",
15868
+ "Low-Medium",
15869
+ "Medium",
15870
+ "Medium-High",
15871
+ "High"
15872
+ ],
15873
+ "description": "Classification of the insurance hazard potential, dividing `total`\ninto 5 equal categories: Low (0-399), Low-Medium (400-799), Medium\n(800-1199), Medium-High (1200-1599), High (1600-2000).\n",
15874
+ "example": "Low"
15875
+ },
15876
+ "version": {
15877
+ "type": "string",
15878
+ "maxLength": 50,
15879
+ "description": "Dataset name and version number, encoding the GeoSure version and the\nOS Code-Point Open version used in production.\n",
15880
+ "example": "GILP_v8_2025.3"
15881
+ }
15882
+ }
14495
15883
  }
14496
15884
  },
14497
15885
  "parameters": {
@@ -14763,7 +16151,7 @@
14763
16151
  "schema": {
14764
16152
  "type": "string"
14765
16153
  },
14766
- "description": "**Filter by Postcode Type**\n\nFilter by Postcode Type. Useful for separating organizational and residential addresses\n"
16154
+ "description": "**Filter by Postcode Type**\n\nFilter by Postcode Type. Useful for separating organisational and residential addresses\n"
14767
16155
  },
14768
16156
  "SmallUserParam": {
14769
16157
  "name": "su_organisation_indicator",
@@ -14773,7 +16161,7 @@
14773
16161
  "schema": {
14774
16162
  "type": "string"
14775
16163
  },
14776
- "description": "**Filter by Organization Indicator**\n\nUseful for separating organizational and residential addresses\n",
16164
+ "description": "**Filter by Organisation Indicator**\n\nUseful for separating organisational and residential addresses\n",
14777
16165
  "example": "Y"
14778
16166
  },
14779
16167
  "BiasPostcodeOutwardParam": {
@@ -14957,8 +16345,19 @@
14957
16345
  "usps_address",
14958
16346
  "uk_address",
14959
16347
  "ab_address",
16348
+ "abp_address",
16349
+ "bev_address",
14960
16350
  "ecaf_address",
14961
16351
  "ecad_address",
16352
+ "gnaf_address",
16353
+ "fodbosa_address",
16354
+ "cannar_address",
16355
+ "sdfi_address",
16356
+ "upujp_address",
16357
+ "mois_address",
16358
+ "kadaster_address",
16359
+ "kartverket_address",
16360
+ "here_address",
14962
16361
  "geonames_place"
14963
16362
  ]
14964
16363
  }