Skip to content

Class: Taxonomy

Defines the taxonomy of an object by combining a taxonomy source (i.e. the rules to classify the object) and a value (i.e. the output of those rules on the object).

URI: common_domain_model:Taxonomy

 classDiagram
    class Taxonomy
    click Taxonomy href "../Taxonomy/"
      Taxonomy <|-- ProductTaxonomy
        click ProductTaxonomy href "../ProductTaxonomy/"

      Taxonomy : source





        Taxonomy --> "0..1" TaxonomySourceEnum : source
        click TaxonomySourceEnum href "../TaxonomySourceEnum/"



      Taxonomy : value





        Taxonomy --> "0..1" TaxonomyValue : value
        click TaxonomyValue href "../TaxonomyValue/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
source 0..1
TaxonomySourceEnum
The source of the taxonomy that defines the rules for classifying the object direct
value 0..1
TaxonomyValue
The value according to that taxonomy direct

Usages

used by used in type used
AssetBase taxonomy range Taxonomy
InstrumentBase taxonomy range Taxonomy
Cash taxonomy range Taxonomy
Commodity taxonomy range Taxonomy
DigitalAsset taxonomy range Taxonomy
ListedDerivative taxonomy range Taxonomy
Loan taxonomy range Taxonomy
Security taxonomy range Taxonomy
IndexBase taxonomy range Taxonomy
FloatingRateIndex taxonomy range Taxonomy
ForeignExchangeRateIndex taxonomy range Taxonomy
InflationIndex taxonomy range Taxonomy
CreditIndex taxonomy range Taxonomy
EquityIndex taxonomy range Taxonomy
OtherIndex taxonomy range Taxonomy
Basket taxonomy range Taxonomy

In Subsets

Comments

  • Rosetta condition: OrdinalExists — if value -> classification count > 1 then value -> classification -> ordinal count = value -> classification count
  • Rosetta condition: DifferentOrdinals — if value -> classification -> ordinal exists then value -> classification -> ordinal count = value -> classification -> ordinal distinct count
  • Rosetta condition: SequentialOrdinals — if value -> classification count > 1 then value -> classification -> ordinal count = value -> classification -> ordinal max

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: Taxonomy
description: Defines the taxonomy of an object by combining a taxonomy source (i.e.
  the rules to classify the object) and a value (i.e. the output of those rules on
  the object).
comments:
- 'Rosetta condition: OrdinalExists  if value -> classification count > 1 then value
  -> classification -> ordinal count = value -> classification count'
- 'Rosetta condition: DifferentOrdinals  if value -> classification -> ordinal exists
  then value -> classification -> ordinal count = value -> classification -> ordinal
  distinct count'
- 'Rosetta condition: SequentialOrdinals  if value -> classification count > 1 then
  value -> classification -> ordinal count = value -> classification -> ordinal max'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- source
- value
slot_usage:
  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.
    range: TaxonomySourceEnum
    required: false
  value:
    name: value
    description: The value according to that taxonomy. Optional as it may not be possible
      to classify the object in that taxonomy.
    range: TaxonomyValue

Induced

name: Taxonomy
description: Defines the taxonomy of an object by combining a taxonomy source (i.e.
  the rules to classify the object) and a value (i.e. the output of those rules on
  the object).
comments:
- 'Rosetta condition: OrdinalExists  if value -> classification count > 1 then value
  -> classification -> ordinal count = value -> classification count'
- 'Rosetta condition: DifferentOrdinals  if value -> classification -> ordinal exists
  then value -> classification -> ordinal count = value -> classification -> ordinal
  distinct count'
- 'Rosetta condition: SequentialOrdinals  if value -> classification count > 1 then
  value -> classification -> ordinal count = value -> classification -> ordinal max'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
slot_usage:
  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.
    range: TaxonomySourceEnum
    required: false
  value:
    name: value
    description: The value according to that taxonomy. Optional as it may not be possible
      to classify the object in that taxonomy.
    range: TaxonomyValue
attributes:
  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: Taxonomy
    domain_of:
    - ProductIdentifier
    - Taxonomy
    - CodeValue
    - Valuation
    range: TaxonomySourceEnum
    required: false
  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
    rank: 1000
    owner: Taxonomy
    domain_of:
    - MeasureBase
    - Schedule
    - DatedValue
    - Taxonomy
    - TaxonomyClassification
    - CodeValue
    - AdjustmentFactor
    - AccrualFactor
    - DisputeResolution
    - OtherEligibleAndPostedSupport
    - CSAThresholdVariableSet
    - CSAMinimumTransferAmountVariableSet
    - MasterAgreementVariableSet
    range: TaxonomyValue