Skip to content

Class: AssetBase

The base data type to specify common attributes for all Assets.

URI: common_domain_model:AssetBase

 classDiagram
    class AssetBase
    click AssetBase href "../AssetBase/"
      AssetBase <|-- InstrumentBase
        click InstrumentBase href "../InstrumentBase/"
      AssetBase <|-- Cash
        click Cash href "../Cash/"
      AssetBase <|-- Commodity
        click Commodity href "../Commodity/"
      AssetBase <|-- DigitalAsset
        click DigitalAsset href "../DigitalAsset/"
      AssetBase <|-- IndexBase
        click IndexBase href "../IndexBase/"
      AssetBase <|-- Basket
        click Basket href "../Basket/"

      AssetBase : assetType





        AssetBase --> "1" AssetTypeEnum : assetType
        click AssetTypeEnum href "../AssetTypeEnum/"



      AssetBase : exchange





        AssetBase --> "0..1" LegalEntity : exchange
        click LegalEntity href "../LegalEntity/"



      AssetBase : identifier





        AssetBase --> "1..*" AssetIdentifier : identifier
        click AssetIdentifier href "../AssetIdentifier/"



      AssetBase : isExchangeListed

      AssetBase : relatedExchange





        AssetBase --> "*" LegalEntity : relatedExchange
        click LegalEntity href "../LegalEntity/"



      AssetBase : taxonomy





        AssetBase --> "*" Taxonomy : taxonomy
        click Taxonomy href "../Taxonomy/"



Inheritance

Slots

Name Cardinality and Range Description Inheritance
identifier 1..*
AssetIdentifier
Asset Identifiers are used to uniquely identify an Asset, using a specified A... direct
taxonomy *
Taxonomy
Defines the taxonomy of an object by combining a taxonomy source (i direct
isExchangeListed 0..1
Boolean
Defines whether the Asset is listed on a public exchange direct
exchange 0..1
LegalEntity
If the Asset is listed, defines the public exchange of the listing direct
relatedExchange *
LegalEntity
Provides the related Exchanges, if applicable direct
assetType 1
AssetTypeEnum
Specifies the type of asset direct

Rules

Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'exchange': {'required': True}} {'isExchangeListed': {'equals_string': 'True'}}

Rule Applied Preconditions Postconditions Elseconditions
slot_conditions {'exchange': {'required': False}} {'relatedExchange': {'required': False}}

In Subsets

Comments

  • Rosetta condition: ExchangeListed — if exchange exists then isExchangeListed
  • Rosetta condition: RelatedExchange — if exchange is absent then relatedExchange is absent

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self common_domain_model:AssetBase
native common_domain_model:AssetBase
close fpml_5_10:AssetBase

LinkML Source

Direct

name: AssetBase
description: The base data type to specify common attributes for all Assets.
comments:
- 'Rosetta condition: ExchangeListed  if exchange exists then isExchangeListed'
- 'Rosetta condition: RelatedExchange  if exchange is absent then relatedExchange
  is absent'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AssetBase
slots:
- identifier
- taxonomy
- isExchangeListed
- exchange
- relatedExchange
- assetType
rules:
- preconditions:
    slot_conditions:
      exchange:
        name: exchange
        required: true
  postconditions:
    slot_conditions:
      isExchangeListed:
        name: isExchangeListed
        equals_string: 'True'
  description: If Exchange is specified, it must be an exchange-listed Instrument.
- preconditions:
    slot_conditions:
      exchange:
        name: exchange
        required: false
  postconditions:
    slot_conditions:
      relatedExchange:
        name: relatedExchange
        required: false
  description: Related Exchange should only be specified if an Exchange is also specified.

Induced

name: AssetBase
description: The base data type to specify common attributes for all Assets.
comments:
- 'Rosetta condition: ExchangeListed  if exchange exists then isExchangeListed'
- 'Rosetta condition: RelatedExchange  if exchange is absent then relatedExchange
  is absent'
in_subset:
- cdm_base_staticdata_asset_common
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- fpml_5_10:AssetBase
attributes:
  identifier:
    name: identifier
    description: Asset Identifiers are used to uniquely identify an Asset, using a
      specified Asset Identifier Type.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.identifier
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    - AssetIdentifier
    - ProductIdentifier
    - AssignedIdentifier
    - BusinessUnit
    - PartyIdentifier
    - EntityIdentifier
    - PersonIdentifier
    - TransferBase
    - OtherAgreement
    - LegalAgreementBase
    - NonLegalEntity
    - MasterAgreementClauseVariant
    - Clause
    - ContractualDefinition
    - FloatingRateIndexMap
    - EligibleCollateralSpecification
    - NonTransferableProduct
    range: AssetIdentifier
    required: true
    multivalued: true
  taxonomy:
    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.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.taxonomy
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    - NonTransferableProduct
    range: Taxonomy
    multivalued: true
    inlined: true
    inlined_as_list: true
  isExchangeListed:
    name: isExchangeListed
    description: Defines whether the Asset is listed on a public exchange.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.isExchangeListed
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    range: boolean
  exchange:
    name: exchange
    description: If the Asset is listed, defines the public exchange of the listing.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.exchange
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    - ListingExchange
    range: LegalEntity
  relatedExchange:
    name: relatedExchange
    description: Provides the related Exchanges, if applicable.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.relatedExchange
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    range: LegalEntity
    multivalued: true
    inlined: true
    inlined_as_list: true
  assetType:
    name: assetType
    description: Specifies the type of asset.
    from_schema: https://w3id.org/lmodel/common-domain-model
    close_mappings:
    - fpml_5_10:AssetBase.assetType
    rank: 1000
    owner: AssetBase
    domain_of:
    - AssetBase
    - AssetType
    range: AssetTypeEnum
    required: true
rules:
- preconditions:
    slot_conditions:
      exchange:
        name: exchange
        required: true
  postconditions:
    slot_conditions:
      isExchangeListed:
        name: isExchangeListed
        equals_string: 'True'
  description: If Exchange is specified, it must be an exchange-listed Instrument.
- preconditions:
    slot_conditions:
      exchange:
        name: exchange
        required: false
  postconditions:
    slot_conditions:
      relatedExchange:
        name: relatedExchange
        required: false
  description: Related Exchange should only be specified if an Exchange is also specified.