-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathUser.yaml
More file actions
42 lines (42 loc) · 1008 Bytes
/
User.yaml
File metadata and controls
42 lines (42 loc) · 1008 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
type: object
required:
- platformUserId
- userType
properties:
id:
type: string
description: System-generated unique identifier
readOnly: true
example: User:019542f5-b3e7-1d02-0000-000000000001
umaAddress:
type: string
description: full UMA address
example: $john.doe@uma.domain.com
platformUserId:
type: string
description: Platform-specific user identifier
example: 9f84e0c2a72c4fa
userType:
$ref: ./UserType.yaml
createdAt:
type: string
format: date-time
description: Creation timestamp
readOnly: true
example: '2023-07-21T17:32:28Z'
updatedAt:
type: string
format: date-time
description: Last update timestamp
readOnly: true
example: '2023-07-21T17:32:28Z'
isDeleted:
type: boolean
description: Whether the user is marked as deleted
example: false
readOnly: true
discriminator:
propertyName: userType
mapping:
INDIVIDUAL: ./IndividualUser.yaml
BUSINESS: ./BusinessUser.yaml