pics.2bit.feed.photo
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.feed.photo:body.labels" }
- AddedEdge AddedEdge { src: "pics.2bit.feed.photo:body", tgt: "pics.2bit.feed.photo:body.labels", kind: "prop", name: Some("labels") }
- AddedEdge AddedEdge { src: "pics.2bit.feed.photo: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.feed.photo:body.labels" }
Additional Notes
- Non-breaking: AddedEdge { src: "pics.2bit.feed.photo:body", tgt: "pics.2bit.feed.photo:body.labels", kind: "prop", name: Some("labels") }
- Non-breaking: AddedEdge { src: "pics.2bit.feed.photo:body.labels", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
1
1
{
2
2
"id": "pics.2bit.feed.photo",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"image",
11
11
"colors",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"alt": {
16
16
"type": "string",
17
17
"maxLength": 3000,
18
18
"description": "Alt text for accessibility.",
19
19
"maxGraphemes": 300
20
20
},
21
21
"image": {
22
22
"type": "bytes",
23
23
"maxLength": 3584,
24
24
"minLength": 3584,
25
25
"description": "128x112 2bpp Game Boy Camera tile data: 16x14 tiles in row-major order, 16 bytes per tile (8 rows of low+high bit-plane bytes, MSB-first)."
26
26
},
27
27
"colors": {
28
28
"type": "array",
29
29
"items": {
30
30
"type": "integer",
31
31
"maximum": 16777215,
32
32
"minimum": 0
33
33
},
34
34
"maxLength": 4,
35
35
"minLength": 4,
36
36
"description": "Four 24-bit RGB colors (0 to 0xFFFFFF) corresponding to 2bpp pixel values 0 through 3, where 0 is lightest and 3 is darkest."
37
37
},
38
+
"labels": {
39
+
"ref": "com.atproto.label.defs#selfLabels",
40
+
"type": "ref",
41
+
"description": "Self-applied content labels, set by the author. 2bit.pics writes at most one of porn/sexual/nudity/graphic-media; clients blur or warn on labeled photos."
42
+
},
38
43
"caption": {
39
44
"type": "string",
40
45
"maxLength": 5000,
41
46
"description": "Free-text caption.",
42
47
"maxGraphemes": 500
43
48
},
44
49
"createdAt": {
45
50
"type": "string",
46
51
"format": "datetime",
47
52
"description": "When this photo record was published."
48
53
}
49
54
}
50
55
},
51
56
"description": "A single 4-shade, low-resolution photo. The core record of 2bit.pics."
52
57
}
53
58
},
54
59
"$type": "com.atproto.lexicon.schema",
55
60
"lexicon": 1
56
61
}