tiny 88x31 lexicon for atproto

add lexicons

+72
+46
lexicons/store/88x31/button.json
··· 1 + { 2 + "lexicon": 1, 3 + "$type": "com.atproto.lexicon.schema", 4 + "id": "store.88x31.button", 5 + "defs": { 6 + "main": { 7 + "type": "record", 8 + "description": "Record containing an 88x31 button.", 9 + "key": "tid", 10 + "record": { 11 + "type": "object", 12 + "required": ["blob", "postedAt"], 13 + "properties": { 14 + "blob": { 15 + "type": "blob", 16 + "accept": ["image/*"], 17 + "maxSize": 1000000, 18 + }, 19 + "alt": { 20 + "type": "string", 21 + "maxLength": 3000, 22 + "maxGraphemes": 300, 23 + "description": "Alt text description of the button, for accessibility.", 24 + }, 25 + "title": { 26 + "type": "string", 27 + "maxLength": 3000, 28 + "maxGraphemes": 300, 29 + "description": "Title text description of the button, for flavor.", 30 + }, 31 + "href": { 32 + "type": "string", 33 + "maxLength": 3000, 34 + "maxGraphemes": 300, 35 + "description": "Hypertext reference (link) for the button.", 36 + }, 37 + "postedAt": { 38 + "type": "string", 39 + "format": "datetime", 40 + "description": "Client-declared timestamp when this button was originally created." 41 + } 42 + } 43 + } 44 + } 45 + } 46 + }
+26
lexicons/store/88x31/like.json
··· 1 + { 2 + "lexicon": 1, 3 + "$type": "com.atproto.lexicon.schema", 4 + "id": "store.88x31.like", 5 + "defs": { 6 + "main": { 7 + "type": "record", 8 + "description": "Record declaring a 'like' of a piece of an 88x31 button.", 9 + "key": "tid", 10 + "record": { 11 + "type": "object", 12 + "required": ["subject", "createdAt"], 13 + "properties": { 14 + "subject": { 15 + "type": "ref", 16 + "ref": "com.atproto.repo.strongRef", 17 + }, 18 + "createdAt": { 19 + "type": "string", 20 + "format": "datetime", 21 + } 22 + } 23 + } 24 + } 25 + } 26 + }