wiki.lichen.noteSnapshot
Schema Diff
+10 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "wiki.lichen.noteSnapshot:body.status" }
- AddedEdge AddedEdge { src: "wiki.lichen.noteSnapshot:body", tgt: "wiki.lichen.noteSnapshot:body.status", kind: "prop", name: Some("status") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "wiki.lichen.noteSnapshot:body.status" }
Additional Notes
- Non-breaking: AddedEdge { src: "wiki.lichen.noteSnapshot:body", tgt: "wiki.lichen.noteSnapshot:body.status", kind: "prop", name: Some("status") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "A contributor's full copy of a note as they last saved it. Revisions define the note. The rkey is the note's rkey.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"atRevision": {
10
10
"description": "AT-URI of the head revision when this copy was saved.",
11
11
"format": "at-uri",
12
12
"type": "string"
13
13
},
14
14
"content": {
15
15
"description": "The note's whole body at atRevision.",
16
16
"maxLength": 1000000,
17
17
"type": "string"
18
18
},
19
19
"createdAt": {
20
20
"description": "When this copy was saved.",
21
21
"format": "datetime",
22
22
"type": "string"
23
23
},
24
24
"noteRef": {
25
25
"description": "AT-URI of the note record.",
26
26
"format": "at-uri",
27
27
"type": "string"
28
28
},
29
29
"slug": {
30
30
"description": "The note's slug.",
31
31
"maxGraphemes": 256,
32
32
"maxLength": 2560,
33
33
"type": "string"
34
34
},
35
+
"status": {
36
+
"description": "The note's status at atRevision. A copy that leaves it out is of a live note.",
37
+
"knownValues": [
38
+
"live",
39
+
"deleted"
40
+
],
41
+
"maxLength": 32,
42
+
"type": "string"
43
+
},
35
44
"title": {
36
-
"description": "The note's title.",
45
+
"description": "The note's title at atRevision.",
37
46
"maxGraphemes": 256,
38
47
"maxLength": 2560,
39
48
"type": "string"
40
49
},
41
50
"wikiRef": {
42
51
"description": "AT-URI of the note's wiki record.",
43
52
"format": "at-uri",
44
53
"type": "string"
45
54
}
46
55
},
47
56
"required": [
48
57
"noteRef",
49
58
"wikiRef",
50
59
"slug",
51
60
"title",
52
61
"content",
53
62
"atRevision",
54
63
"createdAt"
55
64
],
56
65
"type": "object"
57
66
},
58
67
"type": "record"
59
68
}
60
69
},
61
70
"id": "wiki.lichen.noteSnapshot",
62
71
"lexicon": 1
63
72
}