pics.2bit.actor.profile
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
- AddedVertex AddedVertex { vertex_id: "pics.2bit.actor.profile:body.labels" }
- AddedEdge AddedEdge { src: "pics.2bit.actor.profile:body", tgt: "pics.2bit.actor.profile:body.labels", kind: "prop", name: Some("labels") }
- AddedEdge AddedEdge { src: "pics.2bit.actor.profile:body.labels", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }AddedVertex { vertex_id: "pics.2bit.actor.profile:body.labels" }
Additional Notes
- Non-breaking: AddedEdge { src: "pics.2bit.actor.profile:body", tgt: "pics.2bit.actor.profile:body.labels", kind: "prop", name: Some("labels") }
- Non-breaking: AddedEdge { src: "pics.2bit.actor.profile:body.labels", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A 2bit.pics profile.",
6
6
"key": "literal:self",
7
7
"record": {
8
8
"properties": {
9
9
"avatar": {
10
10
"description": "128x112 2bpp Game Boy Camera tile data, same layout as pics.2bit.feed.photo#image. Square avatars are produced by cropping at render time, not on write.",
11
11
"maxLength": 3584,
12
12
"minLength": 3584,
13
13
"type": "bytes"
14
14
},
15
15
"avatarColors": {
16
16
"description": "Four 24-bit RGB colors (0 to 0xFFFFFF) corresponding to the avatar's 2bpp pixel values 0 through 3, where 0 is lightest and 3 is darkest.",
17
17
"items": {
18
18
"maximum": 16777215,
19
19
"minimum": 0,
20
20
"type": "integer"
21
21
},
22
22
"maxLength": 4,
23
23
"minLength": 4,
24
24
"type": "array"
25
25
},
26
26
"createdAt": {
27
27
"description": "When this profile record was first published.",
28
28
"format": "datetime",
29
29
"type": "string"
30
30
},
31
31
"description": {
32
32
"maxGraphemes": 256,
33
33
"maxLength": 2560,
34
34
"type": "string"
35
35
},
36
36
"displayName": {
37
37
"maxGraphemes": 64,
38
38
"maxLength": 640,
39
39
"type": "string"
40
40
},
41
41
"gear": {
42
42
"description": "Main rig flex slot.",
43
43
"maxLength": 100,
44
44
"type": "string"
45
45
},
46
+
"labels": {
47
+
"description": "Self-applied labels on this account. 2bit.pics writes at most `!no-unauthenticated`, the atproto value meaning \"don't show this account to logged-out viewers\" - the same one Bluesky writes for its own logged-out visibility setting, so other clients already know how to read it.",
48
+
"ref": "com.atproto.label.defs#selfLabels",
49
+
"type": "ref"
50
+
},
46
51
"updatedAt": {
47
52
"description": "When this profile record was last edited. Unset on a profile that has never been edited since creation.",
48
53
"format": "datetime",
49
54
"type": "string"
50
55
}
51
56
},
52
57
"type": "object"
53
58
},
54
59
"type": "record"
55
60
}
56
61
},
57
62
"id": "pics.2bit.actor.profile",
58
63
"lexicon": 1
59
64
}