@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_mastercard a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "bankcard_mastercard" ;
    skos:prefLabel "Mastercard card number"@en ;
    skos:definition "Primary account number of a Mastercard card: 16 digits that start with 51 to 55 or, since 2017, with 2221 to 2720. The last digit is a Luhn check digit. The pattern accepts the number without spaces or hyphens."@en ;
    skos:broader dt:bankcard ;
    skos:example "5555555555554444" ;
    skos:example "2223003122003222" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^(?:5[1-5][0-9]{2}|222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}$" ;
    mcr:checksum "luhn" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Payment_card_number> ;
    rdfs:seeAlso <https://docs.stripe.com/testing> .
