Skip to content

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
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
Mapping Type Mapped Value
self slsa:SlsaSourceRepository
native slsa:SlsaSourceRepository
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
attributes:
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: SlsaSourceControlSystem
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
attributes:
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