Skip to content

Class: Relationship

A typed link between architecture elements.

URI: calm:Relationship

 classDiagram
    class Relationship
    click Relationship href "../Relationship/"
      Relationship : controls





        Relationship --> "0..1" Control : controls
        click Control href "../Control/"



      Relationship : description

      Relationship : metadata

      Relationship : protocol





        Relationship --> "0..1" Protocol : protocol
        click Protocol href "../Protocol/"



      Relationship : relationship_type





        Relationship --> "1" RelationshipType : relationship_type
        click RelationshipType href "../RelationshipType/"



      Relationship : unique_id

Class Properties

Property Value
Class URI calm:Relationship

Slots

Name Cardinality and Range Description Inheritance
unique_id 1
String
Stable opaque identifier used to cross-link CALM elements direct
description 0..1
String
Free-form description of the element direct
relationship_type 1
RelationshipType
direct
protocol 0..1
Protocol
direct
metadata 0..1
Metadata
direct
controls 0..1
Control
direct

Usages

used by used in type used
Architecture relationships range Relationship
Decision relationships range Relationship

In Subsets

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self calm:Relationship
native calm:Relationship
related prov:wasInfluencedBy, attack:AttackRelationship, ocsf:NetworkEndpoint
close gist:NetworkLink, stix:StixRelationshipObject

LinkML Source

Direct

name: Relationship
description: A typed link between architecture elements.
in_subset:
- core
from_schema: https://w3id.org/lmodel/calm
close_mappings:
- gist:NetworkLink
- stix:StixRelationshipObject
related_mappings:
- prov:wasInfluencedBy
- attack:AttackRelationship
- ocsf:NetworkEndpoint
slots:
- unique_id
- description
- relationship_type
- protocol
- metadata
- controls
class_uri: calm:Relationship

Induced

name: Relationship
description: A typed link between architecture elements.
in_subset:
- core
from_schema: https://w3id.org/lmodel/calm
close_mappings:
- gist:NetworkLink
- stix:StixRelationshipObject
related_mappings:
- prov:wasInfluencedBy
- attack:AttackRelationship
- ocsf:NetworkEndpoint
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: Relationship
    domain_of:
    - Node
    - Relationship
    - Decorator
    - Flow
    - InterfaceDefinition
    - InterfaceType
    range: string
    required: true
  description:
    name: description
    description: Free-form description of the element.
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    slot_uri: dct:description
    owner: Relationship
    domain_of:
    - Node
    - Relationship
    - Decision
    - ControlRequirement
    - Transition
    - Flow
    range: string
  relationship_type:
    name: relationship_type
    from_schema: https://w3id.org/lmodel/calm
    aliases:
    - relationship-type
    rank: 1000
    owner: Relationship
    domain_of:
    - Relationship
    range: RelationshipType
    required: true
  protocol:
    name: protocol
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Relationship
    domain_of:
    - Relationship
    range: Protocol
  metadata:
    name: metadata
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Relationship
    domain_of:
    - Architecture
    - Node
    - Relationship
    - Flow
    - Timeline
    range: Metadata
  controls:
    name: controls
    from_schema: https://w3id.org/lmodel/calm
    rank: 1000
    owner: Relationship
    domain_of:
    - Architecture
    - Node
    - Relationship
    - Decision
    - Flow
    range: Control
class_uri: calm:Relationship