@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:pt_nif a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "pt_nif" ;
    skos:prefLabel "Portuguese tax identification number (NIF)"@en ;
    skos:definition "Número de identificação fiscal, the 9-digit tax number of individuals and legal persons in Portugal (for legal persons also called NIPC). The first digit is not 0 and the last is a check digit. With the PT prefix it is the VAT number."@en ;
    skos:prefLabel "Número de identificação fiscal (NIF)"@pt ;
    skos:broader dt:vatin ;
    skos:exactMatch <https://schema.org/taxID> ;
    skos:exactMatch <https://schema.org/vatID> ;
    skos:example "301211760" ;
    skos:example "290048842" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:PT[ -]?)?[1-9]\\d{2} ?\\d{3} ?\\d{3}$" ;
    dcterms:spatial country:PT ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/pt> ;
    rdfs:seeAlso <https://pt.wikipedia.org/wiki/N%C3%BAmero_de_identifica%C3%A7%C3%A3o_fiscal> ;
    rdfs:seeAlso <https://arthurdejong.org/python-stdnum/doc/2.2/stdnum.pt.nif.html> ;
    rdfs:seeAlso <https://docs.dataprep.ai/user_guide/clean/clean_pt_nif.html> .
