app.offprint.block.imageGrid
Schema Diff
+1 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.offprint.block.imageGrid",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
6
"required": [
7
7
"images"
8
8
],
9
9
"properties": {
10
10
"images": {
11
11
"type": "array",
12
12
"items": {
13
13
"ref": "#gridImage",
14
14
"type": "ref"
15
15
},
16
16
"required": true,
17
17
"maxLength": 6,
18
18
"minLength": 2,
19
19
"description": "Array of images in the grid (2-6)"
20
20
},
21
21
"caption": {
22
22
"type": "string",
23
23
"description": "Grid caption"
24
24
},
25
25
"gridRows": {
26
26
"type": "integer",
27
27
"maximum": 2,
28
28
"minimum": 1,
29
29
"description": "Number of rows in the grid"
30
30
},
31
31
"aspectRatio": {
32
32
"enum": [
33
33
"landscape",
34
34
"portrait",
35
35
"square",
36
36
"mosaic"
37
37
],
38
38
"type": "string",
39
39
"description": "Aspect ratio mode"
40
40
}
41
41
}
42
42
},
43
43
"gridImage": {
44
44
"type": "object",
45
45
"properties": {
46
46
"alt": {
47
47
"type": "string",
48
48
"maxGraphemes": 300
49
49
},
50
50
"blob": {
51
51
"type": "blob",
52
52
"accept": [
53
53
"image/*"
54
54
],
55
-
"maxSize": 10000000
55
+
"maxSize": 1000000
56
56
},
57
57
"aspectRatio": {
58
58
"ref": "app.offprint.block.image#aspectRatio",
59
59
"type": "ref"
60
60
}
61
61
}
62
62
}
63
63
},
64
64
"$type": "com.atproto.lexicon.schema",
65
65
"lexicon": 1
66
66
}