@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:ir_melli_code a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "ir_melli_code" ;
    skos:prefLabel "Iranian national identification number (code melli)"@en ;
    skos:definition "Ten-digit national identification number (code melli) printed on the Iranian national identity card and written as XXX-XXXXXX-X. Validators such as validator.js treat the last digit as a modulo 11 check digit over the first nine; no official description of the algorithm was found, so the record sets no checksum."@en ;
    skos:broadMatch <https://w3id.org/dpv/pd#OfficialID> ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-9]{3}-?[0-9]{6}-?[0-9]$" ;
    dcterms:spatial country:IR ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/fa> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/National_identification_number> ;
    rdfs:seeAlso <https://github.com/validatorjs/validator.js/blob/master/src/lib/isIdentityCard.js> .
