app.bsky.actor.link
Schema Diff
+7 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "app.bsky.actor.link:body.labels" }
- AddedVertex AddedVertex { vertex_id: "app.bsky.actor.link:body.labels:variant0" }
- AddedVertex AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
- AddedEdge AddedEdge { src: "app.bsky.actor.link:body", tgt: "app.bsky.actor.link:body.labels", kind: "prop", name: Some("labels") }
- AddedEdge AddedEdge { src: "app.bsky.actor.link:body.labels", tgt: "app.bsky.actor.link:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
- AddedEdge AddedEdge { src: "app.bsky.actor.link:body.labels:variant0", tgt: "com.atproto.label.defs#selfLabels", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.bsky.actor.link:body.labels" }AddedVertex { vertex_id: "app.bsky.actor.link:body.labels:variant0" }AddedVertex { vertex_id: "com.atproto.label.defs#selfLabels" }
Additional Notes
- Non-breaking: AddedEdge { src: "app.bsky.actor.link:body", tgt: "app.bsky.actor.link:body.labels", kind: "prop", name: Some("labels") }
- Non-breaking: AddedEdge { src: "app.bsky.actor.link:body.labels", tgt: "app.bsky.actor.link:body.labels:variant0", kind: "variant", name: Some("com.atproto.label.defs#selfLabels") }
- Non-breaking: AddedEdge { src: "app.bsky.actor.link:body.labels:variant0", 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 link shown on the account's profile. The profile record's links field sets which links are shown, and in what order.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"createdAt": {
10
10
"format": "datetime",
11
11
"type": "string"
12
12
},
13
13
"icon": {
14
14
"accept": [
15
15
"image/png",
16
16
"image/jpeg",
17
17
"image/webp"
18
18
],
19
19
"description": "The destination site's icon, uploaded when the link is saved.",
20
20
"maxSize": 100000,
21
21
"type": "blob"
22
22
},
23
+
"labels": {
24
+
"description": "Self-label values for this link.",
25
+
"refs": [
26
+
"com.atproto.label.defs#selfLabels"
27
+
],
28
+
"type": "union"
29
+
},
23
30
"title": {
24
31
"description": "Optional label for the link. Clients can fall back to the destination's domain.",
25
32
"maxGraphemes": 40,
26
33
"maxLength": 320,
27
34
"type": "string"
28
35
},
29
36
"url": {
30
37
"description": "The link destination, an https URL.",
31
38
"format": "uri",
32
39
"type": "string"
33
40
}
34
41
},
35
42
"required": [
36
43
"url",
37
44
"createdAt"
38
45
],
39
46
"type": "object"
40
47
},
41
48
"type": "record"
42
49
}
43
50
},
44
51
"id": "app.bsky.actor.link",
45
52
"lexicon": 1
46
53
}