at.inlay.defs

inlay.at

Schema Diff

+3 -0

From

CID
bafyreia2poy4coa...
Indexed At
2026-02-14 14:06 UTC
View this version

To

CID
bafyreieum33geki...
Indexed At
2026-02-15 21:43 UTC
View this version
1 1
{
2 2
  "id": "at.inlay.defs",
3 3
  "defs": {
4 4
    "element": {
5 5
      "type": "object",
6 6
      "required": [
7 7
        "type"
8 8
      ],
9 9
      "properties": {
10 10
        "key": {
11 11
          "type": "string",
12 +
          "maxLength": 256,
12 13
          "description": "Stable key that identifies the component among its siblings."
13 14
        },
14 15
        "type": {
15 16
          "type": "string",
16 17
          "format": "nsid",
17 18
          "description": "NSID of the component to render."
18 19
        },
19 20
        "props": {
20 21
          "type": "unknown",
21 22
          "description": "Properties to pass to the component."
22 23
        }
23 24
      },
24 25
      "description": "A renderable Inlay element."
25 26
    },
26 27
    "tagLink": {
27 28
      "type": "object",
28 29
      "required": [
29 30
        "subject"
30 31
      ],
31 32
      "properties": {
32 33
        "from": {
33 34
          "type": "string",
34 35
          "format": "nsid",
35 36
          "description": "Collection NSID of the linking records. Omit for any collection."
36 37
        },
37 38
        "subject": {
38 39
          "type": "string",
39 40
          "format": "at-uri",
40 41
          "description": "Subject AT URI that is linked to"
41 42
        }
42 43
      },
43 44
      "description": "Cache tag: depend on backlink relationships to a subject."
44 45
    },
45 46
    "response": {
46 47
      "type": "object",
47 48
      "required": [
48 49
        "node",
49 50
        "cache"
50 51
      ],
51 52
      "properties": {
52 53
        "node": {
53 54
          "ref": "#element",
54 55
          "type": "ref",
55 56
          "description": "Rendered element tree"
56 57
        },
57 58
        "cache": {
58 59
          "ref": "#cachePolicy",
59 60
          "type": "ref",
60 61
          "description": "Cache lifetime and invalidation tags"
61 62
        }
62 63
      },
63 64
      "description": "Standard response from a component render call."
64 65
    },
65 66
    "tagRecord": {
66 67
      "type": "object",
67 68
      "required": [
68 69
        "uri"
69 70
      ],
70 71
      "properties": {
71 72
        "uri": {
72 73
          "type": "string",
73 74
          "format": "at-uri",
74 75
          "description": "AT URI at record, collection, or identity granularity"
75 76
        }
76 77
      },
77 78
      "description": "Cache tag: depend on a specific record, collection, or identity."
78 79
    },
79 80
    "viaValtown": {
80 81
      "type": "object",
81 82
      "required": [
82 83
        "valId"
83 84
      ],
84 85
      "properties": {
85 86
        "valId": {
86 87
          "type": "string",
88 +
          "maxLength": 128,
87 89
          "description": "Val Town val UUID"
88 90
        }
89 91
      }
90 92
    },
91 93
    "cachePolicy": {
92 94
      "type": "object",
93 95
      "properties": {
94 96
        "life": {
95 97
          "type": "string",
98 +
          "maxLength": 32,
96 99
          "description": "How frequently the underlying data changes",
97 100
          "knownValues": [
98 101
            "seconds",
99 102
            "minutes",
100 103
            "hours",
101 104
            "max"
102 105
          ]
103 106
        },
104 107
        "tags": {
105 108
          "type": "array",
106 109
          "items": {
107 110
            "refs": [
108 111
              "#tagRecord",
109 112
              "#tagLink"
110 113
            ],
111 114
            "type": "union"
112 115
          },
113 116
          "description": "Data dependencies for cache invalidation"
114 117
        }
115 118
      },
116 119
      "description": "Cache lifetime and invalidation tags returned by XRPC components."
117 120
    }
118 121
  },
119 122
  "$type": "com.atproto.lexicon.schema",
120 123
  "lexicon": 1
121 124
}

Compare Other Versions

Lexicon Garden

@