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/