at main 83 lines 2.7 kB view raw
1{ 2 "lexicon": 1, 3 "id": "sh.weaver.actor.profile", 4 "defs": { 5 "main": { 6 "type": "record", 7 "description": "A declaration of a Weaver account profile.", 8 "key": "literal:self", 9 "record": { 10 "type": "object", 11 "properties": { 12 "displayName": { 13 "type": "string", 14 "maxGraphemes": 64, 15 "maxLength": 640 16 }, 17 "description": { 18 "type": "string", 19 "description": "Free-form profile description text.", 20 "maxGraphemes": 1024, 21 "maxLength": 10240 22 }, 23 "avatar": { 24 "type": "blob", 25 "description": "Small image to be displayed next to posts from account. AKA, 'profile picture'", 26 "accept": ["image/png", "image/jpeg"], 27 "maxSize": 1000000 28 }, 29 "banner": { 30 "type": "blob", 31 "description": "Larger horizontal image to display behind profile view.", 32 "accept": ["image/png", "image/jpeg"], 33 "maxSize": 1000000 34 }, 35 "links": { 36 "type": "array", 37 "minLength": 0, 38 "maxLength": 5, 39 "items": { 40 "type": "string", 41 "description": "Any URI, intended for social profiles or websites, can be used to link DIDs/AT-URIs too.", 42 "format": "uri" 43 } 44 }, 45 "pronouns": { 46 "type": "ref", 47 "description": "Pronouns to use in user-generated content.", 48 "ref": "sh.weaver.actor.defs#pronounsList" 49 }, 50 "pinned": { 51 "description": "Notebooks or other records pinned for display.", 52 "type": "ref", 53 "ref": "sh.weaver.actor.defs#pinnedList" 54 }, 55 "bluesky": { 56 "type": "boolean", 57 "description": "Include link to this account on Bluesky." 58 }, 59 "tangled": { 60 "type": "boolean", 61 "description": "Include link to this account on Tangled." 62 }, 63 "streamplace": { 64 "type": "boolean", 65 "description": "Include link to this account on stream.place." 66 }, 67 "labels": { 68 "type": "union", 69 "description": "Self-label values, specific to the application, on the overall account.", 70 "refs": ["com.atproto.label.defs#selfLabels"] 71 }, 72 "location": { 73 "type": "string", 74 "description": "Free-form location text.", 75 "maxGraphemes": 40, 76 "maxLength": 400 77 }, 78 "createdAt": { "type": "string", "format": "datetime" } 79 } 80 } 81 } 82 } 83}