ink.branchline.publishBud

branchline.ink

Schema Diff

+4 -0

From

CID
bafyreia2dxhy3dd...
Indexed At
2026-04-18 04:01 UTC
View this version

To

CID
bafyreidk3m3deyw...
Indexed At
2026-04-20 22:24 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Publish a new bud. The parent may be another bud (continuation) or a seed (planting a root bud). The caller must be signed in. The AppView writes an ink.branchline.bud record to the caller's PDS and mirrors it into the local read cache so the new bud is immediately navigable. Rejection reasons mirror ink.branchline.bud create validation — 500-word limit on `text`, 24h parent growing window, self-reply, seed chain/expiry/grantee checks, etc.",
6 6
      "errors": [
7 7
        {
8 8
          "description": "The caller is not signed in.",
9 9
          "name": "Unauthorized"
10 10
        },
11 11
        {
12 12
          "description": "The parent (bud or seed) does not exist in the AppView.",
13 13
          "name": "ParentNotFound"
14 14
        },
15 15
        {
16 16
          "description": "The resolved parent's CID does not match the value on the record.",
17 17
          "name": "ParentCidMismatch"
18 18
        },
19 19
        {
20 20
          "description": "The caller is the parent bud's author. Buds cannot continue themselves.",
21 21
          "name": "SelfReply"
22 22
        },
23 23
        {
24 24
          "description": "The parent bud is still inside its 24h growing window.",
25 25
          "name": "ParentGrowing"
26 26
        },
27 27
        {
28 28
          "description": "The bud text exceeds the 500-word ceiling.",
29 29
          "name": "WordLimitExceeded"
30 30
        },
31 31
        {
32 +
          "description": "A formatting span is malformed — offsets out of bounds, start >= end, or an unknown span type.",
33 +
          "name": "InvalidFormatting"
34 +
        },
35 +
        {
32 36
          "description": "The caller is not the grantee of the seed they are trying to plant.",
33 37
          "name": "NotSeedGrantee"
34 38
        },
35 39
        {
36 40
          "description": "The seed's expiry has passed.",
37 41
          "name": "SeedExpired"
38 42
        },
39 43
        {
40 44
          "description": "The seed's ancestor chain is missing, expired, or broken by a grantor/grantee mismatch.",
41 45
          "name": "SeedChainBroken"
42 46
        },
43 47
        {
44 48
          "description": "Another bud has already been planted from this seed.",
45 49
          "name": "SeedAlreadyPlanted"
46 50
        }
47 51
      ],
48 52
      "input": {
49 53
        "encoding": "application/json",
50 54
        "schema": {
51 55
          "properties": {
52 56
            "formatting": {
53 57
              "description": "Byte-offset inline formatting spans over `text`.",
54 58
              "items": {
55 59
                "ref": "ink.branchline.bud#formatSpan",
56 60
                "type": "ref"
57 61
              },
58 62
              "type": "array"
59 63
            },
60 64
            "parentUri": {
61 65
              "description": "AT-URI of the parent — either an ink.branchline.bud (continuation) or an ink.branchline.seed (root bud being planted).",
62 66
              "format": "at-uri",
63 67
              "type": "string"
64 68
            },
65 69
            "text": {
66 70
              "maxLength": 20000,
67 71
              "type": "string"
68 72
            },
69 73
            "title": {
70 74
              "maxGraphemes": 120,
71 75
              "maxLength": 1200,
72 76
              "type": "string"
73 77
            }
74 78
          },
75 79
          "required": [
76 80
            "parentUri",
77 81
            "title",
78 82
            "text"
79 83
          ],
80 84
          "type": "object"
81 85
        }
82 86
      },
83 87
      "output": {
84 88
        "encoding": "application/json",
85 89
        "schema": {
86 90
          "properties": {
87 91
            "cid": {
88 92
              "format": "cid",
89 93
              "type": "string"
90 94
            },
91 95
            "uri": {
92 96
              "format": "at-uri",
93 97
              "type": "string"
94 98
            }
95 99
          },
96 100
          "required": [
97 101
            "uri",
98 102
            "cid"
99 103
          ],
100 104
          "type": "object"
101 105
        }
102 106
      },
103 107
      "type": "procedure"
104 108
    }
105 109
  },
106 110
  "id": "ink.branchline.publishBud",
107 111
  "lexicon": 1
108 112
}

Compare Other Versions

Lexicon Garden

@