community.gifthood.interest
Schema Diff
+8 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 4 non-breaking changes.
Non-Breaking Changes (4)
- AddedVertex AddedVertex { vertex_id: "community.gifthood.interest:body.facets" }
- AddedVertex AddedVertex { vertex_id: "community.gifthood.interest:body.facets:items" }
- AddedEdge AddedEdge { src: "community.gifthood.interest:body", tgt: "community.gifthood.interest:body.facets", kind: "prop", name: Some("facets") }
- AddedEdge AddedEdge { src: "community.gifthood.interest:body.facets", tgt: "community.gifthood.interest:body.facets:items", kind: "items", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "community.gifthood.interest:body.facets" }AddedVertex { vertex_id: "community.gifthood.interest:body.facets:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "community.gifthood.interest:body", tgt: "community.gifthood.interest:body.facets", kind: "prop", name: Some("facets") }
- Non-breaking: AddedEdge { src: "community.gifthood.interest:body.facets", tgt: "community.gifthood.interest:body.facets:items", kind: "items", name: None }
1
1
{
2
2
"id": "community.gifthood.interest",
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
"subject",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"langs": {
15
15
"type": "array",
16
16
"items": {
17
17
"type": "string",
18
18
"format": "language"
19
19
},
20
20
"maxLength": 3,
21
21
"description": "Language(s) the message is written in, as BCP-47 language tags. Author-asserted; clients default from the composer's locale."
22
22
},
23
+
"facets": {
24
+
"type": "array",
25
+
"items": {
26
+
"ref": "app.bsky.richtext.facet",
27
+
"type": "ref"
28
+
},
29
+
"description": "Annotations over `message` (mentions, links) keyed by UTF-8 byte range. Reuses app.bsky.richtext.facet for atmosphere-wide interop. Author-asserted at compose time; clients MUST treat them as display hints, re-validate ranges, and never trust a facet URI over the visible text. Addresses and phone numbers are deliberately NOT faceted here — those affordances are direct-message-only."
30
+
},
23
31
"message": {
24
32
"type": "string",
25
33
"maxLength": 600,
26
34
"description": "Optional short public note (e.g. 'still available?'). Pickup details belong in direct messages, not here.",
27
35
"maxGraphemes": 300
28
36
},
29
37
"subject": {
30
38
"ref": "com.atproto.repo.strongRef",
31
39
"type": "ref",
32
40
"description": "Strong reference (URI + CID) to the listing this interest refers to."
33
41
},
34
42
"createdAt": {
35
43
"type": "string",
36
44
"format": "datetime"
37
45
}
38
46
}
39
47
},
40
48
"description": "A public expression of interest in a listing. Coordination of pickup happens off-app via direct message."
41
49
}
42
50
},
43
51
"$type": "com.atproto.lexicon.schema",
44
52
"lexicon": 1
45
53
}