pics.pixl.image
Schema Diff
+13 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "pics.pixl.image:body.preview" }
- AddedEdge AddedEdge { src: "pics.pixl.image:body", tgt: "pics.pixl.image:body.preview", kind: "prop", name: Some("preview") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pics.pixl.image:body.preview" }
Additional Notes
- Non-breaking: AddedEdge { src: "pics.pixl.image:body", tgt: "pics.pixl.image:body.preview", kind: "prop", name: Some("preview") }
1
1
{
2
2
"id": "pics.pixl.image",
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
"alt",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"alt": {
16
16
"type": "string",
17
17
"maxLength": 20000,
18
18
"description": "Alt text for the image.",
19
19
"maxGraphemes": 2000
20
20
},
21
21
"image": {
22
22
"type": "blob",
23
23
"accept": [
24
-
"image/*"
24
+
"image/jpeg",
25
+
"image/png",
26
+
"image/webp",
27
+
"image/gif",
28
+
"image/avif"
25
29
],
26
30
"maxSize": 50000000,
27
31
"description": "The original image file."
28
32
},
33
+
"preview": {
34
+
"type": "blob",
35
+
"accept": [
36
+
"image/webp"
37
+
],
38
+
"maxSize": 2000000,
39
+
"description": "A smaller WebP preview of the image."
40
+
},
29
41
"createdAt": {
30
42
"type": "string",
31
43
"format": "datetime"
32
44
}
33
45
}
34
46
}
35
47
}
36
48
},
37
49
"$type": "com.atproto.lexicon.schema",
38
50
"lexicon": 1,
39
51
"description": "An image stored in an AT Protocol repository."
40
52
}