Skip to content

Instantly share code, notes, and snippets.

View BrokenR3C0RD's full-sized avatar
🥯

MasterR3C0RD BrokenR3C0RD

🥯
View GitHub Profile
@mary-ext
mary-ext / schema.json
Last active March 31, 2025 02:12
JSON schema for AT Protocol lexicon documents
{
"type": "object",
"properties": {
"lexicon": { "type": "number", "const": 1 },
"id": {
"type": "string",
"pattern": "^[a-zA-Z]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(\\.[a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(\\.[a-zA-Z]([a-zA-Z]{0,61}[a-zA-Z])?)$"
},
"revision": { "type": "integer", "minimum": 0 },
"description": { "type": "string" },