com.scanash.content.markdown
Schema Diff
+9 -1
Compatibility Analysis
Backward Compatible
Backward compatible. 6 non-breaking changes.
Non-Breaking Changes (6)
- AddedVertex AddedVertex { vertex_id: "com.scanash.content.image" }
- AddedVertex AddedVertex { vertex_id: "com.scanash.content.markdown.images" }
- AddedVertex AddedVertex { vertex_id: "com.scanash.content.markdown.images:items" }
- AddedEdge AddedEdge { src: "com.scanash.content.markdown", tgt: "com.scanash.content.markdown.images", kind: "prop", name: Some("images") }
- AddedEdge AddedEdge { src: "com.scanash.content.markdown.images", tgt: "com.scanash.content.markdown.images:items", kind: "items", name: None }
- AddedEdge AddedEdge { src: "com.scanash.content.markdown.images:items", tgt: "com.scanash.content.image", kind: "ref", name: None }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "com.scanash.content.image" }AddedVertex { vertex_id: "com.scanash.content.markdown.images" }AddedVertex { vertex_id: "com.scanash.content.markdown.images:items" }
Additional Notes
- Non-breaking: AddedEdge { src: "com.scanash.content.markdown", tgt: "com.scanash.content.markdown.images", kind: "prop", name: Some("images") }
- Non-breaking: AddedEdge { src: "com.scanash.content.markdown.images", tgt: "com.scanash.content.markdown.images:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "com.scanash.content.markdown.images:items", tgt: "com.scanash.content.image", kind: "ref", name: None }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
-
"description": "Markdown source body for a site.standard.document. Used as an entry in the document's open `content` union.",
5
+
"description": "Markdown source body for a site.standard.document. Used as the value of the document's open `content` union (a single union value, not an array).",
6
6
"properties": {
7
+
"images": {
8
+
"description": "Inline image blobs referenced by the markdown body, kept here so the PDS retains the blobs.",
9
+
"items": {
10
+
"ref": "com.scanash.content.image",
11
+
"type": "ref"
12
+
},
13
+
"type": "array"
14
+
},
7
15
"markdown": {
8
16
"description": "CommonMark / GitHub-flavored Markdown source for the document body.",
9
17
"maxGraphemes": 100000,
10
18
"maxLength": 1000000,
11
19
"type": "string"
12
20
}
13
21
},
14
22
"required": [
15
23
"markdown"
16
24
],
17
25
"type": "object"
18
26
}
19
27
},
20
28
"id": "com.scanash.content.markdown",
21
29
"lexicon": 1
22
30
}