@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:cwe_id a skos:Concept ;
    skos:inScheme <https://registry.apicrafter.io/> ;
    skos:topConceptOf <https://registry.apicrafter.io/> ;
    skos:notation "cwe_id" ;
    skos:prefLabel "CWE identifier"@en ;
    skos:definition "Identifier of an entry in MITRE's Common Weakness Enumeration (CWE), the catalog of software and hardware weakness types: CWE- followed by a number without leading zeros. CVE records and security advisories use it to name the root cause of a vulnerability, for example CWE-79 for cross-site scripting. Wikidata stores the number without the CWE- prefix."@en ;
    skos:exactMatch <http://www.wikidata.org/entity/P3624> ;
    skos:example "CWE-79" ;
    skos:example "CWE-89" ;
    mcr:status "draft" ;
    mcr:isPII false ;
    mcr:classification "identifier" ;
    mcr:regexp "^CWE-[1-9][0-9]*$" ;
    rdfs:seeAlso <https://en.wikipedia.org/wiki/Common_Weakness_Enumeration> ;
    rdfs:seeAlso <https://cwe.mitre.org/data/definitions/79.html> ;
    rdfs:seeAlso <https://github.com/CVEProject/cve-schema/blob/main/schema/CVE_Record_Format.json> .
