@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:fi_hetu a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "fi_hetu" ;
    skos:prefLabel "Finnish personal identity code (HETU)"@en ;
    skos:definition "Henkilötunnus, the personal identity code of people registered in Finland. It is the date of birth (DDMMYY), a century sign (+ for the 1800s, - or one of Y, X, W, V, U for the 1900s, A to F for the 2000s), a 3-digit individual number (odd for men, even for women; 900 to 999 for temporary codes) and a check character - the nine-digit number DDMMYYZZZ modulo 31, looked up in 0123456789ABCDEFHJKLMNPRSTUVWXY."@en ;
    skos:prefLabel "Henkilötunnus (HETU)"@fi ;
    skos:prefLabel "Personbeteckning"@sv ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    skos:example "241060-268N" ;
    skos:example "271117A736D" ;
    skos:example "131052-308T" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:0[1-9]|[12]\\d|3[01])(?:0[1-9]|1[0-2])\\d{2}[-+A-FU-Y]\\d{3}[0-9A-FHJ-NPR-Y]$" ;
    mcr:checksum "fi_hetu" ;
    dcterms:spatial country:FI ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/fi> ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/sv> ;
    rdfs:seeAlso <https://fi.wikipedia.org/wiki/Henkil%C3%B6tunnus> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/National_identification_number#Finland> ;
    rdfs:seeAlso <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.fi.hetu.html> ;
    rdfs:seeAlso <https://docs.dataprep.ai/user_guide/clean/clean_fi_hetu.html> .
