mirror of
https://github.com/valitydev/swag-claim-management.git
synced 2024-11-06 01:35:18 +00:00
renamed
This commit is contained in:
parent
6893c2f545
commit
e827fd6f8e
@ -1,6 +1,6 @@
|
||||
type: object
|
||||
allOf:
|
||||
- $ref: '#/definitions/Modification'
|
||||
- $ref: '#/definitions/IdentityModification'
|
||||
- type: object
|
||||
required:
|
||||
- partyID
|
9
spec/definitions/IdentityModification.yaml
Normal file
9
spec/definitions/IdentityModification.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
type: object
|
||||
discriminator: identityModificationType
|
||||
required:
|
||||
- identityModificationType
|
||||
properties:
|
||||
identityModificationType:
|
||||
type: string
|
||||
enum:
|
||||
- IdentityCreationModification
|
10
spec/definitions/IdentityModificationUnit.yaml
Normal file
10
spec/definitions/IdentityModificationUnit.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
- modification
|
||||
properties:
|
||||
id:
|
||||
description: Идентификатор
|
||||
type: string
|
||||
modification:
|
||||
$ref: '#/definitions/IdentityModification'
|
@ -9,5 +9,5 @@ properties:
|
||||
enum:
|
||||
- PartyModification
|
||||
- ClaimModification
|
||||
- IdentityCreation
|
||||
- WalletCreation
|
||||
- IdentityModificationUnit
|
||||
- WalletModificationUnit
|
@ -1,6 +1,6 @@
|
||||
type: object
|
||||
allOf:
|
||||
- $ref: '#/definitions/Modification'
|
||||
- $ref: '#/definitions/WalletModification'
|
||||
- type: object
|
||||
required:
|
||||
- name
|
9
spec/definitions/WalletModification.yaml
Normal file
9
spec/definitions/WalletModification.yaml
Normal file
@ -0,0 +1,9 @@
|
||||
type: object
|
||||
discriminator: walletModificationType
|
||||
required:
|
||||
- walletModificationType
|
||||
properties:
|
||||
walletModificationType:
|
||||
type: string
|
||||
enum:
|
||||
- WalletCreationModification
|
10
spec/definitions/WalletModificationUnit.yaml
Normal file
10
spec/definitions/WalletModificationUnit.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
type: object
|
||||
required:
|
||||
- id
|
||||
- modification
|
||||
properties:
|
||||
id:
|
||||
description: Идентификатор
|
||||
type: string
|
||||
modification:
|
||||
$ref: '#/definitions/WalletModification'
|
Loading…
Reference in New Issue
Block a user