SLSA
Theme
Text size
GitHub Menu

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#

NameCardinality and RangeDescriptionInheritance
repository_uri1
Uri
The stable locator the SCS gives the repositorydirect
hosted_by0..1
SlsaSourceControlSystem
The source control system that hosts the repositorydirect

Usages#

used byused intypeused
SlsaDocumentsource_repositoriesrangeSlsaSourceRepository
SlsaSourceRevisionrepositoryrangeSlsaSourceRepository
SlsaNamedReferencerepositoryrangeSlsaSourceRepository
SlsaBranchrepositoryrangeSlsaSourceRepository
SlsaTagrepositoryrangeSlsaSourceRepository

In Subsets#

See Also#

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaSourceRepository
nativeslsa:SlsaSourceRepository
closedoap: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