@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:github_token a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "github_token" ;
    skos:prefLabel "GitHub token"@en ;
    skos:definition "Token issued by GitHub, such as a personal access token. It starts with a prefix that names the token type (ghp_, gho_, ghu_, ghs_ or ghr_) followed by 36 letters and digits."@en ;
    skos:narrower dt:github_fine_grained_pat ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:regexp "^gh[pousr]_[A-Za-z0-9]{36}$" ;
    rdfs:seeAlso <https://learn.microsoft.com/en-us/purview/sit-defn-github-personal-access-token> ;
    rdfs:seeAlso <https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github> .
