Class: ExecutionDetails
Defines specific attributes that relate to trade executions.
URI: common_domain_model:ExecutionDetails
classDiagram
class ExecutionDetails
click ExecutionDetails href "../ExecutionDetails/"
ExecutionDetails : executionType
ExecutionDetails --> "1" ExecutionTypeEnum : executionType
click ExecutionTypeEnum href "../ExecutionTypeEnum/"
ExecutionDetails : executionVenue
ExecutionDetails --> "0..1" LegalEntity : executionVenue
click LegalEntity href "../LegalEntity/"
ExecutionDetails : packageReference
ExecutionDetails --> "0..1" IdentifiedList : packageReference
click IdentifiedList href "../IdentifiedList/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| executionType | 1 ExecutionTypeEnum |
Identifies the type of execution, e | direct |
| executionVenue | 0..1 LegalEntity |
Represents the venue on which a trade was executed | direct |
| packageReference | 0..1 IdentifiedList |
A reference to the package linking the trade with other trades, in case the t... | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| ExecutionInstruction | executionDetails | range | ExecutionDetails |
| Trade | executionDetails | range | ExecutionDetails |
| ContractBase | executionDetails | range | ExecutionDetails |
| CounterpartyPosition | executionDetails | range | ExecutionDetails |
Rules
| Rule Applied | Preconditions | Postconditions | Elseconditions |
|---|---|---|---|
| slot_conditions | {'executionType': {'equals_string': 'Electronic'}} |
{'executionVenue': {'required': True}} |
In Subsets
Comments
- Rosetta condition: ExecutionVenue — if executionType = ExecutionTypeEnum -> Electronic then executionVenue exists
- Rosetta func: Create_PackageExecutionDetails — Add a package component to an execution details object. This package component is constructed using an identifier for the package and the list of identifiers for its components.
- Rosetta func: EmptyExecutionDetails
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| metadata_key | True |
| rosetta_functions | [{"name":"Create_PackageExecutionDetails","description":"Add a package component to an execution details object. This package component is constructed using an identifier for the package and the list of identifiers for its components.","inputs":[{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},{"name":"listId","type":"Identifier","cardinality":"1..1"},{"name":"componentId","type":"Identifier","cardinality":"2..*"}],"output":{"name":"newExecutionDetails","type":"ExecutionDetails","cardinality":"1..1"}},{"name":"EmptyExecutionDetails","output":{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},"code_implementation":true}] |
Schema Source
- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:ExecutionDetails |
| native | common_domain_model:ExecutionDetails |
LinkML Source
Direct
name: ExecutionDetails
annotations:
metadata_key:
tag: metadata_key
value: true
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"Create_PackageExecutionDetails","description":"Add a package
component to an execution details object. This package component is constructed
using an identifier for the package and the list of identifiers for its components.","inputs":[{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},{"name":"listId","type":"Identifier","cardinality":"1..1"},{"name":"componentId","type":"Identifier","cardinality":"2..*"}],"output":{"name":"newExecutionDetails","type":"ExecutionDetails","cardinality":"1..1"}},{"name":"EmptyExecutionDetails","output":{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},"code_implementation":true}]'
description: Defines specific attributes that relate to trade executions.
comments:
- 'Rosetta condition: ExecutionVenue — if executionType = ExecutionTypeEnum -> Electronic
then executionVenue exists'
- 'Rosetta func: Create_PackageExecutionDetails — Add a package component to an execution
details object. This package component is constructed using an identifier for the
package and the list of identifiers for its components.'
- 'Rosetta func: EmptyExecutionDetails'
in_subset:
- cdm_event_common
from_schema: https://w3id.org/lmodel/common-domain-model
slots:
- executionType
- executionVenue
- packageReference
rules:
- preconditions:
slot_conditions:
executionType:
name: executionType
equals_string: Electronic
postconditions:
slot_conditions:
executionVenue:
name: executionVenue
required: true
description: When the execution type is set to 'Electronically', the execution venue
must be specified.
Induced
name: ExecutionDetails
annotations:
metadata_key:
tag: metadata_key
value: true
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"Create_PackageExecutionDetails","description":"Add a package
component to an execution details object. This package component is constructed
using an identifier for the package and the list of identifiers for its components.","inputs":[{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},{"name":"listId","type":"Identifier","cardinality":"1..1"},{"name":"componentId","type":"Identifier","cardinality":"2..*"}],"output":{"name":"newExecutionDetails","type":"ExecutionDetails","cardinality":"1..1"}},{"name":"EmptyExecutionDetails","output":{"name":"executionDetails","type":"ExecutionDetails","cardinality":"0..1"},"code_implementation":true}]'
description: Defines specific attributes that relate to trade executions.
comments:
- 'Rosetta condition: ExecutionVenue — if executionType = ExecutionTypeEnum -> Electronic
then executionVenue exists'
- 'Rosetta func: Create_PackageExecutionDetails — Add a package component to an execution
details object. This package component is constructed using an identifier for the
package and the list of identifiers for its components.'
- 'Rosetta func: EmptyExecutionDetails'
in_subset:
- cdm_event_common
from_schema: https://w3id.org/lmodel/common-domain-model
attributes:
executionType:
name: executionType
description: Identifies the type of execution, e.g. via voice, electronically...
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: ExecutionDetails
domain_of:
- ExecutionDetails
range: ExecutionTypeEnum
required: true
executionVenue:
name: executionVenue
description: Represents the venue on which a trade was executed.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: ExecutionDetails
domain_of:
- ExecutionDetails
range: LegalEntity
packageReference:
name: packageReference
description: A reference to the package linking the trade with other trades, in
case the trade was executed as part of a package (hence this attribute is optional).
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: ExecutionDetails
domain_of:
- ExecutionDetails
range: IdentifiedList
rules:
- preconditions:
slot_conditions:
executionType:
name: executionType
equals_string: Electronic
postconditions:
slot_conditions:
executionVenue:
name: executionVenue
required: true
description: When the execution type is set to 'Electronically', the execution venue
must be specified.