download.darkworld.content.markdown
Schema Diff
+27 -22
Compatibility Analysis
Breaking Changes Detected
9 breaking changes, 10 non-breaking changes.
Breaking Changes (9)
- RemovedVertex RemovedVertex { vertex_id: "download.darkworld.content.markdown" }
- RemovedVertex RemovedVertex { vertex_id: "download.darkworld.content.markdown.body" }
- RemovedVertex RemovedVertex { vertex_id: "download.darkworld.content.markdown.images" }
- RemovedVertex RemovedVertex { vertex_id: "download.darkworld.content.markdown.images:items" }
- RemovedEdge RemovedEdge { src: "download.darkworld.content.markdown", tgt: "download.darkworld.content.markdown.body", kind: "prop", name: Some("body") }
- RemovedEdge RemovedEdge { src: "download.darkworld.content.markdown", tgt: "download.darkworld.content.markdown.images", kind: "prop", name: Some("images") }
- RemovedEdge RemovedEdge { src: "download.darkworld.content.markdown.images", tgt: "download.darkworld.content.markdown.images:items", kind: "items", name: None }
- ConstraintAdded ConstraintAdded { vertex_id: "download.darkworld.content.markdown#markdown.body", sort: "maxLength", value: "1000000" }
- ConstraintAdded ConstraintAdded { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning", sort: "maxLength", value: "512" }
Non-Breaking Changes (10)
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown" }
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.body" }
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.images" }
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.images:items" }
- AddedVertex AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning" }
- AddedEdge AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.body", kind: "prop", name: Some("body") }
- AddedEdge AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.images", kind: "prop", name: Some("images") }
- AddedEdge AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.spoilerWarning", kind: "prop", name: Some("spoilerWarning") }
- AddedEdge AddedEdge { src: "download.darkworld.content.markdown#markdown.images", tgt: "download.darkworld.content.markdown#markdown.images:items", kind: "items", name: None }
- ConstraintRemoved ConstraintRemoved { vertex_id: "download.darkworld.content.markdown.body", sort: "maxLength" }
Migration Guidance
Removed Elements
RemovedVertex { vertex_id: "download.darkworld.content.markdown" }RemovedVertex { vertex_id: "download.darkworld.content.markdown.body" }RemovedVertex { vertex_id: "download.darkworld.content.markdown.images" }RemovedVertex { vertex_id: "download.darkworld.content.markdown.images:items" }
Added Elements
AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown" }AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.body" }AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.images" }AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.images:items" }AddedVertex { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning" }
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "download.darkworld.content.markdown#markdown.body", sort: "maxLength", value: "1000000" }
- ConstraintAdded ConstraintAdded { vertex_id: "download.darkworld.content.markdown#markdown.spoilerWarning", sort: "maxLength", value: "512" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "download.darkworld.content.markdown.body", sort: "maxLength" }
Additional Notes
- Breaking: RemovedEdge { src: "download.darkworld.content.markdown", tgt: "download.darkworld.content.markdown.body", kind: "prop", name: Some("body") }
- Breaking: RemovedEdge { src: "download.darkworld.content.markdown", tgt: "download.darkworld.content.markdown.images", kind: "prop", name: Some("images") }
- Breaking: RemovedEdge { src: "download.darkworld.content.markdown.images", tgt: "download.darkworld.content.markdown.images:items", kind: "items", name: None }
- Non-breaking: AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.body", kind: "prop", name: Some("body") }
- Non-breaking: AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.images", kind: "prop", name: Some("images") }
- Non-breaking: AddedEdge { src: "download.darkworld.content.markdown#markdown", tgt: "download.darkworld.content.markdown#markdown.spoilerWarning", kind: "prop", name: Some("spoilerWarning") }
- Non-breaking: AddedEdge { src: "download.darkworld.content.markdown#markdown.images", tgt: "download.darkworld.content.markdown#markdown.images:items", kind: "items", name: None }
1
1
{
2
2
"id": "download.darkworld.content.markdown",
3
3
"defs": {
4
-
"main": {
4
+
"imageRef": {
5
+
"type": "object",
6
+
"required": [
7
+
"imageRef",
8
+
"blob"
9
+
],
10
+
"properties": {
11
+
"blob": {
12
+
"type": "blob",
13
+
"accept": [
14
+
"image/*"
15
+
],
16
+
"maxSize": 5000000
17
+
},
18
+
"imageRef": {
19
+
"type": "string",
20
+
"maxLength": 512,
21
+
"description": "key used to reference the blob",
22
+
"maxGraphemes": 128
23
+
}
24
+
},
25
+
"description": "blob keyed by ref in the body"
26
+
},
27
+
"markdown": {
5
28
"type": "object",
6
29
"required": [
7
30
"body"
8
31
],
9
32
"properties": {
10
33
"body": {
11
34
"type": "string",
12
35
"maxLength": 1000000,
13
36
"description": "markdown source  to embed images"
14
37
},
15
38
"images": {
16
39
"type": "array",
17
40
"items": {
18
41
"ref": "#imageRef",
19
42
"type": "ref"
20
43
},
21
44
"maxLength": 128,
22
45
"description": "Images referenced in the body with "
23
-
}
24
-
},
25
-
"description": "markdown for rendering in darkworld.download/blog"
26
-
},
27
-
"imageRef": {
28
-
"type": "object",
29
-
"required": [
30
-
"imageRef",
31
-
"blob"
32
-
],
33
-
"properties": {
34
-
"blob": {
35
-
"type": "blob",
36
-
"accept": [
37
-
"image/*"
38
-
],
39
-
"maxSize": 5000000
40
46
},
41
-
"imageRef": {
47
+
"spoilerWarning": {
42
48
"type": "string",
43
49
"maxLength": 512,
44
-
"description": "key used to reference the blob",
45
-
"maxGraphemes": 128
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
-
"description": "blob keyed by ref in the body"
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
}