at.inlay.component

inlay.at

{
  "id": "at.inlay.component",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "type"
        ],
        "properties": {
          "via": {
            "refs": [
              "at.inlay.defs#viaValtown"
            ],
            "type": "union",
            "description": "Platform-managed deployment metadata"
          },
          "body": {
            "refs": [
              "#external",
              "#template"
            ],
            "type": "union",
            "description": "How this component is rendered. Omit for primitives rendered by the host."
          },
          "type": {
            "type": "string",
            "format": "nsid",
            "description": "NSID this component implements (also the XRPC procedure)"
          },
          "imports": {
            "type": "array",
            "items": {
              "ref": "#import",
              "type": "ref"
            },
            "description": "Where to resolve types from"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "collection": {
            "type": "string",
            "description": "Collection type this component renders. An NSID for specific collections, or '*' for universal components (e.g. JSON viewers). Omit for generic components like layout primitives.",
            "knownValues": [
              "*"
            ]
          },
          "description": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          }
        }
      },
      "description": "Component record - declares an implementation of a type"
    },
    "import": {
      "type": "object",
      "required": [
        "types",
        "pack"
      ],
      "properties": {
        "pack": {
          "type": "string",
          "format": "at-uri",
          "description": "Pack to resolve from"
        },
        "types": {
          "type": "string",
          "description": "Type pattern to match (glob like com.alice.* or concrete like com.alice.Avatar)"
        }
      }
    },
    "external": {
      "type": "object",
      "required": [
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did",
          "description": "DID of the service hosting this component"
        }
      },
      "description": "Component rendered by calling a remote XRPC endpoint"
    },
    "template": {
      "type": "object",
      "required": [
        "node"
      ],
      "properties": {
        "node": {
          "type": "unknown",
          "description": "Serialized element tree with bindings"
        }
      },
      "description": "Component rendered by the host from a serialized element tree"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.inlay.component

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:mdg3w2kpadcyxy33pizokzf3
CID
bafyreihctwdmnuvvfwmgvchr6pvqjzlrwgdd5sagukmcohw2dlf7sujb3q
Indexed At
2026-02-08 18:28 UTC
AT-URI
at://did:plc:mdg3w2kpadcyxy33pizokzf3/com.atproto.lexicon.schema/at.inlay.component

Version History (2 versions)

Referenced Schemas (1)

Lexicon Garden

@