Monorepo for Tangled tangled.org

proposal: lint and publish sh.tangled.* lexicons #353

open
opened by evan.jarrett.net

What#

Set up the codebase to lint and publish sh.tangled.* lexicons, making them resolvable by any client. This is also going to be a prerequisite for permission sets and OAuth scopes.

Why#

Interoperability: Published lexicons allow other apps to understand Tangled's data structures Prerequisite for OAuth scopes: Permission sets require lexicon resolution to work

Add DNS TXT record#

Create a DNS TXT record to link sh.tangled.* to Tangled's DID:

_lexicon.tangled.sh TXT "did=did:plc:..."

This tells resolvers where to find sh.tangled.* schemas.

Lint lexicons#

Use the goat CLI to lint and publish lexicons as com.atproto.lexicon.schema records:

goat lex lint lexicons/

Publish lexicons#

goat lex publish lexicons/

References#

sign up or login to add to the discussion
Labels

None yet.

area

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:plc:pddp4xt5lgnv2qsegbzzs4xg/sh.tangled.repo.issue/3mawrew6bvb22