Class: SlsaSourceRepository
A self-contained unit that holds a set of files, their revision history and metadata such as branches and tags.
URI: slsa:SlsaSourceRepository
classDiagram
class SlsaSourceRepository
click SlsaSourceRepository href "../SlsaSourceRepository/"
SlsaSourceRepository : hosted_by
SlsaSourceRepository --> "0..1" SlsaSourceControlSystem : hosted_by
click SlsaSourceControlSystem href "../SlsaSourceControlSystem/"
SlsaSourceRepository : repository_uri
| 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
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| SlsaDocument | source_repositories | range | SlsaSourceRepository |
| SlsaSourceRevision | repository | range | SlsaSourceRepository |
| SlsaNamedReference | repository | range | SlsaSourceRepository |
| SlsaBranch | repository | range | SlsaSourceRepository |
| SlsaTag | repository | range | SlsaSourceRepository |
In Subsets
Section titled “In Subsets”See Also
Section titled “See Also”Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/slsa
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | slsa:SlsaSourceRepository |
| native | slsa:SlsaSourceRepository |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: SlsaSourceRepositorydescription: A self-contained unit that holds a set of files, their revision history and metadata such as branches and tags.in_subset:- slsa_source_trackfrom_schema: https://w3id.org/lmodel/slsasee_also:- https://slsa.dev/spec/v1.2/source-requirements#definitionsattributes: repository_uri: name: repository_uri description: The stable locator the SCS gives the repository. from_schema: https://w3id.org/lmodel/slsa/slsa_source 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: SlsaSourceControlSystemInduced
Section titled “Induced”name: SlsaSourceRepositorydescription: A self-contained unit that holds a set of files, their revision history and metadata such as branches and tags.in_subset:- slsa_source_trackfrom_schema: https://w3id.org/lmodel/slsasee_also:- https://slsa.dev/spec/v1.2/source-requirements#definitionsattributes: repository_uri: name: repository_uri description: The stable locator the SCS gives the repository. from_schema: https://w3id.org/lmodel/slsa/slsa_source 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