Skip to content

Class: Metric

A container for statistical information about an event or event series.

Slots

Name Range Cardinality Description
Type Metric Type 0..1 A property to provide the type of metric according to the permissible values defined in the Metric Type Enum. If the metric type "review process" is used, one of the permissible values defined in the Review Process Type must be provided using the Metric String Value property.
Metric Integer Value xsd:integer 0..1 A property to provide an integer value for a metric.
Metric String Value xsd:string 0..1 A property to provide a string value for a metric.
Metric Rate Value xsd:float 0..1 A property to provide a rate value as float for a metric.
Metric Truth Value xsd:boolean 0..1 A property to provide a truth value for a metric.
Metric Year xsd:string 0..1 A property to provide the year for which the metric value is valid.
Metric Description xsd:string 0..1 A property to provide a description of a metric.

Usages

used by used in type used
Event Series Metric range Metric
Event Metric range Metric

Mappings

Mapping Type Mapped Value
self ['confident:Metric']
native ['confident:Metric']

LinkML Source

name: Metric
description: A container for statistical information about an event or event series.
title: Metric
from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
rank: 1000
slots:
- type
slot_usage:
  type:
    name: type
    description: A property to provide the type of metric according to the permissible
      values defined in the [Metric Type Enum](MetricType.md). If the metric type
      "review process" is used, one of the permissible values defined in the [Review
      Process Type](ReviewProcessType.md) must be provided using the [Metric String
      Value](str_value.md) property.
    domain_of:
    - Event
    - Deadline
    - Metric
    - Contributor
    - Event
    - Deadline
    - Metric
    - Contributor
    range: MetricType
attributes:
  int_value:
    name: int_value
    description: A property to provide an integer value for a metric.
    title: Metric Integer Value
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: integer
  str_value:
    name: str_value
    description: A property to provide a string value for a metric.
    title: Metric String Value
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: string
  rate_value:
    name: rate_value
    description: A property to provide a rate value as float for a metric.
    title: Metric Rate Value
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: float
  truth_value:
    name: truth_value
    description: A property to provide a truth value for a metric.
    title: Metric Truth Value
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: boolean
  metric_year:
    name: metric_year
    description: A property to provide the year for which the metric value is valid.
    title: Metric Year
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: string
    pattern: ^\d{4}$
  description:
    name: description
    description: A property to provide a description of a metric.
    title: Metric Description
    from_schema: https://raw.githubusercontent.com/TIBHannover/ConfIDent_schema/main/src/ConfIDent_schema/schema/ConfIDent_schema.yaml
    rank: 1000
    range: string
rules:
- preconditions:
    slot_conditions:
      type:
        name: type
        equals_string: review process
  postconditions:
    slot_conditions:
      str_value:
        name: str_value
        range: ReviewMetricType
        required: true