forked from
npmx.dev/npmx.dev
[READ-ONLY]
a fast, modern browser for the npm registry
1{
2 "id": "app.bsky.embed.images",
3 "defs": {
4 "main": {
5 "type": "object",
6 "required": ["images"],
7 "properties": {
8 "images": {
9 "type": "array",
10 "items": {
11 "ref": "#image",
12 "type": "ref"
13 },
14 "maxLength": 4
15 }
16 }
17 },
18 "view": {
19 "type": "object",
20 "required": ["images"],
21 "properties": {
22 "images": {
23 "type": "array",
24 "items": {
25 "ref": "#viewImage",
26 "type": "ref"
27 },
28 "maxLength": 4
29 }
30 }
31 },
32 "image": {
33 "type": "object",
34 "required": ["image", "alt"],
35 "properties": {
36 "alt": {
37 "type": "string",
38 "description": "Alt text description of the image, for accessibility."
39 },
40 "image": {
41 "type": "blob",
42 "accept": ["image/*"],
43 "maxSize": 1000000
44 },
45 "aspectRatio": {
46 "ref": "app.bsky.embed.defs#aspectRatio",
47 "type": "ref"
48 }
49 }
50 },
51 "viewImage": {
52 "type": "object",
53 "required": ["thumb", "fullsize", "alt"],
54 "properties": {
55 "alt": {
56 "type": "string",
57 "description": "Alt text description of the image, for accessibility."
58 },
59 "thumb": {
60 "type": "string",
61 "format": "uri",
62 "description": "Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View."
63 },
64 "fullsize": {
65 "type": "string",
66 "format": "uri",
67 "description": "Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View."
68 },
69 "aspectRatio": {
70 "ref": "app.bsky.embed.defs#aspectRatio",
71 "type": "ref"
72 }
73 }
74 }
75 },
76 "$type": "com.atproto.lexicon.schema",
77 "lexicon": 1,
78 "description": "A set of images embedded in a Bluesky record (eg, a post)."
79}