Standard.site Lexicons#
Shared lexicon schemas for long-form publishing on AT Protocol.
Overview#
This repository contains the official lexicon definitions for Standard.site. These schemas enable content discovery, indexing, and portability across the decentralized AT Protocol network.
One schema. Every platform.
Installation#
bun install
Usage#
bun run lexicon:emit # Generate JSON schemas from TypeScript
bun run lexicon:import # Generate TypeScript from JSON schemas
Project Structure#
/
├── src/
│ └── lexicons/ # TypeScript lexicon definitions (source)
│ ├── site.standard.authFull.ts
│ ├── site.standard.authSocial.ts
│ ├── site.standard.document.ts
│ ├── site.standard.graph.recommend.ts
│ ├── site.standard.graph.subscription.ts
│ ├── site.standard.publication.ts
│ ├── site.standard.theme.basic.ts
│ └── site.standard.theme.color.ts
└── out/ # Generated JSON schemas
└── site/
└── standard/
├── authFull.json
├── authSocial.json
├── document.json
├── publication.json
├── graph/
│ ├── recommend.json
│ └── subscription.json
└── theme/
├── basic.json
└── color.json
Resources#
- Standard.site - Full specification and documentation
- AT Protocol - The underlying protocol
- Lexicon Documentation - AT Protocol lexicon spec
- Prototypey - AT Protocol lexicon typescript toolkit
License#
This project is open-source software licensed under the MIT license.
Designed for the ATmosphere