Class: RepositoryCatalog
Top-level catalog rooting the analysed repository snapshot.
classDiagram
class RepositoryCatalog
click RepositoryCatalog href "../RepositoryCatalog/"
NamedElement <|-- RepositoryCatalog
click NamedElement href "../NamedElement/"
RepositoryCatalog : analyzed_on
RepositoryCatalog : coverage_scope
RepositoryCatalog --> "*" CoverageScopeEnum : coverage_scope
click CoverageScopeEnum href "../CoverageScopeEnum/"
RepositoryCatalog : declares_element
RepositoryCatalog --> "*" ModelElement : declares_element
click ModelElement href "../ModelElement/"
RepositoryCatalog : description
RepositoryCatalog : element_kind
RepositoryCatalog --> "0..1" ElementKindEnum : element_kind
click ElementKindEnum href "../ElementKindEnum/"
RepositoryCatalog : excludes_path
RepositoryCatalog : id
RepositoryCatalog : includes_path
RepositoryCatalog : module_path
RepositoryCatalog : name
RepositoryCatalog : package_kind
RepositoryCatalog --> "0..1" PackageKindEnum : package_kind
click PackageKindEnum href "../PackageKindEnum/"
RepositoryCatalog : repository_root
RepositoryCatalog : source_file
RepositoryCatalog : tags
Inheritance
- NamedElement
- RepositoryCatalog
Class Properties
| Property | Value |
|---|---|
| Tree Root | Yes |
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| repository_root | 0..1 RepositoryRelativePath |
Slot describing the repository root | direct |
| analyzed_on | 0..1 Date |
Slot describing the analyzed on | direct |
| includes_path | * RepositoryRelativePath |
Slot describing the includes path | direct |
| excludes_path | * RepositoryRelativePath |
Slot describing the excludes path | direct |
| declares_element | * ModelElement |
Slot describing the declares element | direct |
| id | 1 Uriorcurie |
Stable identifier for a schema element | NamedElement |
| name | 1 String |
Human-readable name | NamedElement |
| description | 0..1 String |
Narrative description of the element | NamedElement |
| module_path | 0..1 PythonDottedPath |
Python module path where this element is defined | NamedElement |
| source_file | 0..1 RepositoryRelativePath |
Source file relative to repository root | NamedElement |
| package_kind | 0..1 PackageKindEnum |
Package bucket | NamedElement |
| element_kind | 0..1 ElementKindEnum |
Kind of Python declaration | NamedElement |
| coverage_scope | * CoverageScopeEnum |
Where this element surfaces (source/API/CLI/example/test) | NamedElement |
| tags | * String |
Free-form classification tags | NamedElement |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/mellea
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | mellea:RepositoryCatalog |
| native | mellea:RepositoryCatalog |
| related | nexus:Container, attack:AttackBundle, common_domain_model:Portfolio, common_domain_model:PortfolioState, iso27001:DocumentedInformation, spdx:SpdxDocument |
| close | gist_linkml:Collection, spdx:Sbom |
LinkML Source
Direct
name: RepositoryCatalog
description: Top-level catalog rooting the analysed repository snapshot.
in_subset:
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- gist_linkml:Collection
- spdx:Sbom
related_mappings:
- nexus:Container
- attack:AttackBundle
- common_domain_model:Portfolio
- common_domain_model:PortfolioState
- iso27001:DocumentedInformation
- spdx:SpdxDocument
is_a: NamedElement
slots:
- repository_root
- analyzed_on
- includes_path
- excludes_path
- declares_element
tree_root: true
Induced
name: RepositoryCatalog
description: Top-level catalog rooting the analysed repository snapshot.
in_subset:
- interface_surface
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- gist_linkml:Collection
- spdx:Sbom
related_mappings:
- nexus:Container
- attack:AttackBundle
- common_domain_model:Portfolio
- common_domain_model:PortfolioState
- iso27001:DocumentedInformation
- spdx:SpdxDocument
is_a: NamedElement
attributes:
repository_root:
name: repository_root
description: Slot describing the repository root.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- RepositoryCatalog
range: RepositoryRelativePath
analyzed_on:
name: analyzed_on
description: Slot describing the analyzed on.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- RepositoryCatalog
range: date
includes_path:
name: includes_path
description: Slot describing the includes path.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- RepositoryCatalog
range: RepositoryRelativePath
multivalued: true
excludes_path:
name: excludes_path
description: Slot describing the excludes path.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- RepositoryCatalog
range: RepositoryRelativePath
multivalued: true
declares_element:
name: declares_element
description: Slot describing the declares element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- RepositoryCatalog
- PythonPackage
range: ModelElement
multivalued: true
inlined: true
inlined_as_list: true
id:
name: id
description: Stable identifier for a schema element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: RepositoryCatalog
domain_of:
- NamedElement
range: uriorcurie
required: true
name:
name: name
description: Human-readable name.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:name
owner: RepositoryCatalog
domain_of:
- NamedElement
range: string
required: true
description:
name: description
description: Narrative description of the element.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
slot_uri: schema:description
owner: RepositoryCatalog
domain_of:
- NamedElement
range: string
module_path:
name: module_path
description: Python module path where this element is defined.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: PythonDottedPath
source_file:
name: source_file
description: Source file relative to repository root.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: RepositoryRelativePath
package_kind:
name: package_kind
description: Package bucket.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: PackageKindEnum
element_kind:
name: element_kind
description: Kind of Python declaration.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: ElementKindEnum
coverage_scope:
name: coverage_scope
description: Where this element surfaces (source/API/CLI/example/test).
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: CoverageScopeEnum
multivalued: true
tags:
name: tags
description: Free-form classification tags.
from_schema: https://w3id.org/lmodel/mellea
rank: 1000
owner: RepositoryCatalog
domain_of:
- NamedElement
range: string
multivalued: true
tree_root: true