Skip to content

Class: PluginSpec

Specification of a Mellea plugin and the hooks it registers.

URI: mellea:PluginSpec

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

      PluginSpec : coverage_scope





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



      PluginSpec : description

      PluginSpec : element_kind





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



      PluginSpec : hook_type





        PluginSpec --> "*" HookTypeEnum : hook_type
        click HookTypeEnum href "../HookTypeEnum/"



      PluginSpec : id

      PluginSpec : module_path

      PluginSpec : name

      PluginSpec : package_kind





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



      PluginSpec : payload_model





        PluginSpec --> "*" HookPayloadSpec : payload_model
        click HookPayloadSpec href "../HookPayloadSpec/"



      PluginSpec : plugin_mode





        PluginSpec --> "0..1" PluginModeEnum : plugin_mode
        click PluginModeEnum href "../PluginModeEnum/"



      PluginSpec : plugin_priority

      PluginSpec : source_file

      PluginSpec : tags

Inheritance

Slots

Name Cardinality and Range Description Inheritance
plugin_mode 0..1
PluginModeEnum
Slot describing the plugin mode direct
hook_type *
HookTypeEnum
Slot describing the hook type direct
payload_model *
HookPayloadSpec
Slot describing the payload model direct
plugin_priority 0..1
Integer
Slot describing the plugin priority 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:PluginSpec
native mellea:PluginSpec
related nexus:AIComponent, attack:Analytic, gist_linkml:Component, iso27001:OperationalProcedure, mcp:ExtensionAppCapability
close spdx:Extension

LinkML Source

Direct

name: PluginSpec
description: Specification of a Mellea plugin and the hooks it registers.
in_subset:
- observability
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- spdx:Extension
related_mappings:
- nexus:AIComponent
- attack:Analytic
- gist_linkml:Component
- iso27001:OperationalProcedure
- mcp:ExtensionAppCapability
is_a: ModelElement
slots:
- plugin_mode
- hook_type
- payload_model
- plugin_priority

Induced

name: PluginSpec
description: Specification of a Mellea plugin and the hooks it registers.
in_subset:
- observability
from_schema: https://w3id.org/lmodel/mellea
close_mappings:
- spdx:Extension
related_mappings:
- nexus:AIComponent
- attack:Analytic
- gist_linkml:Component
- iso27001:OperationalProcedure
- mcp:ExtensionAppCapability
is_a: ModelElement
attributes:
  plugin_mode:
    name: plugin_mode
    description: Slot describing the plugin mode.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: PluginSpec
    domain_of:
    - PluginSpec
    range: PluginModeEnum
  hook_type:
    name: hook_type
    description: Slot describing the hook type.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: PluginSpec
    domain_of:
    - PluginSpec
    - HookPayloadSpec
    range: HookTypeEnum
    multivalued: true
  payload_model:
    name: payload_model
    description: Slot describing the payload model.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: PluginSpec
    domain_of:
    - PluginSpec
    range: HookPayloadSpec
    multivalued: true
    inlined: true
    inlined_as_list: true
  plugin_priority:
    name: plugin_priority
    description: Slot describing the plugin priority.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: PluginSpec
    domain_of:
    - PluginSpec
    range: integer
  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: PluginSpec
    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: PluginSpec
    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: PluginSpec
    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: PluginSpec
    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: PluginSpec
    domain_of:
    - NamedElement
    range: RepositoryRelativePath
  package_kind:
    name: package_kind
    description: Package bucket.
    from_schema: https://w3id.org/lmodel/mellea
    rank: 1000
    owner: PluginSpec
    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: PluginSpec
    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: PluginSpec
    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: PluginSpec
    domain_of:
    - NamedElement
    range: string
    multivalued: true