AT Protocol Lexicon Schemas

Lexicon is the schema definition language for AT Protocol. Every record type, XRPC method, and event subscription on the network is described by a Lexicon document, which acts as both contract and code generation source for client libraries. Bluesky publishes the app.bsky.* and com.atproto.* lexicons that power the reference Bluesky application; third parties define their own NSIDs to ship independent applications on the same network.

API entry from apis.yml

apis.yml Raw ↑
aid: at-protocol:lexicon
name: AT Protocol Lexicon Schemas
description: 'Lexicon is the schema definition language for AT Protocol. Every

  record type, XRPC method, and event subscription on the network is

  described by a Lexicon document, which acts as both contract and code

  generation source for client libraries. Bluesky publishes the

  app.bsky.* and com.atproto.* lexicons that power the reference

  Bluesky application; third parties define their own NSIDs to ship

  independent applications on the same network.

  '
humanURL: https://atproto.com/guides/lexicon
baseURL: https://atproto.com/lexicons
tags:
- Lexicon
- Schema
- NSID
- Record Types
properties:
- type: Documentation
  url: https://atproto.com/guides/lexicon
- type: Specification
  url: https://atproto.com/specs/lexicon
- type: Repository
  url: https://github.com/bluesky-social/atproto/tree/main/lexicons