@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:lk_nic a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "lk_nic" ;
    skos:prefLabel "Sri Lankan national identity card number (NIC)"@en ;
    skos:definition "Number of the Sri Lankan national identity card. Cards issued before 1 January 2016 have nine digits and a letter: the two-digit birth year, the day of the year of birth (500 is added for women), a three-digit serial number, a check digit and V or X, which tells whether the holder may vote. Newer cards have twelve digits: the four-digit birth year, the day of the year (plus 500 for women), a four-digit serial number and a check digit. The check digit algorithm is not published."@en ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    skos:example "911042754V" ;
    skos:example "197419202757" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:[0-9]{2}(?:[0-3][0-9]{2}|[5-8][0-9]{2})[0-9]{4}[VvXx]|(?:19|20)[0-9]{2}(?:[0-3][0-9]{2}|[5-8][0-9]{2})[0-9]{5})$" ;
    dcterms:spatial country:LK ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/si> ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/ta> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/National_identity_card_(Sri_Lanka)> .
