@@ -4303,20 +4303,11 @@ components:
43034303 required :
43044304 - data
43054305 type : object
4306- TrusteesRelationship :
4307- properties :
4308- trustees :
4309- $ref : ' #/components/schemas/Trustees_Relationship'
4310- type : object
4311- BeneficiariesRelationship :
4312- properties :
4313- beneficiaries :
4314- $ref : ' #/components/schemas/Beneficiaries_Relationship'
4315- type : object
4316- BeneficialOwnersRelationship :
4306+ OrgRelationship :
4307+ additionalProperties : false
43174308 properties :
4318- beneficialOwners :
4319- $ref : ' #/components/schemas/Beneficial_Owners_Relationship '
4309+ org :
4310+ $ref : ' #/components/schemas/Org_Relationship '
43204311 type : object
43214312 Relationship :
43224313 additionalProperties : false
@@ -4327,16 +4318,14 @@ components:
43274318 - data
43284319 title : Relationship
43294320 type : object
4330- ApplicationRelationships :
4321+ IndividualApplicationRelationships :
43314322 allOf :
43324323 - additionalProperties : false
43334324 title : Application Relationships
43344325 type : object
43354326 - $ref : ' #/components/schemas/CustomerRelationship'
43364327 - $ref : ' #/components/schemas/DocumentsRelationship'
4337- - $ref : ' #/components/schemas/TrusteesRelationship'
4338- - $ref : ' #/components/schemas/BeneficiariesRelationship'
4339- - $ref : ' #/components/schemas/BeneficialOwnersRelationship'
4328+ - $ref : ' #/components/schemas/OrgRelationship'
43404329 - properties :
43414330 applicationForm :
43424331 $ref : ' #/components/schemas/Relationship'
@@ -4349,7 +4338,7 @@ components:
43494338 attributes :
43504339 $ref : ' #/components/schemas/IndividualApplication_allOf_attributes'
43514340 relationships :
4352- $ref : ' #/components/schemas/ApplicationRelationships '
4341+ $ref : ' #/components/schemas/IndividualApplicationRelationships '
43534342 required :
43544343 - attributes
43554344 - id
@@ -4535,6 +4524,24 @@ components:
45354524 Year :
45364525 pattern : " ^\\ d{4}$"
45374526 type : string
4527+ BeneficialOwnersRelationship :
4528+ properties :
4529+ beneficialOwners :
4530+ $ref : ' #/components/schemas/Beneficial_Owners_Relationship'
4531+ type : object
4532+ BusinessApplicationRelationships :
4533+ allOf :
4534+ - additionalProperties : false
4535+ title : Application Relationships
4536+ type : object
4537+ - $ref : ' #/components/schemas/CustomerRelationship'
4538+ - $ref : ' #/components/schemas/DocumentsRelationship'
4539+ - $ref : ' #/components/schemas/BeneficialOwnersRelationship'
4540+ - $ref : ' #/components/schemas/OrgRelationship'
4541+ - properties :
4542+ applicationForm :
4543+ $ref : ' #/components/schemas/Relationship'
4544+ type : object
45384545 BusinessApplication :
45394546 allOf :
45404547 - $ref : ' #/components/schemas/Application'
@@ -4543,7 +4550,7 @@ components:
45434550 attributes :
45444551 $ref : ' #/components/schemas/BusinessApplication_allOf_attributes'
45454552 relationships :
4546- $ref : ' #/components/schemas/ApplicationRelationships '
4553+ $ref : ' #/components/schemas/BusinessApplicationRelationships '
45474554 required :
45484555 - attributes
45494556 - id
@@ -5220,12 +5227,6 @@ components:
52205227 - phone
52215228 title : Authorized User
52225229 type : object
5223- OrgRelationship :
5224- additionalProperties : false
5225- properties :
5226- org :
5227- $ref : ' #/components/schemas/Org_Relationship'
5228- type : object
52295230 CustomerRelationships :
52305231 allOf :
52315232 - additionalProperties : true
@@ -5279,7 +5280,7 @@ components:
52795280 attributes :
52805281 $ref : ' #/components/schemas/CreateCreditAccount_attributes'
52815282 relationships :
5282- $ref : ' #/components/schemas/CustomerRelationship '
5283+ $ref : ' #/components/schemas/CreateCreditAccount_relationships '
52835284 title : Create Credit Account
52845285 type : object
52855286 CustomersRelationship :
@@ -10436,62 +10437,27 @@ components:
1043610437 type : array
1043710438 title : Documents Relationship
1043810439 type : object
10439- Trustees_Relationship_data_inner :
10440- additionalProperties : false
10441- properties :
10442- type :
10443- default : trustee
10444- type : string
10445- id :
10446- pattern : " ^[1-9]\\ d*$"
10447- type : string
10448- type : object
10449- Trustees_Relationship :
10450- additionalProperties : false
10451- properties :
10452- data :
10453- items :
10454- $ref : ' #/components/schemas/Trustees_Relationship_data_inner'
10455- type : array
10456- title : Trustees Relationship
10457- type : object
10458- Beneficiaries_Relationship_data_inner :
10440+ Org_Relationship_data :
1045910441 additionalProperties : false
1046010442 properties :
10461- type :
10462- default : beneficiary
10463- type : string
1046410443 id :
1046510444 pattern : " ^[1-9]\\ d*$"
1046610445 type : string
10467- type : object
10468- Beneficiaries_Relationship :
10469- additionalProperties : false
10470- properties :
10471- data :
10472- items :
10473- $ref : ' #/components/schemas/Beneficiaries_Relationship_data_inner'
10474- type : array
10475- title : Beneficiaries Relationship
10476- type : object
10477- Beneficial_Owners_Relationship_data_inner :
10478- additionalProperties : false
10479- properties :
1048010446 type :
10481- default : beneficialOwner
10482- type : string
10483- id :
10484- pattern : " ^[1-9]\\ d*$"
10447+ default : org
1048510448 type : string
10449+ required :
10450+ - id
10451+ - type
1048610452 type : object
10487- Beneficial_Owners_Relationship :
10453+ Org_Relationship :
1048810454 additionalProperties : false
1048910455 properties :
1049010456 data :
10491- items :
10492- $ref : ' #/components/schemas/Beneficial_Owners_Relationship_data_inner '
10493- type : array
10494- title : Beneficial Owners Relationship
10457+ $ref : ' #/components/schemas/Org_Relationship_data '
10458+ required :
10459+ - data
10460+ title : Org Relationship
1049510461 type : object
1049610462 Relationship_data :
1049710463 additionalProperties : false
@@ -10628,6 +10594,25 @@ components:
1062810594 - fullName
1062910595 - status
1063010596 type : object
10597+ Beneficial_Owners_Relationship_data_inner :
10598+ additionalProperties : false
10599+ properties :
10600+ type :
10601+ default : beneficialOwner
10602+ type : string
10603+ id :
10604+ pattern : " ^[1-9]\\ d*$"
10605+ type : string
10606+ type : object
10607+ Beneficial_Owners_Relationship :
10608+ additionalProperties : false
10609+ properties :
10610+ data :
10611+ items :
10612+ $ref : ' #/components/schemas/Beneficial_Owners_Relationship_data_inner'
10613+ type : array
10614+ title : Beneficial Owners Relationship
10615+ type : object
1063110616 BusinessApplication_allOf_attributes :
1063210617 properties :
1063310618 createdAt :
@@ -11541,28 +11526,6 @@ components:
1154111526 title : Credit Account Relationships
1154211527 type : object
1154311528 - $ref : ' #/components/schemas/CustomerRelationship'
11544- Org_Relationship_data :
11545- additionalProperties : false
11546- properties :
11547- id :
11548- pattern : " ^[1-9]\\ d*$"
11549- type : string
11550- type :
11551- default : org
11552- type : string
11553- required :
11554- - id
11555- - type
11556- type : object
11557- Org_Relationship :
11558- additionalProperties : false
11559- properties :
11560- data :
11561- $ref : ' #/components/schemas/Org_Relationship_data'
11562- required :
11563- - data
11564- title : Org Relationship
11565- type : object
1156611529 IndividualCustomer_allOf_attributes :
1156711530 properties :
1156811531 createdAt :
@@ -11767,6 +11730,13 @@ components:
1176711730 - creditLimit
1176811731 - creditTerms
1176911732 type : object
11733+ CreateCreditAccount_relationships :
11734+ allOf :
11735+ - additionalProperties : false
11736+ required :
11737+ - customer
11738+ type : object
11739+ - $ref : ' #/components/schemas/CustomerRelationship'
1177011740 Customers_Relationship_data_inner :
1177111741 properties :
1177211742 id :
0 commit comments