@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:nif a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "nif" ;
    skos:prefLabel "NIF por nombre de campo"@en ;
    skos:definition "ES datatype for 'NIF por nombre de campo' (nif) from rules in context 'finances'. The Spanish tax identification number (Número de Identificación Fiscal, NIF) is a unique identifier assigned to individuals and entities for tax purposes in Spain. For individuals, it consists of 8 digits followed by a check letter. For foreigners, it may start with X, Y, Z, K, L, or M followed by 7 digits and a check letter. The total length is 9 characters."@en ;
    skos:prefLabel "Número de Identificación Fiscal (NIF)"@es ;
    skos:exactMatch <https://schema.org/taxID> ;
    skos:example "12345678Z" ;
    skos:example "X1234567L" ;
    skos:example "87654321X" ;
    mcr:status "stable" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^([0-9]{8}|[XYZKLM][0-9]{7})[TRWAGMYFPDXBNJZSQVHLCKE]$" ;
    dcterms:spatial country:ES ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/es> ;
    rdfs:seeAlso <https://es.wikipedia.org/wiki/N%C3%BAmero_de_identificaci%C3%B3n_fiscal> ;
    rdfs:seeAlso <https://www.agenciatributaria.es/AEAT.internet/Inicio/Ayuda/Modelos__Procedimientos_y_Servicios/Comun/Preguntas_frecuentes/Identificacion_y_Domicilio_Fiscal/Preguntas_frecuentes_sobre_NIF_NIE_CIF.shtml> .
