atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.embed.external",
4 "defs": {
5 "external": {
6 "type": "object",
7 "required": [
8 "uri",
9 "title",
10 "description"
11 ],
12 "properties": {
13 "description": {
14 "type": "string"
15 },
16 "thumb": {
17 "type": "blob",
18 "accept": [
19 "image/*"
20 ],
21 "maxSize": 1000000
22 },
23 "title": {
24 "type": "string"
25 },
26 "uri": {
27 "type": "string",
28 "format": "uri"
29 }
30 }
31 },
32 "main": {
33 "type": "object",
34 "description": "A representation of some externally linked content (eg, a URL and 'card'), embedded in a Bluesky record (eg, a post).",
35 "required": [
36 "external"
37 ],
38 "properties": {
39 "external": {
40 "type": "ref",
41 "ref": "#external"
42 }
43 }
44 },
45 "view": {
46 "type": "object",
47 "required": [
48 "external"
49 ],
50 "properties": {
51 "external": {
52 "type": "ref",
53 "ref": "#viewExternal"
54 }
55 }
56 },
57 "viewExternal": {
58 "type": "object",
59 "required": [
60 "uri",
61 "title",
62 "description"
63 ],
64 "properties": {
65 "description": {
66 "type": "string"
67 },
68 "thumb": {
69 "type": "string",
70 "format": "uri"
71 },
72 "title": {
73 "type": "string"
74 },
75 "uri": {
76 "type": "string",
77 "format": "uri"
78 }
79 }
80 }
81 }
82}