Class: WeightedAveragingObservation
A single weighted averaging observation.
URI: common_domain_model:WeightedAveragingObservation
classDiagram
class WeightedAveragingObservation
click WeightedAveragingObservation href "../WeightedAveragingObservation/"
WeightedAveragingObservation : dateTime
WeightedAveragingObservation : observationNumber
WeightedAveragingObservation : weight
Slots
| Name |
Cardinality and Range |
Description |
Inheritance |
| dateTime |
0..1 Datetime |
Observation date time, which should be used when literal observation dates ar... |
direct |
| observationNumber |
0..1 Integer |
Observation number, which should be unique, within a series generated by a da... |
direct |
| weight |
1 Decimal |
Observation weight, which is used as a multiplier for the observation value |
direct |
Usages
Rules
| Rule Applied |
Preconditions |
Postconditions |
Elseconditions |
|
|
|
|
| Rule Applied |
Preconditions |
Postconditions |
Elseconditions |
| slot_conditions |
{'observationNumber': {'required': True}} |
{'observationNumber': {'minimum_value': 0}} |
|
| Rule Applied |
Preconditions |
Postconditions |
Elseconditions |
|
|
|
|
In Subsets
- Rosetta condition: WeightedAveragingObservationChoice — required choice dateTime, observationNumber
- Rosetta condition: PositiveObservationNumber — if observationNumber exists then observationNumber >= 0
- Rosetta condition: PositiveWeight — weight >= 0.0
Schema Source
Mappings
| Mapping Type |
Mapped Value |
| self |
common_domain_model:WeightedAveragingObservation |
| native |
common_domain_model:WeightedAveragingObservation |
LinkML Source
Direct
name: WeightedAveragingObservation
description: A single weighted averaging observation.
comments:
- 'Rosetta condition: WeightedAveragingObservationChoice — required choice dateTime,
observationNumber'
- 'Rosetta condition: PositiveObservationNumber — if observationNumber exists then
observationNumber >= 0'
- 'Rosetta condition: PositiveWeight — weight >= 0.0'
in_subset:
- cdm_product_common_schedule
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- dateTime
- observationNumber
- weight
slot_usage:
dateTime:
name: dateTime
description: Observation date time, which should be used when literal observation
dates are required. The CDM specifies that the zoned date time is to be expressed
in accordance with ISO 8601, either as UTC as an offset to UTC.
required: false
multivalued: false
weight:
name: weight
description: Observation weight, which is used as a multiplier for the observation
value.
required: true
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
dateTime:
name: dateTime
required: true
- slot_conditions:
observationNumber:
name: observationNumber
required: true
description: ' Choice rule to represent an FpML choice construct between date times
for literal date values, and observation numbers for schedule generated observations.'
- preconditions:
slot_conditions:
observationNumber:
name: observationNumber
required: true
postconditions:
slot_conditions:
observationNumber:
name: observationNumber
minimum_value: 0
description: ' FpML specifies observationNumber as a positive integer.'
- postconditions:
slot_conditions:
weight:
name: weight
minimum_value: 0.0
description: ' FpML specifies observationNumber as a non-negative decimal.'
Induced
name: WeightedAveragingObservation
description: A single weighted averaging observation.
comments:
- 'Rosetta condition: WeightedAveragingObservationChoice — required choice dateTime,
observationNumber'
- 'Rosetta condition: PositiveObservationNumber — if observationNumber exists then
observationNumber >= 0'
- 'Rosetta condition: PositiveWeight — weight >= 0.0'
in_subset:
- cdm_product_common_schedule
from_schema: https://w3id.org/lmodel/common-domain-model
slot_usage:
dateTime:
name: dateTime
description: Observation date time, which should be used when literal observation
dates are required. The CDM specifies that the zoned date time is to be expressed
in accordance with ISO 8601, either as UTC as an offset to UTC.
required: false
multivalued: false
weight:
name: weight
description: Observation weight, which is used as a multiplier for the observation
value.
required: true
attributes:
dateTime:
name: dateTime
description: Observation date time, which should be used when literal observation
dates are required. The CDM specifies that the zoned date time is to be expressed
in accordance with ISO 8601, either as UTC as an offset to UTC.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: WeightedAveragingObservation
domain_of:
- DateTimeList
- AggregationParameters
- EventTimestamp
- WeightedAveragingObservation
range: datetime
required: false
multivalued: false
observationNumber:
name: observationNumber
description: Observation number, which should be unique, within a series generated
by a date schedule.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: WeightedAveragingObservation
domain_of:
- WeightedAveragingObservation
range: integer
weight:
name: weight
description: Observation weight, which is used as a multiplier for the observation
value.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: WeightedAveragingObservation
domain_of:
- ObservationDate
- WeightedAveragingObservation
range: decimal
required: true
rules:
- postconditions:
exactly_one_of:
- slot_conditions:
dateTime:
name: dateTime
required: true
- slot_conditions:
observationNumber:
name: observationNumber
required: true
description: ' Choice rule to represent an FpML choice construct between date times
for literal date values, and observation numbers for schedule generated observations.'
- preconditions:
slot_conditions:
observationNumber:
name: observationNumber
required: true
postconditions:
slot_conditions:
observationNumber:
name: observationNumber
minimum_value: 0
description: ' FpML specifies observationNumber as a positive integer.'
- postconditions:
slot_conditions:
weight:
name: weight
minimum_value: 0.0
description: ' FpML specifies observationNumber as a non-negative decimal.'