-
Notifications
You must be signed in to change notification settings - Fork 3
/
user.schema.json
41 lines (41 loc) · 1.12 KB
/
user.schema.json
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
{
"$id": "https://casimir.co/user.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "User",
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "The user address used to sign in"
},
"created_at": {
"type": "string",
"description": "The account creation date in ISO 8601 format"
},
"id": {
"type": "serial",
"description": "The user ID (PK)"
},
"updated_at": {
"type": "string",
"description": "The account last update date in ISO 8601 format"
},
"agreed_to_terms_of_service": {
"type": "boolean",
"description": "The user aggreement status",
"default": false
},
"wallet_provider": {
"type": "string",
"description": "The wallet provider used set a primary user account"
}
},
"required": [
"address",
"created_at",
"id",
"updated_at",
"user_aggreement",
"wallet_provider"
]
}