lexicon devex tutorial
at main 87 lines 2.5 kB view raw
1{ 2 "defs": { 3 "forhire": { 4 "description": "Indicates the identity is available for hire", 5 "type": "token" 6 }, 7 "hiring": { 8 "description": "Indicates the identity is actively hiring", 9 "type": "token" 10 }, 11 "main": { 12 "description": "A user profile for AT://Work.Place", 13 "key": "literal:self", 14 "record": { 15 "properties": { 16 "avatar": { 17 "accept": [ 18 "image/png", 19 "image/jpeg" 20 ], 21 "description": "Small image to be displayed next to job listings from account. AKA, 'profile picture'", 22 "maxSize": 1000000, 23 "type": "blob" 24 }, 25 "banner": { 26 "accept": [ 27 "image/png", 28 "image/jpeg" 29 ], 30 "description": "Larger horizontal image to display behind profile view.", 31 "maxSize": 1000000, 32 "type": "blob" 33 }, 34 "description": { 35 "description": "A free text description of the identity.", 36 "maxGraphemes": 2000, 37 "maxLength": 2000, 38 "type": "string" 39 }, 40 "displayName": { 41 "description": "The display name of the identity.", 42 "maxGraphemes": 200, 43 "maxLength": 200, 44 "type": "string" 45 }, 46 "facets": { 47 "description": "Annotations of text (mentions, URLs, hashtags, etc) in the description.", 48 "items": { 49 "ref": "app.bsky.richtext.facet", 50 "type": "ref" 51 }, 52 "type": "array" 53 }, 54 "profile_host": { 55 "description": "The service used for profile links", 56 "knownValues": [ 57 "bsky.app", 58 "blacksky.community" 59 ], 60 "type": "string" 61 }, 62 "resume": { 63 "accept": [ 64 "application/pdf", 65 "text/plain" 66 ], 67 "description": "The identity's resume.", 68 "maxSize": 4000000, 69 "type": "blob" 70 }, 71 "status": { 72 "description": "The current status of the identity.", 73 "knownValues": [ 74 "place.atwork.profile#hiring", 75 "place.atwork.profile#forhire" 76 ], 77 "type": "string" 78 } 79 }, 80 "type": "object" 81 }, 82 "type": "record" 83 } 84 }, 85 "id": "place.atwork.profile", 86 "lexicon": 1 87}