# Classification (Type 32 Record)

The Classification (Type 32 Record) Data Type defines a structured entry that provides the code for the type of feature.

## Temporal filtering

The earliest date on which you can request a one-off snapshot of a date in the past for data in this data type is 27 March 2024.

## Data type attributes

The following sub-sections provide details about the attributes included with this data type, their types in the different output formats, and other important metadata about them.

### fid

 A non-persistent integer which is autogenerated and is required within the OGC GeoPackage format.

* **Attribute Name**: fid (GPKG), Not provided (CSV)
* **Data Types:**  Integer (GPKG), Integer (CSV)
* **Nullable**: false
* **Data Schema Version:** 1.0

### Record ID

Identifies this record as a Classification Record (type 32). 

* **Attribute Name**: Not provided (GPKG), RECORD\_IDENTIFIER (CSV)
* **Data Types:**  Integer (GPKG), Integer (CSV)
* **Size:** 2
* **Nullable**: false
* **Data Schema Version:** 1.0

### Change type

The type of record change.

{% hint style="info" %}
Please see the ['Available formats' section in the OS ESG Overview](https://docs.os.uk/os-downloads/products/addresses-and-names-portfolio/os-emergency-services-gazetteer/os-esg-overview) for more information.
{% endhint %}

* **Attribute Name**: change\_type (GPKG), CHANGE\_TYPE (CSV)
* **Code List Name:** [ChangeTypeCode ](https://docs.os.uk/os-downloads/products/addresses-and-names-portfolio/os-emergency-services-gazetteer/os-esg-technical-specification/code-lists/changetypecode)
* **Size:** 1
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Processing order

The order in which the records were processed to create the data supply. 

* **Attribute Name**: Not provided (GPKG), PRO\_ORDER (CSV)
* **Data Types:**  Integer (GPKG), Integer (CSV)
* **Size:** 16
* **Nullable**:  false
* **Data Schema Version:** 1.0

### UPRN

The Unique Property Reference Number (UPRN). This is a foreign key used to reference the classification records to the corresponding BLPU. 

* **Attribute Name**: uprn (GPKG), UPRN (CSV)
* **Data Types:**  Integer (GPKG), Integer (CSV)
* **Size:** 12
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Classification key

The unique key for the classification record and primary key for this table. 

* **Attribute Name**: class\_key (GPKG), CLASS\_KEY (CSV)
* **Data Types:** String (GPKG), String (CSV)
* **Max Length:** 14
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Classification code

Alphanumeric code used to classify the feature.

* **Attribute Name**: classification\_code (GPKG), CLASSIFICATION\_CODE (CSV)
* **Data Types:** String (GPKG) , String (CSV)
* **Max Length:** 6
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Classification scheme

The name of the classification scheme used for this record.   

* **Attribute Name**: class\_scheme (GPKG), CLASS\_SCHEME (CSV)
* **Data Types:** String (GPKG), String (CSV)
* **Max Length:** 60
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Scheme version

The classification scheme version number. 

* **Attribute Name**: scheme\_version (GPKG), SCHEME\_VERSION (CSV)
* **Data Types:** float (GPKG), Real (CSV)
* **Precision:** 2
* **Scale:** 1
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Start date

The date on which this classification record was first loaded into the database. 

* **Attribute Name**: start\_date (GPKG), START\_DATE (CSV)
* **Data Types:** Date (GPKG), Date (CSV)
* **Nullable**:  false
* **Data Schema Version:** 1.0

### End date

The date on which this classification record ceased to exist.     

* **Attribute Name**: end\_date (GPKG), END\_DATE  (CSV)
* **Data Types:** Date (GPKG), Date (CSV)
* **Nullable**:  true
* **Data Schema Version:** 1.0

### Last update date

The date on which an attribute on this record was last changed. 

* **Attribute Name**: last\_update\_date (GPKG), LAST\_UPDATE\_DATE (CSV)
* **Data Types:** Date (GPKG), Date (CSV)
* **Nullable**:  false
* **Data Schema Version:** 1.0

### Entry date

The date on which the record associated with this classification record was inserted into the database.

* **Attribute Name**: entry\_date (GPKG), ENTRY\_DATE (CSV)
* **Data Types:** Date (GPKG), Date (CSV)
* **Nullable**:  false
* **Data Schema Version:** 1.0
