Merge pull request #22 from valitydev/ft/identity_and_wallet_claims

Add inheritance for identity and wallet modifications
This commit is contained in:
malkoas 2023-06-08 21:40:41 +03:00 committed by GitHub
commit 2c84fce768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 18 deletions

View File

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

View File

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