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