Skip to content

Class: Basket

Defines a custom basket by referencing an identifier and its constituents.

URI: common_domain_model:Basket

 classDiagram
    class Basket
    click Basket href "../Basket/"
      AssetBase <|-- Basket
        click AssetBase href "../AssetBase/"

      Basket : assetType





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



      Basket : basketConstituent





        Basket --> "1..*" BasketConstituent : basketConstituent
        click BasketConstituent href "../BasketConstituent/"



      Basket : exchange





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



      Basket : identifier





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



      Basket : isExchangeListed

      Basket : relatedExchange





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



      Basket : taxonomy





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



Inheritance

Slots

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

Usages

used by used in type used
PriceQuantity observable any_of[range] Basket
ObservationIdentifier observable any_of[range] Basket
VarianceReturnTerms exchangeTradedContractNearest any_of[range] Basket
VolatilityReturnTerms exchangeTradedContractNearest any_of[range] Basket

Rules

Rule Applied Preconditions Postconditions Elseconditions

In Subsets

Comments

  • Rosetta condition: AssetType — assetType = Security

Identifier and Mapping Information

Schema Source

Mappings

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

LinkML Source

Direct

name: Basket
description: Defines a custom basket by referencing an identifier and its constituents.
comments:
- 'Rosetta condition: AssetType  assetType = Security'
in_subset:
- cdm_observable_asset
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: AssetBase
slots:
- basketConstituent
rules:
- postconditions:
    slot_conditions:
      assetType:
        name: assetType
        equals_string: Security
  description: Asset type must be Security.

Induced

name: Basket
description: Defines a custom basket by referencing an identifier and its constituents.
comments:
- 'Rosetta condition: AssetType  assetType = Security'
in_subset:
- cdm_observable_asset
from_schema: https://w3id.org/lmodel/common-domain-model
is_a: AssetBase
attributes:
  basketConstituent:
    name: basketConstituent
    description: Identifies the constituents of the basket
    from_schema: https://w3id.org/lmodel/common-domain-model
    rank: 1000
    owner: Basket
    domain_of:
    - Basket
    - DividendPayoutRatio
    - DividendPeriod
    range: BasketConstituent
    required: true
    multivalued: true
    inlined: true
    inlined_as_list: true
  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: Basket
    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: Basket
    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: Basket
    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: Basket
    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: Basket
    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: Basket
    domain_of:
    - AssetBase
    - AssetType
    range: AssetTypeEnum
    required: true
rules:
- postconditions:
    slot_conditions:
      assetType:
        name: assetType
        equals_string: Security
  description: Asset type must be Security.