download.darkworld.content.markdown
Schema Diff
+5 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning" }
- AddedEdge AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.spoilerWarning", kind: "prop", name: Some("spoilerWarning") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning" }
Additional Notes
- Non-breaking: AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.spoilerWarning", kind: "prop", name: Some("spoilerWarning") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"imageRef": {
5
5
"description": "blob keyed by ref in the body",
6
6
"properties": {
7
7
"blob": {
8
8
"accept": [
9
9
"image/*"
10
10
],
11
11
"maxSize": 5000000,
12
12
"type": "blob"
13
13
},
14
14
"imageRef": {
15
15
"description": "key used to reference the blob",
16
16
"maxGraphemes": 128,
17
17
"maxLength": 512,
18
18
"type": "string"
19
19
}
20
20
},
21
21
"required": [
22
22
"imageRef",
23
23
"blob"
24
24
],
25
25
"type": "object"
26
26
},
27
27
"markdown": {
28
28
"description": "markdown for rendering in darkworld.download/blog",
29
29
"properties": {
30
30
"body": {
31
31
"description": "markdown source  to embed images",
32
32
"maxLength": 1000000,
33
33
"type": "string"
34
34
},
35
35
"images": {
36
36
"description": "Images referenced in the body with ",
37
37
"items": {
38
38
"ref": "#imageRef",
39
39
"type": "ref"
40
40
},
41
41
"maxLength": 128,
42
42
"type": "array"
43
+
},
44
+
"spoilerWarning": {
45
+
"description": "big red warning such as DELTARUNE CHAPTER 5 SPOILERS the user will have to click trough to view the content",
46
+
"maxLength": 512,
47
+
"type": "string"
43
48
}
44
49
},
45
50
"required": [
46
51
"body"
47
52
],
48
53
"type": "object"
49
54
}
50
55
},
51
56
"id": "download.darkworld.content.markdown",
52
57
"lexicon": 1
53
58
}