-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfirebase-blueprint.json
More file actions
61 lines (61 loc) · 1.68 KB
/
Copy pathfirebase-blueprint.json
File metadata and controls
61 lines (61 loc) · 1.68 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"entities": {
"User": {
"title": "User",
"description": "User profile and kid progress data with secure parent control settings",
"type": "object",
"properties": {
"displayName": {
"type": "string",
"description": "User display name",
"maxLength": 100
},
"email": {
"type": "string",
"description": "User email address",
"maxLength": 150
},
"xp": {
"type": "number",
"description": "Earned learning points / XP"
},
"parentPasscodeHash": {
"type": "string",
"description": "SHA-256 salted hash of 4-digit parent passcode",
"maxLength": 128
},
"parentPasscodeSalt": {
"type": "string",
"description": "Cryptographic salt for parent passcode",
"maxLength": 64
},
"playtimeLimit": {
"type": "number",
"description": "Daily playtime limit in minutes"
},
"createdAt": {
"type": "string",
"description": "ISO timestamp when account was created",
"maxLength": 40
},
"lastActive": {
"type": "string",
"description": "ISO timestamp of last activity",
"maxLength": 40
},
"lang": {
"type": "string",
"description": "Selected language (tr or en)",
"enum": ["tr", "en"]
}
},
"required": ["displayName", "xp", "createdAt", "lang"]
}
},
"firestore": {
"/users/{userId}": {
"schema": "User",
"description": "Private user account documents restricted to owner only"
}
}
}