at.inlay.defs

inlay.at

{
  "id": "at.inlay.defs",
  "defs": {
    "element": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "key": {
          "type": "string",
          "description": "Stable key that identifies the component among its siblings."
        },
        "type": {
          "type": "string",
          "format": "nsid",
          "description": "NSID of the component to render."
        },
        "props": {
          "type": "unknown",
          "description": "Properties to pass to the component."
        }
      },
      "description": "A renderable Inlay element."
    },
    "tagLink": {
      "type": "object",
      "required": [
        "subject"
      ],
      "properties": {
        "from": {
          "type": "string",
          "format": "nsid",
          "description": "Collection NSID of the linking records. Omit for any collection."
        },
        "subject": {
          "type": "string",
          "format": "at-uri",
          "description": "Subject AT URI that is linked to"
        }
      },
      "description": "Cache tag: depend on backlink relationships to a subject."
    },
    "response": {
      "type": "object",
      "required": [
        "node",
        "cache"
      ],
      "properties": {
        "node": {
          "ref": "#element",
          "type": "ref",
          "description": "Rendered element tree"
        },
        "cache": {
          "ref": "#cachePolicy",
          "type": "ref",
          "description": "Cache lifetime and invalidation tags"
        }
      },
      "description": "Standard response from a component render call."
    },
    "tagRecord": {
      "type": "object",
      "required": [
        "uri"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI at record, collection, or identity granularity"
        }
      },
      "description": "Cache tag: depend on a specific record, collection, or identity."
    },
    "viaValtown": {
      "type": "object",
      "required": [
        "valId"
      ],
      "properties": {
        "valId": {
          "type": "string",
          "description": "Val Town val UUID"
        }
      }
    },
    "cachePolicy": {
      "type": "object",
      "properties": {
        "life": {
          "type": "string",
          "description": "How frequently the underlying data changes",
          "knownValues": [
            "seconds",
            "minutes",
            "hours",
            "max"
          ]
        },
        "tags": {
          "type": "array",
          "items": {
            "refs": [
              "#tagRecord",
              "#tagLink"
            ],
            "type": "union"
          },
          "description": "Data dependencies for cache invalidation"
        }
      },
      "description": "Cache lifetime and invalidation tags returned by XRPC components."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.inlay.defs

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mdg3w2kpadcyxy33pizokzf3
CID
bafyreia2poy4coafcxfqbxrl3vuqfvekfbhorgplch6zi7i4yer3uibqhq
Indexed At
2026-02-14 14:06 UTC
AT-URI
at://did:plc:mdg3w2kpadcyxy33pizokzf3/com.atproto.lexicon.schema/at.inlay.defs

Version History (3 versions)

Lexicon Garden

@