Shared lexicon schemas for long-form publishing on AT Protocol. Uses typescript to json via prototypey.
45
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 65 lines 2.0 kB view raw view rendered
1# Standard.site Lexicons 2Shared lexicon schemas for long-form publishing on AT Protocol. 3 4## Overview 5 6This repository contains the official lexicon definitions for [Standard.site](https://standard.site/). These schemas enable content discovery, indexing, and portability across the decentralized AT Protocol network. 7 8One schema. Every platform. 9 10## Installation 11 12```bash 13bun install 14``` 15 16## Usage 17 18```bash 19bun run lexicon:emit # Generate JSON schemas from TypeScript 20bun run lexicon:import # Generate TypeScript from JSON schemas 21``` 22 23## Project Structure 24 25``` 26/ 27├── src/ 28│ └── lexicons/ # TypeScript lexicon definitions (source) 29│ ├── site.standard.authFull.ts 30│ ├── site.standard.authSocial.ts 31│ ├── site.standard.document.ts 32│ ├── site.standard.graph.recommend.ts 33│ ├── site.standard.graph.subscription.ts 34│ ├── site.standard.publication.ts 35│ ├── site.standard.theme.basic.ts 36│ └── site.standard.theme.color.ts 37└── out/ # Generated JSON schemas 38 └── site/ 39 └── standard/ 40 ├── authFull.json 41 ├── authSocial.json 42 ├── document.json 43 ├── publication.json 44 ├── graph/ 45 │ ├── recommend.json 46 │ └── subscription.json 47 └── theme/ 48 ├── basic.json 49 └── color.json 50``` 51 52## Resources 53 54- [Standard.site](https://standard.site/) - Full specification and documentation 55- [AT Protocol](https://atproto.com/) - The underlying protocol 56- [Lexicon Documentation](https://atproto.com/specs/lexicon) - AT Protocol lexicon spec 57- [Prototypey](https://github.com/tylersayshi/prototypey) - AT Protocol lexicon typescript toolkit 58 59## License 60 61This project is open-source software licensed under the [MIT license](LICENSE). 62 63--- 64 65**Designed for the ATmosphere**