-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathevent.json
More file actions
38 lines (38 loc) · 819 Bytes
/
event.json
File metadata and controls
38 lines (38 loc) · 819 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"eventId": {
"type": "string",
"maxLength": 128
},
"emitterCode": {
"type": "integer",
"minimum": 0,
"maximum": 100
},
"action": {
"type": "string",
"enum": ["sign_in", "sign_out", "create_account", "delete_account"]
},
"user": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 128
},
"sessionId": {
"type": "string",
"maxLength": 128
},
"deviceId": {
"type": "string",
"maxLength": 128
}
},
"required": ["id", "sessionId"]
}
},
"required": ["eventId", "emitterCode", "action", "user"]
}