English unique pupil number (UPN)
ID gb_upn
DatatypePersonal data (PII)identifierDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Unique Pupil Number, the 13-character code of a pupil in English state schools. It is a check letter, a 3-digit local authority number, a 4-digit school establishment number, two digits for the year of issue and a 3-digit serial number. Temporary numbers end with a letter.
- Categories
- Personally identifiable information, Person related, Education
- Countries
- United Kingdom
- Languages
- English
- python-stdnum
stdnum.gb.upn- Quality
- 95/100 · missing: translation
- Metacrafter rules
- no detection rule yet
- Supported by tools
- DataPrep, python-stdnum
Regular expression
^[A-HJ-NP-RT-Z]\d{11}[0-9A-HJ-NP-RT-Z]$
Python re syntax.
Examples
| Value | Description |
|---|---|
| Q202066535762 | Synthetic number with a valid check digit |
| Z208803304719 | Synthetic number with a valid check digit |
| Q2020665357627 invalid | One character too many |
Sources
- doc: https://www.gov.uk/government/publications/unique-pupil-numbers
- other: https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.gb.upn.html
- other: https://docs.dataprep.ai/user_guide/clean/clean_gb_upn.html
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/gb_upn - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/GB/education/gb_upn.yamlon GitHub