@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:twitter_bearer_token a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "twitter_bearer_token" ;
    skos:prefLabel "X (Twitter) API bearer token"@en ;
    skos:definition "App-only bearer token of the X (Twitter) API. X describes the token as a byte array of unspecified format; the regexp follows the gitleaks rule, which expects 22 letters A followed by 80 to 100 letters, digits and percent signs, as in the sample responses in the X documentation."@en ;
    skos:broader dt:access_token ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^A{22}[A-Za-z0-9%]{80,100}$" ;
    rdfs:seeAlso <https://docs.x.com/fundamentals/authentication/oauth-2-0/bearer-tokens> ;
    rdfs:seeAlso <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml> .
