Skip to content

Class: MetricScenario

A scenario description indicating the context in which a metric applies. If no specific scenario is given, GENERAL is used as the default.

URI: cve:MetricScenario

 classDiagram
    class MetricScenario
    click MetricScenario href "../MetricScenario/"
      MetricScenario : lang

      MetricScenario : scenario_value

Slots

Name Cardinality and Range Description Inheritance
lang 1
LanguageTag
BCP 47 language code indicating the language of accompanying text direct
scenario_value 1
String
Description of the scenario this metrics object applies to direct

Usages

used by used in type used
MetricEntry metric_scenarios range MetricScenario

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self cve:MetricScenario
native cve:MetricScenario

LinkML Source

Direct

name: MetricScenario
description: A scenario description indicating the context in which a metric applies.
  If no specific scenario is given, GENERAL is used as the default.
from_schema: https://w3id.org/lmodel/cve
slots:
- lang
- scenario_value
slot_usage:
  lang:
    name: lang
    required: true
  scenario_value:
    name: scenario_value
    required: true

Induced

name: MetricScenario
description: A scenario description indicating the context in which a metric applies.
  If no specific scenario is given, GENERAL is used as the default.
from_schema: https://w3id.org/lmodel/cve
slot_usage:
  lang:
    name: lang
    required: true
  scenario_value:
    name: scenario_value
    required: true
attributes:
  lang:
    name: lang
    description: BCP 47 language code indicating the language of accompanying text.
    from_schema: https://w3id.org/lmodel/cve
    rank: 1000
    ifabsent: string(en)
    alias: lang
    owner: MetricScenario
    domain_of:
    - MultiLangDescription
    - ProblemTypeDescription
    - MetricScenario
    - TimelineEntry
    - CreditEntry
    range: LanguageTag
    required: true
  scenario_value:
    name: scenario_value
    description: Description of the scenario this metrics object applies to.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - value
    rank: 1000
    ifabsent: string(GENERAL)
    alias: scenario_value
    owner: MetricScenario
    domain_of:
    - MetricScenario
    range: string
    required: true