-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuser_schema.json
More file actions
39 lines (39 loc) · 1.02 KB
/
user_schema.json
File metadata and controls
39 lines (39 loc) · 1.02 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"uid": {
"type": "string",
"description": "Unique identifier for the user."
},
"display_name": {
"type": "string",
"description": "The display name of the user."
},
"email": {
"type": "string",
"format": "email",
"description": "Email address of the user."
},
"photo_url": {
"type": "string",
"format": "uri",
"description": "URL of the user's profile picture."
},
"birthday": {
"type": "string",
"format": "date-time",
"description": "Timestamp representing the user's birthday."
},
"hometown": {
"type": "string",
"description": "The hometown of the user."
},
"created_time": {
"type": "string",
"format": "date-time",
"description": "Timestamp when the user was created."
}
},
"required": ["uid", "display_name", "email", "created_time"]
}