blog.pckt.block.heading

pckt.blog

Schema Diff

+9 -0

From

CID
bafyreiccixjvdxl...
Indexed At
2026-02-18 18:33 UTC
View this version

To

CID
bafyreiagipyp3co...
Indexed At
2026-08-17 02:48 UTC
View this version

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
  "id": "blog.pckt.block.heading",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "object",
6 6
      "required": [
7 7
        "plaintext"
8 8
      ],
9 9
      "properties": {
10 10
        "level": {
11 11
          "type": "integer",
12 12
          "maximum": 6,
13 13
          "minimum": 1,
14 14
          "description": "Heading level from 1 (most important) to 6 (least important)"
15 15
        },
16 16
        "facets": {
17 17
          "type": "array",
18 18
          "items": {
19 19
            "ref": "blog.pckt.richtext.facet",
20 20
            "type": "ref"
21 21
          },
22 22
          "description": "Facets for text formatting and features"
23 23
        },
24 24
        "plaintext": {
25 25
          "type": "string",
26 26
          "description": "The plain text content of the heading"
27 +
        },
28 +
        "textAlign": {
29 +
          "type": "string",
30 +
          "description": "Horizontal alignment of the block's text. Defaults to left when omitted.",
31 +
          "knownValues": [
32 +
            "left",
33 +
            "center",
34 +
            "right"
35 +
          ]
27 36
        }
28 37
      }
29 38
    }
30 39
  },
31 40
  "$type": "com.atproto.lexicon.schema",
32 41
  "lexicon": 1,
33 42
  "description": "A heading block with hierarchical levels (1-6) for document structure."
34 43
}

Compare Other Versions

Lexicon Garden

@