Class: Counterparty
Defines a counterparty enumerated value, e.g. Party1 or Party2, with an associated party reference. The product is agnostic to the actual parties to the transaction, with the party references abstracted away from the product definition and replaced by the CounterpartyEnum (e.g. values Party1 or Party2). The CounterpartyEnum can then be positioned in the product (e.g. to specify which counterparty is the payer, receiver etc) and this Counterparty type, which is positioned outside of the product definition, allows the CounterpartyEnum to be associated with an actual party reference.
URI: common_domain_model:Counterparty
classDiagram
class Counterparty
click Counterparty href "../Counterparty/"
Counterparty : partyReference
Counterparty --> "1" Party : partyReference
click Party href "../Party/"
Counterparty : role
Counterparty --> "1" CounterpartyRoleEnum : role
click CounterpartyRoleEnum href "../CounterpartyRoleEnum/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| role | 1 CounterpartyRoleEnum |
Specifies the CounterpartyEnum, e | direct |
| partyReference | 1 Party |
Specifies the party that is associated to the counterparty | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| ExecutionInstruction | counterparty | range | Counterparty |
| PartyChangeInstruction | counterparty | range | Counterparty |
| Trade | counterparty | range | Counterparty |
| AgreementTerms | counterparty | range | Counterparty |
| EligibleCollateralSpecification | counterparty | range | Counterparty |
| TradableProduct | counterparty | range | Counterparty |
In Subsets
Comments
- Rosetta func: ExtractCounterpartyByRole — Extracts from a list of Counterparty data types, the Counterparty that corresponds to the role i.e. Party1 or Party2.
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| rosetta_functions | [{"name":"ExtractCounterpartyByRole","description":"Extracts from a list of Counterparty data types, the Counterparty that corresponds to the role i.e. Party1 or Party2.","inputs":[{"name":"counterparties","type":"Counterparty","cardinality":"1..*"},{"name":"roleEnumToExtract","type":"CounterpartyRoleEnum","cardinality":"1..1"}],"output":{"name":"counterparty","type":"Counterparty","cardinality":"0..1"}}] |
Schema Source
- from schema: https://w3id.org/lmodel/common-domain-model
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | common_domain_model:Counterparty |
| native | common_domain_model:Counterparty |
| related | iso29100:ThirdParty |
| close | gist:Assignment, oscal:ResponsibleParty |
LinkML Source
Direct
name: Counterparty
annotations:
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"ExtractCounterpartyByRole","description":"Extracts from a list
of Counterparty data types, the Counterparty that corresponds to the role i.e.
Party1 or Party2.","inputs":[{"name":"counterparties","type":"Counterparty","cardinality":"1..*"},{"name":"roleEnumToExtract","type":"CounterpartyRoleEnum","cardinality":"1..1"}],"output":{"name":"counterparty","type":"Counterparty","cardinality":"0..1"}}]'
description: Defines a counterparty enumerated value, e.g. Party1 or Party2, with
an associated party reference. The product is agnostic to the actual parties to
the transaction, with the party references abstracted away from the product definition
and replaced by the CounterpartyEnum (e.g. values Party1 or Party2). The CounterpartyEnum
can then be positioned in the product (e.g. to specify which counterparty is the
payer, receiver etc) and this Counterparty type, which is positioned outside of
the product definition, allows the CounterpartyEnum to be associated with an actual
party reference.
comments:
- 'Rosetta func: ExtractCounterpartyByRole — Extracts from a list of Counterparty
data types, the Counterparty that corresponds to the role i.e. Party1 or Party2.'
in_subset:
- cdm_base_staticdata_party
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- gist:Assignment
- oscal:ResponsibleParty
related_mappings:
- iso29100:ThirdParty
slots:
- role
- partyReference
Induced
name: Counterparty
annotations:
rosetta_functions:
tag: rosetta_functions
value: '[{"name":"ExtractCounterpartyByRole","description":"Extracts from a list
of Counterparty data types, the Counterparty that corresponds to the role i.e.
Party1 or Party2.","inputs":[{"name":"counterparties","type":"Counterparty","cardinality":"1..*"},{"name":"roleEnumToExtract","type":"CounterpartyRoleEnum","cardinality":"1..1"}],"output":{"name":"counterparty","type":"Counterparty","cardinality":"0..1"}}]'
description: Defines a counterparty enumerated value, e.g. Party1 or Party2, with
an associated party reference. The product is agnostic to the actual parties to
the transaction, with the party references abstracted away from the product definition
and replaced by the CounterpartyEnum (e.g. values Party1 or Party2). The CounterpartyEnum
can then be positioned in the product (e.g. to specify which counterparty is the
payer, receiver etc) and this Counterparty type, which is positioned outside of
the product definition, allows the CounterpartyEnum to be associated with an actual
party reference.
comments:
- 'Rosetta func: ExtractCounterpartyByRole — Extracts from a list of Counterparty
data types, the Counterparty that corresponds to the role i.e. Party1 or Party2.'
in_subset:
- cdm_base_staticdata_party
from_schema: https://w3id.org/lmodel/common-domain-model
close_mappings:
- gist:Assignment
- oscal:ResponsibleParty
related_mappings:
- iso29100:ThirdParty
attributes:
role:
name: role
description: Specifies the CounterpartyEnum, e.g. either Party1 or Party2, that
is associated to the partyReference.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: Counterparty
domain_of:
- Counterparty
- AncillaryParty
- RelatedParty
- NaturalPersonRole
- PartyRole
range: CounterpartyRoleEnum
required: true
partyReference:
name: partyReference
annotations:
metadata_reference:
tag: metadata_reference
value: true
description: Specifies the party that is associated to the counterparty.
from_schema: https://w3id.org/lmodel/common-domain-model
rank: 1000
owner: Counterparty
domain_of:
- Counterparty
- AncillaryParty
- RelatedParty
- Account
- PartyRole
- PartyCustomisedWorkflow
- ContactInformationElection
- PartyAgreementIdentifier
range: Party
required: true