Skip to content

Class: Observation

Defines a single, numerical value that was observed in the marketplace. Observations of market data are made independently to business events or trade life-cycle events, so data instances of Observation can be created independently of any other model type, hence it is annotated as a root type. Observations will be broadly reused in many situations, so references to Observation are supported via the 'key' annotation.

URI: common_domain_model:Observation

 classDiagram
    class Observation
    click Observation href "../Observation/"
      Observation : observationIdentifier





        Observation --> "1" ObservationIdentifier : observationIdentifier
        click ObservationIdentifier href "../ObservationIdentifier/"



      Observation : observedValue





        Observation --> "1" Price : observedValue
        click Price href "../Price/"



Class Properties

Property Value
Tree Root Yes

Slots

Name Cardinality and Range Description Inheritance
observedValue 1
Price
Specifies the observed value as a number direct
observationIdentifier 1
ObservationIdentifier
Represents the observation was made i direct

Usages

used by used in type used
Reset observations range Observation
BillingRecordInstruction observation range Observation

In Subsets

Comments

  • Rosetta func: Create_AssetReset — Defines how to resolve the reset value for an equity payout.
  • Rosetta func: ResolveObservationAverage — Specifies the interface that should be used by implementors to resolve a single observation when provided many, applying the averaging method, if one is provided.
  • Rosetta func: ResolveObservation — Specifies the interface that should be used by implementors to resolve a single observation when provided many, applying the averaging method, if one is provided.

Identifier and Mapping Information

Annotations

property value
metadata_key True
rosetta_functions [{"name":"Create_AssetReset","description":"Defines how to resolve the reset value for an equity payout.","inputs":[{"name":"assetPayout","type":"AssetPayout","cardinality":"1..1"},{"name":"observation","type":"Observation","cardinality":"1.."},{"name":"resetDate","type":"date","cardinality":"1..1"}],"output":{"name":"reset","type":"Reset","cardinality":"1..1"}},{"name":"ResolveObservationAverage","description":"Specifies the interface that should be used by implementors to resolve a single observation when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"observations","type":"Observation","cardinality":"1.."}],"output":{"name":"resetValue","type":"Price","cardinality":"1..1"}},{"name":"ResolveObservation","description":"Specifies the interface that should be used by implementors to resolve a single observation when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"identifiers","type":"ObservationIdentifier","cardinality":"1..*"},{"name":"averagingMethod","type":"AveragingCalculationMethod","cardinality":"0..1"}],"output":{"name":"observation","type":"Observation","cardinality":"1..1"},"code_implementation":true}]

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:Observation
native common_domain_model:Observation

LinkML Source

Direct

name: Observation
annotations:
  metadata_key:
    tag: metadata_key
    value: true
  rosetta_functions:
    tag: rosetta_functions
    value: '[{"name":"Create_AssetReset","description":"Defines how to resolve the
      reset value for an equity payout.","inputs":[{"name":"assetPayout","type":"AssetPayout","cardinality":"1..1"},{"name":"observation","type":"Observation","cardinality":"1..*"},{"name":"resetDate","type":"date","cardinality":"1..1"}],"output":{"name":"reset","type":"Reset","cardinality":"1..1"}},{"name":"ResolveObservationAverage","description":"Specifies
      the interface that should be used by implementors to resolve a single observation
      when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"observations","type":"Observation","cardinality":"1..*"}],"output":{"name":"resetValue","type":"Price","cardinality":"1..1"}},{"name":"ResolveObservation","description":"Specifies
      the interface that should be used by implementors to resolve a single observation
      when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"identifiers","type":"ObservationIdentifier","cardinality":"1..*"},{"name":"averagingMethod","type":"AveragingCalculationMethod","cardinality":"0..1"}],"output":{"name":"observation","type":"Observation","cardinality":"1..1"},"code_implementation":true}]'
description: Defines a single, numerical value that was observed in the marketplace.
  Observations of market data are made independently to business events or trade life-cycle
  events, so data instances of Observation can be created independently of any other
  model type, hence it is annotated as a root type. Observations will be broadly reused
  in many situations, so references to Observation are supported via the 'key' annotation.
comments:
- 'Rosetta func: Create_AssetReset  Defines how to resolve the reset value for an
  equity payout.'
- 'Rosetta func: ResolveObservationAverage  Specifies the interface that should be
  used by implementors to resolve a single observation when provided many, applying
  the averaging method, if one is provided.'
- 'Rosetta func: ResolveObservation  Specifies the interface that should be used
  by implementors to resolve a single observation when provided many, applying the
  averaging method, if one is provided.'
in_subset:
- cdm_observable_event
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- observedValue
- observationIdentifier
tree_root: true

Induced

name: Observation
annotations:
  metadata_key:
    tag: metadata_key
    value: true
  rosetta_functions:
    tag: rosetta_functions
    value: '[{"name":"Create_AssetReset","description":"Defines how to resolve the
      reset value for an equity payout.","inputs":[{"name":"assetPayout","type":"AssetPayout","cardinality":"1..1"},{"name":"observation","type":"Observation","cardinality":"1..*"},{"name":"resetDate","type":"date","cardinality":"1..1"}],"output":{"name":"reset","type":"Reset","cardinality":"1..1"}},{"name":"ResolveObservationAverage","description":"Specifies
      the interface that should be used by implementors to resolve a single observation
      when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"observations","type":"Observation","cardinality":"1..*"}],"output":{"name":"resetValue","type":"Price","cardinality":"1..1"}},{"name":"ResolveObservation","description":"Specifies
      the interface that should be used by implementors to resolve a single observation
      when provided many, applying the averaging method, if one is provided.","inputs":[{"name":"identifiers","type":"ObservationIdentifier","cardinality":"1..*"},{"name":"averagingMethod","type":"AveragingCalculationMethod","cardinality":"0..1"}],"output":{"name":"observation","type":"Observation","cardinality":"1..1"},"code_implementation":true}]'
description: Defines a single, numerical value that was observed in the marketplace.
  Observations of market data are made independently to business events or trade life-cycle
  events, so data instances of Observation can be created independently of any other
  model type, hence it is annotated as a root type. Observations will be broadly reused
  in many situations, so references to Observation are supported via the 'key' annotation.
comments:
- 'Rosetta func: Create_AssetReset  Defines how to resolve the reset value for an
  equity payout.'
- 'Rosetta func: ResolveObservationAverage  Specifies the interface that should be
  used by implementors to resolve a single observation when provided many, applying
  the averaging method, if one is provided.'
- 'Rosetta func: ResolveObservation  Specifies the interface that should be used
  by implementors to resolve a single observation when provided many, applying the
  averaging method, if one is provided.'
in_subset:
- cdm_observable_event
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
  observedValue:
    name: observedValue
    description: Specifies the observed value as a number.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: Observation
    domain_of:
    - Observation
    range: Price
    required: true
  observationIdentifier:
    name: observationIdentifier
    description: Represents the observation was made i.e. how to uniquely identify
      the observed value among the population of all available market data.
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: Observation
    domain_of:
    - Observation
    range: ObservationIdentifier
    required: true
tree_root: true