at.meme-museum.collectionItem
Schema Diff
+12 -28
Compatibility Analysis
Breaking Changes Detected
14 breaking changes, 5 non-breaking changes.
Breaking Changes (14)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.collection", kind: "prop", name: Some("collection") }
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.meme", kind: "prop", name: Some("meme") }
- RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.name", kind: "prop", name: Some("name") }
- RemovedVertex RemovedVertex { vertex_id: "app.bsky.richtext.facet" }
- RemovedVertex RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.avatar" }
- RemovedVertex RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.description" }
- RemovedVertex RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.descriptionFacets" }
- RemovedVertex RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.descriptionFacets:items" }
- RemovedVertex RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.name" }
- RemovedEdge RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.avatar", kind: "prop", name: Some("avatar") }
- RemovedEdge RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.description", kind: "prop", name: Some("description") }
- RemovedEdge RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.descriptionFacets", kind: "prop", name: Some("descriptionFacets") }
- RemovedEdge RemovedEdge { src: "at.meme-museum.collectionItem:body.descriptionFacets", tgt: "at.meme-museum.collectionItem:body.descriptionFacets:items", kind: "items", name: None }
- RemovedEdge RemovedEdge { src: "at.meme-museum.collectionItem:body.descriptionFacets:items", tgt: "app.bsky.richtext.facet", kind: "ref", name: None }
Non-Breaking Changes (5)
- AddedVertex AddedVertex { vertex_id: "at.meme-museum.collectionItem:body.collection" }
- AddedVertex AddedVertex { vertex_id: "at.meme-museum.collectionItem:body.meme" }
- AddedVertex AddedVertex { vertex_id: "com.atproto.repo.strongRef" }
- AddedEdge AddedEdge { src: "at.meme-museum.collectionItem:body.collection", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- AddedEdge AddedEdge { src: "at.meme-museum.collectionItem:body.meme", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "app.bsky.richtext.facet" }RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.avatar" }RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.description" }RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.descriptionFacets" }RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.descriptionFacets:items" }RemovedVertex { vertex_id: "at.meme-museum.collectionItem:body.name" }
Added Elements
AddedVertex { vertex_id: "at.meme-museum.collectionItem:body.collection" }AddedVertex { vertex_id: "at.meme-museum.collectionItem:body.meme" }AddedVertex { vertex_id: "com.atproto.repo.strongRef" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.collection", kind: "prop", name: Some("collection") }
- Breaking: RequiredEdgeAdded { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.meme", kind: "prop", name: Some("meme") }
- Breaking: RequiredEdgeRemoved { vertex_id: "at.meme-museum.collectionItem:body", src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.name", kind: "prop", name: Some("name") }
- Breaking: RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.avatar", kind: "prop", name: Some("avatar") }
- Breaking: RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.description", kind: "prop", name: Some("description") }
- Breaking: RemovedEdge { src: "at.meme-museum.collectionItem:body", tgt: "at.meme-museum.collectionItem:body.descriptionFacets", kind: "prop", name: Some("descriptionFacets") }
- Breaking: RemovedEdge { src: "at.meme-museum.collectionItem:body.descriptionFacets", tgt: "at.meme-museum.collectionItem:body.descriptionFacets:items", kind: "items", name: None }
- Breaking: RemovedEdge { src: "at.meme-museum.collectionItem:body.descriptionFacets:items", tgt: "app.bsky.richtext.facet", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.meme-museum.collectionItem:body.collection", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
- Non-breaking: AddedEdge { src: "at.meme-museum.collectionItem:body.meme", tgt: "com.atproto.repo.strongRef", kind: "ref", name: None }
1
1
{
2
2
"id": "at.meme-museum.collectionItem",
3
3
"defs": {
4
4
"main": {
5
-
"key": "any",
5
+
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
-
"name",
10
+
"collection",
11
+
"meme",
11
12
"createdAt"
12
13
],
13
14
"properties": {
14
-
"name": {
15
-
"type": "string",
16
-
"maxLength": 640,
17
-
"minLength": 1,
18
-
"description": "TODO: title name of record; can not be empty",
19
-
"maxGraphemes": 64
20
-
},
21
-
"avatar": {
22
-
"type": "blob",
23
-
"accept": [
24
-
"image/png",
25
-
"image/jpeg"
26
-
],
27
-
"maxSize": 2000000
15
+
"meme": {
16
+
"ref": "com.atproto.repo.strongRef",
17
+
"type": "ref",
18
+
"description": "Reference to the at.meme-museum.meme record."
28
19
},
29
20
"createdAt": {
30
21
"type": "string",
31
22
"format": "datetime"
32
23
},
33
-
"description": {
34
-
"type": "string",
35
-
"maxLength": 3000,
36
-
"maxGraphemes": 300
37
-
},
38
-
"descriptionFacets": {
39
-
"type": "array",
40
-
"items": {
41
-
"ref": "app.bsky.richtext.facet",
42
-
"type": "ref"
43
-
}
24
+
"collection": {
25
+
"ref": "com.atproto.repo.strongRef",
26
+
"type": "ref",
27
+
"description": "Reference to the at.meme-museum.collection record."
44
28
}
45
29
}
46
30
},
47
-
"description": "TODO: describe purpose of this schema"
31
+
"description": "Membership of one meme in one collection. One record per (collection, meme) pair, mirroring the app.bsky.graph.list/listitem split rather than an inline member array -- see docs/data-model.md."
48
32
}
49
33
},
50
34
"$type": "com.atproto.lexicon.schema",
51
35
"lexicon": 1
52
36
}