@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:telegram_bot_token a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:notation "telegram_bot_token" ;
    skos:prefLabel "Telegram bot token"@en ;
    skos:definition "Token that authorizes a bot in the Telegram Bot API: the numeric bot ID, a colon and a secret that starts with A. Telegram documents the format only by example, so the regexp accepts the length of the documented samples (34 characters after the colon) and the length that the gitleaks secret scanner checks (35)."@en ;
    skos:broader dt:api_key ;
    skos:example "123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11" ;
    skos:example "4839574812:AAFD39kkdpWt3ywyRZergyOLMaJhac60qc" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^[0-9]{5,16}:A[A-Za-z0-9_-]{33,34}$" ;
    rdfs:seeAlso <https://core.telegram.org/bots/api#authorizing-your-bot> ;
    rdfs:seeAlso <https://core.telegram.org/bots/tutorial> ;
    rdfs:seeAlso <https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml> .
