Not Yet Built
The Not Yet Built address format is identical to the Postcode Address File format. Only the dataset label differs.
datasetstring- Dataset
Indicates the provenance of an address.
Enum- "nyb"
Native Record
nativeobject- Native Record
The raw dataset record backing an address, exactly as the dataset supplies it. One schema per dataset;
dataseton the record says which.
Raw Royal Mail Not Yet Built record backing an nyb address.
Delivery points Royal Mail has allocated for addresses under construction, ahead of them appearing in PAF. Same shape as a PAF record.
Fields shared by every Royal Mail PAF family native record (paf, mr, nyb, pafa, pafw).
The Royal Mail record as held in Postgres, before any derived fields are added. Formatted lines, premise, postcode parts, geocodes, UPRN and county fields belong to the address, not to the native record. dataset is the one field not taken from Royal Mail.
Two values differ from the raw PAF file: post_town is title cased (Royal Mail supplies it upper cased), and a building_number of 0, PAF's sentinel for "none", is returned as an empty string.
Example Record
| Field | Example | Type |
|---|---|---|
dataset | nyb | string |
postcode | L1 8JQ | string |
post_town | Liverpool | string |
dependant_locality | Empty in this example | string |
double_dependant_locality | Empty in this example | string |
thoroughfare | Wall Street | string |
dependant_thoroughfare | Empty in this example | string |
building_number | Empty in this example | string |
building_name | 2b | string |
sub_building_name | Empty in this example | string |
po_box | Empty in this example | string |
department_name | Empty in this example | string |
organisation_name | Empty in this example | string |
udprn | 53656380 | number |
postcode_type | S | string |
su_organisation_indicator | Empty in this example | string |
delivery_point_suffix | 1R | string |
{"dataset": "nyb","postcode": "L1 8JQ","post_town": "Liverpool","dependant_locality": "","double_dependant_locality": "","thoroughfare": "Wall Street","dependant_thoroughfare": "","building_number": "","building_name": "2b","sub_building_name": "","po_box": "","department_name": "","organisation_name": "","udprn": 53656380,"postcode_type": "S","su_organisation_indicator": "","delivery_point_suffix": "1R"}Every field is documented below.
datasetstring- Enum
- "nyb"
postcodestringPostcode, space separated
post_townstringRoyal Mail post town, title cased
dependant_localitystringDependant locality. Empty string when not present
double_dependant_localitystringDouble dependant locality. Empty string when not present
thoroughfarestringStreet name
dependant_thoroughfarestringDependant street name. Empty string when not present
building_numberstringBuilding number. Empty string when not present, or when PAF merges it into the building name
building_namestringBuilding name. Empty string when not present
sub_building_namestringSub building name. Empty string when not present
department_namestringDepartment name within an organisation. Empty string when not present
organisation_namestringOrganisation name. Empty string when not present
udprnintegerUnique Delivery Point Reference Number
postcode_typestringPostcode type.
SSmall userLLarge user""where Royal Mail supplies none
Enum- "S"
- "L"
- ""
su_organisation_indicatorstringSmall user organisation indicator.
Ywhere the small user postcode is held by an organisationdelivery_point_suffixstringRoyal Mail delivery point suffix
po_boxstringPO Box number. Empty string when not present