org.designtxt.resolveTokens

bomberstudios.com

Schema Diff

+1 -1

From

CID
bafyreigqye7odfi...
Indexed At
2026-07-11 19:40 UTC
View this version

To

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

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "id": "org.designtxt.resolveTokens",
3 3
  "defs": {
4 4
    "main": {
5 5
      "type": "procedure",
6 6
      "input": {
7 7
        "schema": {
8 8
          "type": "object",
9 9
          "required": [
10 10
            "resolverRef",
11 11
            "input"
12 12
          ],
13 13
          "properties": {
14 14
            "input": {
15 15
              "type": "object",
16 16
              "properties": {},
17 17
              "description": "Contextual input values, keyed by modifier name. Each value must be a string matching one of that modifier's defined contexts. E.g. { \"theme\": \"dark\", \"size\": \"compact\" }."
18 18
            },
19 19
            "resolverRef": {
20 20
              "type": "string",
21 21
              "format": "at-uri",
22 22
              "maxLength": 8192,
23 23
              "description": "AT-URI of the org.designtxt.resolver record to resolve."
24 24
            },
25 25
            "resolveReferences": {
26 26
              "type": "boolean",
27 27
              "description": "If true (default), resolve all alias references ({token.name}) in the output. Set to false to preserve aliases as literal strings."
28 28
            }
29 29
          }
30 30
        },
31 31
        "encoding": "application/json"
32 32
      },
33 33
      "errors": [
34 34
        {
35 35
          "name": "ResolverNotFound",
36 36
          "description": "The specified resolver document could not be found."
37 37
        },
38 38
        {
39 39
          "name": "InvalidInput",
40 40
          "description": "The input values do not match the resolver's modifier definitions (unknown modifier, invalid context value, or missing required modifier without a default)."
41 41
        },
42 42
        {
43 43
          "name": "CircularReference",
44 44
          "description": "The resolver or referenced token sources contain a circular reference."
45 45
        },
46 46
        {
47 47
          "name": "ResolutionFailed",
48 48
          "description": "Token resolution failed due to unresolvable alias references, invalid token values, or other processing errors."
49 49
        }
50 50
      ],
51 51
      "output": {
52 52
        "schema": {
53 53
          "type": "object",
54 54
          "required": [
55 55
            "tokens"
56 56
          ],
57 57
          "properties": {
58 58
            "input": {
59 59
              "type": "object",
60 60
              "properties": {},
61 61
              "description": "Echo of the input values used for resolution."
62 62
            },
63 63
            "tokens": {
64 64
              "type": "unknown",
65 65
              "description": "The resolved token collection. All modifier conditions have been applied according to resolutionOrder, and alias references have been resolved."
66 66
            },
67 67
            "resolvedAt": {
68 68
              "type": "string",
69 69
              "format": "datetime",
70 70
              "maxLength": 64,
71 71
              "description": "Timestamp when resolution was performed."
72 72
            }
73 73
          }
74 74
        },
75 75
        "encoding": "application/json"
76 76
      },
77 77
      "description": "Resolve a resolver document by providing concrete context values for each of its modifiers. Returns a flat token set with all aliases resolved. Authentication is optional; the resolver document must be publicly accessible if used without auth."
78 78
    }
79 79
  },
80 80
  "$type": "com.atproto.lexicon.schema",
81 81
  "lexicon": 1,
82 -
  "description": "XRPC Procedure to resolve a design token resolver document against a set of contextual inputs, producing a fully resolved token collection."
82 +
  "description": "XRPC Procedure to resolve a design token resolver document against a set of contextual inputs, producing a fully resolved token collection. Implemented at https://xrpc.designtxt.org/xrpc/org.designtxt.resolveTokens"
83 83
}

Compare Other Versions

Lexicon Garden

@