Skip to content

Class: Contribution

A contribution record documenting donated content or feedback (ContentHistoryType/Contribution in XSD).

URI: cwe:Contribution

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

      Contribution : contribution_date

      Contribution : contribution_name

      Contribution : contribution_organization

      Contribution : contribution_release_date

      Contribution : contribution_version

      Contribution : type





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



Slots

Name Cardinality and Range Description Inheritance
type 1
ContributionType
Whether the contribution was Content or Feedback direct
contribution_name 0..1
String
Name of the contributor direct
contribution_organization 0..1
String
Organization of the contributor direct
contribution_date 1
date
Date of the contribution direct
contribution_version 0..1
String
CWE version in which the contribution first appeared direct
contribution_release_date 0..1
date
Release date of the CWE version containing the contribution direct
contribution_comment 0..1
String
Comment related to the contribution direct

Usages

used by used in type used
ContentHistory contributions range Contribution

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: Contribution
description: A contribution record documenting donated content or feedback (ContentHistoryType/Contribution
  in XSD).
from_schema: https://w3id.org/lmodel/cwe
slots:
- type
- contribution_name
- contribution_organization
- contribution_date
- contribution_version
- contribution_release_date
- contribution_comment
slot_usage:
  contribution_date:
    name: contribution_date
    required: true
  type:
    name: type
    description: Whether the contribution was Content or Feedback.
    range: ContributionType
    required: true

Induced

name: Contribution
description: A contribution record documenting donated content or feedback (ContentHistoryType/Contribution
  in XSD).
from_schema: https://w3id.org/lmodel/cwe
slot_usage:
  contribution_date:
    name: contribution_date
    required: true
  type:
    name: type
    description: Whether the contribution was Content or Feedback.
    range: ContributionType
    required: true
attributes:
  type:
    name: type
    description: Whether the contribution was Content or Feedback.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: type
    owner: Contribution
    domain_of:
    - View
    - Audience
    - Note
    - Contribution
    range: ContributionType
    required: true
  contribution_name:
    name: contribution_name
    description: Name of the contributor.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_name
    owner: Contribution
    domain_of:
    - Contribution
    range: string
  contribution_organization:
    name: contribution_organization
    description: Organization of the contributor.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_organization
    owner: Contribution
    domain_of:
    - Contribution
    range: string
  contribution_date:
    name: contribution_date
    description: Date of the contribution.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_date
    owner: Contribution
    domain_of:
    - Contribution
    range: date
    required: true
  contribution_version:
    name: contribution_version
    description: CWE version in which the contribution first appeared.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_version
    owner: Contribution
    domain_of:
    - Contribution
    range: string
  contribution_release_date:
    name: contribution_release_date
    description: Release date of the CWE version containing the contribution.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_release_date
    owner: Contribution
    domain_of:
    - Contribution
    range: date
  contribution_comment:
    name: contribution_comment
    description: Comment related to the contribution.
    from_schema: https://w3id.org/lmodel/cwe
    rank: 1000
    alias: contribution_comment
    owner: Contribution
    domain_of:
    - Contribution
    range: string