forked from
mary.my.id/atcute
a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
1{
2 "lexicon": 1,
3 "id": "pub.leaflet.blocks.image",
4 "defs": {
5 "main": {
6 "type": "object",
7 "required": ["image", "aspectRatio"],
8 "properties": {
9 "image": {
10 "type": "blob",
11 "accept": ["image/*"],
12 "maxSize": 1000000
13 },
14 "alt": {
15 "type": "string",
16 "description": "Alt text description of the image, for accessibility."
17 },
18 "aspectRatio": {
19 "type": "ref",
20 "ref": "#aspectRatio"
21 }
22 }
23 },
24 "aspectRatio": {
25 "type": "object",
26 "required": ["width", "height"],
27 "properties": {
28 "width": {
29 "type": "integer"
30 },
31 "height": {
32 "type": "integer"
33 }
34 }
35 }
36 }
37}