@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:ghsa_id a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "ghsa_id" ;
    skos:prefLabel "GitHub Security Advisory ID (GHSA)"@en ;
    skos:definition "Identifier of an advisory in the GitHub Advisory Database: GHSA- and three groups of four characters separated by hyphens. The characters are random and come from the set 23456789cfghjmpqrvwx, always in lower case. An advisory that has a CVE identifier keeps its GHSA ID as well; OSV.dev also uses GHSA IDs as entry ids."@en ;
    skos:example "GHSA-jfh8-c2jp-5v3q" ;
    skos:example "GHSA-vp9c-fpxx-744v" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^GHSA(?:-[23456789cfghjmpqrvwx]{4}){3}$" ;
    rdfs:seeAlso <https://docs.github.com/en/code-security/security-advisories/working-with-global-security-advisories-from-the-github-advisory-database/about-the-github-advisory-database> .
