{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/RelatedPartyOrPartyRole_FVO",
"title": "RelatedPartyOrPartyRole_FVO",
"allOf": [
{
"$ref": "#/components/schemas/Extensible_FVO"
},
{
"type": "object",
"description": "RelatedParty reference. A related party defines party or party role or its reference, linked to a specific entity",
"properties": {
"role": {
"description": "Role played by the related party or party role in the context of the specific entity it is linked to. Such as 'initiator', 'customer', 'salesAgent', 'user'",
"type": "string"
},
"partyOrPartyRole": {
"$ref": "#/components/schemas/PartyOrPartyRole_FVO"
}
},
"required": [
"role"
]
}
],
"discriminator": {
"propertyName": "@type",
"mapping": {
"RelatedPartyOrPartyRole": "#/components/schemas/RelatedPartyOrPartyRole_FVO"
}
}
}