@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:es_dni a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "es_dni" ;
    skos:prefLabel "Spanish national identity document number (DNI)"@en ;
    skos:definition "Documento Nacional de Identidad, the identity number of Spanish citizens: eight digits and a check letter, which is the number modulo 23 looked up in TRWAGMYFPDXBNJZSQVHLCKE. The same value is the person's tax number (NIF). Foreigners receive an NIE instead."@en ;
    skos:prefLabel "Documento Nacional de Identidad (DNI)"@es ;
    skos:broader dt:esnif ;
    skos:narrower dt:es_dni_masked ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    skos:example "12442144H" ;
    skos:example "85103532J" ;
    skos:example "54362315-K" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^\\d{8}-?[A-Z]$" ;
    mcr:checksum "es_dni" ;
    dcterms:spatial country:ES ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/es> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Documento_Nacional_de_Identidad_(Spain)> ;
    rdfs:seeAlso <https://es.wikipedia.org/wiki/Documento_nacional_de_identidad_(Espa%C3%B1a)> ;
    rdfs:seeAlso <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.es.dni.html> ;
    rdfs:seeAlso <https://docs.dataprep.ai/user_guide/clean/clean_es_dni.html> .
