app.bivri.feed.artwork
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.artwork:body.aiProtection" }
- AddedVertex AddedVertex { vertex_id: "app.bivri.feed.defs#aiProtection" }
- AddedEdge AddedEdge { src: "app.bivri.feed.artwork:body", tgt: "app.bivri.feed.artwork:body.aiProtection", kind: "prop", name: Some("aiProtection") }
- AddedEdge AddedEdge { src: "app.bivri.feed.artwork:body.aiProtection", tgt: "app.bivri.feed.defs#aiProtection", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.bivri.feed.artwork:body.aiProtection" }AddedVertex { vertex_id: "app.bivri.feed.defs#aiProtection" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.bivri.feed.artwork:body", tgt: "app.bivri.feed.artwork:body.aiProtection", kind: "prop", name: Some("aiProtection") }
- Non-breaking: AddedEdge { src: "app.bivri.feed.artwork:body.aiProtection", tgt: "app.bivri.feed.defs#aiProtection", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"record": {
7
7
"properties": {
8
+
"aiProtection": {
9
+
"description": "Public metadata stating that the published images were processed by the named protection provider.",
10
+
"ref": "app.bivri.feed.defs#aiProtection",
11
+
"type": "ref"
12
+
},
8
13
"createdAt": {
9
14
"description": "Client-declared timestamp of when the artwork was published.",
10
15
"format": "datetime",
11
16
"type": "string"
12
17
},
13
18
"description": {
14
19
"description": "Free-form description of the artwork.",
15
20
"maxGraphemes": 300,
16
21
"maxLength": 3000,
17
22
"type": "string"
18
23
},
19
24
"labels": {
20
25
"description": "Self-label values the author declared on this artwork, such as a spoiler warning. These are author metadata, not platform moderation decisions.",
21
26
"refs": [
22
27
"com.atproto.label.defs#selfLabels"
23
28
],
24
29
"type": "union"
25
30
},
26
31
"langs": {
27
32
"description": "Human languages of the artwork's title and description.",
28
33
"items": {
29
34
"format": "language",
30
35
"type": "string"
31
36
},
32
37
"maxLength": 3,
33
38
"type": "array"
34
39
},
35
40
"media": {
36
41
"description": "Images making up the artwork, in display order. At least one is required.",
37
42
"items": {
38
43
"ref": "#mediaItem",
39
44
"type": "ref"
40
45
},
41
46
"maxLength": 50,
42
47
"minLength": 1,
43
48
"type": "array"
44
49
},
45
50
"tags": {
46
51
"description": "Author-chosen tags used for discovery and search.",
47
52
"items": {
48
53
"maxGraphemes": 64,
49
54
"maxLength": 640,
50
55
"minLength": 1,
51
56
"type": "string"
52
57
},
53
58
"maxLength": 8,
54
59
"type": "array"
55
60
},
56
61
"title": {
57
62
"description": "Title of the artwork.",
58
63
"maxGraphemes": 50,
59
64
"maxLength": 500,
60
65
"minLength": 1,
61
66
"type": "string"
62
67
},
63
68
"updatedAt": {
64
69
"description": "Client-declared timestamp of the last edit to this record.",
65
70
"format": "datetime",
66
71
"type": "string"
67
72
}
68
73
},
69
74
"required": [
70
75
"title",
71
76
"media",
72
77
"createdAt"
73
78
],
74
79
"type": "object"
75
80
},
76
81
"type": "record"
77
82
},
78
83
"mediaItem": {
79
84
"properties": {
80
85
"alt": {
81
86
"description": "Alternative text describing the image for members who cannot see it.",
82
87
"type": "string"
83
88
},
84
89
"aspectRatio": {
85
90
"ref": "app.bivri.feed.defs#aspectRatio",
86
91
"type": "ref"
87
92
},
88
93
"blob": {
89
94
"accept": [
90
95
"image/jpeg",
91
96
"image/png",
92
97
"image/gif"
93
98
],
94
99
"description": "Image blob for this item. The write methods accept these three types and no others.",
95
100
"maxSize": 50000000,
96
101
"type": "blob"
97
102
}
98
103
},
99
104
"required": [
100
105
"blob",
101
106
"alt"
102
107
],
103
108
"type": "object"
104
109
}
105
110
},
106
111
"description": "Record containing a Bivri artwork: one or more images published together under a single title.",
107
112
"id": "app.bivri.feed.artwork",
108
113
"lexicon": 1
109
114
}