@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix mcr: <https://registry.apicrafter.io/vocab#> .
@prefix dt: <https://registry.apicrafter.io/datatype/> .
@prefix cat: <https://registry.apicrafter.io/category/> .
@prefix country: <https://registry.apicrafter.io/country/> .
@prefix tool: <https://registry.apicrafter.io/tool/> .

dt:gb_upn a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "gb_upn" ;
    skos:prefLabel "English unique pupil number (UPN)"@en ;
    skos:definition "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."@en ;
    skos:example "Q202066535762" ;
    skos:example "Z208803304719" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^[A-HJ-NP-RT-Z]\\d{11}[0-9A-HJ-NP-RT-Z]$" ;
    dcterms:spatial country:GB ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/en> ;
    rdfs:seeAlso <https://www.gov.uk/government/publications/unique-pupil-numbers> ;
    rdfs:seeAlso <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.gb.upn.html> ;
    rdfs:seeAlso <https://docs.dataprep.ai/user_guide/clean/clean_gb_upn.html> .
