Skip to content

Class: Decorator

Cross-cutting annotation attached to nodes, relationships, or flows.

URI: calm:Decorator

 classDiagram
    class Decorator
    click Decorator href "../Decorator/"
      Decorator : applies_to

      Decorator : data

      Decorator : target

      Decorator : type

      Decorator : unique_id

Class Properties

Property Value
Class URI calm:Decorator

Slots

Name Cardinality and Range Description Inheritance
unique_id 1
String
Stable opaque identifier used to cross-link CALM elements direct
type 1
String
Type of decorator - a free-form string identifying the decorator category direct
target 1..*
String
Array of file paths or URLs referencing the CALM documents (patterns, archite... direct
applies_to 1..*
String
Array of unique-ids referencing nodes, relationships, flows, or other archite... direct
data 1
Metadata
Free-form JSON object containing the decorator's data direct

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self calm:Decorator
native calm:Decorator
related iso27001:MonitoringItem, nist_csf_v2:Link, stix:ExtensionDefinition

LinkML Source

Direct

name: Decorator
description: Cross-cutting annotation attached to nodes, relationships, or flows.
in_subset:
- decorators
from_schema: https://w3id.org/lmodel/calm
related_mappings:
- iso27001:MonitoringItem
- nist_csf_v2:Link
- stix:ExtensionDefinition
slots:
- unique_id
- type
- target
- applies_to
- data
class_uri: calm:Decorator

Induced

name: Decorator
description: Cross-cutting annotation attached to nodes, relationships, or flows.
in_subset:
- decorators
from_schema: https://w3id.org/lmodel/calm
related_mappings:
- iso27001:MonitoringItem
- nist_csf_v2:Link
- stix:ExtensionDefinition
attributes:
  unique_id:
    name: unique_id
    description: Stable opaque identifier used to cross-link CALM elements.
    from_schema: https://w3id.org/lmodel/calm
    aliases:
    - unique-id
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    owner: Decorator
    domain_of:
    - Node
    - Relationship
    - Decorator
    - Flow
    - InterfaceDefinition
    - InterfaceType
    range: string
    required: true
  type:
    name: type
    description: Type of decorator - a free-form string identifying the decorator
      category
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Decorator
    domain_of:
    - Decorator
    range: string
    required: true
  target:
    name: target
    description: Array of file paths or URLs referencing the CALM documents (patterns,
      architectures, or controls) this decorator targets
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Decorator
    domain_of:
    - Decorator
    range: string
    required: true
    multivalued: true
  applies_to:
    name: applies_to
    description: Array of unique-ids referencing nodes, relationships, flows, or other
      architecture elements
    from_schema: https://w3id.org/lmodel/calm
    aliases:
    - applies-to
    rank: 1000
    owner: Decorator
    domain_of:
    - Decorator
    range: string
    required: true
    multivalued: true
  data:
    name: data
    description: Free-form JSON object containing the decorator's data
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Decorator
    domain_of:
    - Decorator
    range: Metadata
    required: true
class_uri: calm:Decorator