@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:bankcard a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "bankcard" ;
    skos:prefLabel "Bank card (credit/debit card)"@en ;
    skos:definition "A bank card is typically a plastic card issued by a bank to its clients that performs one or more of a number of services that relate to giving the client access to bank account."@en ;
    skos:prefLabel "Банковская карта"@ru ;
    skos:definition "Банковская карта (англ. bank card) — пластиковая, металлическая или виртуальная карта, обычно привязанная к одному или нескольким расчётным счетам в банке."@ru ;
    skos:narrower dt:bankcard_amex ;
    skos:narrower dt:bankcard_diners ;
    skos:narrower dt:bankcard_discover ;
    skos:narrower dt:bankcard_jcb ;
    skos:narrower dt:bankcard_maestro ;
    skos:narrower dt:bankcard_mastercard ;
    skos:narrower dt:bankcard_unionpay ;
    skos:narrower dt:bankcard_visa ;
    skos:exactMatch <https://spec.edmcouncil.org/fibo/ontology/LOAN/LoansSpecific/CardAccounts/PrimaryCardAccountNumber> ;
    skos:broadMatch <https://w3id.org/dpv/pd#PaymentCardNumber> ;
    mcr:status "stable" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:4[0-9]{12}(?:[0-9]{3})?|[25][1-7][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$" ;
    mcr:checksum "luhn" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Bank_card> ;
    rdfs:seeAlso <https://stackoverflow.com/questions/9315647/regex-credit-card-number-tests> ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/ISO/IEC_7812> .
