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

Compare Other Versions

Lexicon Garden

@