Class: PriceSource
Specifies a publication that provides the commodity price, including, where applicable, the details of where in the publication the price is published.
URI: common_domain_model:PriceSource
classDiagram
class PriceSource
click PriceSource href "../PriceSource/"
PriceSource : pricePublisher
PriceSource : priceSourceHeading
PriceSource : priceSourceLocation
PriceSource : priceSourceTime
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| pricePublisher | 1 string |
Defines a publication in which the price can be found | direct |
| priceSourceLocation | 0..1 string |
Specifies the location of the price which may be a specific page, electornic ... | direct |
| priceSourceHeading | 0..1 string |
Specifies the heading or field name for the price on a given page or screen,... | direct |
| priceSourceTime | 0..1 time |
Specifies the time at which the price should be observed | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| CommodityProductDefinition | priceSource | range | PriceSource |
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'priceSourceHeading': {'required': True}} |
{'priceSourceLocation': {'required': True}} |
In Subsets
Comments
- Rosetta condition: PriceSourceHeading — if priceSourceHeading exists then priceSourceLocation exists
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:PriceSource |
| native | common_domain_model:PriceSource |
LinkML Source
Direct
name: PriceSource
description: Specifies a publication that provides the commodity price, including,
where applicable, the details of where in the publication the price is published.
comments:
- 'Rosetta condition: PriceSourceHeading — if priceSourceHeading exists then priceSourceLocation
exists'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- pricePublisher
- priceSourceLocation
- priceSourceHeading
- priceSourceTime
rules:
- preconditions:
slot_conditions:
priceSourceHeading:
name: priceSourceHeading
required: true
postconditions:
slot_conditions:
priceSourceLocation:
name: priceSourceLocation
required: true
description: Requires that if a priceSourceHeading is specified, then a priceSourceLocation
must be speficified
Induced
name: PriceSource
description: Specifies a publication that provides the commodity price, including,
where applicable, the details of where in the publication the price is published.
comments:
- 'Rosetta condition: PriceSourceHeading — if priceSourceHeading exists then priceSourceLocation
exists'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
pricePublisher:
name: pricePublisher
annotations:
metadata_scheme:
tag: metadata_scheme
value: true
description: 'Defines a publication in which the price can be found. (e.g Gas
Daily, Platts Bloomberg. Commodity publishers can be found at this URL: http://www.fpml.org/coding-scheme/commodity-information-provider>'
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: PriceSource
domain_of:
- PriceSource
range: string
required: true
priceSourceLocation:
name: priceSourceLocation
description: Specifies the location of the price which may be a specific page,
electornic screen name, or a code (e.g. a RIC code) where the price can be found.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: PriceSource
domain_of:
- PriceSource
range: string
priceSourceHeading:
name: priceSourceHeading
description: Specifies the heading or field name for the price on a given page
or screen, where applicable.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: PriceSource
domain_of:
- PriceSource
range: string
priceSourceTime:
name: priceSourceTime
description: Specifies the time at which the price should be observed.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: PriceSource
domain_of:
- PriceSource
range: time
rules:
- preconditions:
slot_conditions:
priceSourceHeading:
name: priceSourceHeading
required: true
postconditions:
slot_conditions:
priceSourceLocation:
name: priceSourceLocation
required: true
description: Requires that if a priceSourceHeading is specified, then a priceSourceLocation
must be speficified