org.designtxt.tokenCollection

bomberstudios.com

Schema Diff

+6 -0

From

CID
bafyreigfpp6h7nm...
Indexed At
2026-07-11 18:58 UTC
View this version

To

CID
bafyreigp6kezcht...
Indexed At
2026-07-16 14:09 UTC
View this version

Compatibility Analysis

Backward Compatible

Backward compatible. 2 non-breaking changes.

Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "org.designtxt.tokenCollection:body.resolver" }
  • AddedEdge AddedEdge { src: "org.designtxt.tokenCollection:body", tgt: "org.designtxt.tokenCollection:body.resolver", kind: "prop", name: Some("resolver") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "org.designtxt.tokenCollection:body.resolver" }

Additional Notes

  • Non-breaking: AddedEdge { src: "org.designtxt.tokenCollection:body", tgt: "org.designtxt.tokenCollection:body.resolver", kind: "prop", name: Some("resolver") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "A design tokens document following DTCG 2025.10 format. Metadata fields (name, description, createdAt) are provided for human identification. The token tree coexists at the same object level -- each remaining key is a token (has $value) or group (no $value, may contain nested tokens/groups).",
6 6
      "key": "any",
7 7
      "record": {
8 8
        "description": "Root object of a token collection. Metadata fields are explicitly defined. Any additional keys are treated as tokens or groups per the DTCG 2025.10 Format specification.",
9 9
        "properties": {
10 10
          "createdAt": {
11 11
            "description": "Timestamp when this collection was created.",
12 12
            "format": "datetime",
13 13
            "maxLength": 64,
14 14
            "type": "string"
15 15
          },
16 16
          "description": {
17 17
            "description": "Optional description of this token collection's purpose or scope.",
18 18
            "maxGraphemes": 1024,
19 19
            "maxLength": 4096,
20 20
            "type": "string"
21 21
          },
22 22
          "name": {
23 23
            "description": "Human-readable name for this token collection (e.g. 'Brand Tokens', 'My Design System Q3').",
24 24
            "maxGraphemes": 256,
25 25
            "maxLength": 512,
26 26
            "type": "string"
27 +
          },
28 +
          "resolver": {
29 +
            "description": "AT-URI of the org.designtxt.resolver record for this collection. When present, the viewer can offer a context/theme switcher.",
30 +
            "format": "at-uri",
31 +
            "maxLength": 1024,
32 +
            "type": "string"
27 33
          }
28 34
        },
29 35
        "type": "object"
30 36
      },
31 37
      "type": "record"
32 38
    }
33 39
  },
34 40
  "description": "A record containing a collection of design tokens in DTCG 2025.10 format. The record has typed metadata fields (name, description, createdAt) alongside the token tree. Token/group keys sit at the same level as metadata; atproto ignores unexpected fields, so the token tree passes through without schema-level validation.",
35 41
  "id": "org.designtxt.tokenCollection",
36 42
  "lexicon": 1
37 43
}

Compare Other Versions

Lexicon Garden

@