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