This commit is contained in:
Артем 2023-05-30 10:46:27 +03:00
parent 6893c2f545
commit e827fd6f8e
7 changed files with 42 additions and 4 deletions

View File

@ -1,6 +1,6 @@
type: object
allOf:
- $ref: '#/definitions/Modification'
- $ref: '#/definitions/IdentityModification'
- type: object
required:
- partyID

View File

@ -0,0 +1,9 @@
type: object
discriminator: identityModificationType
required:
- identityModificationType
properties:
identityModificationType:
type: string
enum:
- IdentityCreationModification

View File

@ -0,0 +1,10 @@
type: object
required:
- id
- modification
properties:
id:
description: Идентификатор
type: string
modification:
$ref: '#/definitions/IdentityModification'

View File

@ -9,5 +9,5 @@ properties:
enum:
- PartyModification
- ClaimModification
- IdentityCreation
- WalletCreation
- IdentityModificationUnit
- WalletModificationUnit

View File

@ -1,6 +1,6 @@
type: object
allOf:
- $ref: '#/definitions/Modification'
- $ref: '#/definitions/WalletModification'
- type: object
required:
- name

View File

@ -0,0 +1,9 @@
type: object
discriminator: walletModificationType
required:
- walletModificationType
properties:
walletModificationType:
type: string
enum:
- WalletCreationModification

View File

@ -0,0 +1,10 @@
type: object
required:
- id
- modification
properties:
id:
description: Идентификатор
type: string
modification:
$ref: '#/definitions/WalletModification'