Skip to content

Class: SessionSpec

Specification of a Mellea session.

URI: mellea:SessionSpec

 classDiagram
    class SessionSpec
    click SessionSpec href "../SessionSpec/"
      ModelElement <|-- SessionSpec
        click ModelElement href "../ModelElement/"

      SessionSpec : coverage_scope





        SessionSpec --> "*" CoverageScopeEnum : coverage_scope
        click CoverageScopeEnum href "../CoverageScopeEnum/"



      SessionSpec : description

      SessionSpec : element_kind





        SessionSpec --> "0..1" ElementKindEnum : element_kind
        click ElementKindEnum href "../ElementKindEnum/"



      SessionSpec : exposed_method





        SessionSpec --> "*" MethodSpec : exposed_method
        click MethodSpec href "../MethodSpec/"



      SessionSpec : id

      SessionSpec : module_path

      SessionSpec : name

      SessionSpec : package_kind





        SessionSpec --> "0..1" PackageKindEnum : package_kind
        click PackageKindEnum href "../PackageKindEnum/"



      SessionSpec : source_file

      SessionSpec : tags

      SessionSpec : uses_backend





        SessionSpec --> "0..1" BackendSpec : uses_backend
        click BackendSpec href "../BackendSpec/"



      SessionSpec : uses_context





        SessionSpec --> "0..1" ContextSpec : uses_context
        click ContextSpec href "../ContextSpec/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
uses_backend 0..1
BackendSpec
Slot describing the uses backend direct
uses_context 0..1
ContextSpec
Slot describing the uses context direct
exposed_method *
MethodSpec
Slot describing the exposed method 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

Mappings

Mapping Type Mapped Value
self mellea:SessionSpec
native mellea:SessionSpec
related nexus:AiTask, gist_linkml:Task, iso27001:RiskAssessmentProcess, mcp:Task

LinkML Source

Direct

name: SessionSpec
description: Specification of a Mellea session.
in_subset:
- core_runtime
from_schema: https://w3id.org/lmodel/mellea
related_mappings:
- nexus:AiTask
- gist_linkml:Task
- iso27001:RiskAssessmentProcess
- mcp:Task
is_a: ModelElement
slots:
- uses_backend
- uses_context
- exposed_method

Induced

name: SessionSpec
description: Specification of a Mellea session.
in_subset:
- core_runtime
from_schema: https://w3id.org/lmodel/mellea
related_mappings:
- nexus:AiTask
- gist_linkml:Task
- iso27001:RiskAssessmentProcess
- mcp:Task
is_a: ModelElement
attributes:
  uses_backend:
    name: uses_backend
    description: Slot describing the uses backend.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: SessionSpec
    domain_of:
    - SessionSpec
    range: BackendSpec
  uses_context:
    name: uses_context
    description: Slot describing the uses context.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: SessionSpec
    domain_of:
    - SessionSpec
    range: ContextSpec
  exposed_method:
    name: exposed_method
    description: Slot describing the exposed method.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: SessionSpec
    domain_of:
    - SessionSpec
    range: MethodSpec
    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: SessionSpec
    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: SessionSpec
    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: SessionSpec
    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: SessionSpec
    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: SessionSpec
    domain_of:
    - NamedElement
    range: RepositoryRelativePath
  package_kind:
    name: package_kind
    description: Package bucket.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: SessionSpec
    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: SessionSpec
    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: SessionSpec
    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: SessionSpec
    domain_of:
    - NamedElement
    range: string
    multivalued: true