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