Class: SourceRepository
A self-contained unit that holds the content and complete revision history for a set of files, along with metadata such as branches and tags. Hosted and governed by a Source Control System.
classDiagram
class SourceRepository
click SourceRepository href "../SourceRepository/"
SourceRepository : description
SourceRepository : id
SourceRepository : sourceLevel
SourceRepository --> "0..1" SourceLevelEnum : sourceLevel
click SourceLevelEnum href "../SourceLevelEnum/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| id | 1 String |
Canonical URI that uniquely identifies this source repository | direct |
| description | 0..1 String |
Human-readable description of a repository's purpose or a resource | direct |
| sourceLevel | 0..1 SourceLevelEnum |
The SLSA Source Level achieved or verified for a source repository or revisio... | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| SourceRevision | repository | range | SourceRepository |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/slsa
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:SourceRepository |
| native | slsa:SourceRepository |
LinkML Source
Direct
name: SourceRepository
description: A self-contained unit that holds the content and complete revision history
for a set of files, along with metadata such as branches and tags. Hosted and governed
by a Source Control System.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
slots:
- id
- description
- sourceLevel
slot_usage:
id:
name: id
description: Canonical URI that uniquely identifies this source repository.
Induced
name: SourceRepository
description: A self-contained unit that holds the content and complete revision history
for a set of files, along with metadata such as branches and tags. Hosted and governed
by a Source Control System.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
slot_usage:
id:
name: id
description: Canonical URI that uniquely identifies this source repository.
attributes:
id:
name: id
description: Canonical URI that uniquely identifies this source repository.
in_subset:
- slsa_build_track
- slsa_source_track
- slsa_dependency_track
- slsa_build_env_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: id
owner: SourceRepository
domain_of:
- Builder
- Verifier
- BuildPlatform
- SourceRepository
- BuildImage
range: string
required: true
description:
name: description
description: Human-readable description of a repository's purpose or a resource.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: description
owner: SourceRepository
domain_of:
- SourceRepository
range: string
sourceLevel:
name: sourceLevel
description: The SLSA Source Level achieved or verified for a source repository
or revision.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: sourceLevel
owner: SourceRepository
domain_of:
- SourceRepository
- SourceProvenanceAttestation
range: SourceLevelEnum