@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:frnir a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "frnir" ;
    skos:prefLabel "French social security number (NIR)"@en ;
    skos:definition "French national identification number (numéro d'inscription au répertoire, NIR), known as the social security number. INSEE assigns it to every person born in France. It has 13 characters and a two-digit control key: sex (1 or 2; 7 or 8 for temporary registrations), year and month of birth, department and commune of birth (2A or 2B for Corsica), an order number, and the key. The key is 97 minus the 13-character number modulo 97, with 2A read as 19 and 2B as 18."@en ;
    skos:prefLabel "Numéro de sécurité sociale (NIR)"@fr ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    mcr:status "stable" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^[1278]\\d{4}(?:\\d{2}|2[AB])\\d{8}$" ;
    mcr:checksum "fr_nir" ;
    dcterms:spatial country:FR ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/fr> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/INSEE_code> ;
    rdfs:seeAlso <https://fr.wikipedia.org/wiki/Num%C3%A9ro_de_s%C3%A9curit%C3%A9_sociale_en_France> ;
    rdfs:seeAlso <https://www.insee.fr/en/metadonnees/definition/c1409> .
