@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_unionpay a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "bankcard_unionpay" ;
    skos:prefLabel "UnionPay card number"@en ;
    skos:definition "Primary account number of a China UnionPay card: 16 to 19 digits that start with 62. Numbers from 622126 to 622925 are co-branded with Discover and also match bankcard_discover. The pattern sets no check digit because not all UnionPay numbers are documented to pass the Luhn check. It accepts the number without spaces or hyphens."@en ;
    skos:broader dt:bankcard ;
    skos:example "6200000000000005" ;
    skos:example "6205500000000000004" ;
    mcr:status "draft" ;
    mcr:isPII true ;
    mcr:classification "identifier" ;
    mcr:regexp "^62[0-9]{14,17}$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Payment_card_number> ;
    rdfs:seeAlso <https://docs.stripe.com/testing> .
