pub.leaflet.blocks.unorderedList
Schema Diff
+4 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "pub.leaflet.blocks.unorderedList#listItem.checked" }
- AddedEdge AddedEdge { src: "pub.leaflet.blocks.unorderedList#listItem", tgt: "pub.leaflet.blocks.unorderedList#listItem.checked", kind: "prop", name: Some("checked") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.blocks.unorderedList#listItem.checked" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.blocks.unorderedList#listItem", tgt: "pub.leaflet.blocks.unorderedList#listItem.checked", kind: "prop", name: Some("checked") }
1
1
{
2
2
"id": "pub.leaflet.blocks.unorderedList",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"children"
8
8
],
9
9
"properties": {
10
10
"children": {
11
11
"type": "array",
12
12
"items": {
13
13
"ref": "#listItem",
14
14
"type": "ref"
15
15
}
16
16
}
17
17
}
18
18
},
19
19
"listItem": {
20
20
"type": "object",
21
21
"required": [
22
22
"content"
23
23
],
24
24
"properties": {
25
+
"checked": {
26
+
"type": "boolean",
27
+
"description": "If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item."
28
+
},
25
29
"content": {
26
30
"refs": [
27
31
"pub.leaflet.blocks.text",
28
32
"pub.leaflet.blocks.header",
29
33
"pub.leaflet.blocks.image"
30
34
],
31
35
"type": "union"
32
36
},
33
37
"children": {
34
38
"type": "array",
35
39
"items": {
36
40
"ref": "#listItem",
37
41
"type": "ref"
38
42
},
39
43
"description": "Nested unordered list items. Mutually exclusive with orderedListChildren; if both are present, children takes precedence."
40
44
},
41
45
"orderedListChildren": {
42
46
"ref": "pub.leaflet.blocks.orderedList",
43
47
"type": "ref",
44
48
"description": "Nested ordered list items. Mutually exclusive with children; if both are present, children takes precedence."
45
49
}
46
50
}
47
51
}
48
52
},
49
53
"$type": "com.atproto.lexicon.schema",
50
54
"lexicon": 1
51
55
}