Class: ProductTaxonomy
Specifies the product taxonomy, which is composed of a taxonomy value and a taxonomy source.
URI: common_domain_model:ProductTaxonomy
classDiagram
class ProductTaxonomy
click ProductTaxonomy href "../ProductTaxonomy/"
Taxonomy <|-- ProductTaxonomy
click Taxonomy href "../Taxonomy/"
ProductTaxonomy : calculated
ProductTaxonomy : primaryAssetClass
ProductTaxonomy --> "0..1" AssetClassEnum : primaryAssetClass
click AssetClassEnum href "../AssetClassEnum/"
ProductTaxonomy : secondaryAssetClass
ProductTaxonomy --> "*" AssetClassEnum : secondaryAssetClass
click AssetClassEnum href "../AssetClassEnum/"
ProductTaxonomy : source
ProductTaxonomy --> "0..1" TaxonomySourceEnum : source
click TaxonomySourceEnum href "../TaxonomySourceEnum/"
ProductTaxonomy : value
ProductTaxonomy --> "0..1" TaxonomyValue : value
click TaxonomyValue href "../TaxonomyValue/"
Inheritance
Section titled “Inheritance”- Taxonomy
- ProductTaxonomy
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| primaryAssetClass | 0..1 AssetClassEnum |
Classifies the most important risk class of the trade | direct |
| secondaryAssetClass | * AssetClassEnum |
Classifies additional risk classes of the trade, if any | direct |
| source | 0..1 TaxonomySourceEnum |
The source of the taxonomy that defines the rules for classifying the object | Taxonomy |
| value | 0..1 TaxonomyValue |
The value according to that taxonomy | Taxonomy |
| calculated | 0..1 Boolean |
Specifies whether the taxonomy has been derived from the model features using… | Taxonomy |
Expressions & Logic
All Of
Section titled “All Of”The class must satisfy all of:
- AnonymousClassExpression({ ‘description’: (’TaxonomyType: Requires a taxonomy type to be chosen, either from a taxonomy ’ ‘source or using asset classes.’), ‘exactly_one_of’: [AnonymousClassExpression({ ‘slot_conditions’: {‘source’: SlotDefinition({‘name’: ‘source’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘primaryAssetClass’: SlotDefinition({‘name’: ‘primaryAssetClass’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} }), AnonymousClassExpression({ ‘slot_conditions’: {‘secondaryAssetClass’: SlotDefinition({‘name’: ‘secondaryAssetClass’, ‘value_presence’: PresenceEnum(text=‘PRESENT’)})} })] })
Usages
Section titled “Usages”| used by | used in | type | used |
|---|---|---|---|
| CoveredTransactions | coveredTransactions | range | ProductTaxonomy |
| NonTransferableProduct | taxonomy | range | ProductTaxonomy |
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'source': {'value_presence': 'PRESENT'}} |
{'value': {'value_presence': 'PRESENT'}} |
Identifier and Mapping Information
Section titled “Identifier and Mapping Information”Schema Source
Section titled “Schema Source”- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
Section titled “Mappings”| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:ProductTaxonomy |
| native | common_domain_model:ProductTaxonomy |
LinkML Source
Section titled “LinkML Source”Direct
Section titled “Direct”name: ProductTaxonomydescription: Specifies the product taxonomy, which is composed of a taxonomy value and a taxonomy source.from_schema: https://w3id.org/lmodel/common-domain-modelis_a: Taxonomyattributes: primaryAssetClass: name: primaryAssetClass annotations: rosetta_metadata: tag: rosetta_metadata value: scheme description: Classifies the most important risk class of the trade. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common rank: 1000 domain_of: - ProductTaxonomy range: AssetClassEnum secondaryAssetClass: name: secondaryAssetClass annotations: rosetta_metadata: tag: rosetta_metadata value: scheme description: Classifies additional risk classes of the trade, if any. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common rank: 1000 domain_of: - ProductTaxonomy range: AssetClassEnum multivalued: truerules:- preconditions: slot_conditions: source: name: source value_presence: PRESENT postconditions: slot_conditions: value: name: value value_presence: PRESENT description: 'TaxonomySource: A taxonomy source can only be associated with a taxonomy value.'all_of:- description: 'TaxonomyType: Requires a taxonomy type to be chosen, either from a taxonomy source or using asset classes.' exactly_one_of: - slot_conditions: source: name: source value_presence: PRESENT - slot_conditions: primaryAssetClass: name: primaryAssetClass value_presence: PRESENT - slot_conditions: secondaryAssetClass: name: secondaryAssetClass value_presence: PRESENTInduced
Section titled “Induced”name: ProductTaxonomydescription: Specifies the product taxonomy, which is composed of a taxonomy value and a taxonomy source.from_schema: https://w3id.org/lmodel/common-domain-modelis_a: Taxonomyattributes: primaryAssetClass: name: primaryAssetClass annotations: rosetta_metadata: tag: rosetta_metadata value: scheme description: Classifies the most important risk class of the trade. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common rank: 1000 owner: ProductTaxonomy domain_of: - ProductTaxonomy range: AssetClassEnum secondaryAssetClass: name: secondaryAssetClass annotations: rosetta_metadata: tag: rosetta_metadata value: scheme description: Classifies additional risk classes of the trade, if any. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common rank: 1000 owner: ProductTaxonomy domain_of: - ProductTaxonomy range: AssetClassEnum multivalued: true source: name: source description: The source of the taxonomy that defines the rules for classifying the object. The taxonomy source is taken from a enumerated list of taxonomy names. Optional as the taxonomy source may not be provided. from_schema: https://w3id.org/lmodel/common-domain-model rank: 1000 owner: ProductTaxonomy domain_of: - ProductIdentifier - Taxonomy - CodeValue - Valuation range: TaxonomySourceEnum value: name: value description: The value according to that taxonomy. Optional as it may not be possible to classify the object in that taxonomy. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common owner: ProductTaxonomy domain_of: - DatedValue - Schedule - Taxonomy - TaxonomyClassification - CodeValue - AccrualFactor - AdjustmentFactor - ClauseLibraryVariableSet - CSAMinimumTransferAmountVariableSet - CSAThresholdVariableSet - DisputeResolution - OtherEligibleAndPostedSupport range: TaxonomyValue calculated: name: calculated description: Specifies whether the taxonomy has been derived from the model features using a CDM qualification function that determines the product type based on the model features. from_schema: https://w3id.org/lmodel/common-domain-model/cdm_base_staticdata_asset_common rank: 1000 owner: ProductTaxonomy domain_of: - Taxonomy range: booleanrules:- preconditions: slot_conditions: source: name: source value_presence: PRESENT postconditions: slot_conditions: value: name: value value_presence: PRESENT description: 'TaxonomySource: A taxonomy source can only be associated with a taxonomy value.'all_of:- description: 'TaxonomyType: Requires a taxonomy type to be chosen, either from a taxonomy source or using asset classes.' exactly_one_of: - slot_conditions: source: name: source value_presence: PRESENT - slot_conditions: primaryAssetClass: name: primaryAssetClass value_presence: PRESENT - slot_conditions: secondaryAssetClass: name: secondaryAssetClass value_presence: PRESENT