blog.pckt.block.heading
Schema Diff
+9 -0
Compatibility Analysis
Backward Compatible
Backward compatible. 2 non-breaking changes.
Non-Breaking Changes (2)
- AddedVertex AddedVertex { vertex_id: "blog.pckt.block.heading.textAlign" }
- AddedEdge AddedEdge { src: "blog.pckt.block.heading", tgt: "blog.pckt.block.heading.textAlign", kind: "prop", name: Some("textAlign") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "blog.pckt.block.heading.textAlign" }
Additional Notes
- Non-breaking: AddedEdge { src: "blog.pckt.block.heading", tgt: "blog.pckt.block.heading.textAlign", kind: "prop", name: Some("textAlign") }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"properties": {
6
6
"facets": {
7
7
"description": "Facets for text formatting and features",
8
8
"items": {
9
9
"ref": "blog.pckt.richtext.facet",
10
10
"type": "ref"
11
11
},
12
12
"type": "array"
13
13
},
14
14
"level": {
15
15
"description": "Heading level from 1 (most important) to 6 (least important)",
16
16
"maximum": 6,
17
17
"minimum": 1,
18
18
"type": "integer"
19
19
},
20
20
"plaintext": {
21
21
"description": "The plain text content of the heading",
22
22
"type": "string"
23
+
},
24
+
"textAlign": {
25
+
"description": "Horizontal alignment of the block's text. Defaults to left when omitted.",
26
+
"knownValues": [
27
+
"left",
28
+
"center",
29
+
"right"
30
+
],
31
+
"type": "string"
23
32
}
24
33
},
25
34
"required": [
26
35
"plaintext"
27
36
],
28
37
"type": "object"
29
38
}
30
39
},
31
40
"description": "A heading block with hierarchical levels (1-6) for document structure.",
32
41
"id": "blog.pckt.block.heading",
33
42
"lexicon": 1
34
43
}