@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:esnie a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "esnie" ;
    skos:prefLabel "Spanish Foreigner Identity Number (NIE)"@en ;
    skos:definition "The NIE is a tax identification number in Spain, known in Spanish as the NIE, or more formally the Numero de identidad de extranjero"@en ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    mcr:status "stable" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(X(-|\\.)?0?\\d{7}(-|\\.)?[A-Z]|[A-Z](-|\\.)?\\d{7}(-|\\.)?[0-9A-Z]|\\d{8}(-|\\.)?[A-Z])$" ;
    dcterms:spatial country:ES ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/es> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/NIE_number> .
