@addresszen/openapi 3.5.2 → 3.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi.cjs.map +1 -1
- package/dist/openapi.d.cts +1304 -69
- package/dist/openapi.d.ts +1304 -69
- package/dist/openapi.json +1745 -81
- package/dist/openapi.yaml +1714 -110
- package/openapi.ts +1309 -66
- package/package.json +1 -1
package/dist/openapi.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.7.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
|
|
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
|
|
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
|
|
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
|
{
|
|
@@ -2099,6 +2154,49 @@
|
|
|
2099
2154
|
}
|
|
2100
2155
|
}
|
|
2101
2156
|
},
|
|
2157
|
+
"/keys/{key}/licensees/{licensee}/regenerate-key": {
|
|
2158
|
+
"post": {
|
|
2159
|
+
"tags": [
|
|
2160
|
+
"Licensees"
|
|
2161
|
+
],
|
|
2162
|
+
"summary": "Regenerate Key",
|
|
2163
|
+
"description": "Regenerates the API key for a licensee. A new key is generated server-side and returned in the response. The previous key is invalidated immediately, so any integration using it must be updated to the new key.",
|
|
2164
|
+
"operationId": "RegenerateLicenseeKey",
|
|
2165
|
+
"parameters": [
|
|
2166
|
+
{
|
|
2167
|
+
"$ref": "#/components/parameters/ApiKeyPathParam"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"$ref": "#/components/parameters/LicenseePathParam"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"$ref": "#/components/parameters/UserTokenParam"
|
|
2174
|
+
}
|
|
2175
|
+
],
|
|
2176
|
+
"responses": {
|
|
2177
|
+
"200": {
|
|
2178
|
+
"description": "Success",
|
|
2179
|
+
"content": {
|
|
2180
|
+
"application/json": {
|
|
2181
|
+
"schema": {
|
|
2182
|
+
"$ref": "#/components/schemas/LicenseeResponse"
|
|
2183
|
+
}
|
|
2184
|
+
}
|
|
2185
|
+
}
|
|
2186
|
+
},
|
|
2187
|
+
"400": {
|
|
2188
|
+
"description": "Bad Request",
|
|
2189
|
+
"content": {
|
|
2190
|
+
"application/json": {
|
|
2191
|
+
"schema": {
|
|
2192
|
+
"$ref": "#/components/schemas/BadRequestResponse"
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
}
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2102
2200
|
"/keys/{key}/configs": {
|
|
2103
2201
|
"get": {
|
|
2104
2202
|
"tags": [
|
|
@@ -2641,6 +2739,264 @@
|
|
|
2641
2739
|
}
|
|
2642
2740
|
]
|
|
2643
2741
|
}
|
|
2742
|
+
},
|
|
2743
|
+
"/sign_up": {
|
|
2744
|
+
"post": {
|
|
2745
|
+
"tags": [
|
|
2746
|
+
"Sign Up"
|
|
2747
|
+
],
|
|
2748
|
+
"summary": "Mint CLI Signup Token",
|
|
2749
|
+
"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",
|
|
2750
|
+
"operationId": "SignUpMintToken",
|
|
2751
|
+
"requestBody": {
|
|
2752
|
+
"required": true,
|
|
2753
|
+
"content": {
|
|
2754
|
+
"application/json": {
|
|
2755
|
+
"schema": {
|
|
2756
|
+
"type": "object",
|
|
2757
|
+
"required": [
|
|
2758
|
+
"email",
|
|
2759
|
+
"name",
|
|
2760
|
+
"org_name",
|
|
2761
|
+
"org_address_line_one",
|
|
2762
|
+
"org_post_town",
|
|
2763
|
+
"org_postcode",
|
|
2764
|
+
"org_country_code"
|
|
2765
|
+
],
|
|
2766
|
+
"properties": {
|
|
2767
|
+
"email": {
|
|
2768
|
+
"type": "string",
|
|
2769
|
+
"format": "email",
|
|
2770
|
+
"minLength": 1,
|
|
2771
|
+
"description": "Account holder's email address."
|
|
2772
|
+
},
|
|
2773
|
+
"name": {
|
|
2774
|
+
"type": "string",
|
|
2775
|
+
"minLength": 1,
|
|
2776
|
+
"description": "Account holder's full name."
|
|
2777
|
+
},
|
|
2778
|
+
"org_name": {
|
|
2779
|
+
"type": "string",
|
|
2780
|
+
"minLength": 1,
|
|
2781
|
+
"description": "Organisation name."
|
|
2782
|
+
},
|
|
2783
|
+
"org_address_line_one": {
|
|
2784
|
+
"type": "string",
|
|
2785
|
+
"minLength": 1
|
|
2786
|
+
},
|
|
2787
|
+
"org_address_line_two": {
|
|
2788
|
+
"type": "string"
|
|
2789
|
+
},
|
|
2790
|
+
"org_address_line_three": {
|
|
2791
|
+
"type": "string"
|
|
2792
|
+
},
|
|
2793
|
+
"org_post_town": {
|
|
2794
|
+
"type": "string",
|
|
2795
|
+
"minLength": 1
|
|
2796
|
+
},
|
|
2797
|
+
"org_postcode": {
|
|
2798
|
+
"type": "string",
|
|
2799
|
+
"minLength": 1
|
|
2800
|
+
},
|
|
2801
|
+
"org_country_code": {
|
|
2802
|
+
"type": "string",
|
|
2803
|
+
"minLength": 2,
|
|
2804
|
+
"description": "ISO 3166-1 alpha-2 country code."
|
|
2805
|
+
}
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
"responses": {
|
|
2812
|
+
"200": {
|
|
2813
|
+
"description": "Token minted",
|
|
2814
|
+
"content": {
|
|
2815
|
+
"application/json": {
|
|
2816
|
+
"schema": {
|
|
2817
|
+
"type": "object",
|
|
2818
|
+
"required": [
|
|
2819
|
+
"code",
|
|
2820
|
+
"message",
|
|
2821
|
+
"result"
|
|
2822
|
+
],
|
|
2823
|
+
"properties": {
|
|
2824
|
+
"code": {
|
|
2825
|
+
"type": "integer",
|
|
2826
|
+
"example": 2000
|
|
2827
|
+
},
|
|
2828
|
+
"message": {
|
|
2829
|
+
"type": "string",
|
|
2830
|
+
"example": "Success"
|
|
2831
|
+
},
|
|
2832
|
+
"result": {
|
|
2833
|
+
"type": "object",
|
|
2834
|
+
"required": [
|
|
2835
|
+
"cli_token",
|
|
2836
|
+
"signup_url"
|
|
2837
|
+
],
|
|
2838
|
+
"properties": {
|
|
2839
|
+
"cli_token": {
|
|
2840
|
+
"type": "string",
|
|
2841
|
+
"description": "Random URL-safe token (base64url). Used by the CLI to poll for credentials."
|
|
2842
|
+
},
|
|
2843
|
+
"signup_url": {
|
|
2844
|
+
"type": "string",
|
|
2845
|
+
"format": "uri",
|
|
2846
|
+
"description": "Prefilled accounts web URL. The user opens this in a browser to complete signup."
|
|
2847
|
+
}
|
|
2848
|
+
}
|
|
2849
|
+
}
|
|
2850
|
+
}
|
|
2851
|
+
}
|
|
2852
|
+
}
|
|
2853
|
+
}
|
|
2854
|
+
},
|
|
2855
|
+
"400": {
|
|
2856
|
+
"description": "Bad Request",
|
|
2857
|
+
"content": {
|
|
2858
|
+
"application/json": {
|
|
2859
|
+
"schema": {
|
|
2860
|
+
"$ref": "#/components/schemas/BadRequestResponse"
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
}
|
|
2866
|
+
}
|
|
2867
|
+
},
|
|
2868
|
+
"/sign_up/{cli_token}": {
|
|
2869
|
+
"get": {
|
|
2870
|
+
"tags": [
|
|
2871
|
+
"Sign Up"
|
|
2872
|
+
],
|
|
2873
|
+
"summary": "Poll CLI Signup Token",
|
|
2874
|
+
"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",
|
|
2875
|
+
"operationId": "SignUpClaim",
|
|
2876
|
+
"parameters": [
|
|
2877
|
+
{
|
|
2878
|
+
"name": "cli_token",
|
|
2879
|
+
"in": "path",
|
|
2880
|
+
"required": true,
|
|
2881
|
+
"description": "The token returned by `POST /sign_up`.",
|
|
2882
|
+
"schema": {
|
|
2883
|
+
"type": "string",
|
|
2884
|
+
"minLength": 1
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
],
|
|
2888
|
+
"responses": {
|
|
2889
|
+
"200": {
|
|
2890
|
+
"description": "Credentials ready",
|
|
2891
|
+
"content": {
|
|
2892
|
+
"application/json": {
|
|
2893
|
+
"schema": {
|
|
2894
|
+
"type": "object",
|
|
2895
|
+
"required": [
|
|
2896
|
+
"code",
|
|
2897
|
+
"message",
|
|
2898
|
+
"result"
|
|
2899
|
+
],
|
|
2900
|
+
"properties": {
|
|
2901
|
+
"code": {
|
|
2902
|
+
"type": "integer",
|
|
2903
|
+
"example": 2000
|
|
2904
|
+
},
|
|
2905
|
+
"message": {
|
|
2906
|
+
"type": "string",
|
|
2907
|
+
"example": "Success"
|
|
2908
|
+
},
|
|
2909
|
+
"result": {
|
|
2910
|
+
"type": "object",
|
|
2911
|
+
"required": [
|
|
2912
|
+
"user_token",
|
|
2913
|
+
"test_api_key",
|
|
2914
|
+
"user_id"
|
|
2915
|
+
],
|
|
2916
|
+
"properties": {
|
|
2917
|
+
"user_token": {
|
|
2918
|
+
"type": "string",
|
|
2919
|
+
"description": "User-level token used to manage account resources via the api."
|
|
2920
|
+
},
|
|
2921
|
+
"test_api_key": {
|
|
2922
|
+
"type": "string",
|
|
2923
|
+
"description": "Initial test API key for the account."
|
|
2924
|
+
},
|
|
2925
|
+
"user_id": {
|
|
2926
|
+
"type": "string",
|
|
2927
|
+
"description": "Internal api user id."
|
|
2928
|
+
}
|
|
2929
|
+
}
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
}
|
|
2933
|
+
}
|
|
2934
|
+
}
|
|
2935
|
+
},
|
|
2936
|
+
"202": {
|
|
2937
|
+
"description": "Pending — keep polling",
|
|
2938
|
+
"content": {
|
|
2939
|
+
"application/json": {
|
|
2940
|
+
"schema": {
|
|
2941
|
+
"type": "object",
|
|
2942
|
+
"required": [
|
|
2943
|
+
"code",
|
|
2944
|
+
"message",
|
|
2945
|
+
"result"
|
|
2946
|
+
],
|
|
2947
|
+
"properties": {
|
|
2948
|
+
"code": {
|
|
2949
|
+
"type": "integer",
|
|
2950
|
+
"example": 2020
|
|
2951
|
+
},
|
|
2952
|
+
"message": {
|
|
2953
|
+
"type": "string",
|
|
2954
|
+
"example": "Pending"
|
|
2955
|
+
},
|
|
2956
|
+
"result": {
|
|
2957
|
+
"type": "object",
|
|
2958
|
+
"required": [
|
|
2959
|
+
"status"
|
|
2960
|
+
],
|
|
2961
|
+
"properties": {
|
|
2962
|
+
"status": {
|
|
2963
|
+
"type": "string",
|
|
2964
|
+
"enum": [
|
|
2965
|
+
"pending"
|
|
2966
|
+
]
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
}
|
|
2974
|
+
},
|
|
2975
|
+
"410": {
|
|
2976
|
+
"description": "Signup token expired or already claimed",
|
|
2977
|
+
"content": {
|
|
2978
|
+
"application/json": {
|
|
2979
|
+
"schema": {
|
|
2980
|
+
"type": "object",
|
|
2981
|
+
"required": [
|
|
2982
|
+
"code",
|
|
2983
|
+
"message"
|
|
2984
|
+
],
|
|
2985
|
+
"properties": {
|
|
2986
|
+
"code": {
|
|
2987
|
+
"type": "integer",
|
|
2988
|
+
"example": 4100
|
|
2989
|
+
},
|
|
2990
|
+
"message": {
|
|
2991
|
+
"type": "string"
|
|
2992
|
+
}
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
}
|
|
2998
|
+
}
|
|
2999
|
+
}
|
|
2644
3000
|
}
|
|
2645
3001
|
},
|
|
2646
3002
|
"components": {
|
|
@@ -2657,6 +3013,9 @@
|
|
|
2657
3013
|
"here": {
|
|
2658
3014
|
"$ref": "#/components/schemas/HereAddress"
|
|
2659
3015
|
},
|
|
3016
|
+
"gilp": {
|
|
3017
|
+
"$ref": "#/components/schemas/GilpGroundStability"
|
|
3018
|
+
},
|
|
2660
3019
|
"ID": {
|
|
2661
3020
|
"title": "ID",
|
|
2662
3021
|
"type": "string",
|
|
@@ -2692,7 +3051,7 @@
|
|
|
2692
3051
|
"paf_line1": {
|
|
2693
3052
|
"title": "Line 1",
|
|
2694
3053
|
"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
|
|
3054
|
+
"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
3055
|
"example": "Prime Minister & First Lord of Treasury"
|
|
2697
3056
|
},
|
|
2698
3057
|
"paf_line2": {
|
|
@@ -2831,14 +3190,14 @@
|
|
|
2831
3190
|
"paf_department_name": {
|
|
2832
3191
|
"title": "Department Name",
|
|
2833
3192
|
"type": "string",
|
|
2834
|
-
"description": "Used to supplement
|
|
3193
|
+
"description": "Used to supplement Organisation Name to identify a department within the organisation.",
|
|
2835
3194
|
"maxLength": 60,
|
|
2836
3195
|
"example": ""
|
|
2837
3196
|
},
|
|
2838
3197
|
"paf_organisation_name": {
|
|
2839
3198
|
"title": "Organisation Name",
|
|
2840
3199
|
"type": "string",
|
|
2841
|
-
"description": "
|
|
3200
|
+
"description": "Name of the business or organisation receiving mail at this delivery point",
|
|
2842
3201
|
"maxLength": 60,
|
|
2843
3202
|
"example": "Prime Minister & First Lord Of The Treasury"
|
|
2844
3203
|
},
|
|
@@ -2852,9 +3211,9 @@
|
|
|
2852
3211
|
"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
3212
|
},
|
|
2854
3213
|
"paf_su_organisation_indicator": {
|
|
2855
|
-
"title": "Small User
|
|
3214
|
+
"title": "Small User Organisation Indicator",
|
|
2856
3215
|
"type": "string",
|
|
2857
|
-
"description": "Small User
|
|
3216
|
+
"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
3217
|
"example": "Y"
|
|
2859
3218
|
},
|
|
2860
3219
|
"paf_delivery_point_suffix": {
|
|
@@ -3681,50 +4040,1005 @@
|
|
|
3681
4040
|
"postcode": {
|
|
3682
4041
|
"title": "Postcode",
|
|
3683
4042
|
"type": "string",
|
|
3684
|
-
"maxLength": 8,
|
|
3685
|
-
"description": "A postcode assigned by Royal Mail for the address record."
|
|
4043
|
+
"maxLength": 8,
|
|
4044
|
+
"description": "A postcode assigned by Royal Mail for the address record."
|
|
4045
|
+
},
|
|
4046
|
+
"po_box": {
|
|
4047
|
+
"title": "PO Box",
|
|
4048
|
+
"type": "string",
|
|
4049
|
+
"maxLength": 13,
|
|
4050
|
+
"description": "Text concatenation of 'PO BOX' and the Post Office Box (PO Box) number or 'BFPO' and the British Forces Post Office number."
|
|
4051
|
+
},
|
|
4052
|
+
"organisation": {
|
|
4053
|
+
"title": "Organisation",
|
|
4054
|
+
"type": "string",
|
|
4055
|
+
"maxLength": 100,
|
|
4056
|
+
"description": "The organisation name is the business name given, when appropriate, to an address record."
|
|
4057
|
+
},
|
|
4058
|
+
"country": {
|
|
4059
|
+
"$ref": "#/components/schemas/paf_country"
|
|
4060
|
+
},
|
|
4061
|
+
"country_iso": {
|
|
4062
|
+
"$ref": "#/components/schemas/paf_country_iso"
|
|
4063
|
+
},
|
|
4064
|
+
"county": {
|
|
4065
|
+
"$ref": "#/components/schemas/paf_county"
|
|
4066
|
+
},
|
|
4067
|
+
"district": {
|
|
4068
|
+
"$ref": "#/components/schemas/paf_district"
|
|
4069
|
+
},
|
|
4070
|
+
"ward": {
|
|
4071
|
+
"$ref": "#/components/schemas/paf_ward"
|
|
4072
|
+
},
|
|
4073
|
+
"traditional_county": {
|
|
4074
|
+
"$ref": "#/components/schemas/paf_traditional_county"
|
|
4075
|
+
},
|
|
4076
|
+
"administrative_county": {
|
|
4077
|
+
"$ref": "#/components/schemas/paf_administrative_county"
|
|
4078
|
+
},
|
|
4079
|
+
"postal_county": {
|
|
4080
|
+
"$ref": "#/components/schemas/paf_postal_county"
|
|
4081
|
+
}
|
|
4082
|
+
}
|
|
4083
|
+
},
|
|
4084
|
+
"AbAddress": {
|
|
4085
|
+
"title": "AddressBase Core",
|
|
4086
|
+
"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.",
|
|
4087
|
+
"allOf": [
|
|
4088
|
+
{
|
|
4089
|
+
"$ref": "#/components/schemas/PafBase"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
"type": "object",
|
|
4093
|
+
"required": [
|
|
4094
|
+
"native"
|
|
4095
|
+
],
|
|
4096
|
+
"properties": {
|
|
4097
|
+
"country_iso": {
|
|
4098
|
+
"enum": [
|
|
4099
|
+
"GBR"
|
|
4100
|
+
]
|
|
4101
|
+
},
|
|
4102
|
+
"dataset": {
|
|
4103
|
+
"type": "string",
|
|
4104
|
+
"enum": [
|
|
4105
|
+
"ab"
|
|
4106
|
+
]
|
|
4107
|
+
},
|
|
4108
|
+
"country_iso_2": {
|
|
4109
|
+
"enum": [
|
|
4110
|
+
"GB"
|
|
4111
|
+
]
|
|
4112
|
+
},
|
|
4113
|
+
"language": {
|
|
4114
|
+
"enum": [
|
|
4115
|
+
"en"
|
|
4116
|
+
]
|
|
4117
|
+
},
|
|
4118
|
+
"postcode_type": {
|
|
4119
|
+
"title": "Postcode Type",
|
|
4120
|
+
"enum": [
|
|
4121
|
+
""
|
|
4122
|
+
],
|
|
4123
|
+
"type": "string"
|
|
4124
|
+
},
|
|
4125
|
+
"country": {
|
|
4126
|
+
"enum": [
|
|
4127
|
+
"England",
|
|
4128
|
+
"Scotland",
|
|
4129
|
+
"Wales"
|
|
4130
|
+
]
|
|
4131
|
+
},
|
|
4132
|
+
"native": {
|
|
4133
|
+
"$ref": "#/components/schemas/AddressBaseCore"
|
|
4134
|
+
}
|
|
4135
|
+
}
|
|
4136
|
+
}
|
|
4137
|
+
]
|
|
4138
|
+
},
|
|
4139
|
+
"AddressBasePremium": {
|
|
4140
|
+
"title": "AddressBase Premium",
|
|
4141
|
+
"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",
|
|
4142
|
+
"type": "object",
|
|
4143
|
+
"required": [
|
|
4144
|
+
"uprn",
|
|
4145
|
+
"logical_status",
|
|
4146
|
+
"country",
|
|
4147
|
+
"latitude",
|
|
4148
|
+
"longitude",
|
|
4149
|
+
"x_coordinate",
|
|
4150
|
+
"y_coordinate",
|
|
4151
|
+
"local_custodian_code",
|
|
4152
|
+
"addressbase_postal",
|
|
4153
|
+
"postcode_locator",
|
|
4154
|
+
"multi_occ_count",
|
|
4155
|
+
"postcode"
|
|
4156
|
+
],
|
|
4157
|
+
"properties": {
|
|
4158
|
+
"uprn": {
|
|
4159
|
+
"title": "Unique Property Reference Number",
|
|
4160
|
+
"type": "string",
|
|
4161
|
+
"maxLength": 12,
|
|
4162
|
+
"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"
|
|
4163
|
+
},
|
|
4164
|
+
"parent_uprn": {
|
|
4165
|
+
"title": "Parent UPRN",
|
|
4166
|
+
"type": "string",
|
|
4167
|
+
"maxLength": 12,
|
|
4168
|
+
"nullable": true,
|
|
4169
|
+
"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"
|
|
4170
|
+
},
|
|
4171
|
+
"logical_status": {
|
|
4172
|
+
"title": "Logical Status Code",
|
|
4173
|
+
"type": "integer",
|
|
4174
|
+
"description": "Logical lifecycle status of the BLPU. `1` Approved, `6` Provisional,\n`8` Historical. BLPU records do not take value `3` (alternative).\n"
|
|
4175
|
+
},
|
|
4176
|
+
"blpu_state": {
|
|
4177
|
+
"title": "BLPU State Code",
|
|
4178
|
+
"type": "string",
|
|
4179
|
+
"nullable": true,
|
|
4180
|
+
"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"
|
|
4181
|
+
},
|
|
4182
|
+
"blpu_state_date": {
|
|
4183
|
+
"title": "BLPU State Date",
|
|
4184
|
+
"type": "string",
|
|
4185
|
+
"format": "date-time",
|
|
4186
|
+
"nullable": true,
|
|
4187
|
+
"description": "Date the BLPU achieved its current state."
|
|
4188
|
+
},
|
|
4189
|
+
"country": {
|
|
4190
|
+
"title": "Country Code",
|
|
4191
|
+
"type": "string",
|
|
4192
|
+
"maxLength": 1,
|
|
4193
|
+
"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"
|
|
4194
|
+
},
|
|
4195
|
+
"latitude": {
|
|
4196
|
+
"title": "Latitude (ETRS89)",
|
|
4197
|
+
"type": "number",
|
|
4198
|
+
"format": "double",
|
|
4199
|
+
"minimum": -90,
|
|
4200
|
+
"maximum": 90,
|
|
4201
|
+
"description": "Latitude coordinate in the ETRS89 coordinate reference system."
|
|
4202
|
+
},
|
|
4203
|
+
"longitude": {
|
|
4204
|
+
"title": "Longitude (ETRS89)",
|
|
4205
|
+
"type": "number",
|
|
4206
|
+
"format": "double",
|
|
4207
|
+
"minimum": -180,
|
|
4208
|
+
"maximum": 180,
|
|
4209
|
+
"description": "Longitude coordinate in the ETRS89 coordinate reference system."
|
|
4210
|
+
},
|
|
4211
|
+
"x_coordinate": {
|
|
4212
|
+
"title": "Eastings (OSGB36 British National Grid)",
|
|
4213
|
+
"type": "number",
|
|
4214
|
+
"format": "double",
|
|
4215
|
+
"description": "X location in metres on the OSGB36 British National Grid\n(precision 8, scale 2).\n"
|
|
4216
|
+
},
|
|
4217
|
+
"y_coordinate": {
|
|
4218
|
+
"title": "Northings (OSGB36 British National Grid)",
|
|
4219
|
+
"type": "number",
|
|
4220
|
+
"format": "double",
|
|
4221
|
+
"description": "Y location in metres on the OSGB36 British National Grid\n(precision 9, scale 2).\n"
|
|
4222
|
+
},
|
|
4223
|
+
"rpc": {
|
|
4224
|
+
"title": "Representative Point Code",
|
|
4225
|
+
"type": "integer",
|
|
4226
|
+
"nullable": true,
|
|
4227
|
+
"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"
|
|
4228
|
+
},
|
|
4229
|
+
"local_custodian_code": {
|
|
4230
|
+
"title": "Local Custodian Code",
|
|
4231
|
+
"type": "integer",
|
|
4232
|
+
"maximum": 9999,
|
|
4233
|
+
"description": "4-digit identifier of the Local Authority responsible for maintaining\nthe record.\n"
|
|
4234
|
+
},
|
|
4235
|
+
"addressbase_postal": {
|
|
4236
|
+
"title": "AddressBase Postal Code",
|
|
4237
|
+
"type": "string",
|
|
4238
|
+
"maxLength": 1,
|
|
4239
|
+
"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"
|
|
4240
|
+
},
|
|
4241
|
+
"postcode_locator": {
|
|
4242
|
+
"title": "Postcode Locator",
|
|
4243
|
+
"type": "string",
|
|
4244
|
+
"maxLength": 8,
|
|
4245
|
+
"description": "Royal Mail PAF postcode, locally assigned by the custodian, or\nspatially derived where no PAF match exists. Up to 8 characters.\n"
|
|
4246
|
+
},
|
|
4247
|
+
"multi_occ_count": {
|
|
4248
|
+
"title": "Multi-occupancy Count",
|
|
4249
|
+
"type": "integer",
|
|
4250
|
+
"maximum": 9999,
|
|
4251
|
+
"description": "Count of child UPRNs for this record where parent-child relationships\nexist.\n"
|
|
4252
|
+
},
|
|
4253
|
+
"blpu_start_date": {
|
|
4254
|
+
"title": "BLPU Start Date",
|
|
4255
|
+
"type": "string",
|
|
4256
|
+
"format": "date-time",
|
|
4257
|
+
"nullable": true,
|
|
4258
|
+
"description": "Date the address record was inserted into the database."
|
|
4259
|
+
},
|
|
4260
|
+
"blpu_end_date": {
|
|
4261
|
+
"title": "BLPU End Date",
|
|
4262
|
+
"type": "string",
|
|
4263
|
+
"format": "date-time",
|
|
4264
|
+
"nullable": true,
|
|
4265
|
+
"description": "Date the address record was closed in the database."
|
|
4266
|
+
},
|
|
4267
|
+
"blpu_last_update_date": {
|
|
4268
|
+
"title": "BLPU Last Update Date",
|
|
4269
|
+
"type": "string",
|
|
4270
|
+
"format": "date-time",
|
|
4271
|
+
"nullable": true,
|
|
4272
|
+
"description": "Date of the most recent attribute change on the BLPU record."
|
|
4273
|
+
},
|
|
4274
|
+
"blpu_entry_date": {
|
|
4275
|
+
"title": "BLPU Entry Date",
|
|
4276
|
+
"type": "string",
|
|
4277
|
+
"format": "date-time",
|
|
4278
|
+
"nullable": true,
|
|
4279
|
+
"description": "Date the record was inserted into the Local Authority database."
|
|
4280
|
+
},
|
|
4281
|
+
"udprn": {
|
|
4282
|
+
"title": "Unique Delivery Point Reference Number",
|
|
4283
|
+
"type": "string",
|
|
4284
|
+
"maxLength": 8,
|
|
4285
|
+
"nullable": true,
|
|
4286
|
+
"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"
|
|
4287
|
+
},
|
|
4288
|
+
"organisation_name": {
|
|
4289
|
+
"title": "Organisation Name",
|
|
4290
|
+
"type": "string",
|
|
4291
|
+
"maxLength": 100,
|
|
4292
|
+
"nullable": true,
|
|
4293
|
+
"description": "Royal Mail-recognised organisation name from DPA, falling back to the\nAddressBase Organisation record's `organisation` when DPA is absent.\n"
|
|
4294
|
+
},
|
|
4295
|
+
"legal_name": {
|
|
4296
|
+
"title": "Legal Name",
|
|
4297
|
+
"type": "string",
|
|
4298
|
+
"maxLength": 60,
|
|
4299
|
+
"nullable": true,
|
|
4300
|
+
"description": "Registered legal name from the AddressBase Organisation record."
|
|
4301
|
+
},
|
|
4302
|
+
"department_name": {
|
|
4303
|
+
"title": "Department Name",
|
|
4304
|
+
"type": "string",
|
|
4305
|
+
"maxLength": 60,
|
|
4306
|
+
"nullable": true,
|
|
4307
|
+
"description": "Subdivision of an organisation that receives mail at a distinct\ndelivery point. Requires `organisation_name` to be present.\n"
|
|
4308
|
+
},
|
|
4309
|
+
"sub_building_name": {
|
|
4310
|
+
"title": "Sub-building Name",
|
|
4311
|
+
"type": "string",
|
|
4312
|
+
"maxLength": 30,
|
|
4313
|
+
"nullable": true,
|
|
4314
|
+
"description": "Property subdivision identifier (e.g. flat number). Requires\n`building_name` or `building_number`.\n"
|
|
4315
|
+
},
|
|
4316
|
+
"building_name": {
|
|
4317
|
+
"title": "Building Name",
|
|
4318
|
+
"type": "string",
|
|
4319
|
+
"maxLength": 50,
|
|
4320
|
+
"nullable": true,
|
|
4321
|
+
"description": "Descriptive name applied to a single building or small group of\nbuildings.\n"
|
|
4322
|
+
},
|
|
4323
|
+
"building_number": {
|
|
4324
|
+
"title": "Building Number",
|
|
4325
|
+
"type": "integer",
|
|
4326
|
+
"maximum": 9999,
|
|
4327
|
+
"nullable": true,
|
|
4328
|
+
"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"
|
|
4329
|
+
},
|
|
4330
|
+
"dependent_thoroughfare": {
|
|
4331
|
+
"title": "Dependent Thoroughfare",
|
|
4332
|
+
"type": "string",
|
|
4333
|
+
"maxLength": 80,
|
|
4334
|
+
"nullable": true,
|
|
4335
|
+
"description": "Named thoroughfare within another named thoroughfare. Requires\n`thoroughfare` to be present.\n"
|
|
4336
|
+
},
|
|
4337
|
+
"thoroughfare": {
|
|
4338
|
+
"title": "Thoroughfare",
|
|
4339
|
+
"type": "string",
|
|
4340
|
+
"maxLength": 80,
|
|
4341
|
+
"nullable": true,
|
|
4342
|
+
"description": "Road, track or named access route with Royal Mail delivery points."
|
|
4343
|
+
},
|
|
4344
|
+
"double_dependent_locality": {
|
|
4345
|
+
"title": "Double Dependent Locality",
|
|
4346
|
+
"type": "string",
|
|
4347
|
+
"maxLength": 35,
|
|
4348
|
+
"nullable": true,
|
|
4349
|
+
"description": "Estate or area name used to distinguish similar thoroughfares within a\ndependent locality. Requires `dependent_locality`.\n"
|
|
4350
|
+
},
|
|
4351
|
+
"dependent_locality": {
|
|
4352
|
+
"title": "Dependent Locality",
|
|
4353
|
+
"type": "string",
|
|
4354
|
+
"maxLength": 35,
|
|
4355
|
+
"nullable": true,
|
|
4356
|
+
"description": "Subdivision of a post town to differentiate same-name thoroughfares."
|
|
4357
|
+
},
|
|
4358
|
+
"post_town": {
|
|
4359
|
+
"title": "Post Town",
|
|
4360
|
+
"type": "string",
|
|
4361
|
+
"maxLength": 30,
|
|
4362
|
+
"nullable": true,
|
|
4363
|
+
"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"
|
|
4364
|
+
},
|
|
4365
|
+
"postcode": {
|
|
4366
|
+
"title": "Postcode",
|
|
4367
|
+
"type": "string",
|
|
4368
|
+
"maxLength": 8,
|
|
4369
|
+
"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"
|
|
4370
|
+
},
|
|
4371
|
+
"postcode_type": {
|
|
4372
|
+
"title": "Postcode Type Code",
|
|
4373
|
+
"type": "string",
|
|
4374
|
+
"maxLength": 1,
|
|
4375
|
+
"nullable": true,
|
|
4376
|
+
"description": "Royal Mail postal-user category. `S` Small user (e.g. a residential\nproperty), `L` Large user (e.g. a large commercial company).\n"
|
|
4377
|
+
},
|
|
4378
|
+
"delivery_point_suffix": {
|
|
4379
|
+
"title": "Delivery Point Suffix",
|
|
4380
|
+
"type": "string",
|
|
4381
|
+
"maxLength": 2,
|
|
4382
|
+
"nullable": true,
|
|
4383
|
+
"description": "Two-character code uniquely identifying an individual delivery point\nwithin a postcode (Royal Mail DPS).\n"
|
|
4384
|
+
},
|
|
4385
|
+
"po_box_number": {
|
|
4386
|
+
"title": "PO Box Number",
|
|
4387
|
+
"type": "string",
|
|
4388
|
+
"maxLength": 6,
|
|
4389
|
+
"nullable": true,
|
|
4390
|
+
"description": "Post Office Box number."
|
|
4391
|
+
},
|
|
4392
|
+
"welsh_dependent_thoroughfare": {
|
|
4393
|
+
"title": "Welsh Dependent Thoroughfare",
|
|
4394
|
+
"type": "string",
|
|
4395
|
+
"maxLength": 80,
|
|
4396
|
+
"nullable": true,
|
|
4397
|
+
"description": "Welsh translation of `dependent_thoroughfare`. Requires `welsh_thoroughfare`."
|
|
4398
|
+
},
|
|
4399
|
+
"welsh_thoroughfare": {
|
|
4400
|
+
"title": "Welsh Thoroughfare",
|
|
4401
|
+
"type": "string",
|
|
4402
|
+
"maxLength": 80,
|
|
4403
|
+
"nullable": true,
|
|
4404
|
+
"description": "Welsh translation of `thoroughfare`."
|
|
4405
|
+
},
|
|
4406
|
+
"welsh_double_dependent_locality": {
|
|
4407
|
+
"title": "Welsh Double Dependent Locality",
|
|
4408
|
+
"type": "string",
|
|
4409
|
+
"maxLength": 36,
|
|
4410
|
+
"nullable": true,
|
|
4411
|
+
"description": "Welsh translation of `double_dependent_locality`. Requires `welsh_dependent_locality`."
|
|
4412
|
+
},
|
|
4413
|
+
"welsh_dependent_locality": {
|
|
4414
|
+
"title": "Welsh Dependent Locality",
|
|
4415
|
+
"type": "string",
|
|
4416
|
+
"maxLength": 35,
|
|
4417
|
+
"nullable": true,
|
|
4418
|
+
"description": "Welsh translation of `dependent_locality`."
|
|
4419
|
+
},
|
|
4420
|
+
"welsh_post_town": {
|
|
4421
|
+
"title": "Welsh Post Town",
|
|
4422
|
+
"type": "string",
|
|
4423
|
+
"maxLength": 30,
|
|
4424
|
+
"nullable": true,
|
|
4425
|
+
"description": "Welsh translation of `post_town`."
|
|
4426
|
+
},
|
|
4427
|
+
"dpa_process_date": {
|
|
4428
|
+
"title": "DPA Process Date",
|
|
4429
|
+
"type": "string",
|
|
4430
|
+
"format": "date-time",
|
|
4431
|
+
"nullable": true,
|
|
4432
|
+
"description": "Date the PAF record was processed into the database."
|
|
4433
|
+
},
|
|
4434
|
+
"dpa_start_date": {
|
|
4435
|
+
"title": "DPA Start Date",
|
|
4436
|
+
"type": "string",
|
|
4437
|
+
"format": "date-time",
|
|
4438
|
+
"nullable": true,
|
|
4439
|
+
"description": "Date the address record was matched to the Delivery Point Address."
|
|
4440
|
+
},
|
|
4441
|
+
"dpa_end_date": {
|
|
4442
|
+
"title": "DPA End Date",
|
|
4443
|
+
"type": "string",
|
|
4444
|
+
"format": "date-time",
|
|
4445
|
+
"nullable": true,
|
|
4446
|
+
"description": "Date the PAF record no longer existed in the database."
|
|
4447
|
+
},
|
|
4448
|
+
"dpa_last_update_date": {
|
|
4449
|
+
"title": "DPA Last Update Date",
|
|
4450
|
+
"type": "string",
|
|
4451
|
+
"format": "date-time",
|
|
4452
|
+
"nullable": true,
|
|
4453
|
+
"description": "Date any attribute on the DPA record was last changed."
|
|
4454
|
+
},
|
|
4455
|
+
"dpa_entry_date": {
|
|
4456
|
+
"title": "DPA Entry Date",
|
|
4457
|
+
"type": "string",
|
|
4458
|
+
"format": "date-time",
|
|
4459
|
+
"nullable": true,
|
|
4460
|
+
"description": "Date the PAF record was first loaded by GeoPlace."
|
|
4461
|
+
},
|
|
4462
|
+
"classification_code": {
|
|
4463
|
+
"title": "Classification Code",
|
|
4464
|
+
"type": "string",
|
|
4465
|
+
"maxLength": 6,
|
|
4466
|
+
"nullable": true,
|
|
4467
|
+
"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"
|
|
4468
|
+
},
|
|
4469
|
+
"class_scheme": {
|
|
4470
|
+
"title": "Classification Scheme",
|
|
4471
|
+
"type": "string",
|
|
4472
|
+
"maxLength": 60,
|
|
4473
|
+
"nullable": true,
|
|
4474
|
+
"description": "Name of the classification scheme applied to this record."
|
|
4475
|
+
},
|
|
4476
|
+
"scheme_version": {
|
|
4477
|
+
"title": "Classification Scheme Version",
|
|
4478
|
+
"type": "number",
|
|
4479
|
+
"nullable": true,
|
|
4480
|
+
"description": "Version number of the classification scheme in use (e.g. `1.0`)."
|
|
4481
|
+
},
|
|
4482
|
+
"classification_start_date": {
|
|
4483
|
+
"title": "Classification Start Date",
|
|
4484
|
+
"type": "string",
|
|
4485
|
+
"format": "date-time",
|
|
4486
|
+
"nullable": true,
|
|
4487
|
+
"description": "Date the classification record was first loaded into the database."
|
|
4488
|
+
},
|
|
4489
|
+
"classification_end_date": {
|
|
4490
|
+
"title": "Classification End Date",
|
|
4491
|
+
"type": "string",
|
|
4492
|
+
"format": "date-time",
|
|
4493
|
+
"nullable": true,
|
|
4494
|
+
"description": "Date the classification record ceased to exist."
|
|
4495
|
+
},
|
|
4496
|
+
"classification_last_update_date": {
|
|
4497
|
+
"title": "Classification Last Update Date",
|
|
4498
|
+
"type": "string",
|
|
4499
|
+
"format": "date-time",
|
|
4500
|
+
"nullable": true,
|
|
4501
|
+
"description": "Date of the most recent attribute change on the classification record."
|
|
4502
|
+
},
|
|
4503
|
+
"classification_entry_date": {
|
|
4504
|
+
"title": "Classification Entry Date",
|
|
4505
|
+
"type": "string",
|
|
4506
|
+
"format": "date-time",
|
|
4507
|
+
"nullable": true,
|
|
4508
|
+
"description": "Date the associated address record was inserted into the Local\nAuthority database.\n"
|
|
4509
|
+
},
|
|
4510
|
+
"organisation_start_date": {
|
|
4511
|
+
"title": "Organisation Start Date",
|
|
4512
|
+
"type": "string",
|
|
4513
|
+
"format": "date-time",
|
|
4514
|
+
"nullable": true,
|
|
4515
|
+
"description": "Date the organisation record was initially loaded into the database."
|
|
4516
|
+
},
|
|
4517
|
+
"organisation_end_date": {
|
|
4518
|
+
"title": "Organisation End Date",
|
|
4519
|
+
"type": "string",
|
|
4520
|
+
"format": "date-time",
|
|
4521
|
+
"nullable": true,
|
|
4522
|
+
"description": "Date the organisation record ceased to exist."
|
|
4523
|
+
},
|
|
4524
|
+
"organisation_last_update_date": {
|
|
4525
|
+
"title": "Organisation Last Update Date",
|
|
4526
|
+
"type": "string",
|
|
4527
|
+
"format": "date-time",
|
|
4528
|
+
"nullable": true,
|
|
4529
|
+
"description": "Date of the most recent attribute change on the organisation record."
|
|
4530
|
+
},
|
|
4531
|
+
"organisation_entry_date": {
|
|
4532
|
+
"title": "Organisation Entry Date",
|
|
4533
|
+
"type": "string",
|
|
4534
|
+
"format": "date-time",
|
|
4535
|
+
"nullable": true,
|
|
4536
|
+
"description": "Date the UPRN was entered into the Local Authority database."
|
|
4537
|
+
},
|
|
4538
|
+
"lpi_key": {
|
|
4539
|
+
"title": "LPI Key",
|
|
4540
|
+
"type": "string",
|
|
4541
|
+
"maxLength": 14,
|
|
4542
|
+
"nullable": true,
|
|
4543
|
+
"description": "Unique identifier and primary key for the LPI record."
|
|
4544
|
+
},
|
|
4545
|
+
"lpi_language": {
|
|
4546
|
+
"title": "LPI Language Code",
|
|
4547
|
+
"type": "string",
|
|
4548
|
+
"maxLength": 3,
|
|
4549
|
+
"nullable": true,
|
|
4550
|
+
"description": "Language used for this LPI record. `ENG` English, `CYM` Welsh,\n`GAE` Gaelic (Scottish), `BIL` Bilingual.\n"
|
|
4551
|
+
},
|
|
4552
|
+
"lpi_logical_status": {
|
|
4553
|
+
"title": "LPI Logical Status Code",
|
|
4554
|
+
"type": "integer",
|
|
4555
|
+
"nullable": true,
|
|
4556
|
+
"description": "Logical status of the LPI record. `1` Approved, `3` Alternative,\n`6` Provisional, `8` Historical.\n"
|
|
4557
|
+
},
|
|
4558
|
+
"lpi_start_date": {
|
|
4559
|
+
"title": "LPI Start Date",
|
|
4560
|
+
"type": "string",
|
|
4561
|
+
"format": "date-time",
|
|
4562
|
+
"nullable": true,
|
|
4563
|
+
"description": "Date the LPI was first loaded into the database."
|
|
4564
|
+
},
|
|
4565
|
+
"lpi_end_date": {
|
|
4566
|
+
"title": "LPI End Date",
|
|
4567
|
+
"type": "string",
|
|
4568
|
+
"format": "date-time",
|
|
4569
|
+
"nullable": true,
|
|
4570
|
+
"description": "Date the LPI record ceased to exist."
|
|
4571
|
+
},
|
|
4572
|
+
"lpi_last_update_date": {
|
|
4573
|
+
"title": "LPI Last Update Date",
|
|
4574
|
+
"type": "string",
|
|
4575
|
+
"format": "date-time",
|
|
4576
|
+
"nullable": true,
|
|
4577
|
+
"description": "Date of the most recent attribute change on the LPI record."
|
|
4578
|
+
},
|
|
4579
|
+
"lpi_entry_date": {
|
|
4580
|
+
"title": "LPI Entry Date",
|
|
4581
|
+
"type": "string",
|
|
4582
|
+
"format": "date-time",
|
|
4583
|
+
"nullable": true,
|
|
4584
|
+
"description": "Date the LPI record was inserted into the Local Authority database."
|
|
4585
|
+
},
|
|
4586
|
+
"sao_start_number": {
|
|
4587
|
+
"title": "SAO Start Number",
|
|
4588
|
+
"type": "integer",
|
|
4589
|
+
"maximum": 9999,
|
|
4590
|
+
"nullable": true,
|
|
4591
|
+
"description": "Number of the Secondary Addressable Object, or range start. Requires\n`pao_start_number` or `pao_text` to be present.\n"
|
|
4592
|
+
},
|
|
4593
|
+
"sao_start_suffix": {
|
|
4594
|
+
"title": "SAO Start Suffix",
|
|
4595
|
+
"type": "string",
|
|
4596
|
+
"maxLength": 2,
|
|
4597
|
+
"nullable": true,
|
|
4598
|
+
"description": "Suffix appended to `sao_start_number`. Requires `sao_start_number`."
|
|
4599
|
+
},
|
|
4600
|
+
"sao_end_number": {
|
|
4601
|
+
"title": "SAO End Number",
|
|
4602
|
+
"type": "integer",
|
|
4603
|
+
"maximum": 9999,
|
|
4604
|
+
"nullable": true,
|
|
4605
|
+
"description": "End number of the SAO range. Requires `sao_start_number`."
|
|
4606
|
+
},
|
|
4607
|
+
"sao_end_suffix": {
|
|
4608
|
+
"title": "SAO End Suffix",
|
|
4609
|
+
"type": "string",
|
|
4610
|
+
"maxLength": 2,
|
|
4611
|
+
"nullable": true,
|
|
4612
|
+
"description": "Suffix appended to `sao_end_number`. Requires `sao_end_number`."
|
|
4613
|
+
},
|
|
4614
|
+
"sao_text": {
|
|
4615
|
+
"title": "SAO Text",
|
|
4616
|
+
"type": "string",
|
|
4617
|
+
"maxLength": 90,
|
|
4618
|
+
"nullable": true,
|
|
4619
|
+
"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"
|
|
4620
|
+
},
|
|
4621
|
+
"pao_start_number": {
|
|
4622
|
+
"title": "PAO Start Number",
|
|
4623
|
+
"type": "integer",
|
|
4624
|
+
"maximum": 9999,
|
|
4625
|
+
"nullable": true,
|
|
4626
|
+
"description": "Number of the Primary Addressable Object, or range start. Mandatory if\n`pao_text` is absent.\n"
|
|
4627
|
+
},
|
|
4628
|
+
"pao_start_suffix": {
|
|
4629
|
+
"title": "PAO Start Suffix",
|
|
4630
|
+
"type": "string",
|
|
4631
|
+
"maxLength": 2,
|
|
4632
|
+
"nullable": true,
|
|
4633
|
+
"description": "Suffix appended to `pao_start_number`. Requires `pao_start_number`."
|
|
4634
|
+
},
|
|
4635
|
+
"pao_end_number": {
|
|
4636
|
+
"title": "PAO End Number",
|
|
4637
|
+
"type": "integer",
|
|
4638
|
+
"maximum": 9999,
|
|
4639
|
+
"nullable": true,
|
|
4640
|
+
"description": "End number of the PAO range. Requires `pao_start_number`."
|
|
4641
|
+
},
|
|
4642
|
+
"pao_end_suffix": {
|
|
4643
|
+
"title": "PAO End Suffix",
|
|
4644
|
+
"type": "string",
|
|
4645
|
+
"maxLength": 2,
|
|
4646
|
+
"nullable": true,
|
|
4647
|
+
"description": "Suffix appended to `pao_end_number`. Requires `pao_end_number`."
|
|
4648
|
+
},
|
|
4649
|
+
"pao_text": {
|
|
4650
|
+
"title": "PAO Text",
|
|
4651
|
+
"type": "string",
|
|
4652
|
+
"maxLength": 90,
|
|
4653
|
+
"nullable": true,
|
|
4654
|
+
"description": "Building name or description for the Primary Addressable Object.\nMandatory if `pao_start_number` is absent.\n"
|
|
4655
|
+
},
|
|
4656
|
+
"usrn": {
|
|
4657
|
+
"title": "Unique Street Reference Number",
|
|
4658
|
+
"type": "string",
|
|
4659
|
+
"maxLength": 8,
|
|
4660
|
+
"nullable": true,
|
|
4661
|
+
"description": "Unique Street Reference Number linking this LPI to its Street record.\nUp to 8 digits.\n"
|
|
4662
|
+
},
|
|
4663
|
+
"usrn_match_indicator": {
|
|
4664
|
+
"title": "USRN Match Indicator Code",
|
|
4665
|
+
"type": "string",
|
|
4666
|
+
"nullable": true,
|
|
4667
|
+
"description": "Confidence of the LPI to Street linkage. `1` Matched manually to the\nnearest accessible Street, `2` Matched spatially to the nearest USRN.\n"
|
|
4668
|
+
},
|
|
4669
|
+
"area_name": {
|
|
4670
|
+
"title": "Area Name",
|
|
4671
|
+
"type": "string",
|
|
4672
|
+
"maxLength": 40,
|
|
4673
|
+
"nullable": true,
|
|
4674
|
+
"description": "Third-level geographic area name such as island or property group."
|
|
4675
|
+
},
|
|
4676
|
+
"level": {
|
|
4677
|
+
"title": "Level",
|
|
4678
|
+
"type": "string",
|
|
4679
|
+
"maxLength": 30,
|
|
4680
|
+
"nullable": true,
|
|
4681
|
+
"description": "Vertical position of the property (e.g. \"GROUND FLOOR\")."
|
|
4682
|
+
},
|
|
4683
|
+
"official_flag": {
|
|
4684
|
+
"title": "Official Flag Code",
|
|
4685
|
+
"type": "string",
|
|
4686
|
+
"maxLength": 1,
|
|
4687
|
+
"nullable": true,
|
|
4688
|
+
"description": "Whether the LPI corresponds to an entry in the official Street Name and\nNumbering register. `Y` Official address, `N` Unofficial address.\n"
|
|
4689
|
+
},
|
|
4690
|
+
"street_record_type": {
|
|
4691
|
+
"title": "Street Record Type Code",
|
|
4692
|
+
"type": "integer",
|
|
4693
|
+
"nullable": true,
|
|
4694
|
+
"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"
|
|
4695
|
+
},
|
|
4696
|
+
"swa_org_ref_naming": {
|
|
4697
|
+
"title": "SWA Org Ref (Naming)",
|
|
4698
|
+
"type": "integer",
|
|
4699
|
+
"maximum": 9999,
|
|
4700
|
+
"nullable": true,
|
|
4701
|
+
"description": "Code identifying the Street Naming and Numbering Authority or Local\nHighway Authority (DfT-allocated).\n"
|
|
4702
|
+
},
|
|
4703
|
+
"street_state": {
|
|
4704
|
+
"title": "Street State Code",
|
|
4705
|
+
"type": "string",
|
|
4706
|
+
"nullable": true,
|
|
4707
|
+
"description": "Current state of the street. `1` Under construction, `2` Open,\n`4` Permanently closed.\n"
|
|
4708
|
+
},
|
|
4709
|
+
"street_state_date": {
|
|
4710
|
+
"title": "Street State Date",
|
|
4711
|
+
"type": "string",
|
|
4712
|
+
"format": "date-time",
|
|
4713
|
+
"nullable": true,
|
|
4714
|
+
"description": "Date when the street achieved its current state."
|
|
4715
|
+
},
|
|
4716
|
+
"street_surface": {
|
|
4717
|
+
"title": "Street Surface Code",
|
|
4718
|
+
"type": "string",
|
|
4719
|
+
"nullable": true,
|
|
4720
|
+
"description": "Surface finish of the street. `1` Metalled, `2` Unmetalled, `3` Mixed.\n"
|
|
4721
|
+
},
|
|
4722
|
+
"street_classification": {
|
|
4723
|
+
"title": "Street Classification Code",
|
|
4724
|
+
"type": "string",
|
|
4725
|
+
"nullable": true,
|
|
4726
|
+
"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"
|
|
4727
|
+
},
|
|
4728
|
+
"street_start_date": {
|
|
4729
|
+
"title": "Street Start Date",
|
|
4730
|
+
"type": "string",
|
|
4731
|
+
"format": "date-time",
|
|
4732
|
+
"nullable": true,
|
|
4733
|
+
"description": "Date this street record or version was inserted into the database."
|
|
4734
|
+
},
|
|
4735
|
+
"street_last_update_date": {
|
|
4736
|
+
"title": "Street Last Update Date",
|
|
4737
|
+
"type": "string",
|
|
4738
|
+
"format": "date-time",
|
|
4739
|
+
"nullable": true,
|
|
4740
|
+
"description": "Date when any attribute of the street record was last changed."
|
|
4741
|
+
},
|
|
4742
|
+
"street_record_entry_date": {
|
|
4743
|
+
"title": "Street Record Entry Date",
|
|
4744
|
+
"type": "string",
|
|
4745
|
+
"format": "date-time",
|
|
4746
|
+
"nullable": true,
|
|
4747
|
+
"description": "Date the street record was entered into the Local Authority database."
|
|
4748
|
+
},
|
|
4749
|
+
"street_start_x": {
|
|
4750
|
+
"title": "Street Start Eastings",
|
|
4751
|
+
"type": "number",
|
|
4752
|
+
"format": "double",
|
|
4753
|
+
"nullable": true,
|
|
4754
|
+
"description": "X coordinate (BNG) for the street start point."
|
|
4755
|
+
},
|
|
4756
|
+
"street_start_y": {
|
|
4757
|
+
"title": "Street Start Northings",
|
|
4758
|
+
"type": "number",
|
|
4759
|
+
"format": "double",
|
|
4760
|
+
"nullable": true,
|
|
4761
|
+
"description": "Y coordinate (BNG) for the street start point."
|
|
4762
|
+
},
|
|
4763
|
+
"street_start_lat": {
|
|
4764
|
+
"title": "Street Start Latitude",
|
|
4765
|
+
"type": "number",
|
|
4766
|
+
"format": "double",
|
|
4767
|
+
"nullable": true,
|
|
4768
|
+
"description": "Latitude (ETRS89) for the street start point."
|
|
4769
|
+
},
|
|
4770
|
+
"street_start_long": {
|
|
4771
|
+
"title": "Street Start Longitude",
|
|
4772
|
+
"type": "number",
|
|
4773
|
+
"format": "double",
|
|
4774
|
+
"nullable": true,
|
|
4775
|
+
"description": "Longitude (ETRS89) for the street start point."
|
|
4776
|
+
},
|
|
4777
|
+
"street_end_x": {
|
|
4778
|
+
"title": "Street End Eastings",
|
|
4779
|
+
"type": "number",
|
|
4780
|
+
"format": "double",
|
|
4781
|
+
"nullable": true,
|
|
4782
|
+
"description": "X coordinate (BNG) for the street end point."
|
|
4783
|
+
},
|
|
4784
|
+
"street_end_y": {
|
|
4785
|
+
"title": "Street End Northings",
|
|
4786
|
+
"type": "number",
|
|
4787
|
+
"format": "double",
|
|
4788
|
+
"nullable": true,
|
|
4789
|
+
"description": "Y coordinate (BNG) for the street end point."
|
|
4790
|
+
},
|
|
4791
|
+
"street_end_lat": {
|
|
4792
|
+
"title": "Street End Latitude",
|
|
4793
|
+
"type": "number",
|
|
4794
|
+
"format": "double",
|
|
4795
|
+
"nullable": true,
|
|
4796
|
+
"description": "Latitude (ETRS89) for the street end point."
|
|
4797
|
+
},
|
|
4798
|
+
"street_end_long": {
|
|
4799
|
+
"title": "Street End Longitude",
|
|
4800
|
+
"type": "number",
|
|
4801
|
+
"format": "double",
|
|
4802
|
+
"nullable": true,
|
|
4803
|
+
"description": "Longitude (ETRS89) for the street end point."
|
|
4804
|
+
},
|
|
4805
|
+
"street_tolerance": {
|
|
4806
|
+
"title": "Street Tolerance",
|
|
4807
|
+
"type": "number",
|
|
4808
|
+
"nullable": true,
|
|
4809
|
+
"description": "Accuracy of street-coordinate data capture, in metres."
|
|
4810
|
+
},
|
|
4811
|
+
"street_description": {
|
|
4812
|
+
"title": "Street Description",
|
|
4813
|
+
"type": "string",
|
|
4814
|
+
"maxLength": 100,
|
|
4815
|
+
"nullable": true,
|
|
4816
|
+
"description": "Street name, description or street number."
|
|
4817
|
+
},
|
|
4818
|
+
"street_locality": {
|
|
4819
|
+
"title": "Street Locality",
|
|
4820
|
+
"type": "string",
|
|
4821
|
+
"maxLength": 35,
|
|
4822
|
+
"nullable": true,
|
|
4823
|
+
"description": "Geographical area within a town."
|
|
4824
|
+
},
|
|
4825
|
+
"street_town": {
|
|
4826
|
+
"title": "Street Town",
|
|
4827
|
+
"type": "string",
|
|
4828
|
+
"maxLength": 30,
|
|
4829
|
+
"nullable": true,
|
|
4830
|
+
"description": "Name of the town. Required for Street Record Types `1` and `2`;\noptional for types `3`, `4` and `9`.\n"
|
|
4831
|
+
},
|
|
4832
|
+
"adminstrative_area": {
|
|
4833
|
+
"title": "Administrative Area",
|
|
4834
|
+
"type": "string",
|
|
4835
|
+
"maxLength": 30,
|
|
4836
|
+
"nullable": true,
|
|
4837
|
+
"description": "Local Highway Authority name (administrative area / county / unitary\nauthority). Field name spelling preserved verbatim from OS\n(`ADMINSTRATIVE_AREA`).\n"
|
|
4838
|
+
},
|
|
4839
|
+
"sd_language": {
|
|
4840
|
+
"title": "Street Descriptor Language Code",
|
|
4841
|
+
"type": "string",
|
|
4842
|
+
"maxLength": 3,
|
|
4843
|
+
"nullable": true,
|
|
4844
|
+
"description": "Language of the street descriptor. `ENG` English, `CYM` Welsh,\n`GAE` Gaelic (Scottish), `BIL` Bilingual.\n"
|
|
4845
|
+
},
|
|
4846
|
+
"sd_start_date": {
|
|
4847
|
+
"title": "Street Descriptor Start Date",
|
|
4848
|
+
"type": "string",
|
|
4849
|
+
"format": "date-time",
|
|
4850
|
+
"nullable": true,
|
|
4851
|
+
"description": "Date the street descriptor record was first created in the database."
|
|
3686
4852
|
},
|
|
3687
|
-
"
|
|
3688
|
-
"title": "
|
|
4853
|
+
"sd_end_date": {
|
|
4854
|
+
"title": "Street Descriptor End Date",
|
|
3689
4855
|
"type": "string",
|
|
3690
|
-
"
|
|
3691
|
-
"
|
|
4856
|
+
"format": "date-time",
|
|
4857
|
+
"nullable": true,
|
|
4858
|
+
"description": "Date the street descriptor record ceased to exist."
|
|
3692
4859
|
},
|
|
3693
|
-
"
|
|
3694
|
-
"title": "
|
|
4860
|
+
"sd_last_update_date": {
|
|
4861
|
+
"title": "Street Descriptor Last Update Date",
|
|
3695
4862
|
"type": "string",
|
|
3696
|
-
"
|
|
3697
|
-
"
|
|
4863
|
+
"format": "date-time",
|
|
4864
|
+
"nullable": true,
|
|
4865
|
+
"description": "Date of the most recent attribute change on the street descriptor record."
|
|
3698
4866
|
},
|
|
3699
|
-
"
|
|
3700
|
-
"
|
|
4867
|
+
"sd_entry_date": {
|
|
4868
|
+
"title": "Street Descriptor Entry Date",
|
|
4869
|
+
"type": "string",
|
|
4870
|
+
"format": "date-time",
|
|
4871
|
+
"nullable": true,
|
|
4872
|
+
"description": "Date the street descriptor record was entered into the Local Authority\ndatabase.\n"
|
|
3701
4873
|
},
|
|
3702
|
-
"
|
|
3703
|
-
"
|
|
4874
|
+
"toid": {
|
|
4875
|
+
"title": "TOID (Topography)",
|
|
4876
|
+
"type": "string",
|
|
4877
|
+
"maxLength": 20,
|
|
4878
|
+
"nullable": true,
|
|
4879
|
+
"description": "OS MasterMap Topography Layer TOID (cross-reference source `7666MT`)\nlinked to the UPRN.\n"
|
|
3704
4880
|
},
|
|
3705
|
-
"
|
|
3706
|
-
"
|
|
4881
|
+
"toid_address": {
|
|
4882
|
+
"title": "TOID (Address Layer)",
|
|
4883
|
+
"type": "string",
|
|
4884
|
+
"maxLength": 20,
|
|
4885
|
+
"nullable": true,
|
|
4886
|
+
"description": "OS MasterMap Address Layer 2 TOID (cross-reference source `7666MA`)\nlinked to the UPRN.\n"
|
|
3707
4887
|
},
|
|
3708
|
-
"
|
|
3709
|
-
"
|
|
4888
|
+
"toid_highways": {
|
|
4889
|
+
"title": "TOID (Highways)",
|
|
4890
|
+
"type": "string",
|
|
4891
|
+
"maxLength": 20,
|
|
4892
|
+
"nullable": true,
|
|
4893
|
+
"description": "OS MasterMap Highways TOID (cross-reference source `7666MI`) linked to\nthe UPRN.\n"
|
|
3710
4894
|
},
|
|
3711
|
-
"
|
|
3712
|
-
"
|
|
4895
|
+
"council_tax_ref": {
|
|
4896
|
+
"title": "Council Tax Reference",
|
|
4897
|
+
"type": "string",
|
|
4898
|
+
"maxLength": 50,
|
|
4899
|
+
"nullable": true,
|
|
4900
|
+
"description": "Centrally created Valuation Office Agency council tax reference\n(cross-reference source `7666VC`) linked to the UPRN.\n"
|
|
3713
4901
|
},
|
|
3714
|
-
"
|
|
3715
|
-
"
|
|
4902
|
+
"ndr_ref": {
|
|
4903
|
+
"title": "Non-Domestic Rates Reference",
|
|
4904
|
+
"type": "string",
|
|
4905
|
+
"maxLength": 50,
|
|
4906
|
+
"nullable": true,
|
|
4907
|
+
"description": "Centrally created Valuation Office Agency non-domestic rates reference\n(cross-reference source `7666VN`) linked to the UPRN.\n"
|
|
3716
4908
|
},
|
|
3717
|
-
"
|
|
3718
|
-
"
|
|
4909
|
+
"ons_ward_code": {
|
|
4910
|
+
"title": "ONS Ward Code",
|
|
4911
|
+
"type": "string",
|
|
4912
|
+
"maxLength": 50,
|
|
4913
|
+
"nullable": true,
|
|
4914
|
+
"description": "Office for National Statistics ward code (cross-reference source\n`7666OW`) linked to the UPRN.\n"
|
|
3719
4915
|
},
|
|
3720
|
-
"
|
|
3721
|
-
"
|
|
4916
|
+
"ons_parish_code": {
|
|
4917
|
+
"title": "ONS Parish Code",
|
|
4918
|
+
"type": "string",
|
|
4919
|
+
"maxLength": 50,
|
|
4920
|
+
"nullable": true,
|
|
4921
|
+
"description": "Office for National Statistics parish code (cross-reference source\n`7666OP`) linked to the UPRN.\n"
|
|
3722
4922
|
}
|
|
4923
|
+
},
|
|
4924
|
+
"example": {
|
|
4925
|
+
"uprn": "49020496",
|
|
4926
|
+
"parent_uprn": "49020495",
|
|
4927
|
+
"logical_status": 1,
|
|
4928
|
+
"blpu_state": "2",
|
|
4929
|
+
"blpu_state_date": "2011-10-06T00:00:00.000Z",
|
|
4930
|
+
"country": "W",
|
|
4931
|
+
"latitude": 52.4121999,
|
|
4932
|
+
"longitude": -4.0883772,
|
|
4933
|
+
"x_coordinate": 258053.87,
|
|
4934
|
+
"y_coordinate": 281405.95,
|
|
4935
|
+
"rpc": 2,
|
|
4936
|
+
"local_custodian_code": 6820,
|
|
4937
|
+
"addressbase_postal": "D",
|
|
4938
|
+
"postcode_locator": "SY23 1JT",
|
|
4939
|
+
"multi_occ_count": 4,
|
|
4940
|
+
"blpu_start_date": "2007-10-24T00:00:00.000Z",
|
|
4941
|
+
"blpu_end_date": null,
|
|
4942
|
+
"blpu_last_update_date": "2025-10-13T00:00:00.000Z",
|
|
4943
|
+
"blpu_entry_date": "2006-11-24T00:00:00.000Z",
|
|
4944
|
+
"udprn": "24255522",
|
|
4945
|
+
"organisation_name": null,
|
|
4946
|
+
"legal_name": null,
|
|
4947
|
+
"department_name": null,
|
|
4948
|
+
"sub_building_name": null,
|
|
4949
|
+
"building_name": null,
|
|
4950
|
+
"building_number": 1,
|
|
4951
|
+
"dependent_thoroughfare": "CASTLE TERRACE",
|
|
4952
|
+
"thoroughfare": "SOUTH ROAD",
|
|
4953
|
+
"double_dependent_locality": null,
|
|
4954
|
+
"dependent_locality": null,
|
|
4955
|
+
"post_town": "ABERYSTWYTH",
|
|
4956
|
+
"postcode": "SY23 1JT",
|
|
4957
|
+
"postcode_type": "S",
|
|
4958
|
+
"delivery_point_suffix": "1A",
|
|
4959
|
+
"po_box_number": null,
|
|
4960
|
+
"welsh_dependent_thoroughfare": "HEOL Y CASTELL",
|
|
4961
|
+
"welsh_thoroughfare": "TAN Y CAE",
|
|
4962
|
+
"welsh_double_dependent_locality": null,
|
|
4963
|
+
"welsh_dependent_locality": null,
|
|
4964
|
+
"welsh_post_town": "ABERYSTWYTH",
|
|
4965
|
+
"dpa_process_date": "2016-01-18T00:00:00.000Z",
|
|
4966
|
+
"dpa_start_date": "2012-04-23T00:00:00.000Z",
|
|
4967
|
+
"dpa_end_date": null,
|
|
4968
|
+
"dpa_last_update_date": "2016-02-10T00:00:00.000Z",
|
|
4969
|
+
"dpa_entry_date": "2012-03-19T00:00:00.000Z",
|
|
4970
|
+
"classification_code": "RD04",
|
|
4971
|
+
"class_scheme": "AddressBase Premium Classification Scheme",
|
|
4972
|
+
"scheme_version": 1,
|
|
4973
|
+
"classification_start_date": "2007-10-24T00:00:00.000Z",
|
|
4974
|
+
"classification_end_date": null,
|
|
4975
|
+
"classification_last_update_date": "2018-09-23T00:00:00.000Z",
|
|
4976
|
+
"classification_entry_date": "2006-11-24T00:00:00.000Z",
|
|
4977
|
+
"organisation_start_date": null,
|
|
4978
|
+
"organisation_end_date": null,
|
|
4979
|
+
"organisation_last_update_date": null,
|
|
4980
|
+
"organisation_entry_date": null,
|
|
4981
|
+
"lpi_key": "6820L000054880",
|
|
4982
|
+
"lpi_language": "CYM",
|
|
4983
|
+
"lpi_logical_status": 1,
|
|
4984
|
+
"lpi_start_date": "2007-10-24T00:00:00.000Z",
|
|
4985
|
+
"lpi_end_date": null,
|
|
4986
|
+
"lpi_last_update_date": "2025-09-26T00:00:00.000Z",
|
|
4987
|
+
"lpi_entry_date": "2007-09-04T00:00:00.000Z",
|
|
4988
|
+
"sao_start_number": null,
|
|
4989
|
+
"sao_start_suffix": null,
|
|
4990
|
+
"sao_end_number": null,
|
|
4991
|
+
"sao_end_suffix": null,
|
|
4992
|
+
"sao_text": null,
|
|
4993
|
+
"pao_start_number": 1,
|
|
4994
|
+
"pao_start_suffix": null,
|
|
4995
|
+
"pao_end_number": null,
|
|
4996
|
+
"pao_end_suffix": null,
|
|
4997
|
+
"pao_text": "HEOL Y CASTELL",
|
|
4998
|
+
"usrn": "47114724",
|
|
4999
|
+
"usrn_match_indicator": "1",
|
|
5000
|
+
"area_name": null,
|
|
5001
|
+
"level": null,
|
|
5002
|
+
"official_flag": "Y",
|
|
5003
|
+
"street_record_type": 1,
|
|
5004
|
+
"swa_org_ref_naming": 6820,
|
|
5005
|
+
"street_state": "2",
|
|
5006
|
+
"street_state_date": "1990-01-01T00:00:00.000Z",
|
|
5007
|
+
"street_surface": "1",
|
|
5008
|
+
"street_classification": null,
|
|
5009
|
+
"street_start_date": "2007-10-24T00:00:00.000Z",
|
|
5010
|
+
"street_last_update_date": "2022-01-14T00:00:00.000Z",
|
|
5011
|
+
"street_record_entry_date": "1998-07-14T00:00:00.000Z",
|
|
5012
|
+
"street_start_x": 257968,
|
|
5013
|
+
"street_start_y": 281400,
|
|
5014
|
+
"street_start_lat": 52.4121241,
|
|
5015
|
+
"street_start_long": -4.0896363,
|
|
5016
|
+
"street_end_x": 258266,
|
|
5017
|
+
"street_end_y": 281393,
|
|
5018
|
+
"street_end_lat": 52.4121386,
|
|
5019
|
+
"street_end_long": -4.0852551,
|
|
5020
|
+
"street_tolerance": 10,
|
|
5021
|
+
"street_description": "SOUTH ROAD",
|
|
5022
|
+
"street_locality": null,
|
|
5023
|
+
"street_town": "ABERYSTWYTH",
|
|
5024
|
+
"adminstrative_area": "CEREDIGION",
|
|
5025
|
+
"sd_language": "ENG",
|
|
5026
|
+
"sd_start_date": "2007-10-24T00:00:00.000Z",
|
|
5027
|
+
"sd_end_date": null,
|
|
5028
|
+
"sd_last_update_date": "2016-02-06T00:00:00.000Z",
|
|
5029
|
+
"sd_entry_date": "1998-07-14T00:00:00.000Z",
|
|
5030
|
+
"toid": "osgb1000020592167",
|
|
5031
|
+
"toid_address": "osgb1000002175099422",
|
|
5032
|
+
"toid_highways": "osgb5000005181786114",
|
|
5033
|
+
"council_tax_ref": null,
|
|
5034
|
+
"ndr_ref": null,
|
|
5035
|
+
"ons_ward_code": "W05001302",
|
|
5036
|
+
"ons_parish_code": "W04000359"
|
|
3723
5037
|
}
|
|
3724
5038
|
},
|
|
3725
|
-
"
|
|
3726
|
-
"title": "AddressBase
|
|
3727
|
-
"description": "Address from Ordnance Survey AddressBase
|
|
5039
|
+
"AbpAddress": {
|
|
5040
|
+
"title": "AddressBase Premium",
|
|
5041
|
+
"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
5042
|
"allOf": [
|
|
3729
5043
|
{
|
|
3730
5044
|
"$ref": "#/components/schemas/PafBase"
|
|
@@ -3743,7 +5057,7 @@
|
|
|
3743
5057
|
"dataset": {
|
|
3744
5058
|
"type": "string",
|
|
3745
5059
|
"enum": [
|
|
3746
|
-
"
|
|
5060
|
+
"abp"
|
|
3747
5061
|
]
|
|
3748
5062
|
},
|
|
3749
5063
|
"country_iso_2": {
|
|
@@ -3767,11 +5081,12 @@
|
|
|
3767
5081
|
"enum": [
|
|
3768
5082
|
"England",
|
|
3769
5083
|
"Scotland",
|
|
3770
|
-
"Wales"
|
|
5084
|
+
"Wales",
|
|
5085
|
+
"Northern Ireland"
|
|
3771
5086
|
]
|
|
3772
5087
|
},
|
|
3773
5088
|
"native": {
|
|
3774
|
-
"$ref": "#/components/schemas/
|
|
5089
|
+
"$ref": "#/components/schemas/AddressBasePremium"
|
|
3775
5090
|
}
|
|
3776
5091
|
}
|
|
3777
5092
|
}
|
|
@@ -3780,7 +5095,7 @@
|
|
|
3780
5095
|
"Dataset": {
|
|
3781
5096
|
"title": "Dataset",
|
|
3782
5097
|
"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",
|
|
5098
|
+
"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\n - `ban` (FRA) France BAN Dataset",
|
|
3784
5099
|
"enum": [
|
|
3785
5100
|
"paf",
|
|
3786
5101
|
"pafw",
|
|
@@ -3791,6 +5106,7 @@
|
|
|
3791
5106
|
"ecaf",
|
|
3792
5107
|
"ecad",
|
|
3793
5108
|
"ab",
|
|
5109
|
+
"abp",
|
|
3794
5110
|
"herewe",
|
|
3795
5111
|
"heret",
|
|
3796
5112
|
"heresa",
|
|
@@ -3811,7 +5127,8 @@
|
|
|
3811
5127
|
"fodbosa",
|
|
3812
5128
|
"mois",
|
|
3813
5129
|
"upujp",
|
|
3814
|
-
"bev"
|
|
5130
|
+
"bev",
|
|
5131
|
+
"ban"
|
|
3815
5132
|
]
|
|
3816
5133
|
},
|
|
3817
5134
|
"CountryISO": {
|
|
@@ -3878,7 +5195,6 @@
|
|
|
3878
5195
|
"HUN",
|
|
3879
5196
|
"KAZ",
|
|
3880
5197
|
"KGZ",
|
|
3881
|
-
"KOS",
|
|
3882
5198
|
"LTU",
|
|
3883
5199
|
"LVA",
|
|
3884
5200
|
"MDA",
|
|
@@ -3893,6 +5209,7 @@
|
|
|
3893
5209
|
"TUR",
|
|
3894
5210
|
"UKR",
|
|
3895
5211
|
"UZB",
|
|
5212
|
+
"XKX",
|
|
3896
5213
|
"HKG",
|
|
3897
5214
|
"BGD",
|
|
3898
5215
|
"IND",
|
|
@@ -4702,12 +6019,12 @@
|
|
|
4702
6019
|
"type": "string",
|
|
4703
6020
|
"maxLength": 60,
|
|
4704
6021
|
"minLength": 0,
|
|
4705
|
-
"description": "The department or division within an
|
|
6022
|
+
"description": "The department or division within an organisation. If the department element exists, then the organisation must also exist.",
|
|
4706
6023
|
"example": "Accounts Department"
|
|
4707
6024
|
},
|
|
4708
6025
|
"organisation": {
|
|
4709
6026
|
"type": "string",
|
|
4710
|
-
"description": "
|
|
6027
|
+
"description": "Organisation name",
|
|
4711
6028
|
"maxLength": 60,
|
|
4712
6029
|
"minLength": 0,
|
|
4713
6030
|
"example": "Oak Tree Limited"
|
|
@@ -4864,7 +6181,7 @@
|
|
|
4864
6181
|
},
|
|
4865
6182
|
"organisation_id": {
|
|
4866
6183
|
"type": "string",
|
|
4867
|
-
"description": "
|
|
6184
|
+
"description": "Organisation ID",
|
|
4868
6185
|
"example": "10098783",
|
|
4869
6186
|
"maxLength": 10,
|
|
4870
6187
|
"minLength": 1
|
|
@@ -4926,6 +6243,7 @@
|
|
|
4926
6243
|
},
|
|
4927
6244
|
"post_county_id": {
|
|
4928
6245
|
"type": "string",
|
|
6246
|
+
"nullable": true,
|
|
4929
6247
|
"description": "Post County ID",
|
|
4930
6248
|
"example": "10098783",
|
|
4931
6249
|
"maxLength": 10,
|
|
@@ -4942,17 +6260,17 @@
|
|
|
4942
6260
|
"address_type": {
|
|
4943
6261
|
"type": "string",
|
|
4944
6262
|
"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
|
|
6263
|
+
"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
6264
|
},
|
|
4947
6265
|
"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
|
|
6266
|
+
"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
6267
|
"type": "string",
|
|
4950
6268
|
"minLength": 0
|
|
4951
6269
|
},
|
|
4952
6270
|
"building_group_address_type": {
|
|
4953
6271
|
"type": "string",
|
|
4954
6272
|
"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
|
|
6273
|
+
"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
6274
|
},
|
|
4957
6275
|
"primary_locality_address_type": {
|
|
4958
6276
|
"type": "string",
|
|
@@ -5003,7 +6321,7 @@
|
|
|
5003
6321
|
]
|
|
5004
6322
|
},
|
|
5005
6323
|
"org_vacant": {
|
|
5006
|
-
"description": "A Yes/No field, indicating whether the
|
|
6324
|
+
"description": "A Yes/No field, indicating whether the organisation is vacant.",
|
|
5007
6325
|
"enum": [
|
|
5008
6326
|
"Y",
|
|
5009
6327
|
"N",
|
|
@@ -7323,7 +8641,7 @@
|
|
|
7323
8641
|
},
|
|
7324
8642
|
"organisasjonsnummer": {
|
|
7325
8643
|
"type": "string",
|
|
7326
|
-
"description": "Unique identifier of
|
|
8644
|
+
"description": "Unique identifier of organisation in the Brønnøysund Register.\n\nCan be empty string `\"\"` if not present.\n"
|
|
7327
8645
|
},
|
|
7328
8646
|
"tettstednummer": {
|
|
7329
8647
|
"type": "string",
|
|
@@ -9044,7 +10362,7 @@
|
|
|
9044
10362
|
},
|
|
9045
10363
|
"org_id": {
|
|
9046
10364
|
"type": "string",
|
|
9047
|
-
"description": "The unique identifier of an
|
|
10365
|
+
"description": "The unique identifier of an organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9048
10366
|
},
|
|
9049
10367
|
"org_type_ind": {
|
|
9050
10368
|
"oneOf": [
|
|
@@ -9055,7 +10373,7 @@
|
|
|
9055
10373
|
"type": "number"
|
|
9056
10374
|
}
|
|
9057
10375
|
],
|
|
9058
|
-
"description": "Indicates the type of
|
|
10376
|
+
"description": "Indicates the type of organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9059
10377
|
},
|
|
9060
10378
|
"org_sub_type_ind": {
|
|
9061
10379
|
"oneOf": [
|
|
@@ -9066,47 +10384,47 @@
|
|
|
9066
10384
|
"type": "number"
|
|
9067
10385
|
}
|
|
9068
10386
|
],
|
|
9069
|
-
"description": "Indicates the sub-type of the
|
|
10387
|
+
"description": "Indicates the sub-type of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9070
10388
|
},
|
|
9071
10389
|
"org_loc_id": {
|
|
9072
10390
|
"type": "string",
|
|
9073
|
-
"description": "Locality identifier for the
|
|
10391
|
+
"description": "Locality identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9074
10392
|
},
|
|
9075
10393
|
"org_dis_id": {
|
|
9076
10394
|
"type": "string",
|
|
9077
|
-
"description": "District identifier for the
|
|
10395
|
+
"description": "District identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9078
10396
|
},
|
|
9079
10397
|
"org_nei_id": {
|
|
9080
10398
|
"type": "string",
|
|
9081
|
-
"description": "
|
|
10399
|
+
"description": "Neighbourhood identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9082
10400
|
},
|
|
9083
10401
|
"org_org_id": {
|
|
9084
10402
|
"type": "string",
|
|
9085
|
-
"description": "Associated
|
|
10403
|
+
"description": "Associated organisation identifier for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9086
10404
|
},
|
|
9087
10405
|
"org_name": {
|
|
9088
10406
|
"type": "string",
|
|
9089
|
-
"description": "Name of the
|
|
10407
|
+
"description": "Name of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9090
10408
|
},
|
|
9091
10409
|
"org_name_trans": {
|
|
9092
10410
|
"type": "string",
|
|
9093
|
-
"description": "Translated name of the
|
|
10411
|
+
"description": "Translated name of the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9094
10412
|
},
|
|
9095
10413
|
"org_loc_sfx": {
|
|
9096
10414
|
"type": "string",
|
|
9097
|
-
"description": "Suffix of the locality for the
|
|
10415
|
+
"description": "Suffix of the locality for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9098
10416
|
},
|
|
9099
10417
|
"org_loc_sfx_trans": {
|
|
9100
10418
|
"type": "string",
|
|
9101
|
-
"description": "Translated suffix of the locality for the
|
|
10419
|
+
"description": "Translated suffix of the locality for the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9102
10420
|
},
|
|
9103
10421
|
"org_adr": {
|
|
9104
10422
|
"type": "string",
|
|
9105
|
-
"description": "Address of the
|
|
10423
|
+
"description": "Address of the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9106
10424
|
},
|
|
9107
10425
|
"org_adr_trans": {
|
|
9108
10426
|
"type": "string",
|
|
9109
|
-
"description": "Translated address of the
|
|
10427
|
+
"description": "Translated address of the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9110
10428
|
},
|
|
9111
10429
|
"org_po_ind": {
|
|
9112
10430
|
"oneOf": [
|
|
@@ -9117,39 +10435,39 @@
|
|
|
9117
10435
|
"type": "number"
|
|
9118
10436
|
}
|
|
9119
10437
|
],
|
|
9120
|
-
"description": "Indicates whether the
|
|
10438
|
+
"description": "Indicates whether the organisation has a post office box.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9121
10439
|
},
|
|
9122
10440
|
"org_po_start": {
|
|
9123
10441
|
"type": "string",
|
|
9124
|
-
"description": "Post office box number or start of the post office box range associated with the
|
|
10442
|
+
"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
10443
|
},
|
|
9126
10444
|
"org_po_end": {
|
|
9127
10445
|
"type": "string",
|
|
9128
|
-
"description": "End of the post office box range associated with the
|
|
10446
|
+
"description": "End of the post office box range associated with the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9129
10447
|
},
|
|
9130
10448
|
"org_dsc": {
|
|
9131
10449
|
"type": "string",
|
|
9132
|
-
"description": "Additional information about the
|
|
10450
|
+
"description": "Additional information about the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9133
10451
|
},
|
|
9134
10452
|
"org_dsc_trans": {
|
|
9135
10453
|
"type": "string",
|
|
9136
|
-
"description": "Translated additional information about the
|
|
10454
|
+
"description": "Translated additional information about the organisation in Latin script.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9137
10455
|
},
|
|
9138
10456
|
"org_pcode": {
|
|
9139
10457
|
"type": "string",
|
|
9140
|
-
"description": "Postal code for the
|
|
10458
|
+
"description": "Postal code for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9141
10459
|
},
|
|
9142
10460
|
"org_pcode_fin": {
|
|
9143
10461
|
"type": "string",
|
|
9144
|
-
"description": "Final postal code for the
|
|
10462
|
+
"description": "Final postal code for the organisation.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9145
10463
|
},
|
|
9146
10464
|
"org_script": {
|
|
9147
10465
|
"type": "string",
|
|
9148
|
-
"description": "Script used for the
|
|
10466
|
+
"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
10467
|
},
|
|
9150
10468
|
"org_language": {
|
|
9151
10469
|
"type": "string",
|
|
9152
|
-
"description": "Language used for the
|
|
10470
|
+
"description": "Language used for the organisation name.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9153
10471
|
},
|
|
9154
10472
|
"str_id": {
|
|
9155
10473
|
"type": "string",
|
|
@@ -9173,7 +10491,7 @@
|
|
|
9173
10491
|
},
|
|
9174
10492
|
"str_org_id": {
|
|
9175
10493
|
"type": "string",
|
|
9176
|
-
"description": "Associated
|
|
10494
|
+
"description": "Associated organisation identifier for the street.\n\nCan be empty string `\"\"` if not present.\n"
|
|
9177
10495
|
},
|
|
9178
10496
|
"str_pfx": {
|
|
9179
10497
|
"type": "string",
|
|
@@ -9914,6 +11232,210 @@
|
|
|
9914
11232
|
}
|
|
9915
11233
|
}
|
|
9916
11234
|
},
|
|
11235
|
+
"BanAddress": {
|
|
11236
|
+
"required": [
|
|
11237
|
+
"id",
|
|
11238
|
+
"dataset",
|
|
11239
|
+
"country",
|
|
11240
|
+
"country_iso",
|
|
11241
|
+
"country_iso_2",
|
|
11242
|
+
"language",
|
|
11243
|
+
"address",
|
|
11244
|
+
"line_1",
|
|
11245
|
+
"line_2",
|
|
11246
|
+
"latitude",
|
|
11247
|
+
"longitude",
|
|
11248
|
+
"id_fantoir",
|
|
11249
|
+
"numero",
|
|
11250
|
+
"rep",
|
|
11251
|
+
"nom_voie",
|
|
11252
|
+
"code_postal",
|
|
11253
|
+
"code_insee",
|
|
11254
|
+
"nom_commune",
|
|
11255
|
+
"code_insee_ancienne_commune",
|
|
11256
|
+
"nom_ancienne_commune",
|
|
11257
|
+
"x",
|
|
11258
|
+
"y",
|
|
11259
|
+
"lon",
|
|
11260
|
+
"lat",
|
|
11261
|
+
"type_position",
|
|
11262
|
+
"alias",
|
|
11263
|
+
"nom_ld",
|
|
11264
|
+
"libelle_acheminement",
|
|
11265
|
+
"nom_afnor",
|
|
11266
|
+
"source_position",
|
|
11267
|
+
"source_nom_voie",
|
|
11268
|
+
"certification_commune",
|
|
11269
|
+
"cad_parcelles"
|
|
11270
|
+
],
|
|
11271
|
+
"properties": {
|
|
11272
|
+
"id": {
|
|
11273
|
+
"$ref": "#/components/schemas/ID"
|
|
11274
|
+
},
|
|
11275
|
+
"dataset": {
|
|
11276
|
+
"type": "string",
|
|
11277
|
+
"enum": [
|
|
11278
|
+
"ban"
|
|
11279
|
+
]
|
|
11280
|
+
},
|
|
11281
|
+
"country_iso": {
|
|
11282
|
+
"description": " 3 letter country code (ISO 3166-1)\n",
|
|
11283
|
+
"enum": [
|
|
11284
|
+
"FRA"
|
|
11285
|
+
]
|
|
11286
|
+
},
|
|
11287
|
+
"country_iso_2": {
|
|
11288
|
+
"type": "string",
|
|
11289
|
+
"description": " 2 letter country code (ISO 3166-1)\n",
|
|
11290
|
+
"enum": [
|
|
11291
|
+
"FR"
|
|
11292
|
+
]
|
|
11293
|
+
},
|
|
11294
|
+
"country": {
|
|
11295
|
+
"type": "string",
|
|
11296
|
+
"description": " Full country names (ISO 3166)\n",
|
|
11297
|
+
"enum": [
|
|
11298
|
+
"France"
|
|
11299
|
+
]
|
|
11300
|
+
},
|
|
11301
|
+
"language": {
|
|
11302
|
+
"enum": [
|
|
11303
|
+
"fr"
|
|
11304
|
+
],
|
|
11305
|
+
"description": "Language represented by 2 letter ISO Code (639-1)\n"
|
|
11306
|
+
},
|
|
11307
|
+
"address": {
|
|
11308
|
+
"type": "string",
|
|
11309
|
+
"description": "The house number of the address.\n\nCan be empty string `\"\"` if not present.\n",
|
|
11310
|
+
"example": "8"
|
|
11311
|
+
},
|
|
11312
|
+
"line_1": {
|
|
11313
|
+
"type": "string",
|
|
11314
|
+
"nullable": true,
|
|
11315
|
+
"description": "First address line (house number, suffix, and street name).\n\nCan be `null` if not present.\n",
|
|
11316
|
+
"example": "8 bis avenue des Champs-Élysées"
|
|
11317
|
+
},
|
|
11318
|
+
"line_2": {
|
|
11319
|
+
"type": "string",
|
|
11320
|
+
"nullable": true,
|
|
11321
|
+
"description": "Second address line (postcode and municipality name).\n\nCan be `null` if not present.\n",
|
|
11322
|
+
"example": "75008 Paris"
|
|
11323
|
+
},
|
|
11324
|
+
"longitude": {
|
|
11325
|
+
"$ref": "#/components/schemas/Longitude"
|
|
11326
|
+
},
|
|
11327
|
+
"latitude": {
|
|
11328
|
+
"$ref": "#/components/schemas/Latitude"
|
|
11329
|
+
},
|
|
11330
|
+
"id_fantoir": {
|
|
11331
|
+
"type": "string",
|
|
11332
|
+
"nullable": true,
|
|
11333
|
+
"description": "FANTOIR street identifier\n"
|
|
11334
|
+
},
|
|
11335
|
+
"numero": {
|
|
11336
|
+
"type": "integer",
|
|
11337
|
+
"nullable": true,
|
|
11338
|
+
"description": "House number\n"
|
|
11339
|
+
},
|
|
11340
|
+
"rep": {
|
|
11341
|
+
"type": "string",
|
|
11342
|
+
"nullable": true,
|
|
11343
|
+
"description": "House number suffix / répétition (`bis`, `ter`, `quater`, etc.)\n"
|
|
11344
|
+
},
|
|
11345
|
+
"nom_voie": {
|
|
11346
|
+
"type": "string",
|
|
11347
|
+
"description": "Street name\n"
|
|
11348
|
+
},
|
|
11349
|
+
"code_postal": {
|
|
11350
|
+
"type": "string",
|
|
11351
|
+
"nullable": true,
|
|
11352
|
+
"description": "5-digit postal code\n"
|
|
11353
|
+
},
|
|
11354
|
+
"code_insee": {
|
|
11355
|
+
"type": "string",
|
|
11356
|
+
"description": "INSEE commune code (2-digit département + 3-digit commune)\n"
|
|
11357
|
+
},
|
|
11358
|
+
"nom_commune": {
|
|
11359
|
+
"type": "string",
|
|
11360
|
+
"description": "Municipality name\n"
|
|
11361
|
+
},
|
|
11362
|
+
"code_insee_ancienne_commune": {
|
|
11363
|
+
"type": "string",
|
|
11364
|
+
"nullable": true,
|
|
11365
|
+
"description": "INSEE code of the pre-fusion commune (for merged municipalities)\n"
|
|
11366
|
+
},
|
|
11367
|
+
"nom_ancienne_commune": {
|
|
11368
|
+
"type": "string",
|
|
11369
|
+
"nullable": true,
|
|
11370
|
+
"description": "Name of the pre-fusion commune (for merged municipalities)\n"
|
|
11371
|
+
},
|
|
11372
|
+
"x": {
|
|
11373
|
+
"type": "string",
|
|
11374
|
+
"nullable": true,
|
|
11375
|
+
"description": "Lambert 93 easting coordinate\n"
|
|
11376
|
+
},
|
|
11377
|
+
"y": {
|
|
11378
|
+
"type": "string",
|
|
11379
|
+
"nullable": true,
|
|
11380
|
+
"description": "Lambert 93 northing coordinate\n"
|
|
11381
|
+
},
|
|
11382
|
+
"lon": {
|
|
11383
|
+
"type": "string",
|
|
11384
|
+
"nullable": true,
|
|
11385
|
+
"description": "Longitude (WGS84) as returned from source data\n"
|
|
11386
|
+
},
|
|
11387
|
+
"lat": {
|
|
11388
|
+
"type": "string",
|
|
11389
|
+
"nullable": true,
|
|
11390
|
+
"description": "Latitude (WGS84) as returned from source data\n"
|
|
11391
|
+
},
|
|
11392
|
+
"type_position": {
|
|
11393
|
+
"type": "string",
|
|
11394
|
+
"nullable": true,
|
|
11395
|
+
"description": "Positional accuracy type (`entrée`, `bâtiment`, `parcelle`, `délivrance postale`, etc.)\n"
|
|
11396
|
+
},
|
|
11397
|
+
"alias": {
|
|
11398
|
+
"type": "string",
|
|
11399
|
+
"nullable": true,
|
|
11400
|
+
"description": "Address alias\n"
|
|
11401
|
+
},
|
|
11402
|
+
"nom_ld": {
|
|
11403
|
+
"type": "string",
|
|
11404
|
+
"nullable": true,
|
|
11405
|
+
"description": "Lieu-dit (named place) label\n"
|
|
11406
|
+
},
|
|
11407
|
+
"libelle_acheminement": {
|
|
11408
|
+
"type": "string",
|
|
11409
|
+
"nullable": true,
|
|
11410
|
+
"description": "Postal routing label\n"
|
|
11411
|
+
},
|
|
11412
|
+
"nom_afnor": {
|
|
11413
|
+
"type": "string",
|
|
11414
|
+
"nullable": true,
|
|
11415
|
+
"description": "AFNOR-normalised street name\n"
|
|
11416
|
+
},
|
|
11417
|
+
"source_position": {
|
|
11418
|
+
"type": "string",
|
|
11419
|
+
"nullable": true,
|
|
11420
|
+
"description": "Source of position data (`commune`, `IGN`, etc.)\n"
|
|
11421
|
+
},
|
|
11422
|
+
"source_nom_voie": {
|
|
11423
|
+
"type": "string",
|
|
11424
|
+
"nullable": true,
|
|
11425
|
+
"description": "Source of street name data\n"
|
|
11426
|
+
},
|
|
11427
|
+
"certification_commune": {
|
|
11428
|
+
"type": "boolean",
|
|
11429
|
+
"nullable": true,
|
|
11430
|
+
"description": "Whether the municipality has certified this address\n"
|
|
11431
|
+
},
|
|
11432
|
+
"cad_parcelles": {
|
|
11433
|
+
"type": "string",
|
|
11434
|
+
"nullable": true,
|
|
11435
|
+
"description": "Cadastral parcel reference(s)\n"
|
|
11436
|
+
}
|
|
11437
|
+
}
|
|
11438
|
+
},
|
|
9917
11439
|
"GbrGlobalAddress": {
|
|
9918
11440
|
"title": "Global Address",
|
|
9919
11441
|
"description": "Global (non-UK) address in the UK address format",
|
|
@@ -10066,6 +11588,9 @@
|
|
|
10066
11588
|
},
|
|
10067
11589
|
{
|
|
10068
11590
|
"$ref": "#/components/schemas/BevAddress"
|
|
11591
|
+
},
|
|
11592
|
+
{
|
|
11593
|
+
"$ref": "#/components/schemas/BanAddress"
|
|
10069
11594
|
}
|
|
10070
11595
|
]
|
|
10071
11596
|
},
|
|
@@ -10145,7 +11670,7 @@
|
|
|
10145
11670
|
},
|
|
10146
11671
|
"organisation_name": {
|
|
10147
11672
|
"type": "string",
|
|
10148
|
-
"description": "Name of the company or
|
|
11673
|
+
"description": "Name of the company or organisation associated with the address",
|
|
10149
11674
|
"example": "Farrell's Gift Shop"
|
|
10150
11675
|
},
|
|
10151
11676
|
"udprn": {
|
|
@@ -10324,6 +11849,9 @@
|
|
|
10324
11849
|
{
|
|
10325
11850
|
"$ref": "#/components/schemas/AbAddress"
|
|
10326
11851
|
},
|
|
11852
|
+
{
|
|
11853
|
+
"$ref": "#/components/schemas/AbpAddress"
|
|
11854
|
+
},
|
|
10327
11855
|
{
|
|
10328
11856
|
"$ref": "#/components/schemas/GbrGlobalAddress"
|
|
10329
11857
|
}
|
|
@@ -10880,6 +12408,7 @@
|
|
|
10880
12408
|
"mois",
|
|
10881
12409
|
"upujp",
|
|
10882
12410
|
"bev",
|
|
12411
|
+
"ban",
|
|
10883
12412
|
"gbrcleanse",
|
|
10884
12413
|
"uspscleanse"
|
|
10885
12414
|
],
|
|
@@ -10914,6 +12443,11 @@
|
|
|
10914
12443
|
"description": "UK AddressBase dataset",
|
|
10915
12444
|
"example": false
|
|
10916
12445
|
},
|
|
12446
|
+
"abp": {
|
|
12447
|
+
"type": "boolean",
|
|
12448
|
+
"description": "UK AddressBase Premium dataset",
|
|
12449
|
+
"example": false
|
|
12450
|
+
},
|
|
10917
12451
|
"nip": {
|
|
10918
12452
|
"type": "boolean",
|
|
10919
12453
|
"description": "Northern Ireland Pointer Dataset",
|
|
@@ -11048,6 +12582,11 @@
|
|
|
11048
12582
|
"description": "Austria: BEV Address File",
|
|
11049
12583
|
"example": true
|
|
11050
12584
|
},
|
|
12585
|
+
"ban": {
|
|
12586
|
+
"type": "boolean",
|
|
12587
|
+
"description": "France: BAN (Base Adresse Nationale)",
|
|
12588
|
+
"example": true
|
|
12589
|
+
},
|
|
11051
12590
|
"gbrcleanse": {
|
|
11052
12591
|
"type": "boolean",
|
|
11053
12592
|
"description": "UK GBR Cleanse",
|
|
@@ -11459,11 +12998,21 @@
|
|
|
11459
12998
|
"description": "Austria: BEV Address File",
|
|
11460
12999
|
"example": true
|
|
11461
13000
|
},
|
|
13001
|
+
"ban": {
|
|
13002
|
+
"type": "boolean",
|
|
13003
|
+
"description": "France: BAN (Base Adresse Nationale)",
|
|
13004
|
+
"example": true
|
|
13005
|
+
},
|
|
11462
13006
|
"ab": {
|
|
11463
13007
|
"type": "boolean",
|
|
11464
13008
|
"description": "UK AddressBase dataset",
|
|
11465
13009
|
"example": false
|
|
11466
13010
|
},
|
|
13011
|
+
"abp": {
|
|
13012
|
+
"type": "boolean",
|
|
13013
|
+
"description": "UK AddressBase Premium dataset",
|
|
13014
|
+
"example": false
|
|
13015
|
+
},
|
|
11467
13016
|
"nip": {
|
|
11468
13017
|
"type": "boolean",
|
|
11469
13018
|
"description": "Northern Ireland Pointer Dataset",
|
|
@@ -11994,7 +13543,7 @@
|
|
|
11994
13543
|
},
|
|
11995
13544
|
"organisation_match": {
|
|
11996
13545
|
"type": "string",
|
|
11997
|
-
"description": "Match indicator for the
|
|
13546
|
+
"description": "Match indicator for the organisation",
|
|
11998
13547
|
"enum": [
|
|
11999
13548
|
"FULL",
|
|
12000
13549
|
"PARTIAL",
|
|
@@ -12691,6 +14240,9 @@
|
|
|
12691
14240
|
{
|
|
12692
14241
|
"$ref": "#/components/schemas/AbAddress"
|
|
12693
14242
|
},
|
|
14243
|
+
{
|
|
14244
|
+
"$ref": "#/components/schemas/AbpAddress"
|
|
14245
|
+
},
|
|
12694
14246
|
{
|
|
12695
14247
|
"$ref": "#/components/schemas/GbrGlobalAddress"
|
|
12696
14248
|
}
|
|
@@ -13012,6 +14564,9 @@
|
|
|
13012
14564
|
{
|
|
13013
14565
|
"$ref": "#/components/schemas/AbAddress"
|
|
13014
14566
|
},
|
|
14567
|
+
{
|
|
14568
|
+
"$ref": "#/components/schemas/AbpAddress"
|
|
14569
|
+
},
|
|
13015
14570
|
{
|
|
13016
14571
|
"$ref": "#/components/schemas/HereAddress"
|
|
13017
14572
|
},
|
|
@@ -13041,6 +14596,9 @@
|
|
|
13041
14596
|
},
|
|
13042
14597
|
{
|
|
13043
14598
|
"$ref": "#/components/schemas/BevAddress"
|
|
14599
|
+
},
|
|
14600
|
+
{
|
|
14601
|
+
"$ref": "#/components/schemas/BanAddress"
|
|
13044
14602
|
}
|
|
13045
14603
|
]
|
|
13046
14604
|
}
|
|
@@ -13133,6 +14691,9 @@
|
|
|
13133
14691
|
},
|
|
13134
14692
|
{
|
|
13135
14693
|
"$ref": "#/components/schemas/AbAddress"
|
|
14694
|
+
},
|
|
14695
|
+
{
|
|
14696
|
+
"$ref": "#/components/schemas/AbpAddress"
|
|
13136
14697
|
}
|
|
13137
14698
|
]
|
|
13138
14699
|
}
|
|
@@ -13738,7 +15299,7 @@
|
|
|
13738
15299
|
"name": {
|
|
13739
15300
|
"type": "string",
|
|
13740
15301
|
"example": "Qwerty Widgets Limited",
|
|
13741
|
-
"description": "Licensee individual or
|
|
15302
|
+
"description": "Licensee individual or organisation name"
|
|
13742
15303
|
},
|
|
13743
15304
|
"address": {
|
|
13744
15305
|
"example": "12 High Street, Manchester",
|
|
@@ -14101,7 +15662,7 @@
|
|
|
14101
15662
|
},
|
|
14102
15663
|
"role": {
|
|
14103
15664
|
"type": "boolean",
|
|
14104
|
-
"description": "Returns `true` if email address represents an
|
|
15665
|
+
"description": "Returns `true` if email address represents an organisational role like `admin`, `support`, `postmaster` etc"
|
|
14105
15666
|
},
|
|
14106
15667
|
"catchall": {
|
|
14107
15668
|
"type": "boolean",
|
|
@@ -14492,6 +16053,98 @@
|
|
|
14492
16053
|
]
|
|
14493
16054
|
}
|
|
14494
16055
|
}
|
|
16056
|
+
},
|
|
16057
|
+
"GilpGroundStability": {
|
|
16058
|
+
"title": "GILP Ground Stability",
|
|
16059
|
+
"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",
|
|
16060
|
+
"type": "object",
|
|
16061
|
+
"required": [
|
|
16062
|
+
"postcode",
|
|
16063
|
+
"collapse",
|
|
16064
|
+
"rsand",
|
|
16065
|
+
"comp",
|
|
16066
|
+
"sswell",
|
|
16067
|
+
"solub",
|
|
16068
|
+
"landslide",
|
|
16069
|
+
"total",
|
|
16070
|
+
"class",
|
|
16071
|
+
"version"
|
|
16072
|
+
],
|
|
16073
|
+
"properties": {
|
|
16074
|
+
"postcode": {
|
|
16075
|
+
"type": "string",
|
|
16076
|
+
"maxLength": 8,
|
|
16077
|
+
"description": "The individual postcode.",
|
|
16078
|
+
"example": "BA1 0AA"
|
|
16079
|
+
},
|
|
16080
|
+
"collapse": {
|
|
16081
|
+
"type": "integer",
|
|
16082
|
+
"minimum": 0,
|
|
16083
|
+
"maximum": 18,
|
|
16084
|
+
"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",
|
|
16085
|
+
"example": 0
|
|
16086
|
+
},
|
|
16087
|
+
"rsand": {
|
|
16088
|
+
"type": "integer",
|
|
16089
|
+
"minimum": 0,
|
|
16090
|
+
"maximum": 22,
|
|
16091
|
+
"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",
|
|
16092
|
+
"example": 6
|
|
16093
|
+
},
|
|
16094
|
+
"comp": {
|
|
16095
|
+
"type": "integer",
|
|
16096
|
+
"minimum": 0,
|
|
16097
|
+
"maximum": 148,
|
|
16098
|
+
"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",
|
|
16099
|
+
"example": 74
|
|
16100
|
+
},
|
|
16101
|
+
"sswell": {
|
|
16102
|
+
"type": "integer",
|
|
16103
|
+
"minimum": 0,
|
|
16104
|
+
"maximum": 1000,
|
|
16105
|
+
"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",
|
|
16106
|
+
"example": 252
|
|
16107
|
+
},
|
|
16108
|
+
"solub": {
|
|
16109
|
+
"type": "integer",
|
|
16110
|
+
"minimum": 0,
|
|
16111
|
+
"maximum": 73,
|
|
16112
|
+
"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",
|
|
16113
|
+
"example": 0
|
|
16114
|
+
},
|
|
16115
|
+
"landslide": {
|
|
16116
|
+
"type": "integer",
|
|
16117
|
+
"minimum": 0,
|
|
16118
|
+
"maximum": 787,
|
|
16119
|
+
"description": "The individual hazard score value for landslide - slope instability\ncausing down-slope movement of materials such as a landslide or\nrockfall.\n",
|
|
16120
|
+
"example": 35
|
|
16121
|
+
},
|
|
16122
|
+
"total": {
|
|
16123
|
+
"type": "integer",
|
|
16124
|
+
"minimum": 0,
|
|
16125
|
+
"maximum": 2000,
|
|
16126
|
+
"description": "The total combined score of all 6 hazards.",
|
|
16127
|
+
"example": 367
|
|
16128
|
+
},
|
|
16129
|
+
"class": {
|
|
16130
|
+
"type": "string",
|
|
16131
|
+
"enum": [
|
|
16132
|
+
"Low",
|
|
16133
|
+
"Low-Medium",
|
|
16134
|
+
"Medium",
|
|
16135
|
+
"Medium-High",
|
|
16136
|
+
"High"
|
|
16137
|
+
],
|
|
16138
|
+
"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",
|
|
16139
|
+
"example": "Low"
|
|
16140
|
+
},
|
|
16141
|
+
"version": {
|
|
16142
|
+
"type": "string",
|
|
16143
|
+
"maxLength": 50,
|
|
16144
|
+
"description": "Dataset name and version number, encoding the GeoSure version and the\nOS Code-Point Open version used in production.\n",
|
|
16145
|
+
"example": "GILP_v8_2025.3"
|
|
16146
|
+
}
|
|
16147
|
+
}
|
|
14495
16148
|
}
|
|
14496
16149
|
},
|
|
14497
16150
|
"parameters": {
|
|
@@ -14763,7 +16416,7 @@
|
|
|
14763
16416
|
"schema": {
|
|
14764
16417
|
"type": "string"
|
|
14765
16418
|
},
|
|
14766
|
-
"description": "**Filter by Postcode Type**\n\nFilter by Postcode Type. Useful for separating
|
|
16419
|
+
"description": "**Filter by Postcode Type**\n\nFilter by Postcode Type. Useful for separating organisational and residential addresses\n"
|
|
14767
16420
|
},
|
|
14768
16421
|
"SmallUserParam": {
|
|
14769
16422
|
"name": "su_organisation_indicator",
|
|
@@ -14773,7 +16426,7 @@
|
|
|
14773
16426
|
"schema": {
|
|
14774
16427
|
"type": "string"
|
|
14775
16428
|
},
|
|
14776
|
-
"description": "**Filter by
|
|
16429
|
+
"description": "**Filter by Organisation Indicator**\n\nUseful for separating organisational and residential addresses\n",
|
|
14777
16430
|
"example": "Y"
|
|
14778
16431
|
},
|
|
14779
16432
|
"BiasPostcodeOutwardParam": {
|
|
@@ -14957,8 +16610,19 @@
|
|
|
14957
16610
|
"usps_address",
|
|
14958
16611
|
"uk_address",
|
|
14959
16612
|
"ab_address",
|
|
16613
|
+
"abp_address",
|
|
16614
|
+
"bev_address",
|
|
14960
16615
|
"ecaf_address",
|
|
14961
16616
|
"ecad_address",
|
|
16617
|
+
"gnaf_address",
|
|
16618
|
+
"fodbosa_address",
|
|
16619
|
+
"cannar_address",
|
|
16620
|
+
"sdfi_address",
|
|
16621
|
+
"upujp_address",
|
|
16622
|
+
"mois_address",
|
|
16623
|
+
"kadaster_address",
|
|
16624
|
+
"kartverket_address",
|
|
16625
|
+
"here_address",
|
|
14962
16626
|
"geonames_place"
|
|
14963
16627
|
]
|
|
14964
16628
|
}
|