Skip to content

Class: Category

A collection of weaknesses grouped by a shared characteristic (CategoryType in XSD). Organizational mechanism only; not for mapping.

URI: cwe:Category

 classDiagram
    class Category
    click Category href "../Category/"
      Category : content_history





        Category --> "1" ContentHistory : content_history
        click ContentHistory href "../ContentHistory/"



      Category : id

      Category : mapping_notes





        Category --> "1" MappingNotes : mapping_notes
        click MappingNotes href "../MappingNotes/"



      Category : name

      Category : notes





        Category --> "*" Note : notes
        click Note href "../Note/"



      Category : references





        Category --> "*" CWEReference : references
        click CWEReference href "../CWEReference/"



      Category : relationships





        Category --> "0..1" Relationship : relationships
        click Relationship href "../Relationship/"



      Category : status





        Category --> "1" WeaknessStatus : status
        click WeaknessStatus href "../WeaknessStatus/"



      Category : summary

      Category : taxonomy_mappings





        Category --> "*" TaxonomyMapping : taxonomy_mappings
        click TaxonomyMapping href "../TaxonomyMapping/"



Slots

Name Cardinality and Range Description Inheritance
id 1
Integer
Unique numeric identifier for the CWE entry, category, or view direct
name 1
String
Short human-readable name or title for this entity direct
status 1
WeaknessStatus
Lifecycle status of the CWE entry, category, or view direct
summary 1
String
Key points that define a category direct
relationships 0..1
Relationship
Membership relationships for a CWE category direct
taxonomy_mappings *
TaxonomyMapping
Mappings to equivalent entries in external taxonomies direct
references *
CWEReference
Links to external references defined in the catalog direct
mapping_notes 1
MappingNotes
Guidance for when and whether to map an issue to this entry direct
notes *
Note
Additional comments about this entry direct
content_history 1
ContentHistory
Tracks the original author and subsequent modifications direct

Usages

used by used in type used
WeaknessCatalog categories range Category

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self cwe:Category
native cwe:Category

LinkML Source

Direct

name: Category
description: A collection of weaknesses grouped by a shared characteristic (CategoryType
  in XSD). Organizational mechanism only; not for mapping.
in_subset:
- cwe_dictionary
from_schema: https://w3id.org/lmodel/cwe
slots:
- id
- name
- status
- summary
- relationships
- taxonomy_mappings
- references
- mapping_notes
- notes
- content_history
slot_usage:
  id:
    name: id
    identifier: true
    required: true
  name:
    name: name
    required: true
  status:
    name: status
    required: true
  summary:
    name: summary
    required: true
  mapping_notes:
    name: mapping_notes
    required: true
  content_history:
    name: content_history
    required: true

Induced

name: Category
description: A collection of weaknesses grouped by a shared characteristic (CategoryType
  in XSD). Organizational mechanism only; not for mapping.
in_subset:
- cwe_dictionary
from_schema: https://w3id.org/lmodel/cwe
slot_usage:
  id:
    name: id
    identifier: true
    required: true
  name:
    name: name
    required: true
  status:
    name: status
    required: true
  summary:
    name: summary
    required: true
  mapping_notes:
    name: mapping_notes
    required: true
  content_history:
    name: content_history
    required: true
attributes:
  id:
    name: id
    description: Unique numeric identifier for the CWE entry, category, or view.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    slot_uri: dct:identifier
    identifier: true
    alias: id
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    range: integer
    required: true
  name:
    name: name
    description: Short human-readable name or title for this entity.
    from_schema: https://w3id.org/lmodel/cwe
    aliases:
    - label
    rank: 1000
    slot_uri: rdfs:label
    alias: name
    owner: Category
    domain_of:
    - WeaknessCatalog
    - Weakness
    - Category
    - View
    - LanguagePlatform
    - OSPlatform
    - ArchitecturePlatform
    - TechnologyPlatform
    - PreviousEntryName
    range: string
    required: true
  status:
    name: status
    description: Lifecycle status of the CWE entry, category, or view.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: status
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    range: WeaknessStatus
    required: true
  summary:
    name: summary
    description: Key points that define a category.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: summary
    owner: Category
    domain_of:
    - Category
    range: string
    required: true
  relationships:
    name: relationships
    description: Membership relationships for a CWE category.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: relationships
    owner: Category
    domain_of:
    - Category
    range: Relationship
    inlined: true
  taxonomy_mappings:
    name: taxonomy_mappings
    description: Mappings to equivalent entries in external taxonomies.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: taxonomy_mappings
    owner: Category
    domain_of:
    - Weakness
    - Category
    range: TaxonomyMapping
    multivalued: true
    inlined: true
    inlined_as_list: true
  references:
    name: references
    description: Links to external references defined in the catalog.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: references
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    - DemonstrativeExample
    range: CWEReference
    multivalued: true
    inlined: true
    inlined_as_list: true
  mapping_notes:
    name: mapping_notes
    description: Guidance for when and whether to map an issue to this entry.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: mapping_notes
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    range: MappingNotes
    required: true
    inlined: true
  notes:
    name: notes
    description: Additional comments about this entry.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    slot_uri: skos:note
    alias: notes
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    range: Note
    multivalued: true
    inlined: true
    inlined_as_list: true
  content_history:
    name: content_history
    description: Tracks the original author and subsequent modifications.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: content_history
    owner: Category
    domain_of:
    - Weakness
    - Category
    - View
    range: ContentHistory
    required: true
    inlined: true