atproto blogging
at main 50 lines 1.4 kB view raw
1{ 2 "lexicon": 1, 3 "id": "blog.pckt.mark.link", 4 "description": "Hyperlink formatting. Creates a clickable link to an external or internal resource.", 5 "defs": { 6 "linkAttrs": { 7 "type": "object", 8 "description": "Link attributes", 9 "required": [ 10 "href" 11 ], 12 "properties": { 13 "href": { 14 "type": "string", 15 "description": "The URL destination of the hyperlink", 16 "format": "uri", 17 "maxLength": 2000 18 }, 19 "rel": { 20 "type": "string", 21 "description": "Defines the relationship between the current document and the linked resource (e.g., nofollow, noopener)", 22 "maxLength": 100 23 }, 24 "target": { 25 "type": "string", 26 "description": "Specifies where to open the linked document (e.g., _blank, _self)", 27 "maxLength": 50 28 }, 29 "title": { 30 "type": "string", 31 "description": "Additional information about the link, typically shown as a tooltip on hover", 32 "maxLength": 500 33 } 34 } 35 }, 36 "main": { 37 "type": "object", 38 "required": [ 39 "attrs" 40 ], 41 "properties": { 42 "attrs": { 43 "type": "ref", 44 "description": "Link attributes that define the hyperlink behavior and destination", 45 "ref": "#linkAttrs" 46 } 47 } 48 } 49 } 50}