pub.leaflet.blocks.orderedList
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.orderedList#listItem.checked" }
- AddedEdge AddedEdge { src: "pub.leaflet.blocks.orderedList#listItem", tgt: "pub.leaflet.blocks.orderedList#listItem.checked", kind: "prop", name: Some("checked") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "pub.leaflet.blocks.orderedList#listItem.checked" }
Additional Notes
- Non-breaking: AddedEdge { src: "pub.leaflet.blocks.orderedList#listItem", tgt: "pub.leaflet.blocks.orderedList#listItem.checked", kind: "prop", name: Some("checked") }
1
1
{
2
2
"id": "pub.leaflet.blocks.orderedList",
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
"startIndex": {
18
18
"type": "integer",
19
19
"description": "The starting number for this ordered list. Defaults to 1 if not specified."
20
20
}
21
21
}
22
22
},
23
23
"listItem": {
24
24
"type": "object",
25
25
"required": [
26
26
"content"
27
27
],
28
28
"properties": {
29
+
"checked": {
30
+
"type": "boolean",
31
+
"description": "If present, this item is a checklist item. true = checked, false = unchecked. If absent, this is a normal list item."
32
+
},
29
33
"content": {
30
34
"refs": [
31
35
"pub.leaflet.blocks.text",
32
36
"pub.leaflet.blocks.header",
33
37
"pub.leaflet.blocks.image"
34
38
],
35
39
"type": "union"
36
40
},
37
41
"children": {
38
42
"type": "array",
39
43
"items": {
40
44
"ref": "#listItem",
41
45
"type": "ref"
42
46
},
43
47
"description": "Nested ordered list items. Mutually exclusive with unorderedListChildren; if both are present, children takes precedence."
44
48
},
45
49
"unorderedListChildren": {
46
50
"ref": "pub.leaflet.blocks.unorderedList",
47
51
"type": "ref",
48
52
"description": "A nested unordered list. Mutually exclusive with children; if both are present, children takes precedence."
49
53
}
50
54
}
51
55
}
52
56
},
53
57
"$type": "com.atproto.lexicon.schema",
54
58
"lexicon": 1
55
59
}