Skip to content

Class: Contribution

A record of a contribution made to a CAPEC entry, identifying the contributor,

their organization, the date of contribution, the type of contribution (Content

or Feedback), and any related comments.

URI: capec:Contribution

 classDiagram
    class Contribution
    click Contribution href "../Contribution/"
      Contribution : contribution_comment

      Contribution : contribution_date

      Contribution : contribution_name

      Contribution : contribution_organization

      Contribution : type





        Contribution --> "1" ContributionTypeEnum : type
        click ContributionTypeEnum href "../ContributionTypeEnum/"



Slots

Name Cardinality and Range Description Inheritance
type 1
ContributionTypeEnum
Indicates whether the contribution was donated content or general feedback direct
contribution_name 0..1
String
The name of the person or team who made this contribution direct
contribution_organization 0..1
String
The organization of the person who made this contribution direct
contribution_date 0..1
Date
The date on which this contribution was made direct
contribution_comment 0..1
String
Comments about the contribution and its significance direct

Usages

used by used in type used
ContentHistory contributions range Contribution

In Subsets

Identifier and Mapping Information

Annotations

property value
xsd_type ContentHistoryType/Contribution (inline)

Schema Source

  • from schema: https://w3id.org/lmodel/capec

Mappings

Mapping Type Mapped Value
self capec:Contribution
native capec:Contribution

LinkML Source

Direct

name: Contribution
annotations:
  xsd_type:
    tag: xsd_type
    value: ContentHistoryType/Contribution (inline)
description: 'A record of a contribution made to a CAPEC entry, identifying the contributor,

  their organization, the date of contribution, the type of contribution (Content

  or Feedback), and any related comments.'
in_subset:
- content_history_types
from_schema: https://w3id.org/lmodel/capec
slots:
- type
- contribution_name
- contribution_organization
- contribution_date
- contribution_comment
slot_usage:
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Indicates whether the contribution was donated content or general
      feedback.
    range: ContributionTypeEnum
    required: true
  contribution_name:
    name: contribution_name
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Name
    description: The name of the person or team who made this contribution.
    range: string
  contribution_organization:
    name: contribution_organization
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Organization
    description: The organization of the person who made this contribution.
    range: string
  contribution_date:
    name: contribution_date
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Date
      xsd_type:
        tag: xsd_type
        value: xs:date
    description: The date on which this contribution was made.
    range: date
  contribution_comment:
    name: contribution_comment
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Comment
    description: Comments about the contribution and its significance.
    range: string

Induced

name: Contribution
annotations:
  xsd_type:
    tag: xsd_type
    value: ContentHistoryType/Contribution (inline)
description: 'A record of a contribution made to a CAPEC entry, identifying the contributor,

  their organization, the date of contribution, the type of contribution (Content

  or Feedback), and any related comments.'
in_subset:
- content_history_types
from_schema: https://w3id.org/lmodel/capec
slot_usage:
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Indicates whether the contribution was donated content or general
      feedback.
    range: ContributionTypeEnum
    required: true
  contribution_name:
    name: contribution_name
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Name
    description: The name of the person or team who made this contribution.
    range: string
  contribution_organization:
    name: contribution_organization
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Organization
    description: The organization of the person who made this contribution.
    range: string
  contribution_date:
    name: contribution_date
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Date
      xsd_type:
        tag: xsd_type
        value: xs:date
    description: The date on which this contribution was made.
    range: date
  contribution_comment:
    name: contribution_comment
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Comment
    description: Comments about the contribution and its significance.
    range: string
attributes:
  type:
    name: type
    annotations:
      xsd_attribute:
        tag: xsd_attribute
        value: Type
    description: Indicates whether the contribution was donated content or general
      feedback.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: type
    owner: Contribution
    domain_of:
    - View
    - Note
    - Stakeholder
    - Contribution
    range: ContributionTypeEnum
    required: true
  contribution_name:
    name: contribution_name
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Name
    description: The name of the person or team who made this contribution.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: contribution_name
    owner: Contribution
    domain_of:
    - Contribution
    range: string
  contribution_organization:
    name: contribution_organization
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Organization
    description: The organization of the person who made this contribution.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: contribution_organization
    owner: Contribution
    domain_of:
    - Contribution
    range: string
  contribution_date:
    name: contribution_date
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Date
      xsd_type:
        tag: xsd_type
        value: xs:date
    description: The date on which this contribution was made.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: contribution_date
    owner: Contribution
    domain_of:
    - Contribution
    range: date
  contribution_comment:
    name: contribution_comment
    annotations:
      xsd_element:
        tag: xsd_element
        value: Contribution_Comment
    description: Comments about the contribution and its significance.
    from_schema: https://w3id.org/lmodel/capec
    rank: 1000
    alias: contribution_comment
    owner: Contribution
    domain_of:
    - Contribution
    range: string