Class in Supply-chain Levels for Software Artifacts (SLSA)
SlsaSourceRepository
A self-contained unit that holds a set of files, their revision history and metadata such as branches and tags.
URI: slsa:class/SlsaSourceRepository
classDiagram
class SlsaSourceRepository
click SlsaSourceRepository href "../../classes/SlsaSourceRepository/"
SlsaSourceRepository : hosted_by
SlsaSourceRepository --> "0..1" SlsaSourceControlSystem : hosted_by
click SlsaSourceControlSystem href "../../classes/SlsaSourceControlSystem/"
SlsaSourceRepository : repository_uri
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| repository_uri | 1 Uri | The stable locator the SCS gives the repository | direct |
| hosted_by | 0..1 SlsaSourceControlSystem | The source control system that hosts the repository | direct |
Usages#
In Subsets#
See Also#
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lmodel/slsa
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:SlsaSourceRepository |
| native | slsa:SlsaSourceRepository |
| close | doap:Repository |
LinkML Source#
Direct#
YAML
name: SlsaSourceRepository
description: A self-contained unit that holds a set of files, their revision history
and metadata such as branches and tags.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/source-requirements#definitions
close_mappings:
- doap:Repository
attributes:
repository_uri:
name: repository_uri
description: The stable locator the SCS gives the repository.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
close_mappings:
- doap:location
rank: 1000
identifier: true
domain_of:
- SlsaSourceRepository
range: uri
hosted_by:
name: hosted_by
description: The source control system that hosts the repository.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRepository
range: SlsaSourceControlSystem
Induced#
YAML
name: SlsaSourceRepository
description: A self-contained unit that holds a set of files, their revision history
and metadata such as branches and tags.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/source-requirements#definitions
close_mappings:
- doap:Repository
attributes:
repository_uri:
name: repository_uri
description: The stable locator the SCS gives the repository.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
close_mappings:
- doap:location
rank: 1000
identifier: true
owner: SlsaSourceRepository
domain_of:
- SlsaSourceRepository
range: uri
required: true
hosted_by:
name: hosted_by
description: The source control system that hosts the repository.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRepository
domain_of:
- SlsaSourceRepository
range: SlsaSourceControlSystem