@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:ru_inn_le_padded a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "ru_inn_le_padded" ;
    skos:prefLabel "INN of a Russian organization padded to 12 digits"@en ;
    skos:definition "The 10-digit INN of an organization written as 12 digits with two leading zeros, for example 007707083893. Qualified electronic signature certificates used this form in the 12-digit INN attribute (OID 1.2.643.3.131.1.1) before the requirements added a separate 10-digit attribute for organizations, INNLE (OID 1.2.643.100.4). Such certificates, and the portals and exports built from them, keep the form. A real 12-digit INN of a person never starts with 00, and the padded value fails its check digits: the check runs on the last 10 digits."@en ;
    skos:prefLabel "ИНН организации в 12-значной записи"@ru ;
    skos:definition "Десятизначный ИНН организации, дополненный слева двумя нулями до 12 цифр, например 007707083893. Так ИНН юрлица записывали в атрибут ИНН (OID 1.2.643.3.131.1.1) квалифицированного сертификата до появления отдельного атрибута ИННЮЛ (OID 1.2.643.100.4)."@ru ;
    skos:broader dt:inn ;
    skos:example "007707083893" ;
    skos:example "007710474375" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^00\\d{10}$" ;
    mcr:checksum "ru_inn_padded" ;
    dcterms:spatial country:RU ;
    dcterms:language <http://id.loc.gov/vocabulary/iso639-1/ru> ;
    rdfs:seeAlso <https://legalacts.ru/doc/prikaz-fsb-rf-ot-27122011-n-795/> ;
    rdfs:seeAlso <https://habr.com/ru/post/588681> .
