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

Configure Feed

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

TypeScript 100.0%
21 2 0

Clone this repository

https://tangled.org/standard.site/lexicons https://tangled.org/did:plc:re3ebnp5v7ffagz6rb6xfei4/lexicons
git@tangled.org:standard.site/lexicons git@tangled.org:did:plc:re3ebnp5v7ffagz6rb6xfei4/lexicons

For self-hosted knots, clone URLs may differ based on your setup.

Download tar.gz
README.md

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#

License#

This project is open-source software licensed under the MIT license.


Designed for the ATmosphere