Tools & Features

Lexicon Garden provides several interactive tools for working with ATProtocol lexicon schemas.

Schema Browser

The home page lists all indexed lexicon schemas with trending and recently indexed views. Each schema page includes the full definition, documentation, dependency graph, related links, and examples. Use the search bar in the navigation to quickly find schemas by NSID.

Resolve

The Resolve tool looks up identities and lexicons across the network. Enter a DID, handle, or NSID to resolve it. Identity resolution shows the DID document and handle verification. Lexicon resolution fetches the schema definition from the authoritative source via DNS.

Validate

The Validate tool checks records against lexicon schemas. Paste a schema definition and record data to validate conformance. Validation covers type checking, required fields, string format constraints (DIDs, handles, NSIDs, AT-URIs, datetimes), and cross-references to external schemas.

Schema Graph

Each lexicon page has a Graph tab that visualizes dependency relationships between schemas. The interactive graph shows which lexicons reference each other, helping you understand how schemas are connected across the ecosystem.

Autocomplete

The NSID search bar in the navigation supports autocomplete. Start typing an NSID to see matching suggestions from all indexed schemas.

XRPC API

Lexicon Garden exposes public XRPC endpoints for programmatic access:

  • com.atproto.identity.resolveIdentity — Resolve a DID or handle to an identity document
  • com.atproto.lexicon.resolveLexicon — Fetch a lexicon schema by NSID, with conditional request support (ETags)
  • com.atproto.lexicon.validate — Validate a record against a schema

Authenticated XRPC endpoints are also available for managing favorites:

  • garden.lexicon.favorite.create — Add a lexicon to your favorites
  • garden.lexicon.favorite.delete — Remove a lexicon from your favorites
  • garden.lexicon.favorite.list — List your favorite lexicons

Favorites

Authenticated users can favorite lexicon schemas for quick access. A favorite toggle appears on each lexicon page when you are logged in.

Examples

The Examples tab on each lexicon page shows contributed example records that demonstrate real-world usage patterns. Authenticated schema owners can contribute examples with optional fragment targeting. See the Lexicon Examples help page for details.

Documentation

The Docs tab on each lexicon page displays schema documentation extracted from description fields. Localized documentation can be published using garden.lexicon.documentation records, supporting multiple languages. See the Documenting Lexicons help page for best practices.

Service Records

Authenticated users can manage service records from their identity page. Service records (garden.lexicon.service) declare service endpoints and are written directly to your PDS. Records are validated against the schema before saving.

MCP Integration

Lexicon Garden provides a Model Context Protocol endpoint for AI agent integration, enabling schema lookup, record validation, and XRPC invocation from AI assistants. See the MCP Integration help page for details.

Lexicon Garden

@