SLSA
Theme
Text size
GitHub Menu

Class in Supply-chain Levels for Software Artifacts (SLSA)

SlsaComponentVersion

The version of one named component of a platform.

URI: slsa:class/SlsaComponentVersion

 classDiagram
    class SlsaComponentVersion
    click SlsaComponentVersion href "../../classes/SlsaComponentVersion/"
      SlsaComponentVersion : component
        
      SlsaComponentVersion : component_version
        
      

Slots#

NameCardinality and RangeDescriptionInheritance
component1
String
The component’s namedirect
component_version0..1
String
The component’s version stringdirect

Usages#

used byused intypeused
SlsaVerifiercomponent_versionsrangeSlsaComponentVersion
SlsaBuildPlatformcomponent_versionsrangeSlsaComponentVersion

In Subsets#

Comments#

  • Each component appears once in a list, since the attestation’s JSON uses its name as a key; the validator does not check this.

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaComponentVersion
nativeslsa:SlsaComponentVersion

LinkML Source#

Direct#

YAML
name: SlsaComponentVersion
description: The version of one named component of a platform.
comments:
- Each component appears once in a list, since the attestation's JSON uses its name
  as a key; the validator does not check this.
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
attributes:
  component:
    name: component
    description: The component's name.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaComponentVersion
    required: true
  component_version:
    name: component_version
    description: The component's version string.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaComponentVersion

Induced#

YAML
name: SlsaComponentVersion
description: The version of one named component of a platform.
comments:
- Each component appears once in a list, since the attestation's JSON uses its name
  as a key; the validator does not check this.
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
attributes:
  component:
    name: component
    description: The component's name.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaComponentVersion
    domain_of:
    - SlsaComponentVersion
    range: string
    required: true
  component_version:
    name: component_version
    description: The component's version string.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaComponentVersion
    domain_of:
    - SlsaComponentVersion
    range: string