space.dailygame.profile
Schema Diff
+9 -0
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 4 non-breaking changes.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "space.dailygame.profile:body.favorites:items", sort: "maxLength", value: "64" }
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "space.dailygame.profile:body.favorites" }
- AddedVertex AddedVertex { vertex_id: "space.dailygame.profile:body.favorites:items" }
- AddedEdge AddedEdge { src: "space.dailygame.profile:body", tgt: "space.dailygame.profile:body.favorites", kind: "prop", name: Some("favorites") }
- AddedEdge AddedEdge { src: "space.dailygame.profile:body.favorites", tgt: "space.dailygame.profile:body.favorites:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "space.dailygame.profile:body.favorites" }AddedVertex { vertex_id: "space.dailygame.profile:body.favorites:items" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "space.dailygame.profile:body.favorites:items", sort: "maxLength", value: "64" }
Additional Notes
- Non-breaking: AddedEdge { src: "space.dailygame.profile:body", tgt: "space.dailygame.profile:body.favorites", kind: "prop", name: Some("favorites") }
- Non-breaking: AddedEdge { src: "space.dailygame.profile:body.favorites", tgt: "space.dailygame.profile:body.favorites:items", kind: "items", name: None }
1
1
{
2
2
"id": "space.dailygame.profile",
3
3
"defs": {
4
4
"main": {
5
5
"key": "literal:self",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"createdAt"
11
11
],
12
12
"properties": {
13
13
"games": {
14
14
"type": "array",
15
15
"items": {
16
16
"type": "string",
17
17
"maxLength": 64
18
18
},
19
19
"maxLength": 256,
20
20
"description": "Game ids from the app catalog that the user plays."
21
21
},
22
22
"timezone": {
23
23
"type": "string",
24
24
"maxLength": 128,
25
25
"description": "IANA timezone name used to compute daily resets for this user."
26
26
},
27
27
"createdAt": {
28
28
"type": "string",
29
29
"format": "datetime",
30
30
"description": "When this profile record was first created."
31
31
},
32
+
"favorites": {
33
+
"type": "array",
34
+
"items": {
35
+
"type": "string",
36
+
"maxLength": 64
37
+
},
38
+
"maxLength": 256,
39
+
"description": "Game ids that the user has favorited. Shown in a dedicated group on the home page."
40
+
},
32
41
"displayName": {
33
42
"type": "string",
34
43
"maxLength": 640,
35
44
"description": "Optional override of the user's Bluesky display name for this app.",
36
45
"maxGraphemes": 64
37
46
},
38
47
"displayOrder": {
39
48
"type": "array",
40
49
"items": {
41
50
"type": "string",
42
51
"maxLength": 64
43
52
},
44
53
"maxLength": 256,
45
54
"description": "Optional user-preferred ordering of game ids."
46
55
}
47
56
}
48
57
},
49
58
"description": "A user's daily-games profile. Singleton per repo (rkey = 'self')."
50
59
}
51
60
},
52
61
"$type": "com.atproto.lexicon.schema",
53
62
"lexicon": 1
54
63
}